My observations:
As changing pdftops-renderer does not seem to make a difference, probably only 
one of the programs is installed and thus used in all cases?

According to Dependencies.txt, libcairo2-1.15.12-1 seems to installed, which 
AFAIK is affected by the problem described e.g. here: 
https://github.com/Kozea/WeasyPrint/issues/705
I have no explanation though, how the pdf (which, by itself, does not seem to 
contain the error, AFAIAC) would run through the cairo pdf backend ... 

It does not really seem form-related, but there are some options to change the 
form-flattening engines (Till?)
 - or could it possibly be that the 1.21 cups-filter uses some pdf-to-pdf form 
flattening which uses the cairo backend ?


** Bug watch added: github.com/Kozea/WeasyPrint/issues #705
   https://github.com/Kozea/WeasyPrint/issues/705

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

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

Status in cups-filters package in Ubuntu:
  Incomplete

Bug description:
  Upstream bug report https://github.com/OpenPrinting/cups-
  filters/issues/93.

  The university document
  [antrag_exmatrikulation.pdf](https://github.com/OpenPrinting/cups-
  filters/files/2881078/antrag_exmatrikulation.pdf) causes problems on
  different printers.

  Printing on the Canon iR-ADV C2225i using the Canon PCL, an error page
  is first printed, and on the first page after _Email_ everything is
  missing. The second page is fine.

  ```
   **** Error: Ignoring spurious ET operator. Output may be inco ****
  ```

  For that printer a special filter `sicgsfilter` has to be used, and is
  distributed by Canon. This also happens with their CQue 4.0-1 release
  from September 2018.

  ```
   *FoomaticRIPCommandLine: "gs -q -dBATCH %F -dPARANOIDSAFER -dNOPAUSE %B%A%C 
-dPDFFitPage  -sOutputFile=- - %D%E | sicgsfilter -MPCL -NP %G%H%I -u&user; 
-V"&title;" -n&copies; "
  ```

  On the Epson printer _WorkForce WF-2660_, no error page is printed,
  but on the first page everything after _Email_ _is missing_ too.

  Trying to use different pdftops renderers did not make any difference.
  For example,

  ```
   lpr -o pdftops-renderer=pdftops -P chipprinterpcl antrag_exmatrikulation.pdf
  ```

  gave the same result, the same with `pdftocairo`, `acroread`, `mupdf`.

  Following `/usr/share/doc/cups-filters/README.gz` and
  https://wiki.ubuntu.com/DebuggingPrintingProblems, I verified that the
  exact same PDF is put into the CUPS spool directory, and I captured
  the data sent to the printer with the commands below.

      $ lpadmin -p chipprinterpclfile -E -v file:/tmp/printout -P 
~/chipprinterpcl.ppd
      $ lpr -P chipprinterpclfile -o psdebug ~/antrag_exmatrikulation.pdf

  I get the attached Postscript file, which indeed contains the error
  messages.

  ```
  ESC%-12345X@PJL CQue4.0-1 x86_64
  @PJL COMMENT CANPJL SET USERNAME="pmenzel@localhost"
  @PJL COMMENT CANPJL SET DOCNAME="antrag_exmatrikulation.pdf!pmenz"
  @PJL SET RENDERMODE=COLOR
  @PJL COMMENT CANPJL SET FORCEMONOCHROME=FALSE
  @PJL COMMENT CANPJL SET SORTERMODE=GENERICON
  @PJL COMMENT CANPJL SET STAPLE=GENERICOFF
  @PJL COMMENT CANPJL SET BOOKLET=GENERICOFF
  @PJL SET DENSITY=0
  @PJL ENTER LANGUAGE=PCL
     **** Error: Ignoring spurious ET operator.
                 Output may be incorrect.
     **** Error: Executing Do inside a text block, attempting to recover
                 Output may be incorrect.
     **** Error: Executing Do inside a text block, attempting to recover
                 Output may be incorrect.
     **** Error: Ignoring spurious ET operator.
                 Output may be incorrect.
     **** Error: Executing Do inside a text block, attempting to recover
                 Output may be incorrect.
     **** Error: illegal nested BT operator detected.
                 Output may be incorrect.
     **** Error: Ignoring spurious ET operator.
                 Output may be incorrect.
     **** Error: Executing Do inside a text block, attempting to recover
                 Output may be incorrect.
     **** Error: illegal nested BT operator detected.
                 Output may be incorrect.
  […]
  ```

  Please find that file attached.

  ProblemType: Bug
  DistroRelease: Ubuntu 18.10
  Package: cups 2.2.8-5ubuntu1.2
  ProcVersionSignature: Ubuntu 4.18.0-15.16-generic 4.18.20
  Uname: Linux 4.18.0-15-generic x86_64
  ApportVersion: 2.20.10-0ubuntu13.2
  Architecture: amd64
  Date: Thu Feb 21 10:23:08 2019
  InstallationDate: Installed on 2017-03-20 (702 days ago)
  InstallationMedia: Ubuntu 16.04.2 LTS "Xenial Xerus" - Release amd64 
(20170215.2)
  Lpstat:
   device for Canon-iR-ADV-C2225: lpd://winprima.molgen.mpg.de/test
   device for DCP375CW: socket://141.14.220.198
  Lsusb:
   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
   Bus 001 Device 004: ID 0bda:568b Realtek Semiconductor Corp. 
   Bus 001 Device 003: ID 04f3:2234 Elan Microelectronics Corp. 
   Bus 001 Device 002: ID 0cf3:e300 Atheros Communications, Inc. 
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  MachineType: Dell Inc. XPS 13 9360
  Papersize: a4
  PpdFiles:
   Canon-iR-ADV-C2225: Canon iR-ADV C2225 PCL
   DCP375CW: Brother DCP-375CW CUPS
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.18.0-15-generic 
root=/dev/mapper/ubuntu--vg-root ro quiet splash initcall_debug log_buf_len=16M 
vt.handoff=1
  SourcePackage: cups
  UpgradeStatus: Upgraded to cosmic on 2018-10-30 (113 days ago)
  dmi.bios.date: 09/27/2018
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 2.10.0
  dmi.board.name: 0839Y6
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 9
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvr2.10.0:bd09/27/2018:svnDellInc.:pnXPS139360:pvr:rvnDellInc.:rn0839Y6:rvrA00:cvnDellInc.:ct9:cvr:
  dmi.product.family: XPS
  dmi.product.name: XPS 13 9360
  dmi.product.sku: 075B
  dmi.sys.vendor: Dell Inc.

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to