[Tfug] lpr and unknown printer

Glen Pfeiffer glen at thepfeiffers.net
Sat Mar 1 22:53:15 MST 2008


On 03/01/2008 10:28 PM, Glen Pfeiffer wrote:
> I want to be able to print from the command line. My printer is a 
> network printer and is configured in CUPS. I can print from every 
> X program I have tried but this command fails as both root and a 
> normal user:
> 
>   #lpr -P tp0 test.txt
>   #lpr: tp0: unknown printer
>
I hate it when I find an answer right after I ask for help!

Using 'lp -d tp0 test.txt' works. So that then raises my next 
question, why does lpr fail to see the printer and lp does not?

--  
Glen 





More information about the tfug mailing list