https://bugs.kde.org/show_bug.cgi?id=64207
--- Comment #5 from Alexander Patrakov <patra...@gmail.com> --- I have done the following on a Kubuntu 12.04 LiveCD: 1. Installed a Generic PostScript printer on socket://127.0.0.1:9100 2. Created a test PDF file following my own instructions dated 2003-09-13 17:09:29 UTC 3. Started nc -l 127.0.0.1 9100 > dump.ps 4. Printed the test PDF file using Okular 5. Examined the dump.ps file using "less", with the following criteria: either the setpagedevice command should be redefined in the prolog, or there should be no "<< /PageSize [ 515 743 ] >> setpagedevice" line on the result. 6. Repeated the test using the original bad ps file. The offending setpagedevice instruction is not in the resulting ps file when printing a pdf from Okular. Additionally, when printing a pdf, Okular inserts this, effectively redefining setpagedevice: /pdfSetup { 3 1 roll 2 array astore /setpagedevice where { pop 3 dict begin /PageSize exch def /ImagingBBox null def { /Duplex true def } if currentdict end setpagedevice } { pop pop } ifelse } def This is called as follows: 595 842 false pdfSetup i.e. the original clearly-incompatible page size is not mentioned at all. Or you may want to punt it and say that it is a bug in CUPS, because "printing" the bad ps file using lpr would fail due to setpagedevice. I think I have a PostScript network printer near here (it is just not configured on my box because there is another, non-PostScript, printer closer to my desk), will test more and report the results. -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ Okular-devel mailing list Okular-devel@kde.org https://mail.kde.org/mailman/listinfo/okular-devel