Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Is there a way to print in "Landscape" format in Unix? I don't know if you need this info but here it is anyway:
/home/narsman% uname -a
OSF1 V4.0 1530 alphaThanks,
Narsman

"man lp" says you can specify options with -o:
-ooption
Specify a printer-dependent option. You can specify several printer options by repeating the -o option. For information about the options that are available for a printer supported on your system, see the interface script for the printer name in the /etc/lp/interface directory.It does not list them because they will be different for different printer types. For HP lasers, I use:
-olandscape -ovsi5.45 -otl66 -ofp12 -ohsi9.5 -olm1
The printer driver will process each option by sending appropriate escape sequences to the printer. As a demo, rather than specify -olandscape, you could insert the following 5 characters at the beginning of line 1 of a file, then print it.
Esc & l 1 O
(Escapechar, ampersand, letter-l, digit-1, uppercase O)

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |