All configuration done on detected DeskJet 610C printer attached to parallel port 0.
dmesg detects the printer properly and all seems fine with CUPS.
But nothing is printed via CUPS.
Checking the /var/log/cups/error_log:
I [15/Apr/2006:16:03:42 +0300] Job 1 queued on ‘DeskJet-610C’ by ‘…..’.
I [15/Apr/2006:16:03:42 +0300] Started filter /usr/lib/cups/filter/texttops (PID 16099) for job 1.
I [15/Apr/2006:16:03:42 +0300] Started filter /usr/lib/cups/filter/pstops (PID 16100) for job 1.
I [15/Apr/2006:16:03:42 +0300] Started filter /usr/lib/cups/filter/foomatic-rip (PID 16101) for job 1.
I [15/Apr/2006:16:03:42 +0300] Started backend /usr/lib/cups/backend/parallel (PID 16102) for job 1.
E [15/Apr/2006:16:03:43 +0300] PID 16101 stopped with status 3!
I [15/Apr/2006:16:04:20 +0300] Hint: Try setting the LogLevel to “debug” to find out more.
The latest hint is a useful one. Edit /etc/cups/cupsd.conf:
LogLevel info
>> Change to
LogLevel debug
Retry printing and check /var/log/cups/error_log:
D
[15/Apr/2006:16:33:28 +0300] [Job 4] foomatic-gswrapper: gs ‘-dBATCH’
‘-dPARANOIDSAFER’ ‘-dQUIET’ ‘-dNOPAUSE’ ‘-sDEVICE=ijs’
‘-sIjsServer=hpijs’ ‘-sDeviceManufacturer=HEWLETT-PACKARD’
‘-sDeviceModel=DESKJET 610’ ‘-dDEVICEWIDTHPOINTS=595’
‘-dDEVICEHEIGHTPOINTS=842’ ‘-r300’
‘-sIjsParams=Quality:Quality=0,Quality:ColorMode=2,Quality:MediaType=0,Quality:PenSet=2’
‘-dIjsUseOutputFD’ ‘-sOutputFile=/dev/fd/3’ ‘/dev/fd/0’ 3>&1
1>&2
D [15/Apr/2006:16:33:28 +0300] [Job 4] GPL Ghostscript 8.01: **** Could not open temporary file /var/spool/cups/tmp/gs_u8twMw
D [15/Apr/2006:16:33:28 +0300] [Job 4] GPL Ghostscript 8.01: Could not open the scratch file /var/spool/cups/tmp/gs_u8twMw.
D [15/Apr/2006:16:33:28 +0300] [Job 4] **** Unable to open the initial device, quitting.
D [15/Apr/2006:16:33:28 +0300] [Job 4] renderer return value: 1
D [15/Apr/2006:16:33:28 +0300] [Job 4] renderer received signal: 1
D
[15/Apr/2006:16:33:28 +0300] [Job 4] Process dying with “Possible error
on renderer command line or PostScript error. Check options.”, exit
stat: 3
D [15/Apr/2006:16:33:28 +0300] [Job 4] error: Illegal seek (29)
D
[15/Apr/2006:16:33:28 +0300] [Job 4] Possible error on renderer command
line or PostScript error. Check options.D [15/Apr/2006:16:33:28 +0300]
[Job 4] tail process done writing data to STDOUT
D [15/Apr/2006:16:33:28 +0300] [Job 4] KID4 finished
Check the /var/spool/cups.. 🙂 I did not have the /var/spool/cups/tmp directory.
1. mkdir /var/spool/cups/tmp
2. chmod 777 /var/spool/cups/tmp
And now it works properly.