Laserjet printing fails at cupsd/filter/ps2pdf

Bug #310732 reported by Martin Thompson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cups (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

When I print the printer dialog reports "Printer State: /usr/lib/cups/filter/ps2pdf failed". This occurs with test page (although ablank page is ejected when I do this) and with an image printed from the image previewer. Also when I print from mutt (via a2ps). This time I got a line down the centre of the page (as it was attempting to put two pages into one, so that's the centre divider). Sometimes a dialog appears saying things went wrong "Print error, there was a problem processing document `(stdin)' (job xyz)" Clicking Diagnose prints a testpage (blank as before) then hangs for alot of debug output. Why is it running ps2pdf anyway?

Printer is a Laserjet 5M with PS simm, duplexer, >11MB memory. Connected via ethernet (Jetdirect, port 9100). Printing from our Windows laptop is fine. Printing from this PC was fine under Hardy. I'm sure it used to work under Intrepid, but can;t be sure, nor when it stopped working.

Other info:
From /var/log/messages
kernel: [273959.486568] type=1503 audit(1229980663.494:12): operation="inode_permission" requested_mask="w::" denied_mask="w::" fsuid=0 name="/dev/ttyUSB0" pid=9688 profile="/usr/sbin/cupsd"
python: hp-toolbox(UI)[9756]: warning: Device not found
kernel: [274405.711084] type=1503 audit(1229981109.718:13): operation="inode_permission" requested_mask="w::" denied_mask="w::" fsuid=0 name="/dev/ttyUSB0" pid=10190 profile="/usr/sbin/cupsd"

$ lsb_release -rd
Description: Ubuntu 8.10
Release: 8.10
$ apt-cache policy cups
cups:
  Installed: 1.3.9-2ubuntu4
  Candidate: 1.3.9-2ubuntu4
  Version table:
 *** 1.3.9-2ubuntu4 0
        500 http://gb.archive.ubuntu.com intrepid-updates/main Packages
        100 /var/lib/dpkg/status
     1.3.9-2 0
        500 http://gb.archive.ubuntu.com intrepid/main Packages
Error log attached - looks to have some sort of authentication problem?

Other info from the diagnose:
Page 1 (Scheduler not running?):
{'cups_connection_failure': False}
Page 2 (Choose printer):
{'cups_dest': <cups.Dest LaserPrinter (default)>,
 'cups_instance': None,
 'cups_queue': 'LaserPrinter',
 'cups_queue_listed': True}
Page 3 (Check printer sanity):
{'cups_device_uri_scheme': u'socket',
 'cups_printer_dict': {'device-uri': u'socket://192.168.7.10:9100',
                       'printer-info': u'HP LaserJet 5M',
                       'printer-is-shared': True,
                       'printer-location': u'Office',
                       'printer-make-and-model': u'HP LaserJet 5M Postscript (recommended)',
                       'printer-state': 3,
                       'printer-state-message': u'/usr/lib/cups/filter/pstopdf failed',
                       'printer-state-reasons': [u'none'],
                       'printer-type': 135252,
                       'printer-uri-supported': u'ipp://localhost:631/printers/LaserPrinter'},
 'cups_printer_remote': False,
 'is_cups_class': False}
Page 4 (Check PPD sanity):
{'cups_printer_ppd_defaults': {u'General': {u'Duplex': u'DuplexNoTumble',
                                            u'HPHalftone': u'Enhanced',
                                            u'InputSlot': u'Lower',
                                            u'ManualFeed': u'False',
                                            u'PageRegion': u'A4',
                                            u'PageSize': u'A4',
                                            u'Resolution': u'600dpi',
                                            u'Smoothing': u'Light'},
                               u'InstallableOptions': {u'HPOption_500_Sheet_Tray': u'False',
                                                       u'HPOption_Duplexer': u'True',
                                                       u'HPOption_Envelope_Feeder': u'False',
                                                       u'HPOption_Memory': u'12Meg'}},
 'cups_printer_ppd_valid': True,
 'missing_pkgs_and_exes': ([], [])}
Page 5 (Local or remote?):
{'printer_is_remote': False}
Page 6 (Printer state reasons):
{'printer-state-message': u'/usr/lib/cups/filter/pstopdf failed',
 'printer-state-reasons': [u'none']}

Revision history for this message
Martin Thompson (mjthompson) wrote :
description: updated
Revision history for this message
Pascal De Vuyst (pascal-devuyst) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. We are sorry that we do not always have the capacity to look at all reported bugs in a timely manner. There have been many changes in Ubuntu since that time you reported the bug and your problem may have been fixed with some of the updates. It would help us a lot if you could test it on a currently supported Ubuntu version. When you test it and it is still an issue, kindly upload the updated logs by running apport-collect -p cups 310732 and your cups error log as described here: https://wiki.ubuntu.com/DebuggingPrintingProblems#CUPS_error_log.

Changed in cups (Ubuntu):
status: New → Incomplete
Revision history for this message
Martin Thompson (mjthompson) wrote : Re: [Bug 310732] Re: Laserjet printing fails at cupsd/filter/ps2pdf

I'm afraid my setup has changed significantly since then also, so I am
unable to even attempt to reproduce this one, sorry.

On 28 April 2015 at 19:29, Pascal De Vuyst <email address hidden> wrote:

> Thank you for taking the time to report this bug and helping to make
> Ubuntu better. We are sorry that we do not always have the capacity to
> look at all reported bugs in a timely manner. There have been many
> changes in Ubuntu since that time you reported the bug and your problem
> may have been fixed with some of the updates. It would help us a lot if
> you could test it on a currently supported Ubuntu version. When you test
> it and it is still an issue, kindly upload the updated logs by running
> apport-collect -p cups 310732 and your cups error log as described here:
> https://wiki.ubuntu.com/DebuggingPrintingProblems#CUPS_error_log.
>
> ** Changed in: cups (Ubuntu)
> Status: New => Incomplete
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/310732
>
> Title:
> Laserjet printing fails at cupsd/filter/ps2pdf
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/cups/+bug/310732/+subscriptions
>

--
<email address hidden>
http://parallelpoints.com/

Revision history for this message
Pascal De Vuyst (pascal-devuyst) wrote :

Closing then...

Changed in cups (Ubuntu):
status: Incomplete → Invalid
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.