Re: Making use of the default printer
On Sun, 16 Sep 2007 18:37:43 +0200, Martin Marcher wrote:
>> What's the "Default Printer" actually means?
>>
>> I've setup one of my printers to be "Default Printer",
>> http://localhost:631/printers/
>
> seems you refer to CUPS...
oh yes.
>> and I unset the LPDEST environment variable, in hoping the consequent
>> lpr will be using the "Default Printer", but this is what I get:
>
> . . . set the default printer from the CUPS page
yes, that's what I did, and what http://localhost:631/printers/ indicated.
> and simply use lp
> as the wrapper from the command line....
hmm, same error:
lp test.ps
lp: Error - LPDEST environment variable names non-existent destination ""!
Anything wrong with my system?
$ type lp
lp is hashed (/usr/bin/lp)
$ type lpr
lpr is /usr/bin/lpr
$ dir /usr/bin/lp /usr/bin/lpr
-rwxr-xr-x 1 root root 14024 2007-02-02 /usr/bin/lp*
-rwxr-xr-x 1 root root 9888 2007-02-02 /usr/bin/lpr*
My cupsys packages:
cupsys_1.2.7-4
cupsys-bsd_1.2.7-4
cupsys-client_1.2.7-4
cupsys-common_1.2.7-4
thanks
--
Tong (remove underscore(s) to reply)
http://xpt.sourceforge.net/techdocs/
http://xpt.sourceforge.net/tools/
Reply to: