#608116 libcairo2: Maybe incorrect Postscript: undefined command Q

Package:
libcairo2
Source:
cairo
Description:
Cairo 2D vector graphics library
Submitter:
Vincent Bernat
Date:
2015-08-08 05:51:04 UTC
Severity:
normal
#608116#5
Date:
2010-12-27 12:45:58 UTC
From:
To:
Hi!

When printing from evince (which uses libcairo2), I get for most PDF
the following error from my network printer:
 ERROR NAME;
    undefined
 COMMAND;
    Q
 OPERAND STACK;

Here is an example of PDF generating this error:
http://www.cisco.com/en/US/docs/switches/lan/catalyst6500/ios/12.1E/native/configuration/guide/multi.pdf

I have tried with both libcairo2 from unstable and experimental.

If I look at the postscript file generated, I see that Q seems to be
defined correctly:

/Q { grestore } bind def

It is used as "Q q" and "Q" in the postscript file.

The printer is a Brother HL3070-CW.

#608116#10
Date:
2011-01-06 21:34:24 UTC
From:
To:
I face the same problem with my Brother HL-5350DN printer. I did not have a look at the generated postscript (where would I have to look?), but the printed error message is the same.

What I have found out is that as long as there is no graphic, the printing works. I tested this using OpenOffice creating a document just containing "TEXT" and exported to PDF - it prints ok. As soon as I add a graphic to the document the described problem occurs.
Printing directly from OO works in both cases.
Printing the PDFs from Adobe Reader (which uses lpr from cups-bsd) works in both cases, too.

Hope this helps in locating the bug.

Regards,
Holger

#608116#15
Date:
2011-01-06 21:40:42 UTC
From:
To:
Here are the package versions of my system.
#608116#20
Date:
2011-03-17 21:38:56 UTC
From:
To:
Package: libcairo2
Version: 1.10.2-4
Followup-For: Bug #608116

Hey,

I have the same issue on a Brother HL-5350DN (so it looks like it might
be brother-related at least) on cairo 1.10.2-4.

It prevents more or less completely printing on few boxes (basically
everyone using a brother printer on gtk-based desktop, I guess) so it'd
be really nice if someone could take a look at the issue.

Regards,

#608116#25
Date:
2011-03-18 07:33:00 UTC
From:
To:
Note that it might not be completely related to cairo, because here if
in the GTK+ app (midori right now) I ask to print to ps file and then
use 'lpr foo.ps', it works fine. So the ps generated by cairo seems
fine, not sure if it does ps or pdf by default when sending directly to
a printer.

Could the other reporters try to print to ps and pdf files and then use
lpr, and report back?

Regards,

#608116#30
Date:
2011-03-21 16:59:29 UTC
From:
To:
 On Fri, 18 Mar 2011 08:33:00 +0100, Yves-Alexis Perez wrote:

 This also works for me:
  1. print to file, postscript
  2. lp file.ps

#608116#35
Date:
2011-03-29 23:50:39 UTC
From:
To:
Hi

same thing here, since some months ago I cannot print most documents
on my network-printer Brother HL-5250DN which has worked fine before.

I get the same error message, unknown COMMAND Q; printed on the
printer every time. Usually works if I print directly from acroread
but not through the browser or from evince or similar pdf-viewers.

Version: 1.8.10-6 of libcairo2

best regards,
/Bjorn W

#608116#40
Date:
2011-10-06 20:39:30 UTC
From:
To:
Hello,

same behaviour here : print does not work with evince.
Printer is Brother MFC-9320CW, driver is PPD from Brother website,
connected through ethernet (ipp://).

Whereas it works with lpr and with okular (latest squeeze version).

Cheers,
Michel

#608116#45
Date:
2011-10-11 18:50:08 UTC
From:
To:
Hello,

same behavior here : printing does not work with evince.
My printer is Brother MFC-8065DN, using the PPD driver from Brother website,
connected through Ethernet (ipp://).

Whereas it works with lpr (latest squeeze version).

Regards



Jens

#608116#50
Date:
2012-10-04 01:55:09 UTC
From:
To:
Hello,

printing is still broken in wheezy.

This may be cause by libcairo
https://bugs.freedesktop.org/show_bug.cgi?id=44501
or by CUPS filter...

Printing with Acrobat Reader works perfectly.

Here are the relevant package versions:

ii  libcairo-gobject2:amd64                      1.12.2-2
ii  libcairo-perl                                1.090-2
ii  libcairo-script-interpreter2:amd64           1.12.2-2
ii  libcairo2:amd64                              1.12.2-2
ii  libcairo2:i386                               1.12.2-2
ii  libcairo2-dev                                1.12.2-2
ii  libcairomm-1.0-1                             1.10.0-1

ii  cups-filters                                 1.0.18-2+b2
ii  ghostscript-cups                             9.05~dfsg-6.1
ii  libcupsfilters1:amd64                        1.0.18-2+b2

Best regards,
Michel

#608116#55
Date:
2015-08-08 05:48:54 UTC
From:
To:
come stai
imac, gultar, prodotti samsung, orologio ....
siamo in grado di offrire il trasporto gratuito per voi
s it e:  poazzlo .com