- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Add a new network printer with lpadmin
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
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
тАО08-07-2006 12:33 AM
тАО08-07-2006 12:33 AM
Add a new network printer with lpadmin
I would like add a new network printer which isn't a HP printer...
I have contacted the manufacturer and he said me to install this printer with a generic HP driver in LPR/LPD mode...
Usually I add printer with jetadmin. So I need some explanations to use lpadmin.
I launch the following command but I have an error :
#lpadmin -pbemech15p -mlaserjet4 -v/var/spool/lp/request/bemech15p
lpadmin: can't access file "/var/spool/lp/request/bemech15p"
#
Someone can help me ?
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-07-2006 12:58 AM
тАО08-07-2006 12:58 AM
Re: Add a new network printer with lpadmin
I found a couple of threads that will be able to get you going.
The first thread will give you an idea, the second thread explains how to proceed.
http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=1043927
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1041433
Regards,
Jaime.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-07-2006 01:14 AM
тАО08-07-2006 01:14 AM
Re: Add a new network printer with lpadmin
Once added, you'll need to test the printer with a small file, something like this:
lp -dmyprn /etc/services
If the first line is correct but the rest of the lines are offset to the right in a stairstep pattern, test again with this command:
ux2dos /etc/services | lp -dmyprn
and it should be OK. You'll be required to print all ASCII files using this filter unless your printer has a method to append CR to each LF in the ASCII file(s) -- this is what ux2dos is doing.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-07-2006 01:28 AM
тАО08-07-2006 01:28 AM
Re: Add a new network printer with lpadmin
Probably /var/spool/lp/request/bemech15p file not exist or not writable by lp. For Network printer the interface file (-v option) is often /dev/null.
Why do you not use sam to configure this printer? It's easier.
sam:
Printer and Plotters -> LP Spooler,
then choose 'Add network based printer'
Rgds
JMB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-07-2006 02:41 AM
тАО08-07-2006 02:41 AM
Re: Add a new network printer with lpadmin
/usr/sbin/lpshut
/usr/sbin/lpadmin -pbemech15p -v/dev/null -mrmodel -ob3 -ocmrcmodel -osmrsmodel -orc -ormbemech15p -orpbemech15p
/usr/sbin/accept bemech15p
/usr/bin/enable bemech15p
/usr/sbin/lpsched
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-07-2006 02:43 AM
тАО08-07-2006 02:43 AM