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
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.
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.