I-O 2677e Ethernet Display User s Guide
Printer Operation
38
4. Enter the printer command, then enter &% or the alternate CPT end delimiter. A space may
beentered between hexadecimal code pairs to make the command easier to read, but do not put
spaces between the delimiter and the hexadecimal characters.
5. Move the cursor to the point in the text where the print feature ends. Enter &% or the alternate
CPTstart delimiter, followed by the ending printer command and then &% or the alternate CPT end
delimiter again, into the document.
For example:
The command ESC &d0D begins underlining and ESC &d@ ends underlining on a PCL printer. First
convert the start command to the hexadecimal 1B 26 64 30 44 and the ending command to 1B 26 64
40. If the delimiter is the default &% (hex 50 6C), then enter the commands as follows:
This is an &%1B26643044&%underlined&%1B266440&% word.
This will print on the printer as:
This is an underlined word.
N
OTE
:
O
NLY CHARACTERS FROM
01
TO FF ARE RECOGNIZED
(
ALPHABETIC CHARACTERS MUST BE IN
UPPER CASE
).
N
OTE
:
E
RRORS IN THE
C
OMMAND
P
ASS
-T
HRU SEQUENCE WILL CAUSE THE
I-O
5250
PRINTER
EMULATION MODULE TO IGNORE THE COMMAND AND PRINTING WILL RESUME AT THE POINT THE ERROR
OCCURRED
.
N
OTE
:
C
OMMAND
P
ASS
-T
HRU MAY INVALIDATE HORIZONTAL SPACING
.
Although the command is displayed on the screen the, I-O 5250 printer emulation module treats it as a
command and does not print it. If part of the sequence is printed, an error has been made entering the
codes. Check the document and make sure the correct format and EBCDIC hexadecimal characters
are being used.
Avoid sending codes that would move the print position during Command Pass-Thru. Since the I-O
5250 printer emulation module does not process these commands, it cannot keep track of the print
position changes. This may affect the position of characters that follow the command and the page
layout.
Host Download Commands
Host Download commands are basically strings of text that are sent from the IBM host to the I-O 5250
printer emulation module that will configure the print job. All configuration parameters pertaining to the
IBM printer emulation can be modified using Host Download commands.
Host Download commands are placed in an IBM host document, report, program, or on the screen. The
document or screen print is then sent to the print device assigned to the I-O 5250 printer emulation and
its attached printer. As part of the TN5250e data stream processing, the I-O 5250 printer emulation
module monitors the data stream and filters out Host Download commands. These commands will not
print, but will be used to configure the I-O 5250 printer emulation module.
Host Download commands sent to the I-O 5250 printer emulation module take effect immediately and
stay only in the I-O 2677e s active memory. To save the changed configuration beyond the end of the
printer session, Host Download command Z99,0 must be sent.
C
AUTION
: H
OST DOWNLOAD COMMAND
Z99,0
IS REQUIRED IF YOU WANT THESE
H
OST
D
OWNLOAD
COMMANDS SAVED FOR FUTURE SESSIONS
.