1833882 Members
2025 Online
110063 Solutions
New Discussion

print question

 
navin
Super Advisor

print question

Hello,
How do i setup default printer system wide
and would like to know how to set a default printer for a user .
Thanks
Learning ...
3 REPLIES 3
A. Clay Stephenson
Acclaimed Contributor

Re: print question

To set a system-wide default printer (which is generally not a good idea because printjobs from all over the world will default to one printer), lpadmin -dmyprinter

To set the default printer for a given user, put an entry in his .profile
export LPDEST=his_printer

Both of these are overriden if the user uses an explcit -d argument in the lp command.

If it ain't broke, I can fix that.
A. Clay Stephenson
Acclaimed Contributor

Re: print question

By the way, as usual a quick man of lp would have gotten you started and would have told you about LPDEST and the SEE ALSO section would have directed you to lpadmin.
If it ain't broke, I can fix that.
Khashru
Valued Contributor

Re: print question

You can use SAM. goto printers and ploters ->LP spooler ->printers and spooler and then select the printer and from action menu set as default printer.