*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
08-15-2004, 11:40 AM
|
#1
|
|
LQ Newbie
Registered: Aug 2004
Distribution: FreeBSD 4.10, Fedora Core 2
Posts: 11
Rep:
|
Printing with CUPS using hp psc 2110 and hpijs driver
I am trying to configure my hp psc 2110 printer (usb) on my FreeBSD 4.10 computer so that it can later be shared over the network. For right now, though, I'm just trying to get it to work.
I was able to sucessfully install CUPS and hpijs. Cups is version 1.1.21rc1, which I downloaded from cups.org. I used the hpijs driver in /usr/ports, it is version 1.6.1. Entering hpijs -h at the terminal outputs the version and other information, so I think it is working properly.
At first I was not able to get CUPS to recognize the hpijs driver, but I found a helpful document that explained that I needed to place a ppd file containing my printer information in the appropriate directory. (Which is /usr/cups/share/cups/model on my installation) So I downloaded the file HP-PSC_2110-hpijs.ppd from linuxprinting.org. Upon a restart, the driver was recognized and I was able to successfully add the printer using that driver.
The problem is, when I ask it to print a test page, CUPS will say that the document is being processed for 10 or 15 seconds, and then it will say that the print job has been aborted.
So I tried adding a usb printer and chose raw for the make and queue. When I hit test page, it would print about 5 lines of what I am guessing is a post script header or program, and then about 10 blank pages. This confirms that the computer can communicate with the printer, and given that it is raw data, it is probably not supposed to be able ot process the post script correctly anyway, so perhaps this part is a success.
The objective is to find out why the job is aborted using the hpijs script, correct the error and print correctly. Any help would be greatly appreciated.
Other perhaps relevant information:
When trying make install on CUPS, I got an error near the end of the script on a cp -ax command, neither of those switches were valid. To correct the problem, I removed the -ax and it installed fine.
lpr returns lp: unknown printer
lpd returns: chkprintcap: print1 and print0 share the same spool, /var/spool/output/lpd
lpd: 1 errors in printcap file, exiting
The reason for this is that for now print0 is using HP PSC 2110 Foomatic/hpijs (recommended)
And print1 is the raw printer.
I will try removing the raw printer, restarting and then trying the lpd command again to see what happens, but that will not fix the problem with CUPS, and I am unsure of how to proceed from this point.
|
|
|
|
08-15-2004, 02:29 PM
|
#2
|
|
Member
Registered: Oct 2003
Distribution: FreeBSD
Posts: 325
Rep:
|
|
|
|
|
08-15-2004, 03:14 PM
|
#3
|
|
LQ Newbie
Registered: Aug 2004
Distribution: FreeBSD 4.10, Fedora Core 2
Posts: 11
Original Poster
Rep:
|
I've already done a lot of reading. (Including the FreeBSD handbook, that is one of the first places I look) That is how I got as far as I have. At this point I need more specific help than a general document can provide. The hpijs driver is working, CUPS is working, the printer is working. I need some more specific help if I can get it, because I already know how to set up and install all of those.
By posting these links you imply that my problem is one easily solved by online research, but I don't think it is, because I've spent hours already doing online research. Still, I appreciate the response, and I will read the second article, as I have already gone over the first.
|
|
|
|
08-26-2004, 06:44 PM
|
#4
|
|
Guru
Registered: Sep 2003
Location: Danville, VA Approx. N 36°36.434' W 79°24.342' Accur. 100' or so.
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,245
Rep: 
|
hi Ikana, i recently successfully configured this printer via samba. this thread at the bsd forums was most helpful
http://www.freebsdforums.org/forums/...threadid=15325
from the problems i had, and your description of your problems, i believe you need to install the foomatic ports, as well as, getting the foomatic-rip, and, foomatic-gswrapper, files. the how to and where at is in the link above. one last note that may help you, i had to create the text files mentioned above, then copy and paste the content from the links provided into the files to get things working. you may or may not have that issue, thought i'd mention it just in case. hope this helps.
good luck.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 04:18 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|