head 1.2; access; symbols; locks ahuxley:1.2; strict; comment @# @; 1.2 date 97.07.01.18.29.41; author ahuxley; state Exp; branches; next 1.1; 1.1 date 97.06.18.15.00.04; author ahuxley; state Exp; branches; next ; desc @@ 1.2 log @*** empty log message *** @ text @

Printing Landscape (and other formats)

Introduction / Philosophy

At the moment there are no special commands for doing this sort of thing. But by examining an appropriate 'model' file, the escape sequences can be found. So for landscape on a laserjet, for example. look in te16:/usr/spool/lp/model/laserjet for "landscape". For other formats look elsewhere in the same file, for other printers look in the corresponding printer model file.

HP Commands for Landscape Printing

hp$ ( echo "\033&l0O\c"; cat <filename>; echo "\033&l10\c" ) | lp -d <printername>

Solaris Commands for Landscape Printing

sun$ ( echo -n "\033&l0O"; cat <filename>; echo "\033&l10" ) | lp -d <printername>

For JetAdmin under Solaris 2.5 printing ascii files only

sun$ lp -d <printername> -o landscape <filename>

$Header: /home/ct/serco/ahuxley/docs/html/serco-faq/new/meta/RCS/data-page.html,v 1.1 1997/06/13 12:34:28 ahuxley Exp $

@ 1.1 log @Initial revision @ text @d29 4 @