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.
I just realized that perhaps this is not the correct forum for this question, and if that is the case, I apologize. Feel free to beat me mercilessly for my mistake.
Last edited by Ikana; 08-15-2004 at 04:14 AM.