Specifying printer commands for landscape printing
To print documents in the landscape orientation on a printer that
can print PCL data, specify these printer commands in the Document
header field:
<ESC>E<ESC>&l2A<ESC>&l1O<ESC>&l8D<ESC>&l1E<ESC>&l66F<ESC>(s12H
- <ESC>E
- Reset the printer.
- <ESC>&l2A
- Set paper size to letter (the “l” is a lowercase L).
- <ESC>&l1O
- Set orientation to landscape (the “O” is a capital letter O).
- <ESC>&l8D
- Set lines per inch to 8.
- <ESC>&l1E
- Set top margin to 1 line.
- <ESC>&l66F
- Set number of print lines to 66.
- <ESC>(s12H
- Set font pitch to 12 characters per inch.