Comment 23 for bug 998156

Revision history for this message
Till Kamppeter (till-kamppeter) wrote : Re: Printing stalls with "rendering completed"

Qian, the problem is GIMP, it sends the attribute for a custom page size incorrectly. In this line in the error_log one sees it:

D [13/Jun/2012:10:42:06 -0700] [Job 153] argv[5]="InputSlot=Auto number-up=1 PageSize=Custom.Custom.396.00x720.00 MediaType=Plain OutputMode=Best ColorModel=RGB job-uuid=urn:uuid:ca56ecae-ec4e-3296-7723-0c4263d1f1ac job-originating-host-name=localhost time-at-creation=1339609326 time-at-processing=1339609326"

It sens "PageSize=Custom.Custom.396.00x720.00" and it must be "PageSize=Custom.396.00x720.00". This leads to Ghostscript being called with zero page size:

D [13/Jun/2012:10:42:08 -0700] [Job 153] Ghostscript command line: /usr/bin/gs -dQUIET -dPARANOIDSAFER -dNOPAUSE -dBATCH -dNOINTERPOLATE -sDEVICE=cups -sstdout=%stderr -sOutputFile=%stdout -sMediaType=Plain -sOutputType=1 -r600x600 -dMediaPosition=7 -dDEVICEWIDTHPOINTS=0 -dDEVICEHEIGHTPOINTS=0 -dcupsBitsPerColor=8 -dcupsColorOrder=0 -dcupsColorSpace=17 -scupsPageSizeName=Custom -I/usr/share/cups/fonts -c -f -_

and therefore Ghostscript errors out.

Adding GIMP task ...