- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to set default printer?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-12-2001 06:54 AM
тАО04-12-2001 06:54 AM
How to set default printer?
Hi I am using HP-UX System V box and when I tried to lp store_list. It went to the wrong printer. Now Iwant to set it up to the correct printer. How?? Thanks
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-12-2001 06:57 AM
тАО04-12-2001 06:57 AM
Re: How to set default printer?
You can set it using SAM .
If you want to do it for one user set the LPDEST environment variable
Runtime you can use lp -d
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-12-2001 07:01 AM
тАО04-12-2001 07:01 AM
Re: How to set default printer?
You have several options.
1. You can use SAM to add a printer and declare it as the "default" printer during its creation.
2. You can issue your print request like this:
# lp -d
3. You can set and export the LPDEST variable, in your $HOME/.profile (for instance):
# LPDEST=mydestination
# export LPDEST
# lp
4. Lastly, you can use 'lpadmin' to simply declare the default destination:
# lpadmin -d
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-12-2001 07:01 AM
тАО04-12-2001 07:01 AM
Re: How to set default printer?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-12-2001 07:09 AM
тАО04-12-2001 07:09 AM
Re: How to set default printer?
Rob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-12-2001 11:46 AM
тАО04-12-2001 11:46 AM
Re: How to set default printer?
Thanks for that insight. The default printer that was set up is on the other side of our building. It isn't too bad when you can specify where your print is sent (lp -dXXX filename), it's when you are using something like SAM (or another utility) that only has a "print" option. The print gets sent to the default printer NMW (no matter what). :-)