- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: XP Professional to HP-UX 11i LPR and LPD
Operating System - HP-UX
1752564
Members
4496
Online
108788
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
Discussions
Discussions
Forums
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
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
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
тАО12-21-2006 03:49 PM
тАО12-21-2006 03:49 PM
Problem:Need reports to print in font 8 and landscape
Equipment Status:
XP Professional- unix services installed
- LPR configured
HP-UX 11i - remote printing configured
Printer HP5000 connected to Workstation
-Using LPT1:
Can print reports to printer but formatting is wrong. Anything changed in script does not reflect in printed document.
Troubleshooting: Changed print script in /etc/lp/interface/model.orig to landscape and font 8.
Results: Printer not picking up formatting when printed
Thanks,
Doug
Equipment Status:
XP Professional- unix services installed
- LPR configured
HP-UX 11i - remote printing configured
Printer HP5000 connected to Workstation
-Using LPT1:
Can print reports to printer but formatting is wrong. Anything changed in script does not reflect in printed document.
Troubleshooting: Changed print script in /etc/lp/interface/model.orig to landscape and font 8.
Results: Printer not picking up formatting when printed
Thanks,
Doug
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-21-2006 09:58 PM
тАО12-21-2006 09:58 PM
Re: XP Professional to HP-UX 11i LPR and LPD
Hi,
setting printer options for remote printing is a very limited feature at HP-UX.
I don't think, model.orig is the correct file used for remote printing - it's used for network printing (JetPrint).
Either try to embed the escape sequences to change to landsacpe + font8 into the file or create a seperate XP printer using your required settings as defaults (which would not require any changes at the HP-UX side).
mfG Peter
setting printer options for remote printing is a very limited feature at HP-UX.
I don't think, model.orig is the correct file used for remote printing - it's used for network printing (JetPrint).
Either try to embed the escape sequences to change to landsacpe + font8 into the file or create a seperate XP printer using your required settings as defaults (which would not require any changes at the HP-UX side).
mfG Peter
The Universe is a pretty big place,
it's bigger than anything anyone has ever dreamed of before.
So if it's just us, seems like an awful waste of space, right?
Jodie Foster in "Contact"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2006 01:51 AM
тАО12-22-2006 01:51 AM
Solution
HP-UX uses the SysV Unix spooling system while Windows and Linux use the Berkeley spooling system. The SysV spooler is defined by the RFC 1179 remote printing standard and thus, there is no option processing, so all -o options are completely ignored.
Now if this printer was properly created using SAM and selecting a "remote" (*NOT* network) printer, then there will be no printer script in the model.orig directory. It sounds as if you added the printer as a "network" printer (in SAM terminology) which is incorrect.
However, changing to remote will not fix the limitation. All options are ignored in remote print server connections. You have two choices:
1. Insert the required escape sequences in front of each job. You can do this with a simple file and then using cat to connect the two together as in:
cat font8landscape myprintfile | lp -dmyprinter
2. Move the printer from the PC to be connected directly to the HP-UX system with a parallel cable (you may need to add a Centronics I/O card). Then install the CIFS file and print sharing software and configure the printer as a share to your PC.
3. Purchase the HP JetDirect network card and put the printer on the network. Then change the PC to talk to the printer over the network and add the printer to HP-UX using the addqueue command.
The only practical solution is #3. For the PC, you can download the printer installer from:
http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareIndex.jsp?lang=en&cc=us&prodNameId=19656&prodTypeId=18972&prodSeriesId=27908&swLang=8&taskId=135&swEnvOID=228
or use the built-in port monitor in WinXP:
http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=bpj07072
Now the WinXP port monitor can be a bit temperamental so I prefer using the installer since you can bypass the 'discovery' section and just enter the IP or MAC address of the printer.
For HP-UX, you already have HPPI installed so you add the printer with addqueue:
addqueue -h 12.34.56.78 -q myprinter
(check the man page for other options like no banner). The man page for your printer options will be: man net_ljx000
Bill Hassell, sysadmin
Now if this printer was properly created using SAM and selecting a "remote" (*NOT* network) printer, then there will be no printer script in the model.orig directory. It sounds as if you added the printer as a "network" printer (in SAM terminology) which is incorrect.
However, changing to remote will not fix the limitation. All options are ignored in remote print server connections. You have two choices:
1. Insert the required escape sequences in front of each job. You can do this with a simple file and then using cat to connect the two together as in:
cat font8landscape myprintfile | lp -dmyprinter
2. Move the printer from the PC to be connected directly to the HP-UX system with a parallel cable (you may need to add a Centronics I/O card). Then install the CIFS file and print sharing software and configure the printer as a share to your PC.
3. Purchase the HP JetDirect network card and put the printer on the network. Then change the PC to talk to the printer over the network and add the printer to HP-UX using the addqueue command.
The only practical solution is #3. For the PC, you can download the printer installer from:
http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareIndex.jsp?lang=en&cc=us&prodNameId=19656&prodTypeId=18972&prodSeriesId=27908&swLang=8&taskId=135&swEnvOID=228
or use the built-in port monitor in WinXP:
http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=bpj07072
Now the WinXP port monitor can be a bit temperamental so I prefer using the installer since you can bypass the 'discovery' section and just enter the IP or MAC address of the printer.
For HP-UX, you already have HPPI installed so you add the printer with addqueue:
addqueue -h 12.34.56.78 -q myprinter
(check the man page for other options like no banner). The man page for your printer options will be: man net_ljx000
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-08-2007 01:44 PM
тАО01-08-2007 01:44 PM
Re: XP Professional to HP-UX 11i LPR and LPD
Just came back from 2 week vacation...
The printer that has the formatting error is configured in SAM as a remote printer. The printer is also connected via parallel port. Unfortunately, the application that prints to it is encrypted. I will try the suggestions when my workload slows down.
Thanks,
Doug
The printer that has the formatting error is configured in SAM as a remote printer. The printer is also connected via parallel port. Unfortunately, the application that prints to it is encrypted. I will try the suggestions when my workload slows down.
Thanks,
Doug
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP