Unix/Linux Go Back    


Shell Programming and Scripting Unix shell scripting - KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and shell scripts and shell scripting languages here.

What is lpr -P ?

Shell Programming and Scripting


Closed Linux or Unix Question    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 02-12-2002
Ashishm Ashishm is offline
Registered User
 
Join Date: Feb 2002
Last Activity: 8 April 2002, 11:00 AM EDT
Location: Mumbai (Bombay)
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
What is lpr -P ?

Hi ,
Could u please tell me What is lpr -P ?

Regards
Ashish MalviyaLinux
Sponsored Links
    #2  
Old Unix and Linux 02-12-2002
LivinFree's Unix or Linux Image
LivinFree LivinFree is offline Forum Advisor  
Goober Extraordinaire
 
Join Date: Jul 2001
Last Activity: 16 June 2011, 4:50 PM EDT
Location: Portland, OR, USA
Posts: 1,626
Thanks: 2
Thanked 15 Times in 13 Posts
lpr is the line-printer tool. Simply typing "lpr filename" will send filename to your printer.

It would be best for you to check your system documentation for the exact definition of that flag, but here's what mine says:
Quote:
-P Force output to a specific printer. Normally, the default print-
er is used (site dependent), or the value of the environment
variable PRINTER is used.
To check your, issue the command man lpr.

Hope this helps.
Sponsored Links
    #3  
Old Unix and Linux 02-12-2002
Ashishm Ashishm is offline
Registered User
 
Join Date: Feb 2002
Last Activity: 8 April 2002, 11:00 AM EDT
Location: Mumbai (Bombay)
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks

Hi,

Thanks a lot for your help.

Kind Regards
Ashish Malviya
Sponsored Links
Closed Linux or Unix Question

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes



All times are GMT -4. The time now is 04:24 PM.