- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- sam & printers
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-03-2003 12:30 PM
тАО04-03-2003 12:30 PM
sam & printers
I need to change the IP address to some printers that were setup this way and I don't want to have to delete and add.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-03-2003 12:34 PM
тАО04-03-2003 12:34 PM
Re: sam & printers
Check the interface file for the printer in /var/spool/lp/interface. It should be in there.
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-03-2003 12:48 PM
тАО04-03-2003 12:48 PM
Re: sam & printers
Normally they are kept in the host file with a link by a printer name to that directory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-03-2003 12:57 PM
тАО04-03-2003 12:57 PM
Re: sam & printers
PERIPH=
If that line has a hostname instead of an IP address, you might be fine. The script I'm looking at for my local HP LaserJet has an IP address, but that's just because our network wizards don't have it in DNS here and we have to specify the IP address.
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-03-2003 01:29 PM
тАО04-03-2003 01:29 PM
Re: sam & printers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-03-2003 01:42 PM
тАО04-03-2003 01:42 PM
Re: sam & printers
I've got good news & bad news for you......
First the good news - I know where this is stored. It's in /var/spool/lp/pstatus
Now the bad news - that's a binary file. Try to cat it or more it & you'll see. To verify the file do
strings /var/spool/lp/pstatus | grep "xxx.xxx.xxx.xxx"
use your IP, of course.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-03-2003 01:45 PM
тАО04-03-2003 01:45 PM
Re: sam & printers
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-03-2003 01:45 PM
тАО04-03-2003 01:45 PM
Re: sam & printers
# xPORT, PERIPH, TEOJ are all configurable
xPORT=
PERIPH=555.444.2.555
# [ Follwing variable is added by suresha to fix the correct display of
# model script name in modifing queue on 10th March 2000
MODELSCRIPTNAME=net_ljx000
# End of change by suresha ]
DEVTYPE="PJL
Hope this helps.
DR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-03-2003 01:49 PM
тАО04-03-2003 01:49 PM
Re: sam & printers
# lpshut
# lpadmin -x
# lpsched
That deletes it.
# lpshut
# lpadmin -p
# enable
# accept
# lpsched
That adds a remote printer.