TechNote
40U-022
4410 / 4440
Series
4410 / 4440 TIP Emulation
03-11-97 Ed Palmer
Models:
4410, 4440
Summary:
Some models of the 4410 and 4440 were shipped with the TIP 300 emulation,
primarily to government customers. This document outlines the control code
sequences used in the TIP emulation.
Resolution:
DPQ at 10 CPI
(ESC A)
Data Processing Quality print at 10 CPI is the default print mode on the printer.
DPQ at 10 CPI is selected on power up or by the receipt of the sequence ESC A or
the RESET TO DEFAULT sequence ESC Z
DPQ at 13 3 CPI
(ESC B)
Data Processing Quality at 13 3 CPI print mode is selected by the receipt of the
sequence ESC B. To exit DPQ at 13 3 CPI print mode, select a different print mode
or send the RESET TO DEFAULT sequence ESC Z
DPQ At 16. 6 CPI
(ESC C)
Data Processing at 16 6 CPI print mode is selected by the receipt of the sequence ESC C.
To exit DPQ at 16. 6 CPI print mode, select a different print mode or send the RESET
TO DEFAULT sequence ESC Z
TLQ at 10 CPI
(ESC T)
TRILOG Letter Quality at 10 CPI print mode is selected by the receipt of the
sequence ESC T. To exit TLQ at 10 CPI print mode, select a different print mode
or send the RESET TO DEFAULT sequence ESC Z. Note TLQ printing is only possible
at 10 CPI. Selecting TLQ at 10 CPI mode selects both the print density and
automatically selects the proper font for TLQ printing .
FONT 1
(ESC 1)
Font l is the default print font selected on printer power up. Font 1 can also be
selected by the receipt of the sequence ESC l, or the RESET TO DEFAULT sequence ESC Z.
FONT 2
(ESC 2)
FONT 2 is an optional font which may be installed It a font 2 is installed it may be
selected by the sequence ESC 2. To exit font 2, select another font or RESET TO
DEFAULT sequence ESC Z.
FONT 3
(ESC 3)
FONT 3 is an optional font which may be installed. If a font 3 is installed it may be
selected by the sequence ESC 3. To exit font 3, select another font or send the RESET
TO DEFAULT sequence ESC Z.
FORMS LENGTH SELECT
(ESC H nnn)
The forms length and top of form position can be set by an escape sequence of ESC H nnn
where n is an ASCII digit (0 through 9) and nnn is between 001 and 255 inclusive. When
the FORMS LENGTH sequence is received the current proper position becomes the new top of
form position, and the new forms length is set in lines at 6 LPI. For example the receipt
of ESC H 084 will result in a forms length of 84 lines at 6 LPI or 14 inches. This same
form will be 112 lines long if 8 LPI is selected (14 inches) .
Remember, whether in 6 LPI or 8 LPI the forms length is always sent as lines at 6 LPI.
To reset forms length to the value selected on the control panel, send ESC H 000.
The RESET TO DEFAULT ESC Z will NOT reset the forms length.
PAPER SLEW
(ESC S nnn)
Paper may be slewed a selected number of lines by use of the PAPER SLEW sequence
ESC S nnn where n is on ASCII digit (0 through 9) and nnn is between 001 and 255 inclusive.
Upon receipt of this sequence the printer will slew paper the requested number on lines
whether in 6 or 8 LPI mode.
DOUBLE HEIGHT CHARACTERS
(ESC I)
The- receipt of a DOUBLE HIGH CHARS sequence ESC I will put the printer into a permanent
state of printing all characters at double height The line spacing will be 3 LPI if in
6 LPI mode or 4 LPI if in 8 LPI mode The printer will remain in this state until receipt
of the NORMAL HEIGHT sequence ESC J or the RESET TO DEFAULT sequence ESC Z.
NORMAL HEIGHT CHARACTERS
(ESC J)
The receipt of the NORMAL HEIGHT CHARS sequence ESC J will place the printer in the default
normal character height condition.
8 LINES PER INCH
(ESC K)
The receipt of an 8 LPI sequence ESC K will place the printer in a permanent 8 LPI mode.
To exit 8 LPI mode send the 6 LPI sequence ESC L or the RESET TO DEFAULT sequence ESC Z.
6 LINES PER INCH
(ESC L)
The receipt of the 6 LPI sequence ESC L or the RESET TO DEFAULT sequence ESC Z will place
the printer in the 6 LPI mode.
AUTO SKIP OVER PERF - 1 inch
(ESC O)
The receipt of the ASOP sequence ESC O will cause the printer to count lines printed since
top of form and perform an automatic 1 inch paper slew when printing has progressed to
within 1 inch on bottom of form. To terminate ASOP mode send the RESET TO DEFAULT sequence
ESC Z.
CR=LF
(ESC G)
The receipt of the CR=LF sequence ESC G will cause the printer to substitute a LF (line
feed] for each CR (carriage return) received. In this mode underlining will be disabled.
To terminate CR=LF mode send the RESET TO DEFAULT sequence ESC Z.
REVERSE PAPER DIRECTION
(ESC R)
The receipt of the REVERSE sequence ESC R will set the printer in a permanent reverse
direction paper feeding mode. All subsequent paper motion commands will be executed in
the reverse direction. To exit REVERSE mode send the FORWARD sequence ESC F or the
RESET TO DEFAULT sequence ESC Z.
FORWARD PAPER DIRECTION
(ESC F)
The receipt of the FORWARD sequence ESC F or the RESET TO DEFAULT sequence ESC Z will
terminate reverse paper feeding and place the printer in the default forward mode.
RESET TO DEFAULT
(ESC Z)
The receipt of the RESET TO DEFAULT sequence ESC Z resets all software selectable functions
to their power up default condition except FORMS LENGTH SELECT. To reset FORMS LENGTH
SELECT to the control panel selected condition transmit the sequence ESC H 000.
CODE-39 BAR-CODE OPTION
USAGE: Bar-codes can be produced three different ways to produce a family of densities
to meet a variety of needs. The proper choice for any given situation depends on several
factors. including the type and weight of paper/label used. type of bar-code reader used,
the distance between codes and reader. etc. Select from the table below whichever
combination best meets your requirements:
ESCAPE 10-CPI 13.3-CPI 16.6-CPI
X 2.9 3.8 N/R
Y 3.8 5.0 N/R
M 3.3 N/R N/R
Figures in the above table represent bar-code symbol densities in codes/inch. Inter-
character gap spacing is included in the density calculation. N/R designates a combination
that is not-recommended for general usage. For reference, 10-CPI is the normal print
density; 13.3 CPI is designated Compressed Print 1 (CP1); 16.6-CPI is designated as
Compressed Print 2 (CP2). Experience has shown that 13.3-CPI (CP1) is frequently the better
choice when using a laser reader located close to the code being scanned.
All three bar-codes and OCR-A are implemented as DPQ (data processing quality) text so the
60x72 dots/inch matrix can be used for highest throughput. This also permits other DPQ
characters (e.g.. DPQ normal ASCII) to be intermixed on the same print line. Access to the
bar-codes and OCR-A characters is via Escape sequences. In each case the upper-case letter
must be used (e.g.. "Y" and not "y"):
(ESC X)
This places the printer in bar-code mode and prints all subsequent ASCII characters in
their bar-code symbol equivalents (see Table l for a list of the valid bar-code symbols).
Receipt of any other Escape sequence will reset bar-code mode and place the printer in the
default character mode (normal ASCII). Control codes such as line-feed. form-feed. and
carriage-return are processed normally without exiting the bar-code mode. Before entering
the bar-code mode, print density should be set to either 10-CPI (normal) or 13.3-CPI (CPl).
As shown in the table above. densities will be either 2.9 or 3.8 codes/inch.
(ESC Y)
This places the printer in bar-code mode and prints all subsequent ASCII characters in their
bar-code symbol equivalents (see Table l for a list of the valid bar-code symbols).
Receipt of any other Escape sequence will reset bar-code mode and place the printer in the
default character mode (normal ASCII). Control codes such as line-feed. form-feed. and
carriage-return are processed normally without exiting the bar-code mode. Before entering
the bar-code mode. print density should be set to either 10-CPI (normal) or 13.3-CPI (CP1).
As shown in the table above. densities will be either 3.8 or 5.0 codes/inch
(ESC M)
This places the printer in bar-code mode and prints all subsequent ASCII characters in their
bar-code symbol equivalents (see Table l for a list of the valid bar-code symbols).
Receipt of any other Escape sequence will reset bar-code mode and place the printer in the
default character mode (normal ASCII). Control codes such as line-feed. form-feed. and
carriage-return are processed normally without exiting the bar-code mode. Before entering
the bar-code mode, print density should be set to 10-CPI (normal). As shown in the table
above. density will be 3.3 codes/inch.
(ESC N)
This places the printer in OCR-A text mode and prints all subsequent ASCII characters in
OCR-A font. This OCR-A font is a 64-character set. covering numbers, upper-case alphabetics,
and numerous punctuation codes. Numerically this is the range of 32D/20H to 95D/5FH. To
provide a measure of compatibility by allowing all lower case alphabetic characters to be
represented in OCR-A by their upper-case equivalent, all input codes in the range of
96D/60H to l27D/7FH are translated downward to their counterparts in the range of 64D/40H
to 95D/5FH. The printer will exit OCR-A mode upon receipt of a barcode escape sequence.
an alternate font control sequence , or ESC Z.
Symbols printed in OCR-A font use the same horizontal spaces as their DPQ-ASCII
counterparts. OCR-A should be printed at 10-CPI. single or double height. six or eight
lines/inch. Bar code symbols use the space equivalent to 2-2/3, 3, or 3-2/3 DPQ-ASCII
characters and thus have a horizontal print density of 2.9. 3.3. or 3.8 codes per inch
(vis-a-vis 10) in normal printing and 3.8 or 5.0 codes per inch in Compressed Print One
(CP1) mode.
Depending upon the computer command (or setting of the panel switch) for 6-LPI or 8-LPI.
and the state of the escape sequences for single or double height characters. bar-code
symbols can be printed in one pass at heights of 1/8". 1/6". 1/4". or 1/3". Higher symbols
are obtained by multiple passes (e.g. >1/2" symbols can be obtained by sending the sequence
twice with the printer set for double-height/8-LPI or three times at single-height/6-LPI).
The choice of 6-LPI vs. 8-LPI and single-height vs. double-height is often determined by
requirements of any text to be printed with the bar-code symbols.
Plain text version of the bar-code symbols is printed underneath the codes in OCR-A font.
separated from the bars by a vertical-spacing of at least 0.10". This is usually
accomplished by one line-feed. which gives 0.17" at 6-LPI and 0.13" at 8-LPI. For even
finer resolution. it is possible to advance the paper in increments of 1/72" by using the
plot-mode line-feed commands.
The text is usually placed under the corresponding bar-code symbol (at least approximately).
One significant difference exists between Code-39 and MIL-STD-1189 in that the start
and stop symbols (asterisks) are printed with Code-39 and suppressed with
MIL-STD-1189/(LOGMARS).
To permit readers to be positioned before and after the printed bar-code symbols. it is
necessary to provide a "quiet zone" of at least one-half inch in front of and behind the
symbol. Note that to print the left quiet-zone using ASCII 'space' codes (32D/20H). it
is necessary to exit the bar-code mode and then re-enter for printing of the code itself
(otherwise the bar-code symbol for 'space' will be produced).
PROGRAMMING:
Within each bar-code print line. five elements must be included:
1. Left margin - a quiet-zone containing no black bars or symbols of any kind. For
hand-scanning. This must be a minimum of three character spaces (0.3"). A gap of at least
0.5" is preferred.
2. Start delimiter - a unique character usually "*".
3. Text - any of the valid characters.
4. Stop delimiter - same character as start delimiter.
5. Right margin - same characteristics as left margin.
Normally items 1. 2. 4. 5. as well as the multiple-line printing. are generated in a user
subroutine. Since many codes call for the plain text to be printed in OCR-A font below
the bar-code symbols, the subroutine usually performs this task also.
|