CUPS not printing (HP LaserJet 5P)
Ordinarily, I'd do a little more research before asking this. Starting with a forensic on the computer that worked. It's 11:30, I'm tired, I have a headache, and I'm hoping that if I post this question somebody will have a quick answer in the morning.
I got my shiny new server today, and did a ground-up reinstall. Surprisingly, most of it went well. I had no problems getting any of the server software compiled/installed, or migrating my configuration files from the old system. I got the fileserver up and running with minimal hassle, migrated the IMAP mailboxes without any headaches at all. All in all, it was a peachy process, and much less irritating than the last time I did this. However, I think I didn't install something that I need for CUPS. I'm using exactly the same foomatic PPD from linuxprinting.org that I was using yesterday with the old server, and all indications CUPS-side indicate that it works. I install the printer, no complaints. I tell CUPS to print the test page, and it doesn't gripe. It doesn't say Aborted, or give any error codes. In fact, CUPS says that the job completed just fine, and doesn't give any errors that I can see in the error_log. Only one problem, then. Nothing comes out of the printer. There's plenty of paper in the tray, and there's plenty of toner, but nothing at all comes out. I know the system *can* talk to the printer, however, because "ls > /dev/lp0" prints a page. (I love not having a win-printer :)) I'm using a stock /etc/cups/cupsd.conf file (from the 10.1 install package). The only changes are the loglevel (currently on debug2), and allowing remote web connections. (Allow From All). Here's what I think is the relevant section of the error log: Code:
d [30/May/2005:23:20:23 -0400] POST / I've also tried uninstalling/reinstalling CUPS. Any suggestions? TIA -bob |
I'm still on 10, rather than 10.1, but this sounds like the old lprng conflict to me. If you have the lprng package installed, uninstall it, then reinstall CUPS. Alternately, you can relink all the /usr/bin/lp* files
|
Right, I got it working, but the method I used is akin to swatting a fly with a train.
I installed every package from CD1. I'm guessing it's something I'd missed in X or XAP, so I went in there and installed all of 'em. My server with no sound card is going to have a great lot of use out of xine... :) Could somebody give me a list of exactly which packages are needed, so I don't have to do this again? If my server's install HDD wasn't 10gb, I'd be pissed about now. |
Did you make /etc/rc.d/rc.cups executable so that the cups server would start on reboot?
|
Yeah... CUPS was starting just fine, and I could see the page. I'm just wondering what the other required packages are for running a print server. :/
|
As far as I remember you need at least this packages:
cups espgs gimp-print gnu-gs-fonts-6.0 You could try starting removing packages until you spot it :P |
When I did a bare metal install of 10.1, I lost printing via CUPS to HP LaserJet4 series printers. The problem went away away when I downloaded the hpijs driver from linuxprinting.org. I note that there is an hpijs-1.7-i486-1.tgz package under /ap in slackware-current. Perhaps you could check whether installing this package is the answer.
|
All times are GMT -5. The time now is 06:23 PM. |