Debian Bug report logs - #608116
libcairo2: Maybe incorrect Postscript: undefined command Q

version graph

Package: libcairo2; Maintainer for libcairo2 is Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>; Source for libcairo2 is src:cairo (PTS, buildd, popcon).

Reported by: Vincent Bernat <bernat@debian.org>

Date: Mon, 27 Dec 2010 12:57:02 UTC

Severity: normal

Found in versions cairo/1.10.0-1, cairo/1.8.10-6, cairo/1.10.2-4, cairo/1.10.2-6.1

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Dave Beckett <dajobe@debian.org>:
Bug#608116; Package libcairo2. (Mon, 27 Dec 2010 12:57:04 GMT) (full text, mbox, link).


Acknowledgement sent to Vincent Bernat <bernat@debian.org>:
New Bug report received and forwarded. Copy sent to Dave Beckett <dajobe@debian.org>. (Mon, 27 Dec 2010 12:57:05 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Vincent Bernat <bernat@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: libcairo2: Maybe incorrect Postscript: undefined command Q
Date: Mon, 27 Dec 2010 13:45:58 +0100
Package: libcairo2
Version: 1.10.0-1
Severity: normal

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.

-- System Information:
Debian Release: 6.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (101, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.36-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libcairo2 depends on:
ii  libc6                   2.11.2-7         Embedded GNU C Library: Shared lib
ii  libfontconfig1          2.8.0-2.1        generic font configuration library
ii  libfreetype6            2.4.2-2.1        FreeType 2 font engine, shared lib
ii  libpixman-1-0           0.21.2-1         pixel-manipulation library for X a
ii  libpng12-0              1.2.44-1         PNG library - runtime
ii  libx11-6                2:1.3.3-4        X11 client-side library
ii  libxcb-render0          1.6-1            X C Binding, render extension
ii  libxcb-shm0             1.6-1            X C Binding, shm extension
ii  libxcb1                 1.6-1            X C Binding
ii  libxrender1             1:0.9.6-1        X Rendering Extension client libra
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

libcairo2 recommends no packages.

libcairo2 suggests no packages.

-- no debconf information




Information forwarded to debian-bugs-dist@lists.debian.org, Dave Beckett <dajobe@debian.org>:
Bug#608116; Package libcairo2. (Thu, 06 Jan 2011 21:39:06 GMT) (full text, mbox, link).


Acknowledgement sent to "Holger Mickler" <Holger.Mickler@web.de>:
Extra info received and forwarded to list. Copy sent to Dave Beckett <dajobe@debian.org>. (Thu, 06 Jan 2011 21:39:06 GMT) (full text, mbox, link).


Message #10 received at 608116@bugs.debian.org (full text, mbox, reply):

From: "Holger Mickler" <Holger.Mickler@web.de>
To: 608116@bugs.debian.org
Date: Thu, 6 Jan 2011 22:34:24 +0100 (CET)
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
___________________________________________________________
NEU: FreePhone - kostenlos mobil telefonieren und surfen!				
Jetzt informieren: http://produkte.web.de/go/webdefreephone




Information forwarded to debian-bugs-dist@lists.debian.org, holger.mickler@web.de, Dave Beckett <dajobe@debian.org>:
Bug#608116; Package libcairo2. (Thu, 06 Jan 2011 21:42:05 GMT) (full text, mbox, link).


Acknowledgement sent to Holger Mickler <holger.mickler@web.de>:
Extra info received and forwarded to list. Copy sent to holger.mickler@web.de, Dave Beckett <dajobe@debian.org>. (Thu, 06 Jan 2011 21:42:05 GMT) (full text, mbox, link).


Message #15 received at 608116@bugs.debian.org (full text, mbox, reply):

From: Holger Mickler <holger.mickler@web.de>
To: Debian Bug Tracking System <608116@bugs.debian.org>
Subject: libcairo2: Adding package info of my system
Date: Thu, 06 Jan 2011 22:40:42 +0100
Package: libcairo2
Version: 1.8.10-6
Severity: normal


Here are the package versions of my system.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libcairo2 depends on:
ii  libc6                   2.11.2-7         Embedded GNU C Library: Shared lib
ii  libfontconfig1          2.8.0-2.1        generic font configuration library
ii  libfreetype6            2.4.2-2.1        FreeType 2 font engine, shared lib
ii  libpixman-1-0           0.16.4-1         pixel-manipulation library for X a
ii  libpng12-0              1.2.44-1         PNG library - runtime
ii  libx11-6                2:1.3.3-4        X11 client-side library
ii  libxcb-render-util0     0.3.6-1          utility libraries for X C Binding 
ii  libxcb-render0          1.6-1            X C Binding, render extension
ii  libxcb1                 1.6-1            X C Binding
ii  libxrender1             1:0.9.6-1        X Rendering Extension client libra
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

libcairo2 recommends no packages.

libcairo2 suggests no packages.

-- no debconf information




Information forwarded to debian-bugs-dist@lists.debian.org, Dave Beckett <dajobe@debian.org>:
Bug#608116; Package libcairo2. (Thu, 17 Mar 2011 21:42:03 GMT) (full text, mbox, link).


Acknowledgement sent to Yves-Alexis Perez <corsac@debian.org>:
Extra info received and forwarded to list. Copy sent to Dave Beckett <dajobe@debian.org>. (Thu, 17 Mar 2011 21:42:03 GMT) (full text, mbox, link).


Message #20 received at 608116@bugs.debian.org (full text, mbox, reply):

From: Yves-Alexis Perez <corsac@debian.org>
To: Debian Bug Tracking System <608116@bugs.debian.org>
Subject: libcairo2: reproducible on 1.10.2-4
Date: Thu, 17 Mar 2011 22:38:56 +0100
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,
-- 
Yves-Alexis


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (101, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-grsec-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libcairo2 depends on:
ii  libc6                   2.11.2-13        Embedded GNU C Library: Shared lib
ii  libegl1-mesa [libegl1-x 7.10-4           A free implementation of the EGL A
ii  libfontconfig1          2.8.0-2.1        generic font configuration library
ii  libfreetype6            2.4.4-1          FreeType 2 font engine, shared lib
ii  libgl1-mesa-glx [libgl1 7.10-4           A free implementation of the OpenG
ii  libpixman-1-0           0.21.4-2         pixel-manipulation library for X a
ii  libpng12-0              1.2.44-2         PNG library - runtime
ii  libx11-6                2:1.4.1-5        X11 client-side library
ii  libxcb-render0          1.7-2            X C Binding, render extension
ii  libxcb-shm0             1.7-2            X C Binding, shm extension
ii  libxcb1                 1.7-2            X C Binding
ii  libxrender1             1:0.9.6-1        X Rendering Extension client libra
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

libcairo2 recommends no packages.

libcairo2 suggests no packages.

-- no debconf information




Information forwarded to debian-bugs-dist@lists.debian.org, Dave Beckett <dajobe@debian.org>:
Bug#608116; Package libcairo2. (Fri, 18 Mar 2011 07:51:10 GMT) (full text, mbox, link).


Acknowledgement sent to Yves-Alexis Perez <corsac@debian.org>:
Extra info received and forwarded to list. Copy sent to Dave Beckett <dajobe@debian.org>. (Fri, 18 Mar 2011 07:51:10 GMT) (full text, mbox, link).


Message #25 received at 608116@bugs.debian.org (full text, mbox, reply):

From: Yves-Alexis Perez <corsac@debian.org>
To: Debian Bug Tracking System <608116@bugs.debian.org>
Cc: Vincent Bernat <bernat@debian.org>, Holger Mickler <Holger.Mickler@web.de>
Subject: Re: libcairo2: reproducible on 1.10.2-4
Date: Fri, 18 Mar 2011 08:33:00 +0100
[Message part 1 (text/plain, inline)]
On Thu, 2011-03-17 at 22:38 +0100, Yves-Alexis Perez wrote:
> 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,

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,
-- 
Yves-Alexis
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Dave Beckett <dajobe@debian.org>:
Bug#608116; Package libcairo2. (Mon, 21 Mar 2011 17:03:06 GMT) (full text, mbox, link).


Acknowledgement sent to Vincent Bernat <bernat@debian.org>:
Extra info received and forwarded to list. Copy sent to Dave Beckett <dajobe@debian.org>. (Mon, 21 Mar 2011 17:03:06 GMT) (full text, mbox, link).


Message #30 received at 608116@bugs.debian.org (full text, mbox, reply):

From: Vincent Bernat <bernat@debian.org>
To: Yves-Alexis Perez <corsac@debian.org>
Cc: Debian Bug Tracking System <608116@bugs.debian.org>, Holger Mickler <Holger.Mickler@web.de>
Subject: Re: libcairo2: reproducible on 1.10.2-4
Date: Mon, 21 Mar 2011 17:59:29 +0100
On Fri, 18 Mar 2011 08:33:00 +0100, Yves-Alexis Perez wrote:

>> 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,
>
> 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?

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





Information forwarded to debian-bugs-dist@lists.debian.org, Dave Beckett <dajobe@debian.org>:
Bug#608116; Package libcairo2. (Tue, 29 Mar 2011 23:54:06 GMT) (full text, mbox, link).


Acknowledgement sent to Bjorn Wesen <bjorn.wesen@gmail.com>:
Extra info received and forwarded to list. Copy sent to Dave Beckett <dajobe@debian.org>. (Tue, 29 Mar 2011 23:54:06 GMT) (full text, mbox, link).


Message #35 received at 608116@bugs.debian.org (full text, mbox, reply):

From: Bjorn Wesen <bjorn.wesen@gmail.com>
To: 608116@bugs.debian.org
Subject: Cannot print to Brother HL-5250DN
Date: Wed, 30 Mar 2011 01:50:39 +0200
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




Information forwarded to debian-bugs-dist@lists.debian.org, Dave Beckett <dajobe@debian.org>:
Bug#608116; Package libcairo2. (Thu, 06 Oct 2011 20:48:04 GMT) (full text, mbox, link).


Acknowledgement sent to Michel Briand <michelbriand@free.fr>:
Extra info received and forwarded to list. Copy sent to Dave Beckett <dajobe@debian.org>. (Thu, 06 Oct 2011 20:48:04 GMT) (full text, mbox, link).


Message #40 received at 608116@bugs.debian.org (full text, mbox, reply):

From: Michel Briand <michelbriand@free.fr>
To: Debian Bug Tracking System <608116@bugs.debian.org>
Subject: Re: libcairo2: Maybe incorrect Postscript: undefined command Q
Date: Thu, 06 Oct 2011 22:39:30 +0200
Package: libcairo2
Version: 1.10.2-6.1
Followup-For: Bug #608116

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

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (1001, 'testing'), (990, 'stable'), (600, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR@euro, LC_CTYPE=fr_FR@euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/dash

Versions of packages libcairo2 depends on:
ii  libc6           2.13-21         
ii  libfontconfig1  2.8.0-3         
ii  libfreetype6    2.4.6-2         
ii  libpixman-1-0   0.22.2-1        
ii  libpng12-0      1.2.46-3        
ii  libx11-6        2:1.4.4-1       
ii  libxcb-render0  1.7-3           
ii  libxcb-shm0     1.7-3           
ii  libxcb1         1.7-3           
ii  libxrender1     1:0.9.6-2       
ii  zlib1g          1:1.2.3.4.dfsg-3

libcairo2 recommends no packages.

libcairo2 suggests no packages.

-- no debconf information




Information forwarded to debian-bugs-dist@lists.debian.org, getreu@web.de, Dave Beckett <dajobe@debian.org>:
Bug#608116; Package libcairo2. (Tue, 11 Oct 2011 18:51:03 GMT) (full text, mbox, link).


Acknowledgement sent to Jens Getreu <getreu@web.de>:
Extra info received and forwarded to list. Copy sent to getreu@web.de, Dave Beckett <dajobe@debian.org>. (Tue, 11 Oct 2011 18:51:04 GMT) (full text, mbox, link).


Message #45 received at 608116@bugs.debian.org (full text, mbox, reply):

From: Jens Getreu <getreu@web.de>
To: Debian Bug Tracking System <608116@bugs.debian.org>
Subject: Re: printing works with lpr, but not in evince
Date: Tue, 11 Oct 2011 20:50:08 +0200
Package: libcairo2
Version: 1.8.10-6
Severity: normal

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



-- System Information:
Debian Release: 6.0.3
  APT prefers proposed-updates
  APT policy: (500, 'proposed-updates'), (500, 'stable'), (50, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.39-bpo.2-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libcairo2 depends on:
ii  libc6                 2.11.2-10          Embedded GNU C Library: Shared lib
ii  libfontconfig1        2.8.0-2.1          generic font configuration library
ii  libfreetype6          2.4.2-2.1+squeeze1 FreeType 2 font engine, shared lib
ii  libpixman-1-0         0.16.4-1           pixel-manipulation library for X a
ii  libpng12-0            1.2.44-1+squeeze1  PNG library - runtime
ii  libx11-6              2:1.3.3-4          X11 client-side library
ii  libxcb-render-util0   0.3.6-1            utility libraries for X C Binding 
ii  libxcb-render0        1.6-1              X C Binding, render extension
ii  libxcb1               1.6-1              X C Binding
ii  libxrender1           1:0.9.6-1          X Rendering Extension client libra
ii  zlib1g                1:1.2.3.4.dfsg-3   compression library - runtime

libcairo2 recommends no packages.

libcairo2 suggests no packages.

-- no debconf information




Information forwarded to debian-bugs-dist@lists.debian.org, Dave Beckett <dajobe@debian.org>:
Bug#608116; Package libcairo2. (Thu, 04 Oct 2012 01:57:03 GMT) (full text, mbox, link).


Acknowledgement sent to Michel Briand <michelbriand@free.fr>:
Extra info received and forwarded to list. Copy sent to Dave Beckett <dajobe@debian.org>. (Thu, 04 Oct 2012 01:57:03 GMT) (full text, mbox, link).


Message #50 received at 608116@bugs.debian.org (full text, mbox, reply):

From: Michel Briand <michelbriand@free.fr>
To: 608116@bugs.debian.org
Subject: Printing is still broken
Date: Thu, 4 Oct 2012 03:55:09 +0200
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



Information forwarded to debian-bugs-dist@lists.debian.org, Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>:
Bug#608116; Package libcairo2. (Sat, 08 Aug 2015 05:51:04 GMT) (full text, mbox, link).


Acknowledgement sent to "tnke" <ehdduf98@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>. (Sat, 08 Aug 2015 05:51:04 GMT) (full text, mbox, link).


Message #55 received at 608116@bugs.debian.org (full text, mbox, reply):

From: "tnke" <ehdduf98@gmail.com>
To: <6065570@bluewin.ch>
Subject: ↑come stai
Date: Sat, 8 Aug 2015 13:48:54 +0800
come stai
imac, gultar, prodotti samsung, orologio .... 
siamo in grado di offrire il trasporto gratuito per voi
s it e:  poazzlo .com

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jul 28 09:58:15 2024; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.