- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- 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
Forums
Discussions
Discussions
Discussions
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
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
01-27-2004 02:51 AM
01-27-2004 02:51 AM
I have a HP-Ux box running with B11.00.
I configured many printers both remote and local, nearly 10 printers now.
Rightnow whenever users are giving a print out it is going to one printer.. can u give me any ideas.
I checked /etc/profile for PRINTER and LPDEST, no luck. Also i checked users profile for these variable.
any ideas...
Vijay
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2004 02:59 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2004 03:04 AM
01-27-2004 03:04 AM
Re: default printer
# lpstat -t
It will give you all information about printers and your default printer too. If you want to change it, use:
# lpadmin -d printer_name
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2004 03:08 AM
01-27-2004 03:08 AM
Re: default printer
lp -dmyprinter file1 will send the job to myprinter
whereas lp file1 will send the job to the system-wide default printer unless LPDEST is set and exported for that user.
each user could have an LPDEST setting in his profile to override the default. If printing from within an application that simply issues an lp command then LPDEST is often used to allow users to specify which printer to use.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2004 03:09 AM
01-27-2004 03:09 AM
Re: default printer
If they wish to use a printer other than the default then use the lp command as follows:
lp -dptr_name filename
or
command | lp -dptr_name
This will cause the printout to go to ptr_name.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2004 03:21 AM
01-27-2004 03:21 AM
Re: default printer
1. Educate users for using -d option.
2. Edit the users profile so that lp is aliased wiht lp-d < printer name for that group of users >
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2004 03:49 AM
01-27-2004 03:49 AM
Re: default printer
Doug pointed to the right direction.
I think that the problem happens when a default printer is set, but easily should be solved by using the -d option on lp command:
# lp -d printer_name
Best regards,
Ettore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2004 06:11 AM
01-27-2004 06:11 AM
Re: default printer
Vijay