![Axis 27980R1 User Manual Download Page 155](http://html1.mh-extra.com/html/axis/27980r1/27980r1_user-manual_3038772155.webp)
Configuration Possibilities
AXIS 5570e User’s Manual
155
Example:
Follow the instructions below to add strings before and after the print job:
1. From the print server’s internal Web page, select
Admin | Logical
Printers.
2. Select the
PR4
tab.
3. Enter the string
1B 26 6C 31 48
in the
String Before Print Job
text field.
4. Enter the string
1B 26 6C 34 48
in the
String After Print Job
text field.
5. Click the
OK
button.
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:
Follow the instructions below to substitute command strings:
1. From the print server’s internal Web page, select
Admin | Logical
Printers.
2. Select the
PR1
Web page.
3. Enter the string
01 0A 02 0D 0A
in the
String Substitutions
text field.
4. Click the
OK
button.
This conversion is the default setting for logical printers PR5 through
PR8.
You have an HP LaserJet printer with dual trays, and want to print on pre-printed forms when
using the logical printer PR4. The standard forms are taken from the lower tray, and the pre-
printed forms are taken from the upper tray. The string before print job should contain the
command to select the upper tray:
E
C
&l1H
(hex
1B 26 6C 31 48
). The string after print
job should contain the command to select the lower tray:
E
C
&l4H
(hex
1B 26 6C 34 48
).
Assume that you want to replace the UNIX/Linux New Line (hex
0A
) with an Carriage
Return/Line Feed (hex
0D 0A
) for logical printer PR1.
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