Axis Communications 540+ Printer User Manual


 
Logical Printers
AXIS 540+/AXIS 560 97
Adding Strings Before
and After Print Jobs
These string functions provide a way to send printer control commands before
and after each print job. They may be specified individually for each logical
printer. All strings are entered as hexadecimal byte values.
Example:
Follow the instructions below to add a string after the print job:
1. From the print server’s internal Web page, select Admin | Logical
Printers.
2. Select the PR5 tab.
3. Enter the string 04 in the String After Print Job text field.
4. Click the OK button.
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:
Assume that the logical printer PR5 is configured as a PostScript printer and that you want to
append the PostScript End of File character (hex 04) after each print job.
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.