[nflug] Down in the cups

Joe josephj at main.nc.us
Wed Feb 27 11:34:29 EST 2008


Darin Perusich wrote:
> Do you have the $PRINTER environment variable set?
>
> Joe wrote:
>
>   
>> I don't quite get it.  I tried lpadmin -d HP1020 and lpadmin -dHP1020
>> with and without sudo and it didn't fix anything.
>>
>>     
>
>   
No.   Should I?  Setting it seems to fix the problem.   Where is it
documented?  Where should I set it so it's there next time I login/reboot?

bigbird at sananda:~/documents$ echo $PRINTER

bigbird at sananda:~/documents$  

bigbird at sananda:~/documents$ PRINTER=HP1020
bigbird at sananda:~/documents$ echo $PRINTER
HP1020
bigbird at sananda:~/documents$ export PRINTER
bigbird at sananda:~/documents$ lp newquotes.txt
request id is HP1020-1865 (1 file(s))
bigbird at sananda:~/documents$  

Joe


More information about the nflug mailing list