Computing.Net > Forums > Unix > how to set up default printer

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

how to set up default printer

Reply to Message Icon

Name: chen
Date: February 25, 2003 at 09:46:46 Pacific
OS: Unix
CPU/Ram: 256
Comment:

Anyone can tell me how to set up default printer under Unix environment?
Thanks in advance.




Sponsored Link
Ads by Google

Response Number 1
Name: WilliamRobertson
Date: February 27, 2003 at 10:17:08 Pacific
Reply:

You can set the environment variable LPDEST=printqueuename in your .profile.

lpstat -d displays the system default. To set up the default at the system level you need lpadmin -d printqueuename - though I haven't tried any of this recently (and I think it will vary according to which flavour of Unix you have) so you may have to check the man pages for lp, lpadmin, lpstat, enable and anything else that comes up. Hope that helps anyway.


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: how to set up default printer

How to set up default printer www.computing.net/answers/unix/how-to-set-up-default-printer-/4689.html

How to set up SMTP www.computing.net/answers/unix/how-to-set-up-smtp/4700.html

How to set screen refresh rate in Digital Unix V4.0 www.computing.net/answers/unix/how-to-set-screen-refresh-rate-in-digital-unix-v40/562.html