The problem is most probably caused bei the Ghostscript which does the
conversion to the printer's PCL format not being able to cope with the
PDF after the form got flattened. Old cups-filters versions (< 1.22.x)
use pdftocairo or Ghostscript for form-flattening, newer cups-filters
use QPDF and you already observed that with QPDF-based form-flattening
the problem does not occur.

Do the following on your Ubuntu box where you did not yet install the
update.

So what you need to do is to set CUPS logging into debug mode ("cupsctl
--debug-logging"), print another (failing) job, and check bei the log
output of the filters whether flattening happened with pdftocairo or
Ghostscript. pdftocairo is the default. Ghostscript is only used if
pdftocairo fails.

Then you should use the cupsfilter utility of CUPS to run the filter
chain independently. Supply ypur PPD file (from /etc/cups/ppd/ to the
cupsfilter call. And if you choose "application/pdf" as output MIME
type, only the filtering up to pftopdf is done and the output is what
comes out of pdftopdf. Take care, by the logging on the screen, that
here the same utility (pdftocairo or Ghostscript) as in you failed print
jobs is used. Try to display the resulting file with Ghostscript.

in error_log you also find the Ghostscript command line used for the
actual printing (the one you have seen in the PPD but with all command
line arguments inserted). Please run the output also through this
command line.

If you get Ghostscript erroring or producing wrong output, post a
Ghostscript bug with exact Ghostscript command line and the ouput file
of cupsfilter attached, so that the Ghostscript developers can reproduce
it. Post a link to the bug report here.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1817033

Title:
  Unable to correctly print PDF file: Error: Ignoring spurious ET
  operator.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups-filters/+bug/1817033/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to