[cups.bugs] [HIGH] STR #3485: lpr doesn't work anymore with env variable PRINTER=destination/instance
Michele Marcionelli
michele.marcionelli at math.ethz.ch
Wed Jan 27 00:41:57 PST 2010
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
If I set the environment variable PRINTER as follow
export PRINTER=destination/instance
lpr returns the following error message:
michele at asterix ~$ export PRINTER=isgmath/w
michele at asterix ~$ lpr
lpr: Error - PRINTER environment variable names non-existent destination
"isgmath/w"!
But if the variable is set to only "destination" (without instance) or
"lpr" is run with the "-P" parameter, then it works, i.e:
michele at asterix ~$ export PRINTER=isgmath
michele at asterix ~$ lpr
michele at asterix ~$ lpr -Pisgmath/w
both work.
Ist this a feature or a bug?
Grazie,
Michele
PS: the "Dest" isgmath/w is defined in the lpoptions file
Link: http://www.cups.org/str.php?L3485
Version: 1.4.2
More information about the cups-devel
mailing list