- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Problem with LP command
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
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
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-16-2003 12:47 AM
тАО04-16-2003 12:47 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2003 01:25 AM
тАО04-16-2003 01:25 AM
Re: Problem with LP command
Which model script have you used when configuring this printer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2003 01:51 AM
тАО04-16-2003 01:51 AM
Re: Problem with LP command
Be sure to use -n3 and not -n 3
lp(1) lp(1)
NAME
lp, lpalt, cancel - print/alter/cancel requests on an LP printer or
plotter
SYNOPSIS
lp [-c] [-ddest] [-m] [-nnumber] [-ooption] [-ppriority] [-s]
[-ttitle] [-w] [file ...]
The parser will see that as 1 copy
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2003 04:27 AM
тАО04-16-2003 04:27 AM
Re: Problem with LP command
/usr/sbin/lpshut
/usr/sbin/lpadmin -p$STAMPANTE -v/dev/null -mrmodel -orc -ob3 -ocmrcmodel -osmrsmodel -orm$LPD_S -orp$LPD_Q
/usr/sbin/lpsched
/usr/bin/enable $STAMPANTE
/usr/sbin/accept $STAMPANTE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2003 04:32 AM
тАО04-16-2003 04:32 AM
Re: Problem with LP command
/usr/bin/lp -dlpr1 -n3
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2003 10:45 PM
тАО04-16-2003 10:45 PM
Re: Problem with LP command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-17-2003 01:11 AM
тАО04-17-2003 01:11 AM
Solutionas you showed, you configure a remote printer using rmodel as the model script. Looking at the model script rmodel the command rlp is used to send the file for printing to the remote printer. rlp(1M) does not show any option similar to -n
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-17-2003 04:45 AM
тАО04-17-2003 04:45 AM
Re: Problem with LP command
Bill Hassell, sysadmin