Bug 711097

Summary: /usr/lib/cups/filter/hpcups failed
Product: [Fedora] Fedora Reporter: Steven Stern <subscribed-lists>
Component: hplipAssignee: Tim Waugh <twaugh>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: jpopelka, kenyon, twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-10-07 14:19:55 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
CUPS error log
none
PPD file for problem printer none

Description Steven Stern 2011-06-06 14:28:35 UTC
Printing to a shared printer from Mac OS/X fails with 

/usr/lib/cups/filter/hpcups failed

when using the current hpcups driver for the PSC 2200. Switching to gutenprint driver enables printing.

Comment 1 Jiri Popelka 2011-06-06 14:42:32 UTC
Could you attach error_log (or a part of it) ?

- cupsctl LogLevel=debug2
- service cups restartlog
- print again and when it fails attach the important part of /var/log/cups/error_log to this bug report

Comment 2 Steven Stern 2011-06-06 15:04:50 UTC
Created attachment 503253 [details]
CUPS error log

Comment 3 Steven Stern 2011-06-06 15:09:09 UTC
Also prints OK with hpijs driver -- problem is just in the hpcups driver.

Comment 4 Jiri Popelka 2011-06-06 15:59:09 UTC
Some important lines (time 10:02:30)

D [Job 25] prnt/hpcups/HPCupsFilter.cpp 253: ERROR: Unsupported resolution
d cupsdFinishProcess(pid=29380, name=0xbffd921c, namelen=1024, job_id=0xbffd9218(25)) = "/usr/lib/cups/filter/hpcups"
D PID 29380 (/usr/lib/cups/filter/hpcups) stopped with status 1!
D [Job 25] prnt/backend/hp.c 833: ERROR: null print job total=0
D PID 29381 (/usr/lib/cups/backend/hp) exited with no errors.
E [Job 25] Job stopped due to filter errors;

Comment 5 Tim Waugh 2011-06-07 08:27:15 UTC
Could you please attach the PPD?
/etc/cups/ppd/PSC-2200-Series.ppd

Comment 6 Steven Stern 2011-06-07 16:28:54 UTC
Created attachment 503529 [details]
PPD file for problem printer

Comment 7 Tim Waugh 2011-06-08 11:37:05 UTC
Looks like Mac OS X is giving us a file that is meant to already have had the PPD options applied.

d [06/Jun/2011:10:02:29 -0500] add_job(0x212a0dd8[15], 0x21178b40(PSC-2200-Series), 0x21186740(application/vnd.cups-postscript))

How did you set the queue up on Mac OS X?  I wonder if it is using its own PPD file and partially filtering the file, rather than letting CUPS deal with all the filtering.

Comment 8 Steven Stern 2011-06-08 13:22:16 UTC
It's installed on the Mac as "Generic Postscript Printer".  This works with hpijs, but not hpcups.  When I did a clean install of F15, I didn't notice that the defaulted driver on F15 was hpcups instead of the hpijs driver. Changing it to "HP PSC 2200" does the trick.

Comment 9 Tim Waugh 2011-06-08 15:16:04 UTC
It shouldn't be "Generic Postscript Printer" (i.e. a simple PPD for basic PostScript printers, residing on the Mac system).  You should set it as a raw queue, so that it uses the PPD that resides on the Linux system.