Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

default printer

Status
Not open for further replies.

madra

MIS
Feb 12, 2003
95
GB
This may be a numpty question, but I don't care if it gets me the right answer, but...

If no default printer is specified, does the system use the first printer to be listed via lpstat/smitty spooler-list all queues ?

How can you specify a different default printer for a User ID ?


thanks


madra
 
When i first looked into this, i found this site which says its an environment variable called PRINTER:


But later i found this site which says its LPDEST:


Code:
lpr sends files to the system default printer or to the printer specified by the environment variable LPDEST. If the LPDEST variable has no value, the PRINTER variable is used. If this environmental variable is not set, then the system default printer is used.

Then this site confirmed that it is LPDEST by showing different Unix flavors:


LPDEST is what you are looking for!

Regards,
Khalid
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top