LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 02-13-2009, 11:31 PM   #1
antitu
LQ Newbie
 
Registered: Apr 2007
Location: San Diego
Distribution: Slackware
Posts: 21

Rep: Reputation: 0
Slackware 12.2 HP PSC 1209 CUPS not printing


Howdy again folks.

After getting the udev issue resolved, I'm not stumped with a CUPS issue.

Specs:

Slackware 12.2
Kernel 2.6.27.7 custom build
HP PSC 1209 connected via USB
Using HPLIP and CUPS

Printer is recognized and configures just fine when accessing from http://localhost:631. hpcheck and hp-info are all good.

Problem - When printing from an application or localhost:631 the print jobs just get queued in /var/spool/cups and never get printed. This happens from root as well as user accounts.

When trying to print a test page from the CUPS interface the printer stops and the error "/usr/lib/cups/backend/hp failed" is displayed next to the printer name. This is the result when printing from other apps as well (Gimp, OpenOffice, etc...)

The connection to the printer is good as firing off 'hp-align' from the command prompt shoots out the alignment page in perfect quality.

I also took Didier Spaier's suggestion, from another thread, of trying the stock kernel. Booted the hugesmp for Slack 12.2 and the same results happened. Back to my custom config at the moment.

At the end of this message is the error_log dump (with LogLevel=debug) from an attempt to print a test page from CUPS.

Any ideas?

Thanks all!

error_log:

D [13/Feb/2009:21:23:50 -0800] cupsdReadClient: 6 GET /printers/psc_1200?op=print-test-page HTTP/1.1
D [13/Feb/2009:21:23:50 -0800] cupsdAuthorize: No authentication data provided.
D [13/Feb/2009:21:23:50 -0800] [CGI] /usr/lib/cups/cgi-bin/printers.cgi started - PID = 3080
I [13/Feb/2009:21:23:50 -0800] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=3080)
D [13/Feb/2009:21:23:50 -0800] cupsdSendCommand: 6 file=7
D [13/Feb/2009:21:23:50 -0800] cupsdAcceptClient: 9 from localhost (Domain)
D [13/Feb/2009:21:23:50 -0800] cupsdReadClient: 9 POST /printers/psc_1200 HTTP/1.1
D [13/Feb/2009:21:23:50 -0800] cupsdAuthorize: No authentication data provided.
D [13/Feb/2009:21:23:50 -0800] Print-Job ipp://localhost:631/printers/psc_1200
D [13/Feb/2009:21:23:50 -0800] Adding default job-sheets values "none,none"...
I [13/Feb/2009:21:23:50 -0800] [Job 34] Adding start banner page "none".
D [13/Feb/2009:21:23:50 -0800] Discarding unused job-created event...
I [13/Feb/2009:21:23:50 -0800] [Job 34] Adding end banner page "none".
I [13/Feb/2009:21:23:50 -0800] [Job 34] File of type application/postscript queued by "anonymous".
D [13/Feb/2009:21:23:50 -0800] [Job 34] hold_until=0
I [13/Feb/2009:21:23:50 -0800] [Job 34] Queued on "psc_1200" by "anonymous".
D [13/Feb/2009:21:23:50 -0800] Discarding unused printer-state-changed event...
D [13/Feb/2009:21:23:50 -0800] [Job 34] job-sheets=none,none
D [13/Feb/2009:21:23:50 -0800] [Job 34] banner_page = 0
D [13/Feb/2009:21:23:50 -0800] [Job 34] argv[0]="psc_1200"
D [13/Feb/2009:21:23:50 -0800] [Job 34] argv[1]="34"
D [13/Feb/2009:21:23:50 -0800] [Job 34] argv[2]="anonymous"
D [13/Feb/2009:21:23:50 -0800] [Job 34] argv[3]="Test Page"
D [13/Feb/2009:21:23:50 -0800] [Job 34] argv[4]="1"
D [13/Feb/2009:21:23:50 -0800] [Job 34] argv[5]="job-uuid=urn:uuid:0fde640d-ba7a-3009-7577-b00ce3626dbb"
D [13/Feb/2009:21:23:50 -0800] [Job 34] argv[6]="/var/spool/cups/d00034-001"
D [13/Feb/2009:21:23:50 -0800] [Job 34] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [13/Feb/2009:21:23:50 -0800] [Job 34] envp[1]="CUPS_DATADIR=/usr/share/cups"
D [13/Feb/2009:21:23:50 -0800] [Job 34] envp[2]="CUPS_DOCROOT=/usr/share/doc/cups"
D [13/Feb/2009:21:23:50 -0800] [Job 34] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [13/Feb/2009:21:23:50 -0800] [Job 34] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [13/Feb/2009:21:23:50 -0800] [Job 34] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
D [13/Feb/2009:21:23:50 -0800] [Job 34] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [13/Feb/2009:21:23:50 -0800] [Job 34] envp[7]="CUPS_STATEDIR=/var/run/cups"
D [13/Feb/2009:21:23:50 -0800] [Job 34] envp[8]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [13/Feb/2009:21:23:50 -0800] [Job 34] envp[9]="SERVER_ADMIN=root@Station1.penguin.net"
D [13/Feb/2009:21:23:50 -0800] [Job 34] envp[10]="SOFTWARE=CUPS/1.3.9"
D [13/Feb/2009:21:23:50 -0800] [Job 34] envp[11]="TMPDIR=/var/spool/cups/tmp"
D [13/Feb/2009:21:23:50 -0800] [Job 34] envp[12]="USER=root"
D [13/Feb/2009:21:23:50 -0800] [Job 34] envp[13]="CUPS_SERVER=/var/run/cups/cups.sock"
D [13/Feb/2009:21:23:50 -0800] [Job 34] envp[14]="CUPS_ENCRYPTION=IfRequested"
D [13/Feb/2009:21:23:50 -0800] [Job 34] envp[15]="IPP_PORT=631"
D [13/Feb/2009:21:23:50 -0800] [Job 34] envp[16]="CHARSET=utf-8"
D [13/Feb/2009:21:23:50 -0800] [Job 34] envp[17]="LANG=en_US.UTF8"
D [13/Feb/2009:21:23:50 -0800] [Job 34] envp[18]="PPD=/etc/cups/ppd/psc_1200.ppd"
D [13/Feb/2009:21:23:50 -0800] [Job 34] envp[19]="RIP_MAX_CACHE=8m"
D [13/Feb/2009:21:23:50 -0800] [Job 34] envp[20]="CONTENT_TYPE=application/postscript"
D [13/Feb/2009:21:23:50 -0800] [Job 34] envp[21]="DEVICE_URI=hp:/usb/psc_1200_series?serial=MY489G102N5H"
D [13/Feb/2009:21:23:50 -0800] [Job 34] envp[22]="PRINTER=psc_1200"
D [13/Feb/2009:21:23:50 -0800] [Job 34] envp[23]="FINAL_CONTENT_TYPE=printer/psc_1200"
I [13/Feb/2009:21:23:50 -0800] [Job 34] Started filter /usr/lib/cups/filter/pstops (PID 3081)
I [13/Feb/2009:21:23:50 -0800] [Job 34] Started filter /usr/lib/cups/filter/foomatic-rip-hplip (PID 3082)
I [13/Feb/2009:21:23:50 -0800] [Job 34] Started backend /usr/lib/cups/backend/hp (PID 3083)
D [13/Feb/2009:21:23:50 -0800] Discarding unused job-state-changed event...
D [13/Feb/2009:21:23:50 -0800] cupsdProcessIPPRequest: 9 status_code=0 (successful-ok)
D [13/Feb/2009:21:23:50 -0800] [CGI] lang="en_US.UTF8", locale="/en_US"...
D [13/Feb/2009:21:23:50 -0800] [CGI] lang="en_US.UTF8", locale="/en_US"...
D [13/Feb/2009:21:23:50 -0800] [CGI] lang="en_US.UTF8", locale="/en_US"...
D [13/Feb/2009:21:23:50 -0800] cupsdCloseClient: 9
D [13/Feb/2009:21:23:50 -0800] PID 3080 (/usr/lib/cups/cgi-bin/printers.cgi) exited with no errors.
D [13/Feb/2009:21:23:50 -0800] [Job 34] Page = 612x792; 18,36 to 594,783
D [13/Feb/2009:21:23:50 -0800] [Job 34] slow_collate=0, slow_duplex=0, slow_order=0
D [13/Feb/2009:21:23:50 -0800] [Job 34] Before copy_comments - %!PS-Adobe-3.0
D [13/Feb/2009:21:23:50 -0800] [Job 34] %!PS-Adobe-3.0
D [13/Feb/2009:21:23:50 -0800] [Job 34] %%BoundingBox: 0 0 612 792
D [13/Feb/2009:21:23:50 -0800] [Job 34] %%Pages: 1
D [13/Feb/2009:21:23:50 -0800] [Job 34] %%LanguageLevel: 1
D [13/Feb/2009:21:23:50 -0800] [Job 34] %%DocumentData: Clean7Bit
D [13/Feb/2009:21:23:50 -0800] [Job 34] %%DocumentSuppliedResources: procset testprint/1.3
D [13/Feb/2009:21:23:50 -0800] [Job 34] %%DocumentNeededResources: font Helvetica Helvetica-Bold Times-Roman
D [13/Feb/2009:21:23:50 -0800] [Job 34] %%Creator: Michael Sweet, Apple Inc.
D [13/Feb/2009:21:23:50 -0800] [Job 34] %%CreationDate: D:20070606214000+0500
D [13/Feb/2009:21:23:50 -0800] [Job 34] %%Title: Test Page
D [13/Feb/2009:21:23:50 -0800] [Job 34] %%EndComments
D [13/Feb/2009:21:23:50 -0800] [Job 34] Before copy_prolog - %%BeginProlog
D [13/Feb/2009:21:23:50 -0800] [Job 34] Before copy_setup - %%Page: 1 1
D [13/Feb/2009:21:23:50 -0800] [Job 34] Before page loop - %%Page: 1 1
D [13/Feb/2009:21:23:50 -0800] [Job 34] Copying page 1...
D [13/Feb/2009:21:23:50 -0800] [Job 34] pagew = 576.0, pagel = 747.0
D [13/Feb/2009:21:23:50 -0800] [Job 34] bboxx = 0, bboxy = 0, bboxw = 612, bboxl = 792
D [13/Feb/2009:21:23:50 -0800] [Job 34] PageLeft = 18.0, PageRight = 594.0
D [13/Feb/2009:21:23:50 -0800] [Job 34] PageTop = 783.0, PageBottom = 36.0
D [13/Feb/2009:21:23:50 -0800] [Job 34] PageWidth = 612.0, PageLength = 792.0
D [13/Feb/2009:21:23:50 -0800] [Job 34] Wrote 1 pages...
D [13/Feb/2009:21:23:50 -0800] PID 3081 (/usr/lib/cups/filter/pstops) exited with no errors.
D [13/Feb/2009:21:23:50 -0800] [Job 34] prnt/backend/hp.c 529: dBus Connection Error (Did not receive a reply. Possible ca$
D [13/Feb/2009:21:23:50 -0800] [Job 34] process 3083: arguments to dbus_connection_send() were incorrect, assertion "conne$
D [13/Feb/2009:21:23:50 -0800] [Job 34] This is normally a bug in some application using the D-Bus library.
D [13/Feb/2009:21:23:50 -0800] [Job 34] D-Bus not built with -rdynamic so unable to print a backtrace
E [13/Feb/2009:21:23:50 -0800] PID 3083 (/usr/lib/cups/backend/hp) crashed on signal 6!
D [13/Feb/2009:21:23:50 -0800] [Job 34] whoami: cannot find name for user ID 65534
D [13/Feb/2009:21:23:50 -0800] [Job 34] foomatic-rip version $Revision: 1.1 $ running...
D [13/Feb/2009:21:23:50 -0800] [Job 34] Parsing PPD file ...
D [13/Feb/2009:21:23:50 -0800] [Job 34] Added option ColorSpace
D [13/Feb/2009:21:23:50 -0800] [Job 34] Added option Model
D [13/Feb/2009:21:23:50 -0800] [Job 34] Added option PrintoutMode
D [13/Feb/2009:21:23:50 -0800] [Job 34] Added option PageSize
D [13/Feb/2009:21:23:50 -0800] [Job 34] Added option Quality
D [13/Feb/2009:21:23:50 -0800] [Job 34] *cupsFilter: "application/vnd.cups-postscript 0 foomatic-rip-hplip"
D [13/Feb/2009:21:23:50 -0800] [Job 34] Added option PageRegion
D [13/Feb/2009:21:23:50 -0800] [Job 34] Added option ImageableArea
D [13/Feb/2009:21:23:50 -0800] [Job 34] Added option PaperDimension
D [13/Feb/2009:21:23:50 -0800] [Job 34] Added option Font
D [13/Feb/2009:21:23:50 -0800] [Job 34]
D [13/Feb/2009:21:23:50 -0800] [Job 34] Parameter Summary
D [13/Feb/2009:21:23:50 -0800] [Job 34] -----------------
D [13/Feb/2009:21:23:50 -0800] [Job 34]
D [13/Feb/2009:21:23:50 -0800] [Job 34] Spooler: cups
D [13/Feb/2009:21:23:50 -0800] [Job 34] Printer: psc_1200
D [13/Feb/2009:21:23:50 -0800] [Job 34] Shell: /bin/sh
D [13/Feb/2009:21:23:50 -0800] [Job 34] PPD file: /etc/cups/ppd/psc_1200.ppd
D [13/Feb/2009:21:23:50 -0800] [Job 34] ATTR file:
D [13/Feb/2009:21:23:50 -0800] [Job 34] Printer model: HP PSC 1200 series Foomatic/hpijs, hpijs 2.8.10.33
D [13/Feb/2009:21:23:50 -0800] [Job 34] Job title: Test Page
D [13/Feb/2009:21:23:50 -0800] [Job 34] File(s) to be printed:
D [13/Feb/2009:21:23:50 -0800] [Job 34] <STDIN>
D [13/Feb/2009:21:23:50 -0800] [Job 34]
D [13/Feb/2009:21:23:50 -0800] [Job 34] GhostScript extra search path ('GS_LIB'): /usr/share/cups/fonts
D [13/Feb/2009:21:23:50 -0800] [Job 34] Pondering option 'job-uuid=urn:uuid:0fde640d-ba7a-3009-7577-b00ce3626dbb'
D [13/Feb/2009:21:23:50 -0800] [Job 34] Unknown option job-uuid=urn:uuid:0fde640d-ba7a-3009-7577-b00ce3626dbb.
D [13/Feb/2009:21:23:50 -0800] [Job 34]
D [13/Feb/2009:21:23:50 -0800] [Job 34] ================================================
D [13/Feb/2009:21:23:50 -0800] [Job 34]
D [13/Feb/2009:21:23:50 -0800] [Job 34] File: <STDIN>
D [13/Feb/2009:21:23:50 -0800] [Job 34]
D [13/Feb/2009:21:23:50 -0800] [Job 34] ================================================
D [13/Feb/2009:21:23:50 -0800] [Job 34]
D [13/Feb/2009:21:23:50 -0800] [Job 34] Reading PostScript input ...
D [13/Feb/2009:21:23:50 -0800] [Job 34] --> This document is DSC-conforming!
D [13/Feb/2009:21:23:50 -0800] [Job 34]
D [13/Feb/2009:21:23:50 -0800] [Job 34] -----------
D [13/Feb/2009:21:23:50 -0800] [Job 34] Found: %%BeginProlog
D [13/Feb/2009:21:23:50 -0800] [Job 34] Found: %%EndProlog
D [13/Feb/2009:21:23:50 -0800] [Job 34]
D [13/Feb/2009:21:23:50 -0800] [Job 34] -----------
D [13/Feb/2009:21:23:50 -0800] [Job 34] Found: %%BeginSetup
D [13/Feb/2009:21:23:50 -0800] [Job 34] Found: %%BeginFeature: *PageSize Letter
D [13/Feb/2009:21:23:50 -0800] [Job 34] Option: PageSize=Letter --> Setting option
D [13/Feb/2009:21:23:50 -0800] [Job 34] Found: %% FoomaticRIPOptionSetting: PageSize=Letter
D [13/Feb/2009:21:23:50 -0800] [Job 34] Option: PageSize=Letter --> Setting option
D [13/Feb/2009:21:23:50 -0800] [Job 34] Found: %%BeginFeature: *PrintoutMode Normal
D [13/Feb/2009:21:23:50 -0800] [Job 34] Option: PrintoutMode=Normal --> Setting option
D [13/Feb/2009:21:23:50 -0800] [Job 34] Found: %% FoomaticRIPOptionSetting: PrintoutMode=Normal
D [13/Feb/2009:21:23:50 -0800] [Job 34] Option: PrintoutMode=Normal --> Setting option
D [13/Feb/2009:21:23:50 -0800] [Job 34] Found: %%BeginFeature: *Quality FromPrintoutMode
D [13/Feb/2009:21:23:50 -0800] [Job 34] Option: Quality=FromPrintoutMode --> Setting option
D [13/Feb/2009:21:23:50 -0800] [Job 34] Found: %% FoomaticRIPOptionSetting: Quality=@PrintoutMode
D [13/Feb/2009:21:23:50 -0800] [Job 34] Option: Quality=FromPrintoutMode --> Setting option
D [13/Feb/2009:21:23:50 -0800] [Job 34] Found: %%EndSetup
D [13/Feb/2009:21:23:50 -0800] [Job 34] Inserting PostScript code for CUPS' page accounting
D [13/Feb/2009:21:23:50 -0800] [Job 34]
D [13/Feb/2009:21:23:50 -0800] [Job 34] -----------
D [13/Feb/2009:21:23:50 -0800] [Job 34] New page: 1 1
D [13/Feb/2009:21:23:50 -0800] [Job 34] Inserting option code into "PageSetup" section.
D [13/Feb/2009:21:23:50 -0800] [Job 34]
D [13/Feb/2009:21:23:50 -0800] [Job 34] Found: %%BeginPageSetup
D [13/Feb/2009:21:23:50 -0800] [Job 34] Found: %%EndPageSetup
D [13/Feb/2009:21:23:50 -0800] [Job 34] End of page header
D [13/Feb/2009:21:23:50 -0800] [Job 34] Stopping search for page header options
D [13/Feb/2009:21:23:50 -0800] [Job 34] Found: lineto % Move there...
D [13/Feb/2009:21:23:50 -0800] [Job 34] --> Output goes directly to the renderer now.
D [13/Feb/2009:21:23:50 -0800] [Job 34]
D [13/Feb/2009:21:23:50 -0800] [Job 34]
D [13/Feb/2009:21:23:50 -0800] [Job 34] Starting renderer
D [13/Feb/2009:21:23:50 -0800] [Job 34] renderer PID kid4=3089
D [13/Feb/2009:21:23:50 -0800] [Job 34] renderer command: gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sI$
D [13/Feb/2009:21:23:50 -0800] [Job 34] JCL: <job data>
D [13/Feb/2009:21:23:50 -0800] [Job 34]
D [13/Feb/2009:21:23:50 -0800] [Job 34] Found: %%Trailer
D [13/Feb/2009:21:23:50 -0800] [Job 34] --> Continue DSC parsing now.
D [13/Feb/2009:21:23:50 -0800] [Job 34]
D [13/Feb/2009:21:23:50 -0800] [Job 34] Found: %%Pages: 1
D [13/Feb/2009:21:23:50 -0800] [Job 34] --> Continue DSC parsing now.
D [13/Feb/2009:21:23:50 -0800] [Job 34]
D [13/Feb/2009:21:23:50 -0800] [Job 34] Found: %%BoundingBox: 0 0 612 792
D [13/Feb/2009:21:23:50 -0800] [Job 34] --> Continue DSC parsing now.
D [13/Feb/2009:21:23:50 -0800] [Job 34]
D [13/Feb/2009:21:23:50 -0800] [Job 34] Found: %%EOF
D [13/Feb/2009:21:23:50 -0800] [Job 34] --> Continue DSC parsing now.
D [13/Feb/2009:21:23:50 -0800] [Job 34]
D [13/Feb/2009:21:23:50 -0800] [Job 34]
D [13/Feb/2009:21:23:50 -0800] [Job 34] Closing renderer
D [13/Feb/2009:21:23:50 -0800] [Job 34] foomatic-gswrapper: gs '-sstdout=%stderr' '-dBATCH' '-dPARANOIDSAFER' '-dQUIET' '-$
D [13/Feb/2009:21:23:51 -0800] Discarding unused job-progress event...
D [13/Feb/2009:21:23:52 -0800] cupsdReadClient: 6 GET /printers/ HTTP/1.1
D [13/Feb/2009:21:23:52 -0800] cupsdAuthorize: No authentication data provided.
D [13/Feb/2009:21:23:52 -0800] [CGI] /usr/lib/cups/cgi-bin/printers.cgi started - PID = 3095
I [13/Feb/2009:21:23:52 -0800] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=3095)
D [13/Feb/2009:21:23:52 -0800] cupsdSendCommand: 6 file=9
D [13/Feb/2009:21:23:52 -0800] cupsdAcceptClient: 10 from localhost (Domain)
D [13/Feb/2009:21:23:52 -0800] cupsdReadClient: 10 POST / HTTP/1.1
D [13/Feb/2009:21:23:52 -0800] cupsdAuthorize: No authentication data provided.
D [13/Feb/2009:21:23:52 -0800] CUPS-Get-Default
D [13/Feb/2009:21:23:52 -0800] CUPS-Get-Default client-error-not-found: No default printer
D [13/Feb/2009:21:23:52 -0800] cupsdProcessIPPRequest: 10 status_code=406 (client-error-not-found)
D [13/Feb/2009:21:23:52 -0800] [CGI] show_all_printers(http=0x8078980, user="(null)")
D [13/Feb/2009:21:23:52 -0800] [CGI] lang="en_US.UTF8", locale="/en_US"...
D [13/Feb/2009:21:23:52 -0800] cupsdReadClient: 10 POST / HTTP/1.1
D [13/Feb/2009:21:23:52 -0800] cupsdAuthorize: No authentication data provided.
D [13/Feb/2009:21:23:52 -0800] CUPS-Get-Printers
D [13/Feb/2009:21:23:52 -0800] cupsdProcessIPPRequest: 10 status_code=0 (successful-ok)
D [13/Feb/2009:21:23:52 -0800] [CGI] lang="en_US.UTF8", locale="/en_US"...
D [13/Feb/2009:21:23:52 -0800] [CGI] lang="en_US.UTF8", locale="/en_US"...
D [13/Feb/2009:21:23:52 -0800] [CGI] lang="en_US.UTF8", locale="/en_US"...
D [13/Feb/2009:21:23:52 -0800] [CGI] lang="en_US.UTF8", locale="/en_US"...
D [13/Feb/2009:21:23:52 -0800] [CGI] lang="en_US.UTF8", locale="/en_US"...
D [13/Feb/2009:21:23:52 -0800] [CGI] lang="en_US.UTF8", locale="/en_US"...
D [13/Feb/2009:21:23:52 -0800] cupsdCloseClient: 10
D [13/Feb/2009:21:23:52 -0800] PID 3095 (/usr/lib/cups/cgi-bin/printers.cgi) exited with no errors.
D [13/Feb/2009:21:23:52 -0800] [Job 34] KID3 exited with status 0
D [13/Feb/2009:21:23:52 -0800] [Job 34] KID4 exited with status 9
D [13/Feb/2009:21:23:52 -0800] [Job 34] Renderer exit stat: 9
D [13/Feb/2009:21:23:52 -0800] [Job 34] Process dying with "error closing *main::STDOUT", exit stat: 9
D [13/Feb/2009:21:23:52 -0800] [Job 34] error: Broken pipe (32)
D [13/Feb/2009:21:23:52 -0800] [Job 34] error closing *main::STDOUT
D [13/Feb/2009:21:23:52 -0800] [Job 34] KID3 finished
D [13/Feb/2009:21:23:52 -0800] [Job 34] Renderer process finished
D [13/Feb/2009:21:23:52 -0800] [Job 34] Killing process 3088 (KID3)
D [13/Feb/2009:21:23:52 -0800] [Job 34] Process dying with "Error closing renderer", exit stat: 9
D [13/Feb/2009:21:23:52 -0800] [Job 34] error: Bad file descriptor (9)
D [13/Feb/2009:21:23:52 -0800] [Job 34] Error closing renderer
E [13/Feb/2009:21:23:52 -0800] PID 3082 (/usr/lib/cups/filter/foomatic-rip-hplip) stopped with status 9!
D [13/Feb/2009:21:23:52 -0800] [Job 34] File 0 is complete.
I [13/Feb/2009:21:23:52 -0800] [Job 34] Backend returned status -6 (crashed)
D [13/Feb/2009:21:23:52 -0800] Discarding unused printer-state-changed event...
D [13/Feb/2009:21:23:52 -0800] Discarding unused printer-stopped event...
I [13/Feb/2009:21:23:52 -0800] Saving printers.conf...
D [13/Feb/2009:21:23:52 -0800] Discarding unused job-stopped event...
D [13/Feb/2009:21:23:53 -0800] [Job 34] Unloading...
 
Old 02-14-2009, 02:31 AM   #2
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,412

Rep: Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123
Hi Antitu,

as I saw a dBus connection error in your logs, I stopped dBus (/etc/rc.d/rc.messagebus stop), then tried to print a test page from localhost:631.

I got the "/usr/lib/cups/backend/hp failed" message.

When I restart dBus (/etc/rc.d/rc.messagebus start) all goes well.

I would first check that /etc/rc.messagebus be executable -- but I suppose it is, then see if there are some other problem around dBus, as a wrong setting or whatever.

[EDIT] In my system I saw a directory named /etc/dbus-1 with two regular files and two directories in it. May-be you could look there.

Last edited by Didier Spaier; 02-14-2009 at 02:50 AM.
 
Old 02-14-2009, 03:57 AM   #3
antitu
LQ Newbie
 
Registered: Apr 2007
Location: San Diego
Distribution: Slackware
Posts: 21

Original Poster
Rep: Reputation: 0
Thanks for the tip.

The rc files in question have executable permissions, and are running. I even tried restarting the services. Same result - queuing without printing...

I'm not sure how the /etc/dbus-1 files work. If this is a lead to the solution I'll need a pointer on what to look for.

Thanks again!
 
Old 02-14-2009, 04:26 AM   #4
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,412

Rep: Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123
Unfortunately I do not know more than that about dBus

Anyhow I would try to 'rm -rf /etc/dbus-1' then reinstall the dbus package.

Other than that I saw this in CHANGES_AND_HINTS.TXT for Slackware 12.2 (last sentence):
Code:
Due to the gutenprint upgrade, any printers that use gutenprint drivers via cups will have to be reinstalled.
So, if not already done I would delete the printer in CUPS and re-install it. If it does not help, at least it won't hurt

Or, may be a problem with user rights ? I guess you already checked that your user belongs to the 'lp' group -- and 'plugdev' as well if you use HAL.

[EDIT]Suggestion about gutenprint issue can be relevant only if you upgraded from Slackware 12.1, of course.

Last edited by Didier Spaier; 02-14-2009 at 04:34 AM.
 
Old 02-14-2009, 11:26 PM   #5
antitu
LQ Newbie
 
Registered: Apr 2007
Location: San Diego
Distribution: Slackware
Posts: 21

Original Poster
Rep: Reputation: 0
Re: Slackware 12.2 HP PSC 1209 CUPS not printing 1/2 solved

First, thanks Didier Spaier for the tips. Again you pointed me in the right direction that shed light on one of the problems. HAL wasn't loading. The daemon was terminating immediately after starting.

I ran /usr/sbin/hald --daemon=no --verbose=yes and the first error that popped up was that it couldn't communicate with IEvent. Oops. Must have accidentally turned that off in my kernel config. Turned it back on and HAL is loading.

I label this as 1/2 fixed because I am able to print via CUPS, but not if the printer is installed with HPLIP's hp-setup. I erased all config files for HPLIP and CUPS and reinstalled the base packages. If I install the printer via CUPS, I can print. If I install the printer using HPLIP I get the backend error again. So, I removed all of the HPLIP printer configs and stuck with the CUPS printer install.

Not sure why the HPLIP printer setup fails... One day I might investigate but for now I'm good to go.

Thanks again!


P.S. Didier Spaier - In following your suggestion of 'rm -rf /etc/dbus-1', the cups.conf file in there got whacked. I forgot to back it up... But, I was able to rip it out of the package and it got put back after I reinstalled CUPS anyway. Just a FYI.
 
Old 02-15-2009, 04:11 AM   #6
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
Normally I don't install a printer via hp-setup, mostly because it doesn't work. But if you can install it via CUPS then it should work just fine. In order for scanning to work (if it has a scanner) at one point during the install you need to choose the option with the printer serial number in it, if you don't, the scanner will not work.
 
Old 02-15-2009, 01:00 PM   #7
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,412

Rep: Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123
Quote:
Originally Posted by antitu View Post
P.S. Didier Spaier - In following your suggestion of 'rm -rf /etc/dbus-1', the cups.conf file in there got whacked. I forgot to back it up... But, I was able to rip it out of the package and it got put back after I reinstalled CUPS anyway. Just a FYI.
Thanks for the information. I should have warned you about such possible side effect, though
Quote:
Originally Posted by antitu
Normally I don't install a printer via hp-setup, mostly because it doesn't work.
hp-setup works here, at least for an HP Officejet Pro K550 printer. And I can print after having set up the printer with it.

Last edited by Didier Spaier; 02-15-2009 at 01:01 PM.
 
  


Reply

Tags
cups, hal, printing, slackware


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CUPS Printing on Slackware daleman Slackware - Installation 4 04-05-2008 02:10 PM
HP Printing (Specifically PSC) on Slackware fader Slackware 8 12-24-2004 10:31 AM
Printing with CUPS using hp psc 2110 and hpijs driver Ikana *BSD 3 08-26-2004 06:44 PM
Printing with CUPS using hp psc 2110 and hpijs driver Ikana Linux - Software 0 08-15-2004 03:06 AM
Slackware 9 and CUPS (CUPS=crap) - printing carboncopy Slackware 21 07-29-2003 03:27 PM


All times are GMT -5. The time now is 01:52 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration