[poppler] pdftocairo Offending Command error when printing

2016-09-19 Thread Pierre-Luc Samuel
Hi, I am trying to debug a weird issue I have with a printer (Kyocera p2135dn). When I convert the attached PDF to postscript using pdftops, the printer accepts and prints the file properly, but when I use pdftocairo, the printer rejects the file with the following error: Error name:

Re: [poppler] pdftocairo Offending Command error when printing

2016-09-19 Thread William Bader
Can you try it with the current pdftocairo 0.47.0? The source is at https://poppler.freedesktop.org/ Do any of the non-printing ps files get errors if you view them with ghostscript? Test-jma-Envelop-Blank-pdftocairo0.41-cairo1.14.6-manually-fixedC.ps got a /dictstackunderflow in --end--

Re: [poppler] pdftocairo Offending Command error when printing

2016-09-19 Thread William Bader
If you look inside cairo_set_page_size, it sets /PageSize exch def /ImagingBBox null def You could try changing the names one at a time to something that won't exist, like PageSizexxx to see if one or the other has a value that the printer doesn't like. Maybe the null

Re: [poppler] pdftocairo Offending Command error when printing

2016-09-19 Thread Pierre-Luc Samuel
On 09/19/2016 12:54 PM, William Bader wrote: Can you try it with the current pdftocairo 0.47.0? The source is at https://poppler.freedesktop.org/ I did try with pdftocairo 0.47 + cairo 1.15.2, but the resulting file is identical. Do any of the non-printing ps files get errors if you view