Bug 464952 - Some PDF documents do not print on my printer without forcing rasterization
Summary: Some PDF documents do not print on my printer without forcing rasterization
Status: RESOLVED WORKSFORME
Alias: None
Product: okular
Classification: Applications
Component: printing (show other bugs)
Version: 22.12.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-28 17:54 UTC by vbhunt
Modified: 2023-03-03 03:45 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot of the PDF properties window from Okular. (90.98 KB, image/png)
2023-01-28 17:54 UTC, vbhunt
Details
Screenshot of the PDF Fonts window in Okular. (87.57 KB, image/png)
2023-01-28 17:54 UTC, vbhunt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description vbhunt 2023-01-28 17:54:03 UTC
Created attachment 155737 [details]
Screenshot of the PDF properties window from Okular.

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. In Okular, open a pdf from some places (most PDF's that produce this problem are account statements from some financial institutions)
2. Using standard settings for the printer, tell it to print the pdf.
3. Reprint the file after checking "Force Rasterization" in the print dialog options.

OBSERVED RESULT
Without forcing rasterization, the printer prints the following:
        ERROR NAME;
                typecheck
        COMMAND;
                image
        OPERAND STACK;

With forcing rasterization, the printer prints the file, but in much lower quality than normal.

EXPECTED RESULT
Printer should print the file.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.1.8-arch1-1 (64 bit)/X11
(available in About System)
KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.102.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
The printer model is a Brother HL-5370DW. I am printing over a network using a local (on the machine) CUPS server. The CUPS driver and CUPS configuration are all set correctly and work normally for other print jobs.

This only happens with certain PDFs. For example, my American Express statement always needs to force rasterization, but my Citi statement prints normally.

xpdf prints the exact same files without any problem. If xpdf forces rasterization, it is forcing it in a MUCH higher resolution (at least 600 dpi).

I've attached screenshots of the document properties and font information for this file. All substitute fonts are on the system.
Comment 1 vbhunt 2023-01-28 17:54:48 UTC
Created attachment 155738 [details]
Screenshot of the PDF Fonts window in Okular.
Comment 2 Albert Astals Cid 2023-02-01 21:19:26 UTC
without a document we will never be able to fix this
Comment 3 vbhunt 2023-02-01 23:18:19 UTC
(In reply to Albert Astals Cid from comment #2)
> without a document we will never be able to fix this

As soon as I can find a document that causes the same behavior but isn't filled with private information, I will upload it. I've found a few documents in the past that caused the behavior (about 1 out of every 30 or 40 documents that I print from PDF), but credit card statements from American Express are the only documents that I repeatedly work with every month that cause this.
Comment 4 Bug Janitor Service 2023-02-16 03:48:27 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2023-03-03 03:45:43 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!