Axis 5600 user’s manual – Axis Communications 5600 User Manual
Page 93

UNIX
Section 8: Setting Up - UNIX
AXIS 5600 User’s Manual
92
String Substitutions
The string substitution function performs search and replace
operations on the print data. The primary application is to replace
printer control commands. Up to twenty string substitutions may be
specified individually for each logical printer.
All strings must be entered as hexadecimal byte values, and each match
and substitute string must be preceded by a count byte.
You substitute command strings by editing the String Substitutions
(PRx_STR) parameter.
Example:
Assume that you want to replace the UNIX New Line (hex
0A
) with
an ASCII NewLine (hex
0D 0A
) for logical printer PR1.
Follow the instructions below to substitute command strings:
1. Select the Printer1 Web page.
2. Enter the string 01 0A 02 0D 0A in the String Substitutions text
field.
3. Click the Submit Printer1 settings button.
This is the default setting for logical printers PR5 through PR8.
Hex Code
Explanation
01
length of the string you want to replace
0A
the string you want to replace
02
length of the substitute string
0D 0A
the substitute string