User`s manual
Section 4: Advanced Functions
40 AXIS AX-3 Cobra+ User’s Manual
User Definable Strings
There are ten parameters in the Parameter List that can be
programmed as User Definable String (Parameters #120 - #129).
A common application is to program and store various printer control
commands, and send them to the printer using string references rather
than the commands themselves. Please refer to the manual for your
PC type printer for information on ASCII printer commands.
Programming
the Strings
Example: (HP LaserJet ):
You want to store commands for underlining text. Assuming that
you have an HP LaserJet, ‘start underline’ and ‘stop underline’ are
defined by the ASCII codes $1B, $26, $64, $44 and $1B, $26,
$64, $40 respectively:
Note:
Strings are programmed in Extended Emulation Mode.
The maximum String length is determined by the Free String Area.
‘120’ and ‘121’ are the Parameter numbers. These are referred to as
User Definable Strings ‘0’ and ‘1’ respectively.
Using the Strings
Example (HP LaserJet):
To underline text in a document using strings number ‘0’ and ‘1’:
Note:
To use the Strings, Extended Emulation Mode must be entered.
%P
(Configuration lead-in sequence)
=120,$1B,$26,$64,$44
(Program parameter # 120 to ‘start underline’)
=121,$1B,$26,$64,$40
(Program paramemter # 121 to ‘stop underline’)
%
(Configuration trailer sequence)
This is %Z0underlined%Z1 text










