- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- A printing 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
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
03-28-2002 06:56 PM
03-28-2002 06:56 PM
A printing issue
So "script.sh" outputs a file "report.txt"
How can I print a code so I can have my report on "letter US/portrait" and sometimes "Legal US/Landscape" when sent down to print
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2002 07:42 PM
03-28-2002 07:42 PM
Re: A printing issue
lp -oA4 report.txt
Whether this option works depends on what script you picked for your printer when you set it up. None of the above will work if you are printing to a remote printer unless the remote host is HP-UX. In that case, you'll have to read your printer manual to determine the escape codes for A4 paper selection.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2002 12:07 AM
03-29-2002 12:07 AM
Re: A printing issue
if this is a jetdirect network printer then each of the scripts has an own manpage showing the options available.
export MANPATH=/opt/hpnp/man:$MANPATH
man net_ljx000
as an example.
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2002 12:31 AM
03-29-2002 12:31 AM
Re: A printing issue
Use -olandscape
if you're not using remote printer , see support option for this printer in /etc/lp/interface/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2002 01:38 PM
06-05-2002 01:38 PM
Re: A printing issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2002 02:10 PM
06-05-2002 02:10 PM
Re: A printing issue
This comes from a old time expreince of using top of form and vertical tabs on the parallel port . If you just print a file having cntrl l it will skip a page on a Laser Printer .So to keep my self busy what I will do is to
1.check for the cntrl code to select the differnt types of paper.
2, create a spooler file which can change the setting throught the s/w to make the printer select different paper .
3. Print the differnt formats
All the best.
MAnojS rivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2002 06:45 AM
06-06-2002 06:45 AM
Re: A printing issue
Since I have generic printers and laser printers, I format the files for everyone,
set parameters in the spooler files for the lasers, define the generics on the printers directly. It is not the most elegant but it works ^_^