- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- changing printer name
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-23-2007 09:28 AM
01-23-2007 09:28 AM
#lpstat -t shows
system default destination: 134_1
device for laser: /dev/null
device for 134_1: /dev/null
printer 134_1 is idle. enabled since......
We have some homebrewed applications that send their output to "lp -dlaser" (hard-coded in the source - that was the old name).
How can I change the name so that "laser" is the name of the printer?
(Also, I don't remember how the name "134_1" tells the system to use that printer.)
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2007 09:33 AM
01-23-2007 09:33 AM
SolutionTo then make the "new" printer the default (normally not a good practice because you want the users to specify a printer), execute "lpadmin -dmyprinter".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2007 10:12 AM
01-23-2007 10:12 AM
Re: changing printer name
removequeue -h 134_1
addqueue -h 12.34.56.78 -q laser
The above removes the old printer and adds the printer at IP address 12.34.56.78 with a queue name = laser.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2007 07:18 PM
01-23-2007 07:18 PM
Re: changing printer name
please remember to list the current settings of your printer - if not default - and apply them to the recreated printer.
So no users will claim about missing/changed properties like banner, paper size/trays, ...
mfG Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2007 09:22 AM
01-26-2007 09:22 AM
Re: changing printer name
While I was in Jetadmin, I noticed I could delete a few old printers we haven't used in a long time - a line printer, a dot-matrix printer...