- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- lp command options...
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
тАО02-23-2001 12:24 PM
тАО02-23-2001 12:24 PM
A former admin here set up aliases for a few printers in the format of :
lp -o c -o landscape -o lpi8 -d printername
We are getting every other page as a blank page.
The 'landscape' is obvious, the 'c' seems to compress the text but what does the 'lpi8' mean and what other options do I have there?
Thanks,
Brian
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-23-2001 12:34 PM
тАО02-23-2001 12:34 PM
Re: lp command options...
/rcw
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-23-2001 12:35 PM
тАО02-23-2001 12:35 PM
Re: lp command options...
You can also use -o vsi# where # is #/48ths of inch vertical spacing.
You may want to look at the -o tl# to set the text length per page (in lines).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-23-2001 01:45 PM
тАО02-23-2001 01:45 PM
Re: lp command options...
# cd /etc/lp/interface/model.orig
# grep Header printer_name
Look for the entry similar to:
/users/hpnp/odyssey/repository/sh/net_lj4x.psh -> net_lj4x is the man page to view.
using "man net_lj4x" from the above example would give all the available options for that jetadmin model script.
Hope this helps
-denver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-23-2001 06:02 PM
тАО02-23-2001 06:02 PM
SolutionWith today's LaserJets, there are some default font values but since printers have changed resolution (150,300,600 and now 1200 dpi), the exact shape (width/height) won't be quite the same.
The good news is that you can adjust just about everything for fixed spacing fonts. The horizontal inter-character spacing is called horizontal spacing increment, and similarly for vertical spacing. The options are -ohsi and -ovsi.
For example:
lp -ohsi9
or
lp -ovsi4
Of course, you'll have to adjust the values to suit your specific printer. The increments are 64th's of an inch and the values can be specified as fractions is needed:
lp -ovsi3.7 -ohsi4.1
and can be combined with options like -o10 or -o12 or even -oc. The options are described in the man pages for net_lj4x. If you don't have JetDirect software installed, these man pages will be missing. In that case, use lp -ooptions to produce a one page summary. And you can always read the (lengthy) printer script.
When you test, be sure to use lp -onb and print something small (one page) like .profile to save paper.
Bill Hassell, sysadmin