Description of Problem:
This may well be a hardware problem, but I'm trying to use CUPS to print
to a network-attached HP Laserjet IIISi in my office. I'm using the "HP
Laserjet 3, Foomatic + Gimp-Print(en)" driver and printing to an lpd queue
on the remote IP.
Whenever I try to print anything, the printer immediately throws up a
blinking number 30 and "PS Error 24" error. Windows clients can print to
the printer just fine.
Does this still happen in Red Hat Linux 8.0? If so, please attach your
/etc/cups/printers.conf. Also, have you tried printing the CUPS test page?
Just tried it under 8.0, and it still failed, although this time it was a "30 PS
ERROR 18" error.
I'll attach printers.conf
Created attachment 79187 [details]
/etc/cups/printers.conf ("office" is the one)
Please attach /etc/cups/ppd/office.ppd.
Created attachment 79188 [details]
This is in fact "HP LaserJet 3, Foomatic + ljet3", but that's the recommended
driver so it should be alright.
Have you tried printing the CUPS test page?
Yes - printing the CUPS test page is what causes the PS ERROR on the printer itself.
I'd think it was a weird printer hardware problem, but the Windows clients in
the office can print to it fine.
What does 'lpoptions -p office' say?
[root@localhost root]# lpoptions -p office
In /usr/lib/cups/filter/cupsomatic, on line 28, there is a line that reads:
my $debug = 0;
Please change it to:
my $debug = 1;
and print the CUPS test page again. You will have two new files in /tmp:
cupsomatic.log and prnjob. Please attach them. Thanks.
Created attachment 79189 [details]
Created attachment 79190 [details]
In /usr/share/foomatic/db/source/printer/78144.xml, at line 21, there is a
line that reads:
Please change that to:
<!-- pjl/ -->
Try printing the CUPS test page again, and see the /tmp/cupsomatic.log still
talks about PJL.
(I'm trying to see if it's the PJL job wrapper that's causing the problem.)
I commented that line out, restarted cupsd, and printed a new test page. The
log still, though, appears to reference PJL.
Created attachment 79192 [details]
cupsomatic.log after commenting out PJL line.
Oh, because the PPD file is already generated, I suppose. Please remove this
line from /etc/cups/ppd/office.ppd:
*% COMDATA # 'pjl' => '',
and try again. Thanks.
No mention of PJL in the cupsomatic.log, but I still see the exact same error on
http://www.nefec.org/UPM/printers/mhp3si.htm offers more clues.
Can you print /usr/share/cups/data/testprint.ps from a Windows machine, or
does that give the same error?
Suggest printer BIOS upgrade, if one is available.