You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was dealing with CUPS upstream test suite which we run in Fedora 38 (libcupsfilters 2.0b4) and found out an empty sheet of paper is printed out if a user has a postscript driver and wants to print a JPEG file.
Mar 14 16:53:52 fedora cupsd[24030]: [Job 56] cfFilterImageToPDF: Before scaling: xppi=0, yppi=0, zoom=1.00
Mar 14 16:53:52 fedora cupsd[24030]: [Job 56] cfFilterImageToPDF: Before scaling: xprint=0.0, yprint=0.0
Mar 14 16:53:52 fedora cupsd[24030]: [Job 56] cfFilterImageToPDF: cfImageGetXPPI(img) = 72, cfImageGetYPPI(img) = 72, aspect = 1.000000
Mar 14 16:53:52 fedora cupsd[24030]: [Job 56] cfFilterImageToPDF: Portrait size is 0.00 x 0.00 inches
Mar 14 16:53:52 fedora cupsd[24030]: [Job 56] cfFilterImageToPDF: Landscape size is 0.00 x 0.00 inches
It looks like the image is loaded incorrectly...
Would you mind looking into it?
The text was updated successfully, but these errors were encountered:
zdohnal
changed the title
Printing JPEG file to a Postscript printer generates empty sheet
Printing an image to a Postscript printer generates empty sheet
Mar 15, 2023
Updating the title - printing any image (.jpeg, .png, .tiff) to a Postscript-only printer is affected - I'm debugging it now, so far cfRasterPrepareHeader() returns only zeros for page size, so the problem origins from there.
Hi,
I was dealing with CUPS upstream test suite which we run in Fedora 38 (libcupsfilters 2.0b4) and found out an empty sheet of paper is printed out if a user has a postscript driver and wants to print a JPEG file.
Input file: testfile.jpg.txt
Job log: job_log.txt
PPD file: north-fiile.ppd.txt
Output file: ps.txt
The suspicious lines in logs are:
It looks like the image is loaded incorrectly...
Would you mind looking into it?
The text was updated successfully, but these errors were encountered: