User`s manual
Section 4: Advanced Functions
48 AXIS AX-3 Cobra+ User’s Manual
String Substitutions
This function is useful when you want to print a document that is
prepared for a different PC type printer than yours.
This function is only applicable in IBM 4214, 5256, 5224 or 5225
emulation as standard. For 3812/5219 emulation optional firmware is
available. Please contact your dealer/distributor.
The document contains control commands for a specific printer, and
you have to convert these commands in order to print this document
with your printer. Instead of changing the document, you can let the
AXIS AX-3 Cobra+ do the conversion for you by using String
Substitution.
The String Substitution function will search the data stream for a
specified sequence of ASCII characters and substitute them with
another sequence. Note that this function operates after the character
and control code conversion.
Example:
Assume that you have an HP LaserJet. The document is prepared for
an IBM Proprinter and contains ‘start underline’ and ‘stop underline’
pass-through commands at several locations. To print the document
with an HP LaserJet, the sequences must be converted.
To ‘start underline’, the IBM Proprinter uses ASCII value string $1B,
$2D, $31 and the HP LaserJet uses $1B, $26, $64, $44.
‘Stop underline’ commands are $1B, $2D, $30 and $1B, $26, $64,
$40 respectively.
Below, you will see how to program these substitutions both from a
terminal and from the system.










