HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: lp command options
Operating System - HP-UX
1833137
Members
3634
Online
110051
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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-07-2004 04:44 AM
01-07-2004 04:44 AM
lp command options
Our organization is sending print output from HP-UX to a Windows Printer via lp. (We have defined the remote printer via SAM and are using lp to send output to the printer.)
All is well, when we have the setting enabled on the printer on Windows 2003 Server.
However, when we disable this setting, the standard lp command does not work.
After speaking with Microsoft, they have indicated that the problem is due to the fact that 'Print Services for Unix' service on Windows sets the print data type when it sends the document to the spooler. When we disabled the Advanced Print Features for that printer, we have forced it to accept only jobs that have the RAW datatype. If it can't process the job it throws it away.
We currently have only two options: 1) to enable advanced printing features on the Windows Printer, or 2) find a way to dictate the print format within the 'lp' command when sending the job.
Do you have any advice for indicating print formatting, when submitting jobs from HP-UX 'lp' command to the Windows 2003 print spooler?
I am looking for an equivelant to the
"lpr -S -P -o l " command from a Windows platform.
Is there an easy option or parameter I could use?
Thanks
Stuart
All is well, when we have the
However, when we disable this setting, the standard lp command does not work.
After speaking with Microsoft, they have indicated that the problem is due to the fact that 'Print Services for Unix' service on Windows sets the print data type when it sends the document to the spooler. When we disabled the Advanced Print Features for that printer, we have forced it to accept only jobs that have the RAW datatype. If it can't process the job it throws it away.
We currently have only two options: 1) to enable advanced printing features on the Windows Printer, or 2) find a way to dictate the print format within the 'lp' command when sending the job.
Do you have any advice for indicating print formatting, when submitting jobs from HP-UX 'lp' command to the Windows 2003 print spooler?
I am looking for an equivelant to the
"lpr -S
Is there an easy option or parameter I could use?
Thanks
Stuart
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2004 06:54 AM
01-07-2004 06:54 AM
Re: lp command options
I'm no Windows Print Spooler expert....
so let me ask the simple question:
Is this Windows printer by any chance connected to the network with a Jetdirect card????
Rita
so let me ask the simple question:
Is this Windows printer by any chance connected to the network with a Jetdirect card????
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2004 09:10 AM
01-07-2004 09:10 AM
Re: lp command options
We send all print jobs to the printer directly as they all have jetdirect cards in them. The printer takes care of processing a job from which ever server has a job ready at any given time. Windows printouts come out inter-spersed with UNIX printouts.
Hope this helps,
-Dave
Hope this helps,
-Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2004 02:39 PM
01-07-2004 02:39 PM
Re: lp command options
Windows and some flavors of Unix use BSD style printing which means that formatting always takes place in the local machine and the result is then sent to a print server. However, HP-UX (and some other flavors of Unix) use the SysV lp spooler which sends only the raw print job to the server along with options. Windows knows nothing about lp -o options so they are ignored. lpr does not exist on HP-UX, but is instead emulated with a simple script in /usr/bin. There is no easy solution except to use only HP LaserJet printers with HP JetDirect LAN cards and not use any Windows print server at all.
Bill Hassell, sysadmin
Bill Hassell, sysadmin
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP