Package: chromium
Version: 87.0.4280.88-0.4~deb10u1
Severity: normal
I find that trying to print to a postscript printer with chromium
prints instead:
ERROR NAME;
undefined
COMMAND;
Invalid
OPERAND STACK;
This did not always happen, but seems to be due to a security update.
I can print as a PDF to a file. And, FWIW, I can print the pdf.
All of these methods work for printing the PDF:
Sending the pdf directly to lpr.
Using pdf2ps and sending the result to lpr.
Using pdftops and sending the result to lpr.
Attached is a PNG of a U.S. Letter sized paper
with the text that appears when trying to print
from chromium. I seems that no matter what I try
to print I get exactly the same output on the printer.
I seem to recall that this has happened before, and gone
away with some update or another. But I recall no details.
This is the /etc/cups/printers.conf entry for the printer:
(domain name redacted)
The make/model of the printer are correct.
<DefaultPrinter Brother_MFC-7860DW>
UUID urn:uuid:7a0678ae-b2ee-3614-7280-5f1f217d3536
AuthInfoRequired none
Info Brother MFC-7860DW
Location Desk
MakeModel Brother MFC-7840N Foomatic/Postscript
DeviceURI http://brother-mfc-7860dw.REDACTED.com/postscript_p1
State Idle
StateTime 1610505099
ConfigTime 1577760817
Reason cups-ipp-conformance-failure-report
Reason cups-ipp-missing-job-history
Type 8433684
Accepting Yes
Shared No
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy retry-job
Attribute marker-colors \#000000,#000000
Attribute marker-levels -1,21
Attribute marker-names Black Toner Cartridge,Drum Unit
Attribute marker-types toner,opc
Attribute marker-change-time 1610505099
</DefaultPrinter>
I don't do a lot of printing but chromium seems to be the only program
with the problem. I can print from libreoffice calc (debian version),
sending a text file to lpr, printing from firefox ESR (debian
version), and xsane.
-- System Information:
Debian Release: 10.7
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.19.0-13-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages chromium depends on:
ii chromium-common 87.0.4280.88-0.4~deb10u1
ii libasound2 1.1.8-1
ii libatk-bridge2.0-0 2.30.0-5
ii libatk1.0-0 2.30.0-2
ii libatomic1 8.3.0-6
ii libatspi2.0-0 2.30.0-7
ii libavcodec58 7:4.1.6-1~deb10u1
ii libavformat58 7:4.1.6-1~deb10u1
ii libavutil56 7:4.1.6-1~deb10u1
ii libc6 2.28-10
ii libcairo2 1.16.0-4
ii libcups2 2.2.10-6+deb10u4
ii libdbus-1-3 1.12.20-0+deb10u1
ii libdrm2 2.4.97-1
ii libevent-2.1-6 2.1.8-stable-4
ii libexpat1 2.2.6-2+deb10u1
ii libflac8 1.3.2-3
ii libfontconfig1 2.13.1-2
ii libfreetype6 2.9.1-3+deb10u2
ii libgbm1 18.3.6-2+deb10u1
ii libgcc1 1:8.3.0-6
ii libgdk-pixbuf2.0-0 2.38.1+dfsg-1
ii libglib2.0-0 2.58.3-2+deb10u2
ii libgtk-3-0 3.24.5-1
ii libharfbuzz0b 2.3.1-1
ii libicu63 63.1-6+deb10u1
ii libjpeg62-turbo 1:1.5.2-2+deb10u1
ii libjsoncpp1 1.7.4-3
ii liblcms2-2 2.9-3
ii libminizip1 1.1-8+b1
ii libnspr4 2:4.20-1
ii libnss3 2:3.42.1-1+deb10u3
ii libopenjp2-7 2.3.0-2+deb10u1
ii libopus0 1.3-1
ii libpango-1.0-0 1.42.4-8~deb10u1
ii libpangocairo-1.0-0 1.42.4-8~deb10u1
ii libpng16-16 1.6.36-6
ii libpulse0 12.2-4+deb10u1
ii libre2-5 20190101+dfsg-2
ii libsnappy1v5 1.1.7-1
ii libstdc++6 8.3.0-6
ii libwebp6 0.6.1-2
ii libwebpdemux2 0.6.1-2
ii libwebpmux3 0.6.1-2
ii libx11-6 2:1.6.7-1+deb10u1
ii libx11-xcb1 2:1.6.7-1+deb10u1
ii libxcb1 1.13.1-2
ii libxcomposite1 1:0.4.4-2
ii libxdamage1 1:1.1.4-3+b3
ii libxext6 2:1.3.3-1+b2
ii libxfixes3 1:5.0.3-1
ii libxml2 2.9.4+dfsg1-7+deb10u1
ii libxrandr2 2:1.5.1-1
ii libxslt1.1 1.1.32-2.2~deb10u1
ii zlib1g 1:1.2.11.dfsg-1
Versions of packages chromium recommends:
ii chromium-sandbox 87.0.4280.88-0.4~deb10u1
Versions of packages chromium suggests:
pn chromium-driver <none>
pn chromium-l10n <none>
pn chromium-shell <none>
Versions of packages chromium-common depends on:
ii libc6 2.28-10
ii libstdc++6 8.3.0-6
ii libx11-6 2:1.6.7-1+deb10u1
ii libxext6 2:1.3.3-1+b2
ii x11-utils 7.7+4
ii xdg-utils 1.1.3-1+deb10u1
ii zlib1g 1:1.2.11.dfsg-1
Versions of packages chromium-common recommends:
ii chromium-sandbox 87.0.4280.88-0.4~deb10u1
ii fonts-liberation 1:1.07.4-9
ii libgl1-mesa-dri 18.3.6-2+deb10u1
ii libu2f-udev 1.1.9-1
ii notification-daemon 3.20.0-4
pn system-config-printer <none>
ii upower 0.99.10-1
ii xfce4-notifyd [notification-daemon] 0.4.3-1
Versions of packages chromium-sandbox depends on:
ii libc6 2.28-10
-- no debconf information
Added indication that 980020 affects security.debian.org and release.debian.org
Request was from Salvatore Bonaccorso <[email protected]>
to [email protected].
(Wed, 13 Jan 2021 16:15:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Michael Gilbert <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian Chromium Team <[email protected]>.
(Sat, 08 May 2021 16:45:03 GMT) (full text, mbox, link).
Subject: re: chromium: "undefined command" when printing to postscript printer
Date: Sat, 8 May 2021 12:41:40 -0400
control: tag -1 moreinfo
control: severity -1 minor
Karl O. Pinc wrote:
> Package: chromium
> Version: 87.0.4280.88-0.4~deb10u1
> Severity: normal
>
> I find that trying to print to a postscript printer with chromium
> prints instead:
>
> ERROR NAME;
> undefined
> COMMAND;
> Invalid
> OPERAND STACK;
>
> This did not always happen, but seems to be due to a security update.
Are the latest chromium stable updates affected by this? The
87.0.4280.88-0.4~deb10u1 security upload was built incorrectly.
Best wishes,
Mike
Information stored
: Bug#980020; Package chromium.
(Sat, 08 May 2021 19:09:08 GMT) (full text, mbox, link).
Acknowledgement sent
to "Karl O. Pinc" <[email protected]>:
Extra info received and filed, but not forwarded.
(Sat, 08 May 2021 19:09:08 GMT) (full text, mbox, link).
Subject: Re: Bug#980020: chromium: "undefined command" when printing to
postscript printer
Date: Sat, 8 May 2021 13:56:58 -0500
On Sat, 8 May 2021 12:41:40 -0400
Michael Gilbert <[email protected]> wrote:
> Karl O. Pinc wrote:
> > Package: chromium
> > Version: 87.0.4280.88-0.4~deb10u1
> > Severity: normal
> >
> > I find that trying to print to a postscript printer with chromium
> > prints instead:
> >
> > ERROR NAME;
> > undefined
> > COMMAND;
> > Invalid
> > OPERAND STACK;
> >
> > This did not always happen, but seems to be due to a security
> > update.
>
> Are the latest chromium stable updates affected by this? The
> 87.0.4280.88-0.4~deb10u1 security upload was built incorrectly.
I am now running chromium 90.0.4430.93-1~deb10u1.
AFIK the latest supplied for debian stable via
the stock debian repos. The rest of the system
is updated as well.
The problem still happens.
Printing to a file in pdf format works fine.
Printing one page (google.com) generates 2 pages
of output, each with the above text in a grey box
about 7x15cm, at the bottom left of the page. Text
is rather large, the last line is about 5cm-ish long.
I have a Brother MFC 7860DW printer. The printer driver
I've used is for a 7840 (see original bug report), but
has always worked and continues to work for other programs.
Regards,
Karl <[email protected]>
Free Software: "You don't pay back, you pay forward."
-- Robert A. Heinlein