- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Printing / compress
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
тАО06-27-2005 06:38 AM
тАО06-27-2005 06:38 AM
Printing / compress
can someone test this for me to see if you get the same output as I do.
I want to print a file. the flags should tell it to print landscape and it should be compressed. That is, the output should be small and in the upper left hand corner of the page. Here is the command:
lp -o fp20 -o landscape -o vsi4 -o tl66 'filename'
Can someone tell me how I can get my printer to print compressed?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-27-2005 07:28 AM
тАО06-27-2005 07:28 AM
Re: Printing / compress
Check the print driver you are using. These options may not be available. From the www.cups.org site you can get the Driver Development Kit and roll your own.
Other option, use enscript. Has many options available with the print drivers it loads.
Other option is mpage. Will print multiple pages on a single sheet.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-27-2005 07:47 AM
тАО06-27-2005 07:47 AM
Re: Printing / compress
I did the following command and got a landscape, compressed output.
enscript -PIS3 -G -L60 -r -h /etc/group
The -r is to rotate to landscape
The -h compresses
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-27-2005 08:00 AM
тАО06-27-2005 08:00 AM
Re: Printing / compress
The -h wont compress my output. Any idea why? It takes the command but it does not print super compressed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-27-2005 08:11 AM
тАО06-27-2005 08:11 AM
Re: Printing / compress
What are the capabilities of the driver?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-28-2005 02:13 AM
тАО06-28-2005 02:13 AM
Re: Printing / compress
This C code send the escape character:
#include
main()
{
printf("\033");
}
You have to comppile it (named for example: lo) and then:
(./lo ; echo '&l1S' )
This sequence instruct our HP printer to print double sided.
See your printer documentation, you will find the appropriate sequence for compressed mode and the code for switch it back to normal.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-28-2005 02:18 AM
тАО06-28-2005 02:18 AM
Re: Printing / compress
You can easily echo octal codes.