CUPS + Samba Unable to set device

Helge Blischke h.blischke at acm.org
Wed Apr 15 13:02:59 PDT 2009


John Doe wrote:

> Hello,
> i try to set my cups (v. 1.3.9) to work with samba priner and i receive
> that error in error log:
> 
> D [15/Apr/2009:12:54:46 +0300] [Job 12]
> D [15/Apr/2009:12:54:46 +0300] [Job 12] Starting renderer with command:
> "gs -sstdout=%stderr  -dBATCH -dPARANOIDSA FER -dQUIET -dNOPAUSE
> -sDEVICE=ijs -sIjsServer=hpijs -dDEVICEWIDTHPOINTS=595
> -dDEVICEHEIGHTPOINTS=842 -sDeviceManu facturer="HEWLETT-PACKARD"
> -sDeviceModel="HP LaserJet 1018" -r600
> -sIjsParams=Quality:Quality=0,Quality:ColorMode=
> 0,Quality:PenSet=0,PS:MediaPosition=7 -dIjsUseOutputFD
> -sOutputFile=%stdout -_" D [15/Apr/2009:12:54:46 +0300] [Job 12] Starting
> process "kid3" (generation 1) D [15/Apr/2009:12:54:46 +0300] [Job 12]
> Starting process "kid4" (generation 2) D [15/Apr/2009:12:54:46 +0300] [Job
> 12] JCL: 12345X at PJL D [15/Apr/2009:12:54:46 +0300] [Job 12] <job data> D
> [15/Apr/2009:12:54:46 +0300] [Job 12] D [15/Apr/2009:12:54:46 +0300] [Job
> 12] Starting process "renderer" (generation 2) D [15/Apr/2009:12:54:46
> +0300] [Job 12] D [15/Apr/2009:12:54:46 +0300] [Job 12] Closing renderer D
> [15/Apr/2009:12:54:46 +0300] [Job 12] unable to set device=HP LaserJet
> 1018, err=48 D [15/Apr/2009:12:54:46 +0300] [Job 12] unable to set
> device=HP LaserJet 1018, err=48 D [15/Apr/2009:12:54:46 +0300] [Job 12]
> **** Unable to open the initial device, quitting. D [15/Apr/2009:12:54:46
> +0300] [Job 12] renderer exited with status 1 D [15/Apr/2009:12:54:46
> +0300] [Job 12] Possible error on renderer command line or PostScript
> error. Check options .kid3 exited with status 3 D [15/Apr/2009:12:54:46
> +0300] [Job 12] Process is dying with "Error closing renderer D
> [15/Apr/2009:12:54:46 +0300] [Job 12] ", exit stat 3 D
> [15/Apr/2009:12:54:46 +0300] [Job 12] Cleaning up... E
> [15/Apr/2009:12:54:46 +0300] PID 24084 (/usr/lib/cups/filter/foomatic-rip)
> stopped with status 3!
> 
> my printer is HP LaserJet 1005
> /usr/bin/smbclient -L 192.168.1.199 -U printer
> 
>         IPC$            IPC       Remote IPC
>         D$              Disk      Default share
>         print$          Disk      Printer Drivers
>         HP-sisa         Printer   HP LaserJet P1005
> 
> and my priner conf is:
> 
> # Written by cupsd on 2009-04-15 12:21
> <DefaultPrinter Priner>
> Info Priner
> DeviceURI smb://printer:printer@192.168.1.199/HP-sisa
> State Idle
> StateTime 1239787196
> Accepting Yes
> Shared Yes
> JobSheets none none
> QuotaPeriod 0
> PageLimit 0
> KLimit 0
> OpPolicy default
> ErrorPolicy stop-printer
> </Printer>
> 
> I use ghostscript version 8.64
> 
> Can some one point me any hints ? and if this message is not for here
> (cups) for which mailling list i should post it.                                                                                                                                                                                                                                                                                                                                                                                                                                
> 
> Thanks.

Are you sure the hpijs program exists and can be reached by the path accessible to your Ghostscript?
The message "unable to open the initial device"                                                                                                                                                                                                                                                                                                                                                                                                                      tells you that either
- Ghostscript has not been compiled with the ijs device,or
- the hpijs program cannot be launched, or
- the hpijs program dies because of invalid options
  (but in that case it should throw an error message).

Helge




More information about the cups mailing list