﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
143	"hpijs returns ""Failed to execute ghostscript to determine number of input pages!"""	Lewis Rosenthal		"Socket backend used for HP Color !LaserJet 3800. Confirmed printing works with the hpcups driver (not preferred). However, selecting the preferred hpijs driver, printing fails with:

{{{
D [12/Feb/2017:13:04:17 +0500] [Job 4] backendWaitLoop(snmp_fd=5, addr=0x20037da4, side_cb=0x110f0)
D [12/Feb/2017:13:04:17 +0500] [Job 4] PDF template file doesn\'t have form. It\'s okay.
D [12/Feb/2017:13:04:17 +0500] [Job 4] Filetype: PDF
D [12/Feb/2017:13:04:17 +0500] [Job 4] Storing temporary files in /@unixroot/var/spool/cups/tmp
D [12/Feb/2017:13:04:17 +0500] [Job 4] Process is dying with \""Failed to execute ghostscript to determine number of input pages!
D [12/Feb/2017:13:04:17 +0500] [Job 4] \"", exit stat 6
D [12/Feb/2017:13:04:17 +0500] [Job 4] Cleaning up...
D [12/Feb/2017:13:04:17 +0500] [Job 4] PID 71 (/@unixroot/usr/lib/cups/filter/bannertopdf.exe) exited with no errors.
D [12/Feb/2017:13:04:17 +0500] [Job 4] PID 72 (/@unixroot/usr/lib/cups/filter/pdftopdf.exe) exited with no errors.
D [12/Feb/2017:13:04:17 +0500] [Job 4] PID 74 (/@unixroot/usr/lib/cups/filter/foomatic-rip.exe) stopped with status 6.
D [12/Feb/2017:13:04:17 +0500] [Job 4] Hint: Try setting the LogLevel to ""debug"" to find out more.
D [12/Feb/2017:13:04:17 +0500] [Job 4] PID 77 (/@unixroot/usr/lib/cups/backend/socket.exe) exited with no errors.
D [12/Feb/2017:13:04:17 +0500] [Job 4] End of messages
D [12/Feb/2017:13:04:17 +0500] [Job 4] printer-state=3(idle)
D [12/Feb/2017:13:04:17 +0500] [Job 4] printer-state-message=""Filter failed""
D [12/Feb/2017:13:04:17 +0500] [Job 4] printer-state-reasons=none
}}}

I have tried (via yum-replace-plugin) swapping gnu-ghostscript for latest ghostscript, and the error is consistent with either one.

It is also apparently not possible to run gs.exe from an OS/2 shell; instead this must be done from dash (or a compatible *nix shell). The shell reported in the error log is bash, so I doubt this is an issue.

foomatic-rip?
"	defect	closed	Feedback pending		cups		high	fixed		steve53@…
