Ubuntu 7.10: Print jobs 'stopped' and won't start!

Asked by TimGS

I can print from Evince and various photo packages, but when I print from Open Office, Firefox or Opera the job lands in the queue and and under Status displays 'Stopped'. Nothing will start it!

Until I realised that it happenned in Mozilla and Opera I though it might be an OO problem.

Am puzzled....

I have a HP8750, and Ubuntu Gutsy Gibbon.

-- Tim.

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
TimGS
Solved:
Last query:
Last reply:
Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#1

Please run hp-check -t and post the output.

If you get an error, run the printingbuginfo script and post that output.

https://wiki.ubuntu.com/PrintingBugInfoScript

Also go to http://localhost:631/printers in your browser, click start to start the printer, and put any error noted.

A

Revision history for this message
TimGS (timspe) said :
#2

Aaron,

hp-check isn't installed and I can't find where to get it from.

If its of any help, here's the screenshot for localhost:631/printers:
http://www.axot31.dsl.pipex.com/images/Screenshot-1.png
No 'start' option, but clicking 'reprint' gives the message that the job has been restarted, but it hasn't been. Printing a test page works - after doing this the job seen on the screenshot disappeared from the localhost:631/printers but is still on localhost:631/jobs.

I ran PrintingBugInfo - output below

-- Tim.

ProblemType: printingbuginfo v2.0: printingbug (https://wiki.ubuntu.com/PrintingBugInfoScript)
CupsConfiguredDevices: device for Photosmart_8700_series: hp:/usb/Photosmart_8700_series?serial=MY61H210TS04DJ
CupsConfiguredPPDs: Photosmart_8700_series: HP PhotoSmart 8700 Foomatic/hpijs (recommended)
Date: Wed Mar 5 21:56:33 2008
DesktopEnvironment: GNOME
DistroRelease: Ubuntu 7.10
EtcPapersize: a4
InstalledPrintingPackages:
 ii cupsys 1.3.2-1ubuntu7.5 Common UNIX Printing System(tm) - server
 ii cupsys-driver-gutenprint 5.0.1-0ubuntu8 printer drivers for CUPS
 ii foo2zjs 20070625-0ubuntu1.1 Support for printing to ZjStream-based printers
 ii foomatic-db 20070919-0ubuntu3 OpenPrinting printer support - database
 ii foomatic-db-engine 3.0.2-20070719-0ubuntu4 OpenPrinting printer support - programs
 ii foomatic-db-gutenprint 5.0.1-0ubuntu8 OpenPrinting printer support - database for Gutenprint printer d
 ii foomatic-db-hpijs 20070813-0ubuntu1 OpenPrinting printer support - database for HPIJS driver
 ii foomatic-filters 3.0.2-20070719-0ubuntu1 OpenPrinting printer support - filters
 ii ghostscript 8.61.dfsg.1~svn8187-0ubu The GPL Ghostscript PostScript/PDF interpreter
 ii gs-esp 8.61.dfsg.1~svn8187-0ubu Transitional package
 ii gs-gpl 8.61.dfsg.1~svn8187-0ubu Transitional package
 ii hpijs 2.7.7+2.7.7.dfsg.1-0ubun HP Linux Printing and Imaging - gs IJS driver (hpijs)
 ii hplip 2.7.7.dfsg.1-0ubuntu5 HP Linux Printing and Imaging System (HPLIP)
 ii ijsgutenprint 5.0.1-0ubuntu8 inkjet server - Ghostscript driver for Gutenprint
 ii kdeprint 4:3.5.8-0ubuntu2.2 print system for KDE
 ii libgnomeprint2.2-0 2.18.2-0ubuntu1 The GNOME 2.2 print architecture - runtime files
 ii min12xxw 0.0.9-1build1 Printer driver for KonicaMinolta PagePro 1[234]xxW
 ii openprinting-ppds 20070919-0ubuntu3 OpenPrinting printer support - PostScript PPD files
 ii pnm2ppa 1.12-16 PPM to PPA converter
 ii pxljr 1.1-0ubuntu1 Driver for HP's Color LaserJet 35xx/36xx color laser printers
 ii splix 1.0.1.1-0ubuntu2 Driver for Samsung's SPL2 (bw) and SPLc (color) laser printers
 ii system-config-printer 0.7.75+svn1653-0ubuntu2 Printer configuration GUI
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8, LC_PAPER=en_GB.UTF-8
Uname: Linux Dougal 2.6.22-14-generic #1 SMP Tue Feb 12 07:42:25 UTC 2008 i686 GNU/Linux

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#3

Tim,

It's okay if you got an error about hp-check , this means you are using the hplip that comes pre-installed with Ubuntu.

Has the printer ever printed in your current configuration?

How did you configure the printer?

Try running "sudo aa-complain cupsd" and then printing. Do you have the same problem?

All the best,

A

Revision history for this message
TimGS (timspe) said :
#4

Despite having Ubuntu since October I can't remember having printed from Open Office - just pdfs from Evince and photos from various packages which have been fine, and still are. Its probably best to make the presumption its always been like this, but I'm not 100% sure.

I ran sudo aa-complain cupsd. No change.

I have found that if the printer is off and I try and print from OO, the printer powers up itself, but nothing on its display indicates a job is present. Also when this happens the job on the computer shows 'processing' until the printer is up - its at this point that it stops.

I can't remember doing anything initially to configure the printer - memory tells me it was just there and recognised by HPLIP. The .ppd file has been changed since following the info you gave in https://answers.launchpad.net/hplip/+question/17586

Thanks,
-- Tim.

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#5

Tim,

Sorry maybe I missed something. You -can- print from other applications--just not openoffice?

A

Revision history for this message
TimGS (timspe) said :
#6

Can print:
Eye of Gnome, Evince (both tested recently) + various other photo packages in the past.

Can't print:
Open Office, Mozilla, Opera (all attempted today)

thanks,
-- Tim.

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#7

Is it possible to remove the preinstalled hplip and install the latest hplip from source?

Thanks!

Aaron

Revision history for this message
TimGS (timspe) said :
#8

Installed 2.8.2 from hplip.sourceforge.net - no change to the symptoms :-(

Tried OO - job stopped in queue as before. All options bar 'Cancel' greyed out as before.

Tried a .pdf from Evince - printed fine as before.

thanks for the continued help anyway!
-- Tim.

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#9

Tim,

Please put cups into debug mode (issue 2): http://hplip.sourceforge.net/troubleshooting/printing.html

View the cups log, try and print and then post the cups log to http://pastebin.com and post the link to the pastebin.

Also try running sudo apt-get remove hplip and then try printing again. Although I'm starting to think this isn't an hplip problem, but lets look at the log to be sure. The reason to remove hplip is that sometimes it's not removed during the source install and can cause a conflict.

A

Revision history for this message
TimGS (timspe) said :
#10

Further info...

I've checked Abiword - that doesn't print either.

Also, since installing HPLIP from sourceforge I have started getting yellow 'balloons' (the sort that also appear on the Ubuntu/Gnome desktop telling you about pending system updates and such things) telling me that the printer may not be connected. This happens about a minute after attempting to print something that sticks in the queue.

On the last two occasions of getting these messages I have then gone to Evince and successfully printed a .pdf, so clearly the printer is connected, but maybe on occasion HPLIP/CUPS doesn't think so - depending on the package that is doing the printing????

Yours in puzzlement,
--- Tim.

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#11

When you installed hplip from source did you delete the printer queues and re-add them using hp-setup? May want to try that..

A

Revision history for this message
TimGS (timspe) said :
#12

CUPS error log at http://pastebin.com/m4cf2c7c1. The Loglevel was previously set to 'warning', I changed it to 'debug' as per the instructions on the link.

I ran sudo apt-get remove hplip but it has already been successfully removed.

thanks,
-- Tim.

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#13

It looks like gs is erroring out. Try running sudo apt-get remove gs and then sudo apt-get clean, sudo apt-get update, sudo apt-get install gs

Does that make any difference?

Here's the interesting part of the log:

#
D [13/Mar/2008:21:41:37 +0000] cupsdProcessIPPRequest: 12 status_code=0 (successful-ok)
#
D [13/Mar/2008:21:41:37 +0000] [Job 114] foomatic-gswrapper: gs '-sstdout=%stderr' '-dBATCH' '-dPARANOIDSAFER' '-dQUIET' '-dNOPAUSE' '-sDEVICE=ijs' '-sIjsServer=hpijs' '-sDeviceManufacturer=HEWLETT-PACKARD' '-sDeviceModel=deskjet 5600' '-dDEVICEWIDTHPOINTS=595' '-dDEVICEHEIGHTPOINTS=842' '-dDuplex=false,PS:MediaPosition=7' '-dIjsUseOutputFD' '-sOutputFile=%stdout' '-'
#
D [13/Mar/2008:21:41:37 +0000] [Job 114] -dvar=name requires name=null, true, or false
#
D [13/Mar/2008:21:41:37 +0000] [Job 114] renderer return value: 1
#
D [13/Mar/2008:21:41:37 +0000] [Job 114] renderer received signal: 1
#
D [13/Mar/2008:21:41:37 +0000] [Job 114] KID3 exited with status 3
#
D [13/Mar/2008:21:41:37 +0000] [Job 114] Renderer exit stat: 3
#
D [13/Mar/2008:21:41:37 +0000] [Job 114] Process dying with "Possible error on renderer command line or PostScript error. Check options.", exit stat: 3
#
D [13/Mar/2008:21:41:37 +0000] [Job 114] error: Illegal seek (29)
#
D [13/Mar/2008:21:41:37 +0000] [Job 114] Possible error on renderer command line or PostScript error. Check options.
#
D [13/Mar/2008:21:41:37 +0000] [Job 114] tail process done writing data to STDOUT
#
D [13/Mar/2008:21:41:37 +0000] [Job 114] KID4 finished

Revision history for this message
TimGS (timspe) said :
#14

IT WORKS! :-) :-) :-) :-)

I have deleted the printers via System->Administration->Printing. The entry from the previously installed HPLIP was still there. I also deleted the new one for good measure and re-ran hp-setup.

I picked the second .ppd file - the one labelled '(recommended)'.

Thanks very much Aaron - your time, effort and knowledge is much appreciated!

-- Tim.

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#15

Tim,

Oh great! :)

Thanks for your support of hplip!

All the best,

Aaron

Revision history for this message
TimGS (timspe) said :
#16

PS. Never got as far as wiping and re-installing gs. Seems fine now though.

Thanks again, Tim.