Red Hat Bugzilla – Bug 60704
Foomatic upgrade breaks ljet4 printers
Last modified: 2008-05-01 11:38:01 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.0.3 (X11; Linux i686; U;) Gecko/20020205
Description of problem:
After upgrading a friend's computer to foomatic-1.1-0.20011218.3 (and all other
updates up to Feb 22), printing stopped completely (no output regardless of file
type or originating application). The printer is a HP LaserJet 6L (using the
ljet4 driver) connected to the parallel port. It was working correctly before
the upgrade with foomatic-1.1-0.20011018.7 (apart from bug 58319).
I attached below the lpq.0 file which shows an error in ghostscript.
This problem did not happen in two other systems that I upgraded (HP DeskJet
970Cxi using the hpijs driver and connected to USB, and an Epson LP-9200SX using
the escpage driver and connected to the network).
I corrected the problem by deleting the printer and re-defining it on
printconf-gui, and now printing works as before the
upgrade. Apparently the changes in foomatic on the ljet4 driver made
the original configuration invalid.
(It would be nice if the fact that the printer needs to be
re-configured was added to the update announcement).
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Define a ljet4 printer with foomatic-1.1-0.20011018.7 or earlier
2. Upgrade to foomatic-1.1-0.20011218.3
3. Try to print anything
Actual Results: Does not print anything, regardless of the application or data
Expected Results: Should print what was sent to printer.
Created attachment 47401 [details]
lpq.0 printer log when printing after update
Work-around noted. I'll take a look. Thanks for reporting it.
I've had a couple of goes at reproducing this, but without any luck. The only
difference I see after upgrading is the '[ESC]%-12345X' at the beginning to
signify PJL encapsulation (which wasn't being done properly with the as-shipped
Reconfiguring (by deleting, applying changes, and re-adding the queue with the
same settings) has no effect on the output.
Since ghostscript complains about paper size in your attachment, let me ask:
what paper size are you using? (I tried US Letter and A4, with the same results.)
Paper size is A4. This, and the locale (ja_JP) were the only two changes that I
made to the defaults, IIRC. My main source of my suspicion that the bug is in
foomatic is the fact that the list of drivers for the HP LaserJet 6L (and many
other HP printers) changed with the update.
This computer belongs to a friend, and I'll put my hands again on it later this
month and try to reproduce the bug again. If you have suggestions for
tests/setups, please tell me.
(Or, just change the bug to closed state, since the resolution is simple, and
I'm sure that there are other bugs with higher priority... I reported it mainly
so that other people with the same problem could find the resolution).
In the end I upgraded the machine to Red Hat 7.3 (to solve bugs like 58319,
which I reported -- BTW, it was solved in 7.3, thanks!!!). Since it's now
impossible to try to reproduce this bug, please close it. I'll keep an eye on
this (and other) printer problems and open new bugs if necessary.
Okay, thanks for letting me know.