Chapter 6: printer commands, 1 special printer control codes – Microcom 322M User Manual

Page 45

Advertising
background image

322M Operator’s Manual

41

Chapter 6: Printer Commands



The model 322M printer has a large and versatile collection of control codes to meet the
special needs of labeling applications. Most of the commands use the “^D” control
sequence, however the printer also recognizes a selected number of other control
sequences.

For all commands listed in this manual, the printer will recognize the one character control
code (“Ctrl+D”) or the two-character caret plus alpha character (“^+D+<CR>”) sequence. In
other words, the same command may be generated by either holding the control (Ctrl) key
down and pressing the alpha character or by entering the two characters

– the ^ (caret,

generated when the “Shift” key is pressed and then the “6” key) and then the appropriate
alpha key (upper and/or lower case).

To protect against errors, in situations where the two-character caret and alpha sequences
are used exclusively as printer commands, the control character recognition may be
disabled. This is

accomplished by either the “^D93” command or through software dip

switch #1 (^D21).

Some mainframe and mini-

computers cannot use the ASCII “^” character. In these cases,

substitute the ASCII pipe symbol (“|”) or use the one-character control code representation.

6.1

Special Printer Control Codes

The printer to perform special functions uses the following control characters. All other
control characters will be ignored. Some of these instructions are also accessible through a
“^D” command sequence and will be noted as such.

^A

Accumulator Mode: Used to supply the parameters for the ^D commands. These
parameters must be positive integers and are generally decimal numbers but may be
entered as binary if the ASCII B precedes the value or parameter. For example,
“^AB00000001^D21 <CR>” may also be entered as “^A1^D21 <CR>” as well.


^B

Text Entry Mode: Instructs the printer to enter printable text entry mode. This
command (or the preferred “^D <CR>”) must be sent before the text string
information. This command is the equivalent of the “^D<CR>” sequence but does not
require the carriage return (^Btext string data). Because the “control B” is shorter it is
easier to use in direct terminal mode. In general it is better to use the ^D2 command
sequence inside a file or program to assist in trouble-shooting the format.


^C

Print: Starts the print cycle or batch. This command is the equivalent of the
“^D3<CR>” command sequence but does not require the carriage return. Because
the “control C” is shorter than the ^D3 command sequence it is easier to use in direct
terminal mode. In general the ^D3 sequence is better to use inside a format and/or
program to assist in trouble-shooting the format.

Advertising