← Back to team overview

desktop-packages team mailing list archive

[Bug 1455938] Re: [HP OfficeJet 5610v] HPLIP notes print job completed but Job Queue notes "On Hold"

 

Please follow the instructions of the section "CUPS error_log" on
https://wiki.ubuntu.com/DebuggingPrintingProblems for a job which gets
printed but kept held in the queue. Thanks.

** Changed in: cups (Ubuntu)
       Status: Triaged => Incomplete

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to cups in Ubuntu.
https://bugs.launchpad.net/bugs/1455938

Title:
  [HP OfficeJet 5610v] HPLIP notes print job completed but Job Queue
  notes "On Hold"

Status in cups package in Ubuntu:
  Incomplete

Bug description:
  What is expected to happen is when one USB connects an HP OfficeJet 5610v to Ubuntu 15.04 server, adds the printer to the server via the hplip-gui package, modifies just the lines below:
  sudo nano /etc/samba/smb.conf
  [printers]
     comment = All Printers
     browseable = no
     path = /var/spool/samba
     printable = yes
     guest ok = yes
     read only = yes
     create mask = 0700

  Goes to with a web browser:
  http://localhost:631/admin/
  Check checkbox "Share printers connected to this system", and one may print from another Ubuntu 15.04 client via ipp.

  What happens instead is that the hplip-gui notes the print job
  completed, but the job queue notes a job held. The program doing the
  printing printing was both LibreOffice Writer and Evince. Hence, the
  software initiating the print job seems not at fault here.

  The printer prints fine if one connects the client directly via USB.

  Also this would be a regression as this all used to work with Trusty
  server and Trusty/Utopic clients.

  Following https://wiki.ubuntu.com/DebuggingPrintingProblems :

  ls -l /dev/usb/lp* /dev/bus/usb/*/*
  ls: cannot access /dev/usb/lp*: No such file or directory
  crw-rw-r--  1 root root  189,   0 May 17 08:10 /dev/bus/usb/001/001
  crw-rw----+ 1 root saned 189,   1 May 17 10:07 /dev/bus/usb/001/002
  crw-rw-r--  1 root root  189, 128 May 17 08:10 /dev/bus/usb/002/001
  crw-rw-r--  1 root root  189, 129 May 17 08:10 /dev/bus/usb/002/002
  crw-rw-r--  1 root root  189, 256 May 17 08:10 /dev/bus/usb/003/001
  crw-rw-r--  1 root root  189, 257 May 17 08:10 /dev/bus/usb/003/002
  crw-rw-r--  1 root root  189, 384 May 17 08:10 /dev/bus/usb/004/001
  crw-rw-r--  1 root root  189, 385 May 17 08:10 /dev/bus/usb/004/002

  sudo usb_printerid /dev/usb/lp0
  Error: No such file or directory: can't open '/dev/usb/lp0'

  sudo usb_printerid /dev/usb/lp1 
  Error: No such file or directory: can't open '/dev/usb/lp1'

  hpinfo -i
  No command 'hpinfo' found, did you mean:
   Command 'lpinfo' from package 'cups-client' (main)
   Command 'hinfo' from package 'ganeti' (universe)
   Command 'hinfo' from package 'ganeti-htools' (universe)
   Command 'hp-info' from package 'hplip' (main)
   Command 'shpinfo' from package 'shapelib' (universe)
   Command 'pinfo' from package 'pinfo' (universe)
   Command 'epinfo' from package 'photopc' (universe)
  hpinfo: command not found
  moniker@pc:/var/crash$ hp-info -i

  HP Linux Imaging and Printing System (ver. 3.15.2)
  Device Information Utility ver. 5.2

  Copyright (c) 2001-15 Hewlett-Packard Development Company, LP
  This software comes with ABSOLUTELY NO WARRANTY.
  This is free software, and you are welcome to distribute it
  under certain conditions. See COPYING file for more details.

  Using device: hp:/usb/Officejet_5600_series?serial=CN6ABD531H04B2

  
  hp:/usb/Officejet_5600_series?serial=CN6ABD531H04B2

  Device Parameters (dynamic data):
    Parameter                     Value(s)                                                  
    ----------------------------  ----------------------------------------------------------
    agent1-ack                    False                                                     
    agent1-desc                   Black cartridge                                           
    agent1-dvc                    0                                                         
    agent1-health                 0                                                         
    agent1-health-desc            Good/OK                                                   
    agent1-hp-ink                 False                                                     
    agent1-id                     0                                                         
    agent1-kind                   3                                                         
    agent1-known                  False                                                     
    agent1-level                  66                                                        
    agent1-level-trigger          0                                                         
    agent1-sku                    56 (C6656A) /27 (C8727A)                                  
    agent1-type                   1                                                         
    agent1-virgin                 False                                                     
    back-end                      hp                                                        
    cups-printers                 ['hpwifiprinter']                                         
    cups-uri                      hp:/usb/Officejet_5600_series?serial=CN6ABD531H04B2       
    dev-file                                                                                
    device-state                  1                                                         
    device-uri                    hp:/usb/Officejet_5600_series?serial=CN6ABD531H04B2       
    deviceid                      MFG:HP;MDL:Officejet 5600                                 
                                  series;CMD:LDL,MLC,PML,DYN;CLS:PRINTER;1284.4DL:4d,4e,1;SN
                                  :CN6ABD531H04B2;S:0380008000020020002c1480042c25500;Z:007;
                                  7;                                                        
    duplexer                      0                                                         
    error-state                   0                                                         
    fax-uri                       hpfax:/usb/Officejet_5600_series?serial=CN6ABD531H04B2    
    host                                                                                    
    in-tray1                      True                                                      
    in-tray2                      False                                                     
    is-hp                         True                                                      
    media-path                    2                                                         
    panel                         0                                                         
    panel-line1                                                                             
    panel-line2                                                                             
    photo-tray                    0                                                         
    port                          1                                                         
    r                             0                                                         
    revision                      3                                                         
    rg                            000                                                       
    rr                            000000                                                    
    rs                            000000000                                                 
    scan-uri                      hpaio:/usb/Officejet_5600_series?serial=CN6ABD531H04B2    
    serial                        CN6ABD531H04B2                                            
    status-code                   1000                                                      
    status-desc                   Idle                                                      
    supply-door                   0                                                         
    top-door                      1                                                         

  Model Parameters (static data):
    Parameter                     Value(s)                                                  
    ----------------------------  ----------------------------------------------------------
    align-type                    6                                                         
    clean-type                    2                                                         
    color-cal-type                0                                                         
    copy-type                     0                                                         
    embedded-server-type          0                                                         
    fax-type                      1                                                         
    fw-download                   False                                                     
    icon                          officejet_5600.png                                        
    io-mfp-mode                   6                                                         
    io-mode                       1                                                         
    io-support                    2                                                         
    job-storage                   0                                                         
    linefeed-cal-type             0                                                         
    model                         Officejet_5600_series                                     
    model-ui                      HP Officejet 5600 Series                                  
    model1                        HP Officejet 5600 Series All-in-One Printer               
    model10                       HP Officejet 5679 All-in-One Printer                      
    model11                       HP Officejet 5680 All-in-One Printer                      
    model2                        HP Officejet 5605 All-in-One Printer                      
    model3                        HP Officejet 5607 All-in-One Printer                      
    model4                        HP Officejet 5608 All-in-One Printer                      
    model5                        HP Officejet 5609 All-in-One Printer                      
    model6                        HP Officejet 5610 All-in-One Printer                      
    model7                        HP Officejet 5610xi All-in-One Printer                    
    model8                        HP Officejet 5610v All-in-One Printer                     
    model9                        HP Officejet 5615 All-in-One Printer                      
    monitor-type                  0                                                         
    panel-check-type              0                                                         
    pcard-type                    0                                                         
    plugin                        0                                                         
    plugin-reason                 0                                                         
    power-settings                0                                                         
    pq-diag-type                  0                                                         
    r-type                        0                                                         
    r0-agent1-kind                3                                                         
    r0-agent1-sku                 56 (C6656A) /27 (C8727A)                                  
    r0-agent1-type                1                                                         
    r0-agent2-kind                3                                                         
    r0-agent2-sku                 22 (C9352A)                                               
    r0-agent2-type                2                                                         
    r0-agent3-kind                3                                                         
    r0-agent3-sku                 58 (C6658A)                                               
    r0-agent3-type                3                                                         
    scan-src                      1                                                         
    scan-type                     1                                                         
    status-battery-check          0                                                         
    status-dynamic-counters       0                                                         
    status-type                   2                                                         
    support-released              True                                                      
    support-subtype               2202411                                                   
    support-type                  2                                                         
    support-ver                   0.9.5                                                     
    tech-class                    ['DJ3600']                                                
    tech-subclass                 ['Normal']                                                
    tech-type                     2                                                         
    usb-pid                       20241                                                     
    usb-vid                       1008                                                      
    wifi-config                   0                                                         

  Status History (most recent first):
    Date/Time             Code   Status Description                        User      Job ID  
    --------------------  -----  ----------------------------------------  --------  --------
    05/17/15 10:19:42     1000   Idle                                      moniker   0       
    05/17/15 10:15:44     501    Print job has completed                   moniker   2       
    05/17/15 10:15:44     500    Started a print job                       moniker   2       
    05/17/15 10:10:41     501    Print job has completed                   moniker   2       
    05/17/15 10:10:41     500    Started a print job                       moniker   2       
    05/17/15 10:07:24     1000   Idle                                      moniker   0       
    05/17/15 10:05:39     501    Print job has completed                   moniker   2       
    05/17/15 10:05:39     500    Started a print job                       moniker   2       
    05/17/15 10:01:10     501    Print job has completed                   moniker   1       
    05/17/15 10:01:10     500    Started a print job                       moniker   1       
    05/17/15 10:01:04     501    Print job has completed                   moniker   1       
    05/17/15 10:01:04     500    Started a print job                       moniker   1       
    05/17/15 09:59:20     1000   Idle                                      moniker   0       
    05/17/15 09:59:14     501    Print job has completed                   moniker   1       
    05/17/15 09:59:14     500    Started a print job                       moniker   1       
    05/17/15 09:58:22     1000   Idle                                      moniker   0       
    05/17/15 09:54:03     501    Print job has completed                   moniker   1       
    05/17/15 09:54:03     500    Started a print job                       moniker   1       
    05/17/15 09:42:13     1000   Idle                                      moniker   0       

  
  Done.

  hp-makeuri 001:002

  HP Linux Imaging and Printing System (ver. 3.15.2)
  Device URI Creation Utility ver. 5.0

  Copyright (c) 2001-15 Hewlett-Packard Development Company, LP
  This software comes with ABSOLUTELY NO WARRANTY.
  This is free software, and you are welcome to distribute it
  under certain conditions. See COPYING file for more details.

  CUPS URI: hp:/usb/Officejet_5600_series?serial=CN6ABD531H04B2
  SANE URI: hpaio:/usb/Officejet_5600_series?serial=CN6ABD531H04B2
  HP Fax URI: hpfax:/usb/Officejet_5600_series?serial=CN6ABD531H04B2

  Done.

  lpinfo -v
  network https
  network ipp
  network ipp14
  network http
  network lpd
  network socket
  direct hp
  serial serial:/dev/ttyS0?baud=115200
  direct usb://HP/Officejet%205600%20series?serial=CN6ABD531H04B2&interface=1
  network ipps
  direct hpfax

  sudo cat /var/log/cups/error_log
  E [17/May/2015:08:31:43 -0500] Unable to open listen socket for address [v1.::1]:631 - Cannot assign requested address.
  W [17/May/2015:09:34:09 -0500] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id 'hpwifiprinter-Gray..' already exists
  W [17/May/2015:09:34:09 -0500] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id 'hpwifiprinter-RGB..' already exists
  W [17/May/2015:09:37:41 -0500] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id 'hpwifiprinter-Gray..' already exists
  W [17/May/2015:09:37:41 -0500] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id 'hpwifiprinter-RGB..' already exists
  W [17/May/2015:09:52:42 -0500] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id 'hpwifiprinter-Gray..' already exists
  W [17/May/2015:09:52:42 -0500] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id 'hpwifiprinter-RGB..' already exists

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: cups 2.0.2-1ubuntu3
  ProcVersionSignature: Ubuntu 3.19.0-16.16-generic 3.19.3
  Uname: Linux 3.19.0-16-generic x86_64
  ApportVersion: 2.17.2-0ubuntu1
  Architecture: amd64
  CurrentDesktop: GNOME-Flashback:Unity
  Date: Sun May 17 10:03:26 2015
  InstallationDate: Installed on 2015-04-25 (21 days ago)
  InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
  Lpstat: device for hpwifiprinter: hp:/usb/Officejet_5600_series?serial=CN6ABD531H04B2
  MachineType: Hewlett-Packard HP ProDesk 400 G1 MT
  Papersize: letter
  PpdFiles: Error: command ['fgrep', '-H', '*NickName', '/etc/cups/ppd/hpwifiprinter.ppd'] failed with exit code 2: grep: /etc/cups/ppd/hpwifiprinter.ppd: Permission denied
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.19.0-16-generic root=UUID=90dc0a59-cdd8-4e40-9f8f-8c4836a31560 ro quiet splash nomdmonddf nomdmonisw vt.handoff=7
  SourcePackage: cups
  UdevLog: Error: [Errno 2] No such file or directory: '/var/log/udev'
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 12/11/2014
  dmi.bios.vendor: Hewlett-Packard
  dmi.bios.version: L02 v02.39
  dmi.board.asset.tag: MXL4090N3K
  dmi.board.name: 198E
  dmi.board.vendor: Hewlett-Packard
  dmi.chassis.asset.tag: MXL4090N3K
  dmi.chassis.type: 6
  dmi.chassis.vendor: Hewlett-Packard
  dmi.modalias: dmi:bvnHewlett-Packard:bvrL02v02.39:bd12/11/2014:svnHewlett-Packard:pnHPProDesk400G1MT:pvr:rvnHewlett-Packard:rn198E:rvr:cvnHewlett-Packard:ct6:cvr:
  dmi.product.name: HP ProDesk 400 G1 MT
  dmi.sys.vendor: Hewlett-Packard

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1455938/+subscriptions


References