C3180 doesn't print with hp backend (with usb it does)

Asked by David Watzke

Hi there, I'm trying to get working my new Photosmart C3180 on Gentoo Linux (~amd64). Scanner works fine, but printing with the hp backend (CUPS) does not. When I try to print something, it's added into the queue with status "processing" and then nothing happens. In error_log isn't any error. Processes foomatic-rip, hpijs and gs just keep hanging until I send a SIGKILL to them. However, when I delete this printer generated using hp-setup from CUPS and add it manually so it uses the usb backend instead of the hp one, it works fine. Problem is that I can't use the usb backend, because /dev/usb/lp0 disappears everytime I print something (and it appers after reconnecting the USB cable, restarting the printer or reloading the usblp module, which is quite annoying), so I need to get this hp backend working _or_ something else that helps.

Any ideas?

Question information

Language:
English Edit question
Status:
Answered
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Cogent (pavel-987) said :
#1

I have the *exact* same problem. (even the same printer) I also run Gentoo x86_64 testing branch. Cups 1.3.6 and hplip 2.7.12 I've started a forum topic on the Gentoo forums with all relevant information such as hp-check and hp-info. http://forums.gentoo.org/viewtopic-p-4919690.html#4919690

Revision history for this message
David Watzke (wdah3) said :
#2

Yes, this is it, "Device communication error." in hp-info. I've got same software versions you have, I even tried hplip 2.8.2, but it still doesn't work.

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

I've read through the Gentoo thread, it appears the printer is being detect and configured, but when printing there is an error?

Run :
/usr/lib/cups/backend/hp

What's the output?

Also run lsusb -v <bus:devid for printer> and post that as well.

Then lets put cups in debug mode; http://hplip.sourceforge.net/troubleshooting/printing.html (issue 2)

Run the tail -f /var/log/cups/error_log and try to print and then post the cups error log.

We'll start here...please keep in mind however that I don't have a gentoo system up and going and I can't test this myself. Just trying to help track it down.. :)

Aaron

Revision history for this message
David Watzke (wdah3) said :
#4

No error, it just doesn't work and CUPS says "processing".

# /usr/libexec/cups/backend/hp
direct hp:/usb/Photosmart_C3100_series?serial=CN7B9C51Z504P9 "HP Photosmart C3100 series" "HP Photosmart C3100 series USB CN7B9C51Z504P9 HPLIP" "MFG:HP;MDL:Photosmart C3100 series;CLS:PRINTER;DES:Photosmart C3100 series;SN:CN7B9C51Z504P9;"

lsusb:
------------
Bus 001 Device 016: ID 03f0:5611 Hewlett-Packard PhotoSmart C3180
Device Descriptor:
  bLength 18
  bDescriptorType 1
  bcdUSB 2.00
  bDeviceClass 0 (Defined at Interface level)
  bDeviceSubClass 0
  bDeviceProtocol 0
  bMaxPacketSize0 64
  idVendor 0x03f0 Hewlett-Packard
  idProduct 0x5611 PhotoSmart C3180
  bcdDevice 1.00
  iManufacturer 1 HP
  iProduct 2 Photosmart C3100 series
  iSerial 3 CN7B9C51Z504P9
  bNumConfigurations 1
  Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 131
    bNumInterfaces 4
    bConfigurationValue 1
    iConfiguration 0
    bmAttributes 0xc0
      Self Powered
    MaxPower 2mA
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 0
      bAlternateSetting 0
      bNumEndpoints 3
      bInterfaceClass 255 Vendor Specific Class
      bInterfaceSubClass 204
      bInterfaceProtocol 0
      iInterface 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x01 EP 1 OUT
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0200 1x 512 bytes
        bInterval 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x82 EP 2 IN
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0200 1x 512 bytes
        bInterval 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x83 EP 3 IN
        bmAttributes 3
          Transfer Type Interrupt
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0008 1x 8 bytes
        bInterval 7
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 1
      bAlternateSetting 0
      bNumEndpoints 2
      bInterfaceClass 7 Printer
      bInterfaceSubClass 1 Printer
      bInterfaceProtocol 2 Bidirectional
      iInterface 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x0a EP 10 OUT
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0200 1x 512 bytes
        bInterval 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x8b EP 11 IN
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0200 1x 512 bytes
        bInterval 0
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 2
      bAlternateSetting 0
      bNumEndpoints 2
      bInterfaceClass 255 Vendor Specific Class
      bInterfaceSubClass 255 Vendor Specific Subclass
      bInterfaceProtocol 255 Vendor Specific Protocol
      iInterface 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x07 EP 7 OUT
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0200 1x 512 bytes
        bInterval 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x88 EP 8 IN
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0200 1x 512 bytes
        bInterval 0
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 2
      bAlternateSetting 1
      bNumEndpoints 2
      bInterfaceClass 255 Vendor Specific Class
      bInterfaceSubClass 212
      bInterfaceProtocol 0
      iInterface 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x07 EP 7 OUT
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0200 1x 512 bytes
        bInterval 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x88 EP 8 IN
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0200 1x 512 bytes
        bInterval 0
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 3
      bAlternateSetting 0
      bNumEndpoints 2
      bInterfaceClass 8 Mass Storage
      bInterfaceSubClass 6 SCSI
      bInterfaceProtocol 80 Bulk (Zip)
      iInterface 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x04 EP 4 OUT
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0200 1x 512 bytes
        bInterval 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x85 EP 5 IN
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0200 1x 512 bytes
        bInterval 0
Device Qualifier (for other device speed):
  bLength 10
  bDescriptorType 6
  bcdUSB 2.00
  bDeviceClass 0 (Defined at Interface level)
  bDeviceSubClass 0
  bDeviceProtocol 0
  bMaxPacketSize0 64
  bNumConfigurations 1
Device Status: 0x0001
  Self Powered
--------------------

(debug) error_log after running the hp-testpage command:
D [03/Mar/2008:18:29:51 +0100] cupsdAcceptClient: 7 from localhost (Domain)
D [03/Mar/2008:18:29:51 +0100] Report: clients=1
D [03/Mar/2008:18:29:51 +0100] Report: jobs=0
D [03/Mar/2008:18:29:51 +0100] Report: jobs-active=0
D [03/Mar/2008:18:29:51 +0100] Report: printers=1
D [03/Mar/2008:18:29:51 +0100] Report: printers-implicit=0
D [03/Mar/2008:18:29:51 +0100] Report: stringpool-string-count=307
D [03/Mar/2008:18:29:51 +0100] Report: stringpool-alloc-bytes=8904
D [03/Mar/2008:18:29:51 +0100] Report: stringpool-total-bytes=6248
D [03/Mar/2008:18:29:51 +0100] cupsdReadClient: 7 POST / HTTP/1.1
D [03/Mar/2008:18:29:51 +0100] cupsdAuthorize: No authentication data provided.
D [03/Mar/2008:18:29:51 +0100] CUPS-Get-Printers
D [03/Mar/2008:18:29:51 +0100] cupsdProcessIPPRequest: 7 status_code=0 (successful-ok)
D [03/Mar/2008:18:29:51 +0100] cupsdAcceptClient: 9 from localhost (Domain)
D [03/Mar/2008:18:29:51 +0100] cupsdReadClient: 9 POST / HTTP/1.1
D [03/Mar/2008:18:29:51 +0100] cupsdAuthorize: No authentication data provided.
D [03/Mar/2008:18:29:51 +0100] CUPS-Get-Printers
D [03/Mar/2008:18:29:51 +0100] cupsdProcessIPPRequest: 9 status_code=0 (successful-ok)
D [03/Mar/2008:18:29:51 +0100] cupsdAcceptClient: 10 from localhost (Domain)
D [03/Mar/2008:18:29:51 +0100] cupsdReadClient: 10 POST / HTTP/1.1
D [03/Mar/2008:18:29:51 +0100] cupsdAuthorize: No authentication data provided.
D [03/Mar/2008:18:29:51 +0100] CUPS-Get-Printers
D [03/Mar/2008:18:29:51 +0100] cupsdProcessIPPRequest: 10 status_code=0 (successful-ok)
D [03/Mar/2008:18:29:51 +0100] cupsdAcceptClient: 11 from localhost (Domain)
D [03/Mar/2008:18:29:51 +0100] cupsdReadClient: 11 POST / HTTP/1.1
D [03/Mar/2008:18:29:51 +0100] cupsdAuthorize: No authentication data provided.
D [03/Mar/2008:18:29:51 +0100] CUPS-Get-Printers
D [03/Mar/2008:18:29:51 +0100] cupsdProcessIPPRequest: 11 status_code=0 (successful-ok)
D [03/Mar/2008:18:29:51 +0100] cupsdReadClient: 11 POST / HTTP/1.1
D [03/Mar/2008:18:29:51 +0100] cupsdAuthorize: No authentication data provided.
D [03/Mar/2008:18:29:51 +0100] CUPS-Get-Classes
D [03/Mar/2008:18:29:51 +0100] cupsdProcessIPPRequest: 11 status_code=0 (successful-ok)
D [03/Mar/2008:18:29:51 +0100] cupsdReadClient: 11 POST / HTTP/1.1
D [03/Mar/2008:18:29:51 +0100] cupsdAuthorize: No authentication data provided.
D [03/Mar/2008:18:29:51 +0100] CUPS-Get-Default
D [03/Mar/2008:18:29:51 +0100] CUPS-Get-Default client-error-not-found: No default printer
D [03/Mar/2008:18:29:51 +0100] cupsdProcessIPPRequest: 11 status_code=406 (client-error-not-found)
D [03/Mar/2008:18:29:51 +0100] cupsdCloseClient: 11
D [03/Mar/2008:18:29:51 +0100] cupsdAcceptClient: 11 from localhost (Domain)
D [03/Mar/2008:18:29:51 +0100] cupsdReadClient: 11 POST /printers/Photosmart_C3100 HTTP/1.1
D [03/Mar/2008:18:29:51 +0100] cupsdAuthorize: No authentication data provided.
D [03/Mar/2008:18:29:51 +0100] Print-Job ipp://localhost/printers/Photosmart_C3100
D [03/Mar/2008:18:29:51 +0100] print_job: auto-typing file...
D [03/Mar/2008:18:29:51 +0100] add_job: requesting-user-name="root"
I [03/Mar/2008:18:29:51 +0100] [Job 844] Adding start banner page "none,none".
D [03/Mar/2008:18:29:51 +0100] Discarding unused job-created event...
I [03/Mar/2008:18:29:51 +0100] [Job 844] Adding job file of type application/postscript.
I [03/Mar/2008:18:29:51 +0100] [Job 844] Queued on "Photosmart_C3100" by "root".
D [03/Mar/2008:18:29:51 +0100] [Job 844] hold_until = 0
D [03/Mar/2008:18:29:51 +0100] Discarding unused printer-state-changed event...
D [03/Mar/2008:18:29:51 +0100] [Job 844] job-sheets=none,none
D [03/Mar/2008:18:29:51 +0100] [Job 844] banner_page = 1
D [03/Mar/2008:18:29:51 +0100] [Job 844] argv[0]="Photosmart_C3100"
D [03/Mar/2008:18:29:51 +0100] [Job 844] argv[1]="844"
D [03/Mar/2008:18:29:51 +0100] [Job 844] argv[2]="root"
D [03/Mar/2008:18:29:51 +0100] [Job 844] argv[3]="tmpR188fK"
D [03/Mar/2008:18:29:51 +0100] [Job 844] argv[4]="1"
D [03/Mar/2008:18:29:51 +0100] [Job 844] argv[5]="media=Letter sides=one-sided finishings=3 job-uuid=urn:uuid:0fdc20bf-3578-376a-7418-83894ec41a6e"
D [03/Mar/2008:18:29:51 +0100] [Job 844] argv[6]="/var/spool/cups/d00844-001"
D [03/Mar/2008:18:29:51 +0100] [Job 844] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [03/Mar/2008:18:29:51 +0100] [Job 844] envp[1]="CUPS_DATADIR=/usr/share/cups"
D [03/Mar/2008:18:29:51 +0100] [Job 844] envp[2]="CUPS_DOCROOT=/usr/share/cups/html"
D [03/Mar/2008:18:29:51 +0100] [Job 844] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [03/Mar/2008:18:29:51 +0100] [Job 844] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [03/Mar/2008:18:29:51 +0100] [Job 844] envp[5]="CUPS_SERVERBIN=/usr/libexec/cups"
D [03/Mar/2008:18:29:51 +0100] [Job 844] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [03/Mar/2008:18:29:51 +0100] [Job 844] envp[7]="CUPS_STATEDIR=/var/run/cups"
D [03/Mar/2008:18:29:51 +0100] [Job 844] envp[8]="PATH=/usr/libexec/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [03/Mar/2008:18:29:51 +0100] [Job 844] envp[9]="SERVER_ADMIN=root@localhost"
D [03/Mar/2008:18:29:51 +0100] [Job 844] envp[10]="SOFTWARE=CUPS/1.3.6"
D [03/Mar/2008:18:29:51 +0100] [Job 844] envp[11]="TMPDIR=/var/spool/cups/tmp"
D [03/Mar/2008:18:29:51 +0100] [Job 844] envp[12]="USER=root"
D [03/Mar/2008:18:29:51 +0100] [Job 844] envp[13]="CUPS_SERVER=/var/run/cups/cups.sock"
D [03/Mar/2008:18:29:51 +0100] [Job 844] envp[14]="CUPS_ENCRYPTION=IfRequested"
D [03/Mar/2008:18:29:51 +0100] [Job 844] envp[15]="IPP_PORT=631"
D [03/Mar/2008:18:29:51 +0100] [Job 844] envp[16]="CHARSET=utf-8"
D [03/Mar/2008:18:29:51 +0100] [Job 844] envp[17]="LANG=cs_CZ.UTF8"
D [03/Mar/2008:18:29:51 +0100] [Job 844] envp[18]="PPD=/etc/cups/ppd/Photosmart_C3100.ppd"
D [03/Mar/2008:18:29:51 +0100] [Job 844] envp[19]="RIP_MAX_CACHE=8m"
D [03/Mar/2008:18:29:51 +0100] [Job 844] envp[20]="CONTENT_TYPE=application/postscript"
D [03/Mar/2008:18:29:51 +0100] [Job 844] envp[21]="DEVICE_URI=hp:/usb/Photosmart_C3100_series?serial=CN7B9C51Z504P9"
D [03/Mar/2008:18:29:51 +0100] [Job 844] envp[22]="PRINTER=Photosmart_C3100"
D [03/Mar/2008:18:29:51 +0100] [Job 844] envp[23]="FINAL_CONTENT_TYPE=printer/Photosmart_C3100"
I [03/Mar/2008:18:29:51 +0100] [Job 844] Started filter /usr/libexec/cups/filter/pstops (PID 13373)
I [03/Mar/2008:18:29:51 +0100] [Job 844] Started filter /usr/libexec/cups/filter/foomatic-rip (PID 13375)
I [03/Mar/2008:18:29:51 +0100] [Job 844] Started backend /usr/libexec/cups/backend/hp (PID 13376)
D [03/Mar/2008:18:29:51 +0100] Discarding unused job-state-changed event...
D [03/Mar/2008:18:29:51 +0100] cupsdProcessIPPRequest: 11 status_code=0 (successful-ok)
D [03/Mar/2008:18:29:51 +0100] Discarding unused printer-state-changed event...
D [03/Mar/2008:18:29:51 +0100] cupsdAcceptClient: 12 from localhost (Domain)
D [03/Mar/2008:18:29:51 +0100] [Job 844] prnt/backend/hp.c 625: INFO: open device failed; will retry in 30 seconds...
D [03/Mar/2008:18:29:51 +0100] cupsdReadClient: 12 POST / HTTP/1.1
D [03/Mar/2008:18:29:51 +0100] cupsdAuthorize: No authentication data provided.
D [03/Mar/2008:18:29:51 +0100] Get-Jobs ipp://localhost/jobs
D [03/Mar/2008:18:29:51 +0100] cupsdProcessIPPRequest: 12 status_code=0 (successful-ok)
D [03/Mar/2008:18:29:51 +0100] cupsdCloseClient: 12
D [03/Mar/2008:18:29:51 +0100] cupsdAcceptClient: 12 from localhost (Domain)
D [03/Mar/2008:18:29:51 +0100] cupsdReadClient: 12 POST / HTTP/1.1
D [03/Mar/2008:18:29:51 +0100] cupsdAuthorize: No authentication data provided.
D [03/Mar/2008:18:29:51 +0100] Get-Jobs ipp://localhost/jobs
D [03/Mar/2008:18:29:51 +0100] cupsdProcessIPPRequest: 12 status_code=0 (successful-ok)
D [03/Mar/2008:18:29:51 +0100] cupsdCloseClient: 12
D [03/Mar/2008:18:29:51 +0100] cupsdCloseClient: 11
D [03/Mar/2008:18:29:51 +0100] cupsdAcceptClient: 11 from localhost (Domain)
D [03/Mar/2008:18:29:51 +0100] cupsdReadClient: 11 POST / HTTP/1.1
D [03/Mar/2008:18:29:51 +0100] cupsdAuthorize: No authentication data provided.
D [03/Mar/2008:18:29:51 +0100] Get-Jobs ipp://localhost/jobs
D [03/Mar/2008:18:29:51 +0100] cupsdProcessIPPRequest: 11 status_code=0 (successful-ok)
D [03/Mar/2008:18:29:51 +0100] cupsdCloseClient: 11
D [03/Mar/2008:18:29:51 +0100] cupsdAcceptClient: 11 from localhost (Domain)
D [03/Mar/2008:18:29:51 +0100] cupsdReadClient: 11 POST / HTTP/1.1
D [03/Mar/2008:18:29:51 +0100] cupsdAuthorize: No authentication data provided.
D [03/Mar/2008:18:29:51 +0100] Get-Jobs ipp://localhost/jobs
D [03/Mar/2008:18:29:51 +0100] cupsdProcessIPPRequest: 11 status_code=0 (successful-ok)
D [03/Mar/2008:18:29:51 +0100] [Job 844] Page = 612x792; 18,36 to 594,783
D [03/Mar/2008:18:29:51 +0100] [Job 844] slow_collate=0, slow_duplex=0, slow_order=0
D [03/Mar/2008:18:29:51 +0100] [Job 844] Before copy_comments - %!PS-Adobe-3.0
D [03/Mar/2008:18:29:51 +0100] [Job 844] %!PS-Adobe-3.0
D [03/Mar/2008:18:29:51 +0100] [Job 844] %%BoundingBox: 0 0 612 792
D [03/Mar/2008:18:29:51 +0100] [Job 844] %%Pages: 1
D [03/Mar/2008:18:29:51 +0100] [Job 844] Before copy_prolog - /hplipversion (2.7.12) def
D [03/Mar/2008:18:29:51 +0100] cupsdCloseClient: 7
D [03/Mar/2008:18:29:51 +0100] cupsdCloseClient: 9
D [03/Mar/2008:18:29:51 +0100] cupsdCloseClient: 10
D [03/Mar/2008:18:29:51 +0100] [Job 844] foomatic-rip version $Revision$ running...
D [03/Mar/2008:18:29:51 +0100] [Job 844] Parsing PPD file ...
D [03/Mar/2008:18:29:51 +0100] [Job 844] *cupsFilter: "application/vnd.cups-postscript 0 foomatic-rip"
D [03/Mar/2008:18:29:51 +0100] [Job 844] Added option ColorSpace
D [03/Mar/2008:18:29:51 +0100] [Job 844] Added option Resolution
D [03/Mar/2008:18:29:51 +0100] [Job 844] Added option PageSize
D [03/Mar/2008:18:29:51 +0100] [Job 844] Added option PageRegion
D [03/Mar/2008:18:29:51 +0100] [Job 844] Added option Model
D [03/Mar/2008:18:29:51 +0100] [Job 844] Added option PrintoutMode
D [03/Mar/2008:18:29:51 +0100] [Job 844] Added option InputSlot
D [03/Mar/2008:18:29:51 +0100] [Job 844] Added option ImageableArea
D [03/Mar/2008:18:29:51 +0100] [Job 844] Added option PaperDimension
D [03/Mar/2008:18:29:51 +0100] [Job 844] Added option Duplex
D [03/Mar/2008:18:29:51 +0100] [Job 844] Added option Quality
D [03/Mar/2008:18:29:51 +0100] [Job 844] Added option Font
D [03/Mar/2008:18:29:51 +0100] [Job 844]
D [03/Mar/2008:18:29:51 +0100] [Job 844] Parameter Summary
D [03/Mar/2008:18:29:51 +0100] [Job 844] -----------------
D [03/Mar/2008:18:29:51 +0100] [Job 844]
D [03/Mar/2008:18:29:51 +0100] [Job 844] Spooler: cups
D [03/Mar/2008:18:29:51 +0100] [Job 844] Printer: Photosmart_C3100
D [03/Mar/2008:18:29:51 +0100] [Job 844] Shell: /bin/sh
D [03/Mar/2008:18:29:51 +0100] [Job 844] PPD file: /etc/cups/ppd/Photosmart_C3100.ppd
D [03/Mar/2008:18:29:51 +0100] [Job 844] ATTR file:
D [03/Mar/2008:18:29:51 +0100] [Job 844] Printer model: HP PhotoSmart C3100 Foomatic/hpijs (recommended)
D [03/Mar/2008:18:29:51 +0100] [Job 844] Job title: tmpR188fK
D [03/Mar/2008:18:29:51 +0100] [Job 844] File(s) to be printed:
D [03/Mar/2008:18:29:51 +0100] [Job 844] <STDIN>
D [03/Mar/2008:18:29:51 +0100] [Job 844]
D [03/Mar/2008:18:29:51 +0100] [Job 844] GhostScript extra search path ('GS_LIB'): /usr/share/cups/fonts
D [03/Mar/2008:18:29:51 +0100] [Job 844] Pondering option 'media=Letter'
D [03/Mar/2008:18:29:51 +0100] [Job 844] Pondering option 'sides=one-sided'
D [03/Mar/2008:18:29:51 +0100] [Job 844] Pondering option 'finishings=3'
D [03/Mar/2008:18:29:51 +0100] [Job 844] Unknown option finishings=3.
D [03/Mar/2008:18:29:51 +0100] [Job 844] Pondering option 'job-uuid=urn:uuid:0fdc20bf-3578-376a-7418-83894ec41a6e'
D [03/Mar/2008:18:29:51 +0100] [Job 844] Unknown option job-uuid=urn:uuid:0fdc20bf-3578-376a-7418-83894ec41a6e.
D [03/Mar/2008:18:29:51 +0100] [Job 844]
D [03/Mar/2008:18:29:51 +0100] [Job 844] ================================================
D [03/Mar/2008:18:29:51 +0100] [Job 844]
D [03/Mar/2008:18:29:51 +0100] [Job 844] File: <STDIN>
D [03/Mar/2008:18:29:51 +0100] [Job 844]
D [03/Mar/2008:18:29:51 +0100] [Job 844] ================================================
D [03/Mar/2008:18:29:51 +0100] [Job 844]
D [03/Mar/2008:18:29:51 +0100] [Job 844] Reading PostScript input ...
D [03/Mar/2008:18:29:51 +0100] [Job 844] --> This document is DSC-conforming!
D [03/Mar/2008:18:29:51 +0100] [Job 844] This job seems not to be DSC-conforming, DSC-comment for next section not found, stopping to parse the rest, passing it directly to the renderer.
D [03/Mar/2008:18:29:51 +0100] [Job 844] "Prolog" section is missing, inserting it.
D [03/Mar/2008:18:29:51 +0100] [Job 844] "Setup" section is missing, inserting it.
D [03/Mar/2008:18:29:51 +0100] [Job 844] Inserting PostScript code for CUPS' page accounting
D [03/Mar/2008:18:29:51 +0100] [Job 844] "PageSetup" section is missing, inserting it.
D [03/Mar/2008:18:29:51 +0100] [Job 844] Inserting option code into "PageSetup" section.
D [03/Mar/2008:18:29:51 +0100] [Job 844] Stopped parsing the PostScript data, sending rest directly to renderer.
D [03/Mar/2008:18:29:51 +0100] [Job 844]
D [03/Mar/2008:18:29:51 +0100] [Job 844] Starting renderer
D [03/Mar/2008:18:29:51 +0100] [Job 844] JCL: <job data>
D [03/Mar/2008:18:29:51 +0100] [Job 844]
D [03/Mar/2008:18:29:51 +0100] [Job 844] renderer PID kid4=13381
D [03/Mar/2008:18:29:51 +0100] [Job 844] renderer command: gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer=hpijs -sDeviceManufacturer="HEWLETT-PACKARD" -sDeviceModel="deskjet 5600" -dDEVICEWIDTHPOINTS=612 -dDEVICEHEIGHTPOINTS=792 -dDuplex=false -r300 -sIjsParams=Quality:Quality=0,Quality:ColorMode=2,Quality:MediaType=0,Quality:PenSet=2,PS:MediaPosition=7 -dIjsUseOutputFD -sOutputFile=- -
D [03/Mar/2008:18:29:52 +0100] [Job 844] foomatic-gswrapper: gs '-sstdout=%stderr' '-dBATCH' '-dPARANOIDSAFER' '-dQUIET' '-dNOPAUSE' '-sDEVICE=ijs' '-sIjsServer=hpijs' '-sDeviceManufacturer=HEWLETT-PACKARD' '-sDeviceModel=deskjet 5600' '-dDEVICEWIDTHPOINTS=612' '-dDEVICEHEIGHTPOINTS=792' '-dDuplex=false' '-r300' '-sIjsParams=Quality:Quality=0,Quality:ColorMode=2,Quality:MediaType=0,Quality:PenSet=2,PS:MediaPosition=7' '-dIjsUseOutputFD' '-sOutputFile=%stdout' '-'
D [03/Mar/2008:18:29:53 +0100] [Job 844] Before copy_setup - DEBUG: Before page loop - DEBUG: Wrote 0 pages...
D [03/Mar/2008:18:29:53 +0100] PID 13373 (/usr/libexec/cups/filter/pstops) exited with no errors.
D [03/Mar/2008:18:29:53 +0100] [Job 844]
D [03/Mar/2008:18:29:53 +0100] [Job 844] Closing renderer
D [03/Mar/2008:18:29:53 +0100] Discarding unused job-progress event...

hmm, this is wicked, do you see it?
"INFO: open device failed; will retry in 30 seconds..."
/dev/usb/lp0 exists before that and is removed after running hp-testpage (hp backend!)...

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

David,

Actuallythe lp0 being removed is okay because hpijs removes lp. Please run:

ls -l /proc/bus/usb/001/016

and post the output.

A

Revision history for this message
David Watzke (wdah3) said :
#6

okay (it's 017 now, because I've restarted it):

-rw-rw-r-- 1 root usb 149 2008-03-03 18:33 /proc/bus/usb/001/017

(and I already tried to print under root, dave, anonymous...)

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

Okay, also run

groups

and post that as well.

A

Revision history for this message
Raghothama Cauligi (raghothama-cauligi) said :
#8

This is a permissions issue. The spooler runs as lp even if you intiate the job as root.
Permissions should have been set correctly when print queue was setup. hmmm.
Change it to 666, then it should work fine.
Raghu

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of David Watzke
Sent: Monday, March 03, 2008 9:56 AM
To: Cauligi, Raghothama S
Subject: Re: [Question #26055]: C3180 doesn't print with hp backend (with usb it does)

Question #26055 on HPLIP changed:
https://answers.launchpad.net/hplip/+question/26055

    Status: Needs information => Open

David Watzke gave more information on the question:
okay (it's 017 now, because I've restarted it):

-rw-rw-r-- 1 root usb 149 2008-03-03 18:33 /proc/bus/usb/001/017

(and I already tried to print under root, dave, anonymous...)

You received this question notification because you are a member of HP Linux Imaging and Printing, which is an answer contact for HPLIP.

Revision history for this message
David Watzke (wdah3) said :
#9

Well, it still doesn't work :-( Same error.

Revision history for this message
Cogent (pavel-987) said :
#10

I've followed all these steps as well. With the same exact results.

These are my groups:
Root:
root bin daemon sys adm disk wheel floppy dialout tape video
Main user:
daemon tty disk lp mem kmem wheel cron audio cdrom ftp sshd video games mysql cdrw apache usb users lpadmin portage haldaemon plugdev scanner

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

We are thinking that Gentoo isn't or doesn't use the udev rules we provide in the hplip source. We add an hplip udev rule that makes the usb ports 666, user root, group lp. However the group on your system is usb. Cups needs to be running as a member of the same group for the usb and cups to talk correctly. Verify in the cupsd.conf file that the group is usb, then restart cups and see if that make any difference. It should simply be a line name group usb, etc.

Does this have any effect?

A

Revision history for this message
David Watzke (wdah3) said :
#12

The udev rule is installed but apparently overriden or something. I've tried to set "Group usb" in cupsd.conf but it's still the same... I've also tried "Group lp" and changing permissions in /proc but no luck there. It's strange.

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

How about run:

lsmod | grep usblp

What's the output?

A

Revision history for this message
David Watzke (wdah3) said :
#14

Nothing, I don't use modules (if I don't have to); USB printer support is compiled into my kernel.

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

Ah I see. I'm sorry this is quickly moving out of our area of support. I was looking over this document:

http://gentoo-wiki.com/HPLIP

But it's rather dated and may not be valid any more.

There may be some Gentoo steps that need to be completed, apparently something isn't working correctly. Perhaps someone with more gentoo experience can suggest an idea.

Sorry I couldn't help more, although I hope this at least got you pointed in the right direction. Although when you do get it working if you don't mind I'd like to know what you did to correct this.

A

Revision history for this message
David Watzke (wdah3) said :
#16

Yeah, I'll probably have to install some Ubuntu in VMware and check out all the differences. This discussion certainly was a big help for me, because now I know where to look and all, so thank you very much. When I find out what's this all about, I'll drop a comment here.

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

Great, if you don't mind I'm going to set this to info request for now, and you can update when you get a chance.

All the best and thanks for your support of HPLIP!

Aaron

Revision history for this message
Launchpad Janitor (janitor) said :
#18

This question was expired because it remained in the 'Needs information' state without activity for the last 15 days.

Revision history for this message
David Watzke (wdah3) said :
#19

Okay, so it seems that it finally works with the HP backend. Once I upgraded CUPS server from 1.3.x to 1.4.1 and re-added the printer through the CUPS web interface, it started to work fine. I don't know for sure if the upgrade was really relevant, because I haven't tried it in a while.

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

Great thanks for the update!

Aaron

Can you help with this problem?

Provide an answer of your own, or ask David Watzke for more information if necessary.

To post a message you must log in.