4 PRINTING FROM UNIX
128 Printing from an Application
Paper Size
The current paper size can be specified using the following options.
If this option is not specified, the printer’s default value will be used.
Example: The command to specify the A4 paper size is “lp -o a4 filename”.
Printing Modes
The printing mode can be selected using the following options.
If this option is not specified, the printer’s default value will be used.
A private printing job requires the user to enter a maximum number of 63 character long string.
Character lengths longer than 63 will be clipped to 63.
The following characters are invalid, but no type checking is carried out.
“& ‘ ( ) ; < > ˆ ` | ~
Option Value Alternate Value Description
letter lt
LT
Select letter size paper.
A4 a4 Select A4 size paper.
legal lg
LG
Select legal size paper.
statement st
ST
Select statement size paper.
ledger ld
LD
Select ledger size paper.
ledgerwide ldwide
LDWIDE
Select ledger wide size paper.
folio folio-japan Select folio size paper.
A3 a3 Select A3 size paper.
A3WIDE a3wide Select A3-Wide size paper.
A5 a5 Select A5 size paper.
A6 a6 Select A6 size paper.
B4 b4
b4-jis
B4-JIS
Select JIS B4 size paper.
B5 b5
b5-jis
B5-JIS
Select JIS B5 size paper.
computer co
CO
Select computer size paper.
legal13 lg13
LG13
Select LG13inch size paper.
sq85 letter-square Select SQ8.5inch size paper.
postcard Select postcard size paper.
8K 8k Select 8K size paper.
16K 16k Select 16K size paper.
Option Value Alternate Value Description
normal Process as a normal print job.
proof Process as a proof print job.
private=din Process as a private print job. The din is up to a 63-
digit (between 1 to 63) password.