- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Printing question/issue
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
тАО09-08-2006 09:17 AM
тАО09-08-2006 09:17 AM
Printers: HP LaserJet 9000DN (with duplexer) and HP LaserJet 4000TN
Problem: cannot set margins when printing to LJ9000.
For disaster recovery purposes, I'm creating one notebook per server I support (actually two copies - one onsite and one offsite). The notebooks will have home grown system documentation, system generated info (ie print_manifest and SysInfo 1.5 by Scott Truesdale), etc. The SysInfo output is 25 pages and print_manifest is 12 pages (assuming 60 lines per page).
To save trees and to be more managable, I want to print the documents in duplex with compressed font, left margin at 10, and right margin at 124. The margins are needed to allow for the notebook binder holes. The commands I use are:
print_manifest | lp -d lj9000 -oduplex -oc -olm10 -orm124
print_manifest | lp -d lj4000 -oc -olm10 -orm124
The LJ4000 prints correctly. The LJ9000 seems to ignore the lm and rm settings. The margins appear to go back to defaults (2). Its banner page and /var/opt/lp/log shows the margin options.
I used the -odebugm option and looked at the resulting files. The LJ9000 file does not have the ^[&l10L and ^[&l124M to set the margins while the LJ4000 does.
I'm using the lastest net_lj9000 modelscript and updated the printer's firmware.
Any suggestions on how to troubleshoot this?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2006 01:02 PM
тАО09-08-2006 01:02 PM
Re: Printing question/issue
http://www.hp.com/pond/modelscripts/index2.html
However, the two printers are virtually the same for page layout and font controls, so just copy the LJ4000 script on top of the LJ9000 script. cd to the interface directory which is: /etc/lp/interface/model.orig
Now in that directory will be copies of the original models but renamed the same as the printer queues. Assuming the two print queues are lj4 and lj9:
cp lj4 lj9
Now try the format controls. You will also find two very useful commands for all HP printers: -ovsi#.## and -ohsi#.## These two options control the spacing between characters (hsi) and between lines (vsi). The value is quite precise and allows you to squeeze a fixed spacing font like Courier to as much as 100 to 120 characters per line in portrait mode. Similarly, you can squeeze the lines to more than 90 or more lines per page. Try -ovsi5.2 -ohsi4.3 and then adjust to control spacing.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2006 02:10 AM
тАО09-11-2006 02:10 AM
Re: Printing question/issue
The margins worked properly by using the LJ4's model script (net_ljx0000). Thanks for the suggestion.
I tried LJ9050 model script and the margins don't work. If I wanted to report a bug, would I just open a regular support ticket thru ITRC? While the net_ljx0000 script works and covers the majority of printer features, there must be some reason to have a separate model script.
--Robert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2006 02:19 AM
тАО09-11-2006 02:19 AM
Re: Printing question/issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2006 03:21 AM
тАО09-11-2006 03:21 AM
Re: Printing question/issue
if I remember correctly, there was a set of options which got applied only in PCL mode and not in PostScript mode (and vice versa).
Look carefully at 'man netlj9000' (or whatever the name of the man page should be) for such restrictions!
mfG Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2006 03:34 AM
тАО09-11-2006 03:34 AM
SolutionBill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2006 05:08 AM
тАО09-11-2006 05:08 AM
Re: Printing question/issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2006 05:10 AM
тАО09-11-2006 05:10 AM