Package: a2ps
Version: 1:4.13b-5
Severity: important

The -5 package can no longer print to the default printer:

[ 9:20 pm][pts/10][/home/mwilson]
rei $ PRINTER="" lp There\ Will\ Come\ Soft\ Rains\ -\ Sara\ Teasdale.txt 
lp: error - PRINTER environment variable names non-existent destination ""!

[ 9:20 pm][pts/10][/home/mwilson]
rei $ a2ps There\ Will\ Come\ Soft\ Rains\ -\ Sara\ Teasdale.txt 
[There Will Come Soft Rains - Sara Teasdale.txt (plain): 1 page on 1 sheet]
lp: error - PRINTER environment variable names non-existent destination ""!
[Total: 1 page on 1 sheet] sent to the default printer

[ 9:21 pm][pts/10][/home/mwilson]
rei $ echo $PRINTER
laser

[ 9:23 pm][pts/10][/home/mwilson]
rei $ a2ps -P laser There\ Will\ Come\ Soft\ Rains\ -\ Sara\ Teasdale.txt 
[There Will Come Soft Rains - Sara Teasdale.txt (plain): 1 page on 1 sheet]
request id is laser-633 (1 file(s))
[Total: 1 page on 1 sheet] sent to the printer `laser'

Yet obviously that printer is valid and works.

Since this produces the same error:

[ 9:23 pm][pts/10][/home/mwilson]
rei $ PRINTER="" lp There\ Will\ Come\ Soft\ Rains\ -\ Sara\ Teasdale.txt 
lp: error - PRINTER environment variable names non-existent destination ""!

... it is obvious that the a2ps-lpr-wrapper steps on $PRINTER.  Bad.
Naughty.  Should be fixed.  $PRINTER belongs to the user, not some
helper script.

The -4.3 package, of course, works fine because it doesn't mangle the
environment. <sigh>  

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12.2
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages a2ps depends on:
ii  libc6                         2.3.5-3    GNU C Library: Shared libraries an
ii  libpaper1                     1.1.14-3   Library for handling paper charact

Versions of packages a2ps recommends:
ii  bzip2                         1.0.2-8    high-quality block-sorting file co
ii  cupsys-bsd [lpr]              1.1.23-11  Common UNIX Printing System(tm) - 
ii  cupsys-client                 1.1.23-11  Common UNIX Printing System(tm) - 
ii  psutils                       1.17-17    A collection of PostScript documen
pn  wdiff                         <none>     (no description available)

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to