Bug 452339 - Okular uses pdf title to create print job. If the title is too long the printer refuses the job
Summary: Okular uses pdf title to create print job. If the title is too long the print...
Status: REPORTED
Alias: None
Product: okular
Classification: Applications
Component: printing (show other bugs)
Version: 21.08.1
Platform: Ubuntu Linux
: NOR major
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-06 16:37 UTC by ndrgrimm
Modified: 2023-03-25 09:00 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ndrgrimm 2022-04-06 16:37:43 UTC
SUMMARY

Okular uses pdf title to create print job. If the title is too long the printer refuses the job

STEPS TO REPRODUCE
1. Create a pdf with long metadata Title more that 100 characters 
2. Print the pdf using the Print command
3. Check the Print Queque of the printer


OBSERVED RESULT

The print job is refused with message "Print job was not accepted"

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Operating System: Kubuntu 21.10
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.86.0
Qt Version: 5.15.2
Kernel Version: 5.13.0-39-generic (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-8665U CPU @ 1.90GHz
Memory: 15,3 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620

ADDITIONAL INFORMATION
Comment 1 Albert Astals Cid 2022-04-06 20:54:17 UTC
I wonder if that limit is printer dependant, last time we had this problem, the limit was at 255 characters.
Comment 2 Albert Astals Cid 2022-04-06 21:32:51 UTC
Upstream confirms 255 is the actual limit at https://github.com/OpenPrinting/cups/issues/367

 no idea why it's failing for you at 100