- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Double-Side Printing
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
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
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
12-04-2003 12:48 AM
12-04-2003 12:48 AM
I have the foll. questions on lp.
1. Is there an option in "lp" to make duplex printing possible?
2.Is there any other command (line enscript) which has this capability
3.how to make double-sided printing in Unix possible?
Thanks
David.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2003 12:54 AM
12-04-2003 12:54 AM
Re: Double-Side Printing
The lp command is "lp -o double file_name".
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2003 12:58 AM
12-04-2003 12:58 AM
Re: Double-Side Printing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2003 12:59 AM
12-04-2003 12:59 AM
Re: Double-Side Printing
Can you pl. explain what you mean by double_filename?
Thanks
David.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2003 01:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2003 01:03 AM
12-04-2003 01:03 AM
Re: Double-Side Printing
e.g.
if you want to print the file /tmp/testprint to the printer HPLJ8000
# lp -o double -dHPLJ8000 /tmp/testprint
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2003 01:04 AM
12-04-2003 01:04 AM
Re: Double-Side Printing
If you are using the hppi (jetadmin) utility you can general setup your queues with the
"-o duplex" option depending on the printer..
If you are using lpadmin it is a whole different scenario. Some printers don't play well on UX I prefer using jetadmin It makes life simpler..
lp -d
other features
-olandscape
-ovsi7.27 (for ideal vertical line spacing on portrait letter)
-ovsi5.45 (for ideal vertical line spacing on landscape letter)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2003 01:26 AM
12-04-2003 01:26 AM
Re: Double-Side Printing
lp -dprinter_name -od -olandscape some_file_to_print
Note that -oduplex can be abbreviated -od. Now all of this assumes that the printer you have has been matched with an appropriate model script. HP-UX only supplies model-specific scripts for HP printers. To see a short list of the options that a script supports, you can print an option page:
lp -dprinter -ooptions /etc/issue
That's correct: -ooptions will print an extra page with the details. For serial/parallel printers connected directly to your HP-UX box, there are no man pages for the printer scripts so use -ooptions to show a quick list. For HP printers connected using HP's JetDirect interface card, there are man pages for the model scripts. man on the following scripts: net_lj3plus.1 net_lj3x.1 net_lj4550.1 net_lj4x.1 net_lj5x.1 net_lj8150.1 net_ljc
olor.1 net_ljx000.1
Now all of this is meaningless if the printer is NOT connected to the HP-UX box but on some non-HP-UX server. In that case, there are no -o options and very little control over the printed output.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2003 02:12 AM
12-04-2003 02:12 AM
Re: Double-Side Printing
How do I find my interface script and how do I find its available options?
Thanks
David.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2003 02:17 AM
12-04-2003 02:17 AM
Re: Double-Side Printing
man
dumbplot net_dsnj net_lj3plus net_ljcolor
dumbplot_printer net_genericpcl3printer net_lj3x net_ljx000
dumbplot_printer_cr net_genericplotter net_lj4x topcl
hpnp.model net_genericprinter net_lj5x tops
IF you are using Jetdirect
for other model scripts see
/var/spool/lp/model
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2003 05:30 AM
12-04-2003 05:30 AM
Re: Double-Side Printing
Bill Hassell, sysadmin