User`s manual

Section 8: Setting Up - UNIX
114 AXIS 570/670 MIO User’s Manual
UNIX
All strings must be entered as hexadecimal byte values, and each
match and substitute string must be preceded by a count byte. Refer to
PR1_STR String Substitutions in Appendix B - The Parameter List, on
page 133.
Example 1:
To replace the UNIX New Line (hex
0A
) with an ASCII NewLine
(hex
0D 0A
) for logical printer PR1, edit the following entry in
your config file:
01
is the match string count byte (length of the match string),
0A
is the match string,
02
is the substitute count byte, and
0D 0A
is the substitute string.
Example 2:
To replace the UNIX New Line (hex
0A
) with an ASCII NewLine
(hex
0D 0A
), and the printer command
E
C
G1
(hex
1B 47 31
) with
E
C
Y
(hex
1B 59
) for logical printer PR2, edit the following entry
in your config file:
Note:
Extensive use of string substitutions will naturally decrease the
throughput rate of the AXIS 570/670 MIO.
PR1_STR. : 01 0A 02 0D 0A
PR2_STR. : 01 0A 02 0D 0A 03 1B 47 31 02 1B 59