EasyManua.ls Logo

Monarch 9906 - Defining the Supply Setup Packet; B1. B Supply Setup Packet; Defining the Control Characters Packet; E1. E Control Characters Packet

Monarch 9906
214 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Configuring the Printer 2-11
Defining the Control Characters Packet
Use the control characters packet (E) to change the MPCLII control characters, enable and
disable the immediate commands, and change the default terminator character for job requests
and ENQs.
Changes take effect with the first character following the end of header character of the
configuration packet. Each control character must be unique and cannot appear anywhere else in
your packet, except within quotation marks. You can customize the trailer characters to work with
your host.
Note: Wait two seconds for the new characters to take effect before sending packets using the
new characters.
If using symbol set 110 (Unicode UTF-8) to print International characters, set the MPCL control
characters (start of header, etc.) to decimal values between 0 and 128; otherwise, errors may
occur with the Unicode data entered.
Use the following syntax for the control characters packet. Notice all but the first parameter is
within quotation marks.
Syntax {I,E,"ANSI_cd","string1","string2" | }
E1. E Control Characters Packet
E2. ANSI_cd ~123 Start of header { (left bracket)
~044 Parameter separator , (comma)
~034 Quoted strings (quotes)
~124 Field separator | (vertical bar)
The field separator is the split vertical bar (|). The decimal
value is 124. To enter this character, use the Shift key plus the Split
Vertical Bar key on your computers keyboard. Depending on your text
editor, it may appear as a solid vertical bar or as a split vertical bar.
~125 End of header } (right bracket)
~126 Data escape character (optional) ~~ (double tilde)
def. ch. Immediate command character (optional). Up to any 3
characters in the 0 to 255 decimal range. The character must be
defined before this command can be used. The caret (~094) is
normally used.
Note: ANSI_cd includes seven separate parameters. The first five parameters
are required. The other parameters are optional.
E3. “string 1" Terminator for status requests and ENQ requests. Up to any 3
characters in the 0 to 255 decimal range. “013 is the default.
Sending "" disables this sequence.
E4. “string 2" Terminator for job requests and data uploads. Up to any 3 characters
in the 0 to 255 decimal range. None is the default. Sending ""
disables this sequence.
After you change these parameters, all packets, including any future configuration packets, must
use the new control characters. We recommend using the tilde and ASCII character code
sequence when sending this packet multiple times. Also, set the packet delimiters to characters
within the 21 hex to 7E hex range.
You must send the control characters packet to enable the immediate commands. An immediate
command executes immediately, even if it is embedded within quotation marks, and all data
following the command in the string is ignored.
Example {I,E,"~123~063~034~124~125~126~094" | }
Changes the parameter separator character from , to ?. The other control characters remain
unchanged. It also enables the immediate commands by defining the ^ symbol as the command
identifier.

Table of Contents

Other manuals for Monarch 9906

Related product manuals