- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Generic landscape compressed printer script
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
02-11-2005 01:13 AM
02-11-2005 01:13 AM
Generic landscape compressed printer script
I am looking for a landscape compressed scrpit. I have a generic portrait compressed script already.
Any help would be appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2005 01:37 AM
02-11-2005 01:37 AM
Re: Generic landscape compressed printer script
can't you use your portrait script?
Option is -olandscape
HTH
Volkmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2005 02:05 AM
02-11-2005 02:05 AM
Re: Generic landscape compressed printer script
Indeed
Normal script
-olandscape or -oportrait
-oc
Its compressed
Else you use a script - check for the landscape option and put it on by default
if [ "$orientation" = "l" ] # If orientation is landscape
Thus set orientation="l" instead of
orientation="def"
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2005 02:08 AM
02-11-2005 02:08 AM
Re: Generic landscape compressed printer script
lpr) # print in landscape 66lpp/132cols
orientation="l"
pitch="c"
textlen="66"
lpi="def"
hsi="9"
vsi="5";;
HTH
-- Rod Hills
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2005 02:11 AM
02-11-2005 02:11 AM
Re: Generic landscape compressed printer script
To use my new option would be-
lp -olpr myfile
-- Rod Hills
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2005 04:09 AM
02-11-2005 04:09 AM
Re: Generic landscape compressed printer script
I have attached the landscape script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2005 04:35 AM
02-11-2005 04:35 AM
Re: Generic landscape compressed printer script
from your script:
portrait) # print in portrait mode
orientation="l";;
landscape) # print in landscape mode
orientation="l";;
You should check it
V.