A d v a n c e d F u n c t i o n s
34 U s e r ‘ s G u i d e
User Defined 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:
You want to store commands for underlining text. Assuming that you have
selected Epson emulation, 'start italic' and 'stop italic' are defined by the ASCII
codes $1B,$34 and $1B,$35 respectively:
%P
(Configuration lead-in sequence)
=120,$1B,$34
(Program parameter # 120 to "start underline")
=121,$1B,$35
(Program parameter # 121 to "stop underline")
%
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.
Note: Strings are programmed in Extended Emulation Mode.