Management and Configuration
AXIS 5900 User’s Manual
103
4. Click the
OK
button.
This is the default setting for logical printers PR5 through PR8.
Example:
Follow the instructions below to substitute command strings:
1. From the print server’s internal Web page, select
Admin | Logical Printer
Settings.
2. Select the
Printer2
tab.
3. Enter the string
01 0A 02 0D 0A 03 1B 47 31 02 1B 59
in the
String
Substitutions
text field.
4. Click the
OK
button.
Note:
ASCII to Postscript
Conversion
The Axis Network Print Server logical printers can translate ASCII print
data into PostScript format. This makes it possible to print with a
PostScript printer from a host that does not support PostScript. The
conversion is selected by activating a filter that converts ASCII data into
Postscript. This filter can be activated individually for each logical
printer.
Activate your desired filter by setting the Printing Language Translation
(PRx_FILT) parameter.
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
Assume that you want 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.
Hex code
Explanation
01
length of the UNIX New Line command
0A
the UNIX New Line command
02
length of the ASCII New Line command
0D 0A
the ASCII New Line command
03
length of the replaced printer command
1B 47 31
the replaced printer command
02
length of the new printer command
1B 59
the new printer command
Extensive use of string substitutions will naturally decrease the throughput
rate of the Axis Network Print Server.