Computer Hardware User Manual

72
5250 REMOTE EMULATOR CARD
of these commands from the Card’s command language on the first line of
the document:
¬D0 for simplex printing
¬D1 for landscape-duplex printing
¬D2 for portrait-duplex printing
If they are not on the first line, the commands will not become active until
the following page. When the printer receives the printing command, it
will do all printing in that mode until another printing command is
received. In other words, if the printer is most often in simplex mode and
is printing in the duplex mode, be sure to put a simplex command at the
end of the document to return the printer to simplex mode. Envelope
printing between documents won’t change the printer’s mode.
On some duplex printing, if the last page is blank on the back side, the
information for the last page may remain in the printer until the next
printing job is received. To print the last page, take the printer off-line by
pressing the ONLINE button, then press the FORM FEED button to print
the last page. Put the printer back on-line by pressing the ONLINE button
again.
NOTE
Duplexing is supported in word-processing applications on the AS/400,
but the AS/400 does not support duplex printing for data processing.
8.4 The Command Language
The 5250 Remote Emulator Card responds to a command language that
consists of special character sequences you can place in your documents.
The Card recognizes these sequences and sends corresponding codes to
the printer to control the printer’s output. You can use these commands in
either data-processing or word-processing documents.
The Card’s command language consists of three types of commands:
font-change commands, escape commands, and command-pass-through
commands. These are described in the next three sections.
8.4.1 F
ONT
-C
HANGE
C
OMMANDS
To change fonts using font-change commands, type the font-change
command into the document at the place where the font change is to take
effect. The command is immediately active in the document; the Card
prints the specified font until it encounters the next font-change
command.