Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have been trying for about 2 weeks to get this to work; at first it didn't seem as difficult as it does now. What I have is an old, HP LaserJet Series II that connects via parallel to the motherboard and a CUPS server that assures me that it prints every job it sends it. The only problem is that the printer never seems to get any notification from the PC! I am currently using the GIMP-Print driver that came standard with CUPS for the LaserJet Series II, and I have no idea what I'm doing wrong.
Printer - HP LaserJet series II
Driver - "HP LaserJet II series - CUPS+Gimp-Print v4.2.7"
Kernel - 2.6.13.4 (Self compiled)
CUPS version - cups-1.1.23
GIMP-print version - gimp-print-4.2.7
If you need any other info, just ask. I'm not new to linux, so don't worry about simplicity, just please help me get this working!
I would start off by bypassing CUPS and trying to print direct to the parallel port. Simplest thing is to just run command 'echo hello > /dev/lp0' and see what happens. If this is a Postscript printer you can just send a Postscript file 'cat somefile.ps > /dev/lp0'.
Two common problems are 1. driver modules not loaded (check for lp, parport and parport_pc in output of 'lsmod') or 2. parallel port BIOS settings somehow incompatible with printer.
After much work and painstaking configuration, I finally found out the error. The Gimp Print Driver was, for some reason, configured to send raster to the printer at 600 DPI, when the printer in question didn't have sufficient memory for the print job (default memory in this baby is 384K). Also, for some reason, the printer doesn't report "memory full" errors, not sure about that one, but it prints just fine at 150 DPI. Now the only thing I have to worry about is that I think the roller is bad, so -$70 or so for a new toner cartridge... and we should be back in business.
Thanks for the help, the direct printing trick saved me so much time in testing various setups.
All of your help was much appreciated, now time to mark this post solved...
How does Postscript printer understand that it's a ps file, if you just write cat somefile.ps > /dev/lp0?
Doesn't it need some kind of notification before like "hey, the coming file is a ps file"?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.