Re: Making use of the default printer
Hi,
2007/9/16, - Tong - <mlist4suntong@yahoo.com>:
> On Sun, 16 Sep 2007 18:37:43 +0200, Martin Marcher wrote:
> hmm, same error:
>
> lp test.ps
> lp: Error - LPDEST environment variable names non-existent destination ""!
>
> Anything wrong with my system?
there could be something that set's the LP environment variable
# echo $LP
#env |grep LP
#set |grep LP
and see ich LP is set to something possibly weird/wornd
as an intermediate solution if the variable ist set
# unset LP
of course for a permanent solution you should try to find the
program/daemon that is setting LP (if you don't want it which i
suspect)
does
# lp -d yourPrinter testfile.pdf # yes lp handles pdf files "just right" also ps
work as you'd expect it (with LP set and LP unset) if so then you
really just need to get rid of the automatically created environment
variable LP...
And Btw. please provide a proper name on the list gmail shows you as
"-" in conversations which not only looks quite bad but iirc it is
also netiquette to provide your real name.
>
> $ 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
looks all fine to me...
Reply to: