Bug#293397: glabels: Cannot print to non-default printer

Craig Small Craig Small <csmall@small.dropbear.id.au>, 293397@bugs.debian.org
Thu, 03 Feb 2005 10:12:30 +1100


Package: glabels
Version: 2.0.1-1
Severity: normal

Glabels prints fine to the default printer.  This is ok, except that
when I want to print labels I want to use the manual sheet feeder which
means I send it to another printer called lexlabels.

Up until a version or two ago, I would have to print to a custom
printer called "lpr -P lexlabels". This wasn't great but it did work at
least.

So the first problem was that glabels doesn't recognise printer aliases
in the printcap.

A more serious problem is I changed my printcap so that lexlabels was
a normal printer entry and when glabels prints, it prints to the default
printer.

If I try the old go to custom printer and use "lpr -P lexlabels" nothing
comes out and I get on the screen.

** (glabels:30050): WARNING **: Opening 'lpr -P lexlabels' for output
failed
(glabels:30050): GnomePrint-CRITICAL **: file gnome-print-ps2.c: line
260 (gnome_print_ps2_construct): assertion `ret == GNOME_PRINT_OK'
failed

(glabels:30050): GnomePrint-WARNING **: file gnome-print.c: line 132:
Destroying Context with open transport

(glabels:30050): GnomePrint-CRITICAL **: file gnome-print-job.c: line
555 (gnome_print_job_print): assertion `ctx != NULL' failed



-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages glabels depends on:
ii  libart-2.0-2             2.3.16-6        Library of functions for 2D graphi
ii  libatk1.0-0              1.8.0-4         The ATK accessibility toolkit
ii  libaudiofile0            0.2.6-5         Open-source version of SGI's audio
ii  libbonobo2-0             2.8.0-4         Bonobo CORBA interfaces library
ii  libbonoboui2-0           2.8.0-2         The Bonobo UI library
ii  libc6                    2.3.2.ds1-20    GNU C Library: Shared libraries an
ii  libesd0                  0.2.35-2        Enlightened Sound Daemon - Shared 
ii  libfontconfig1           2.2.3-4         generic font configuration library
ii  libfreetype6             2.1.7-2.3       FreeType 2 font engine, shared lib
ii  libgconf2-4              2.8.1-4         GNOME configuration database syste
ii  libgcrypt11              1.2.0-6         LGPL Crypto library - runtime libr
ii  libglade2-0              1:2.4.1-1       Library to load .glade files at ru
ii  libglib2.0-0             2.4.8-1         The GLib library of C routines
ii  libgnome-keyring0        0.4.0-2         GNOME keyring services library
ii  libgnome2-0              2.8.0-6         The GNOME 2 library - runtime file
ii  libgnomecanvas2-0        2.8.0-1         A powerful object-oriented display
ii  libgnomeprint2.2-0       2.8.2-1         The GNOME 2.2 print architecture -
ii  libgnomeprintui2.2-0     2.8.1-1         The GNOME 2.2 print architecture U
ii  libgnomeui-0             2.8.0-3         The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0           2.8.3-7         The GNOME virtual file-system libr
ii  libgnutls11              1.0.16-9        GNU TLS library - runtime library
ii  libgpg-error0            1.0-1           library for common error values an
ii  libgtk2.0-0              2.4.14-2        The GTK+ graphical user interface 
ii  libice6                  4.3.0.dfsg.1-10 Inter-Client Exchange library
ii  libjpeg62                6b-9            The Independent JPEG Group's JPEG 
ii  liborbit2                1:2.10.2-1.1    libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-0            1.6.0-3         Layout and rendering of internatio
ii  libpopt0                 1.7-5           lib for parsing cmdline parameters
ii  libsm6                   4.3.0.dfsg.1-10 X Window System Session Management
ii  libtasn1-2               0.2.10-4        Manage ASN.1 structures (runtime)
ii  libx11-6                 4.3.0.dfsg.1-10 X Window System protocol client li
ii  libxml2                  2.6.11-5        GNOME XML library
ii  shared-mime-info         0.15-1          FreeDesktop.org shared MIME databa
ii  xlibs                    4.3.0.dfsg.1-10 X Keyboard Extension (XKB) configu
ii  zlib1g                   1:1.2.2-3       compression library - runtime

-- no debconf information