Ubuntu 9.04 has a problem with Laser Printer HL-1435

Bug #321164 reported by G. Arena
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
foomatic-filters (Ubuntu)
Fix Released
High
Unassigned
Intrepid
Fix Released
Undecided
Unassigned

Bug Description

Ubuntu 9.04 does not print. Instead of Printing, a window "Printer error There was a problem processing document......." appears.
The Printer is a Brother HL-1435 Laser Printer. It works fine with previous Ubuntu Distributions and MS Windows XP.
Reinstalling CUPS did not help.
I am attaching the "Advanced Printer Diagnostic" output file.
Gaetano Arena

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
ExecutablePath: /usr/bin/yelp
Package: yelp 2.24.0-0ubuntu2
ProcEnviron:
 LANG=en_CA.UTF-8
 SHELL=/bin/busernamesh
SourcePackage: yelp
Uname: Linux 2.6.28-5-generic i686

Revision history for this message
G. Arena (narea92) wrote :
Revision history for this message
Pascal De Vuyst (pascal-devuyst) wrote :

Either a PPD or ghostscript problem based on the info from the error_log:

 'D [24/Jan/2009:14:40:57 -0500] [Job 10] GPL Ghostscript SVN PRE-RELEASE 8.64: Unrecoverable error, exit code 1',
               'D [24/Jan/2009:14:40:57 -0500] [Job 10] renderer exited with status 1',
               'D [24/Jan/2009:14:40:57 -0500] [Job 10] Possible error on renderer command line or PostScript error. Check options.kid3 exited with status 3',
               'D [24/Jan/2009:14:40:57 -0500] [Job 10] Process is dying with "Error closing renderer',
               'D [24/Jan/2009:14:40:57 -0500] [Job 10] ", exit stat 3',
               'D [24/Jan/2009:14:40:57 -0500] [Job 10] Cleaning up...',
               'E [24/Jan/2009:14:40:57 -0500] PID 4080 (/usr/lib/cups/filter/foomatic-rip) stopped with status 3!',

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

G. Arena, Carey Underwood, your problem is related to an old-generation (Foomatic 3) PPD file, similar to bug 302935.

Carey, please return to foomatic-filters 4.0.0-0ubuntu0.1.

G. Arena, Carey, proceed as described here:

Start system-config-printer, right-click the icon for your Brother printer and choose "Copy" to make a copy of your print queue, Enter a new name, like for example the old name with "-debug" at the end. Then right-click the original print queue icon again and choose "Properties". You should be in the "Settings" section of the properties dialog. There click the "Change" button in the "Make and Model" line. After loading the driver list system-config-printer lets you choose manufacturer, model, and driver. Go with the default settings by simply clicking "Forward" several times and "Apply" in the end. This should update your PPD. Try to print. It should work now.

Now you have two print queues. Your old one should be in a working state now for daily printing. The new one is a copy of the state of your old queue as it did not work. Use it for the further steps needed to fix this bug.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

G. Arena, Carey Underwood, please also attach your PPD files of your old queues (/etc/cups/ppd/*-debug.ppd) here.

If your new print queues also do not work, attach also their PPD files.

Revision history for this message
Carey Underwood (cwillu) wrote :

For the sake of searching: this also affects 8.10 with -proposed; Brother HL-2030, HL-2040 printers.

* Reinstalled the update to test (4.0.0-0ubuntu0.1)
* Reapplied the default settings as described above, printing on that driver now works.
* PPD of the -debug copy is attached.

Revision history for this message
G. Arena (narea92) wrote :

Mr. Till Kamppeter,
I followed your instructions and I am glad to report that the Printer, now, operates properly.
There are no queuing files that I can copy for you, since they have been printed.
I want thank you very much for solving a nasty problem.
Yours,
Gaetano Arena

Revision history for this message
Carey Underwood (cwillu) wrote :

@Gaetano Arena: oh, you're not done yet. Attach the ppd file he asked for if you can (not the print job, but the ppd for the -debug copy).

Revision history for this message
G. Arena (narea92) wrote :

Please fnnd Attached the /etc/cups/ppd/*-debug.pdd.
Yours,
Gatano Arena

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

You both are perhaps able to print now, but I still need your help.

I could reproduce the bug by generating a Foomatic 3.0 PPD file on a Dapper box and then running foomatic-rip 4.0 on my Jaunty box with it. This way I have also found a fix, which is a two-line patch. I will upload the patched foomatic-rip into the -proposed repository and post here as soon as it is done. Please test the corrected package then and give feedback here as soon as possible. Thanks.

Changed in cups:
importance: Undecided → High
status: New → In Progress
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

As this bug is also a regression in the SRU foomatic-filters_4.0.0-0ubuntu0.1 for Intrepid (bug 318614, bug 299918, bug 318818, bug 303691, bug 318816), I have prepared a new SRU for Intrepid (debdiff between the old and the new SRU attached).

I have fixed this bug now both upstream (BZR rev 196) and for Intrepid. The Intrepid package I have uploaded to -proposed. It contains all fixes of the original SRU plus the fix for this bug.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package foomatic-filters - 4.0.0-0ubuntu2

---------------
foomatic-filters (4.0.0-0ubuntu2) jaunty; urgency=low

  * debian/patches/foomatic-rip-segfault-on-jcl-merging.patch: Fixed
    segfault of the JCL merging process on long JCL command lists
    (LP: #321164).

 -- Till Kamppeter <email address hidden> Thu, 29 Jan 2009 20:05:49 +0100

Changed in foomatic-filters:
status: In Progress → Fix Released
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Note: Please test with BOTH your old and your new PPD file. For your future daily work please use the new PPD file, as it uses a simpler filter chain and so should lead to more reliable printing.

Revision history for this message
G. Arena (narea92) wrote :

Mr. Till Kamooeter,
I would like to help, but I do not understand what I should do. I do not understand if I should download and
install 'foomatic-filters-4.0.0-0ubuntu2' or not.
Yours,
Gaetano Arena

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

G. Arena, according to your initial posting you are using Jaunty. So doing the automatic updates

sudo apt-get update
sudo apt-get dist-upgrade

can perhaps already pull the foomatic-filters-4.0.0-0ubuntu2 package (depending how fast your mirror is in getting new packages, if it does not come try to update again later). If this happens (check with "dpkg -l foomatic-filters"), try to print to both your old and your new print print queue and tell us here whether you can print correctly.

If you have also an Intrepid box around, wait for a posting here telling that the updated package for Intrepid is available and test that package on your Intrepid machine (copy over your PPD files from the Jaunty box and create queues with exactly these PPDs).

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

The fixed package for Intrepid is in -proposed now:

 foomatic-filters (4.0.0-0ubuntu0.2) intrepid-proposed; urgency=low
 .
   * debian/patches/foomatic-rip-segfault-on-jcl-merging.patch: Fixed
     segfault of the JCL merging process on long JCL command lists
     (LP: #321164). This was also reported on the Intrepid SRU
     4.0.0-0ubuntu0.1 in LP: #318614.

Please test and give feedback here. Please see https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Revision history for this message
Martin Pitt (pitti) wrote :

Accepted into intrepid-proposed, please test and give feedback here. Please see https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in foomatic-filters:
status: New → Fix Committed
Revision history for this message
Carey Underwood (cwillu) wrote :

Updated to foomatic-filters to 4.0.0-0ubuntu0.2

Printing now works correctly on both the updated printer and the debug copy of the original.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Carey, thank you very much. We will add the new foomatic-filters package to the Intrepid updates soon.

Revision history for this message
G. Arena (narea92) wrote :

Mr. Martin Pitt,
Yes, It works!
After upgrading the 'sources.list' with 'System->Administration->Software sources->proposed updates'
and Updating. both printers work fine.
Thank you,
Gaetano Arena

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Thanks for your testing, then the problem is actually solved in both Intrepid and Jaunty.

Revision history for this message
G. Arena (narea92) wrote :

Mr. Till Kamppeter,
The new Upgrades and Updates have destroyed all your good work!.
The Printer does not print again. The same happened to my other PC.
I am reporting again as New Bug making reference to this bug # 321164.
Yours,
Gatano Arena

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Please test foomatic-filters_4.0.0-0ubuntu7 in Jaunty, it fixes another cause of a segfault.

Revision history for this message
G. Arena (narea92) wrote :

Mr. Till Kamppeter,
I tried sudo apt-get install foomatic-filters_4.0.0-0ubuntu7 but i got "couldn't find package foomatic-filters_4.0.0-0ubuntu7".
Yours
Gaetano Arena

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

First, I uploaded the package minutes before posting my comment. After the upload take place the server has to build binary packages for all supported processor platforms and after that the resulting packages have to get distributed to the download mirrors. It can take several hours until a new package arrives at your mirror.

Second, you need to update your local package database so that apt-get knows what is available on your mirror. This is done automatically once a day (if you do nothing you will get notified about all new packages tomorrow), but to do it whenever you want, run

sudo apt-get update

Third, do not supply version numbers with apt-get. The newest version number is taken automatically:

sudo apt-get install foomatic-filters

Revision history for this message
G. Arena (narea92) wrote :

Mr. Till Kamppeter,
I followed your instructions and now, finally, the Printer works.
Congratulation for a superb work and thank you.
Yours,
Gatano Arena

Revision history for this message
Steve Beattie (sbeattie) wrote :

The intrepid version was fixed in the released update 4.0.0-0ubuntu3, but didn't get autoclosed. Closing this bug.

Changed in foomatic-filters (Ubuntu Intrepid):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.