Each product and program carries a respective written warranty, the only
warranty on which the customer can rely. Monarch reserves the right to make
changes in the product, the programs, and their availability at any time and
without notice. Although Monarch has made every effort to provide complete
and accurate information in this manual, Monarch shall not be liable for any
omissions or inaccuracies. Any update will be incorporated in a later edition of
this manual.
This equipment has been tested and found to comply with the limits for a Class A digital
device, pursuant to Part 15 of the FCC Rules. These limits are designed to provide
reasonable protection against harmful interference when the equipment is operated in a
commercial environment. This equipment generates, uses, and can radiate radio frequency
energy and, if not installed and used in accordance with the instruction manual, may cause
harmful interference to radio communications. Operation of this equipment in a residential
area is likely to cause harmful interference in which case the user will be required to correct
the interference at his own expense.
CANADIAN D.O.C. WARNING
This digital apparatus does not exceed the Class A limits for radio noise emissions from
digital apparatus set out in the Radio Interference Regulations of the Canadian Department
of Communications.
Le présent appareil numérique n’émet pas de bruits radioélectriques dépassant les limites
applicables aux appareils numériques de la classe A prescrites dans le Réglement sur le
brouillage radioélectrique édicte par le ministère des Communications du Canada.
Trademarks
MONARCH is a registered trademark of Monarch Marking Systems, Inc.
920, 924, 925 and 9474 are trademarks of Monarch Marking Systems, Inc.
Monarch Marking Systems
P.O. Box 608
Dayton, Ohio 45401
This manual tells you how to enter online formats and batch data
for downloading to a Monarch® 9474 printer.
Refer to your Operator’s Handbook for general setup and
maintenance procedures, an explanation of data entry and batch
control for offline printing, and about creating and entering offline
formats.
1
Introduction 1-1
The 9474 printer can receive print data online from a host.
During online communication, the host treats the printer as an
RS-232 type printer. For the printer to communicate online, you
will need an RS-232 cable. For mainframe communication, you
may need a protocol converter.
Transmitting data from the host requires communication controls.
See Chapter 2, "Communication Requirements" for more
information.
Three types of data can be transmitted:
Format dataThe user-designed layout for online formats.
These formats are used by online batches for
printing.
These online formats can also be used
offline. However, formats created offline
cannot be used online.
Batch dataContains the format number and actual data
to be printed on the supply. Batch data is
downloaded to the printer and combined with
a format stored in the printer.
Graphic dataContains the actual pixel data which forms a
graphic image.
Format, batch, and graphic data are stored
when you turn the power off.
Format and graphic data may be sent at any time.
Since batch data is combined with a format for printing, the format
and graphic data for a batch must reside in the printer before
sending the batch.
Each data type has its own data stream structure. See Chapter 3,
"Message Structures" for more information.
1-2 Introduction
COMMUNICATION
REQUIREMENTS
To enable communications between the printer and the computer,
the printer communications setup must match the setup for the
host. The options are:
N
Baud rate
N
Parity
N
Data flow control
N
Data bits
N
Stop bits
All online data uses the ASCII (American Standard Code for
Information Interchange) character code for interpretation of bits
as characters.
2
Communication Requirements 2-1
Input Characteristics
Below are the input characteristics for communications. The
defaults are shown in bold print.
N
Asynchronous
N
Full duplex
N
Selectable options:
Baud rate110, 300, 600, 1200, 2400, 4800, 9600
ParityNo parity, Odd, Even
Data flowXon/Xoff, Data Terminal Ready (DTR)
Data bitsSeven (7) or eight (8)
Stop bitsOne (1) or two (2)
Modify these communication settings on your printer as necessary
to match the settings on your host. See "Setting Communication
Values" for more information.
There are three main buffers: batch, format, and graphic. The
printer also has a 1024 byte input buffer which holds data until it
is processed into the respective buffer(s).
Data Flow Control
The printer uses Xon/Xoff or data terminal ready (DTR) for data
flow control. DTR flow control is usually required if you are using
an IBM-PC, unless the PC has a special Xon-Xoff program.
In DTR mode, the printer activates DTR when the printer can
accept more data from the host and deactivates when the
printer’s receive buffer is nearly full. In Xon/Xoff Mode, the
printer sends the Xon character when the printer can accept more
data and sends Xoff when the printer buffer is nearly full.
In either mode, once the printer has indicated that its buffer is
nearly full (by sending Xoff or deactivating DTR), up to 134
additional characters may be accepted without losing any data.
2-2 Communication Requirements
The printer does not require any hardware or software signals
from the host system in order to operate.
Flow control characters can be changed
offline through the Printer Configuration mode.
The total number of formats, batches, and graphics is only limited
by the amount of memory available.
Setting Communication Values
To set the communication parameters, follow the instructions
below. For more information on operating the printer, refer to the
Operator’s Handbook.
From the main menu, press d to display Printer
1.
Configuration. Press e . You’ll see
Enter password: _ _ _ _ _ _ _ _
Enter the 1-8 character password and press e .
When you first receive the printer, the
password is MANAGER or ONLINE.
You’ll see the Configuration Options menu.
2.
Select Config Option:
Define Check Digit Schemes
Press d until you see Host Port Configuration. Press e
to select this option. With each parameter, you can enter a
new selection, or just press e to keep the value that is
displayed.
Communication Requirements 2-3
You’ll see the Host Option menu and the first online
3.
parameter.
Select Baud Rate:
2400
Press d or u until you see the baud rate you need, then
press e . You’ll see
Enter Parity: N
N)one, O)dd or E)ven
Select the parity you need and press e . You’ll see
4.
Enter Word Length [7-8]: 8
Select the word length you need and press e . You’ll see
5.
Enter Stop Bits [1-2]: 1
Select the stop bits you need and press e . You’ll see
6.
Enter Start (XON) character:
17
Enter a number from 1-127 for XON flow control, or 128 for
7.
DTR flow control. You’ll see
Enter Stop (XOFF) character:
19
Enter a number from 1-127 for XOFF flow control, or 128 for
8.
DTR flow control.
2-4 Communication Requirements
If you select DTR control (128) as the XON character, the
printer automatically sets 128 (DTR control) for the XOFF
character.
The Start and Stop characters must be set at 128 (DTR flow
control) for IBM PC equipment.
You’ll see the Configuration Options menu. Press 1 to exit
to the main menu.
Cable Interface
The printer accepts standard RS-232C electrical signal
transmissions when it is connected to a DB-25S connector
configured as Data Terminal Equipment (DTE). For correct
operation, use all defined pins.
For PC null modems, plug the RS-232 cable into:
N
A serial (RS-232) port on the host or protocol converter
N
The 25-pin RS-232 connector on your printer. Refer to your
Operator’s Handbook for more information.
The RS-232C cable interface is set up as a terminal device (DTE):
PinDescription
3Received Data
5Clear to SendInput
6Data Set Ready
2Transmitted data
4Request to sendOutput
20Data Terminal Ready
1Protective groundGround
7Signal ground
All other pins are open.
Communication Requirements 2-5
The cable interface for PC null modems is shown below.
9474PC
FG11FG
TD22TD
RD33RD
RTS44RTS
CTS55CTS
DSR66DSR
CD88CD
DTR2020DTR
SG77SG
2-6 Communication Requirements
MESSAGE STRUCTURES
This chapter has information and message structures for
N
Formats
N
Batch Data
Graphic image data is discussed in Chapter 4, "Using Graphics."
3
Message Structures 3-1
Creating Online Data Streams
Create data streams for your 9474 printer using a standard text
editor, such as EDLIN or TSO.
If you use a word processor to create data streams, make sure to
save the file in text-only or unformatted mode.
Transmitting Online Data Streams
Your printer must be in Online Mode before it will accept data
from your computer.
N
Select Online from the Select Operating Mode menu.
N
Press e . You’ll see
Online Mode Ready:
Your printer is now ready to accept data.
Send data to the printer just as you would send any print data to a
printer from your computer.
For example, if you have a file named FORMAT1.DAT on an
MS-DOS system, you could send the data to your printer with
these commands:
This set of commands would send the file FORMAT1.DAT to a
printer connected to COM1 of an MS-DOS computer.
Format and graphic structures can be sent at any time.
Formats or graphics used by batch data must be sent before the
batch data referencing them. Any batch sent without a previously
defined format is ignored, generating an error.
3-2 Message Structures
Error Notification
Data handling and error checking are resident in the printer. If an
error in transmission occurs, an error is displayed on the printer
keypad display. However, no message is sent to the host and
processing continues until the end of the transmission.
Certain errors may put the printer in offline mode. See Chapter 6,
"Error Messages," for a list of possible messages.
Data Transmission Errors
The printer displays errors that occur during data
transmission. Printer fault errors stop the machine, which will
not resume printing until the operator corrects the error
condition. All these messages take the system offline.
Incorrect Data Errors
The printer pauses when it receives incorrect data from the
host. During the pause, it displays a message and beeps.
After ten seconds, or when the operator presses e, the
printer resumes operation. Normally, the printer loses the
data that caused the error.
If the host or the communications line goes down during
transmission, the printer displays the message
Waiting for command terminator.
Press F1 to abort download.
If you press 1 , the batch or format data that was being sent will
be lost and must be retransmitted.
Message Structures 3-3
Monetary Symbols
The default monetary symbols are the U.S. dollar and cents. The
ASCII characters $ (24 hex) and ^ (5E hex) represent the dollar
and cent symbols.
If you change your printer settings to use international pricing
symbols, these characters will then represent the new symbols.
For monetary selections that don’t have a cent equivalent, the ^
character is changed to a space.
In EBCDIC-based systems a ^ is not
available. Use ~94 to print a cent sign.
Commands
The following command characters are used in 9474 online data
streams.
Command
Character
{7BOpen brace. Command LEADIN character
, 2CComma. Inter-field separator (IFS)
;3BSemicolon. Beginning of string character
p
}7DClose brace. Command TERMINATOR
Hex
Val ue
7CSplit vertical bar. Command inter-record
Description
separator (IRS)
character
3-4 Message Structures
Programming Conventions
All online commands from the host follow these rules.
N
All data after the TERMINATOR character ( } ) and before the
next LEADIN character ( { ) is ignored.
N
The hex values 7B, 7C and 7D are reserved as command
delimiters. All data of a value less than 20 hex and greater
than 7E hex is ignored.
N
All data strings (batch data, compressed bit-map images or
format data) begin with a semi-colon (3BH) and end with a
TERMINATOR or inter-record separator (IRS or p (7C hex)).
N
All space characters, except string definitions, are ignored.
N
All strings must be less than 100 characters.
Standard Syntax Guidelines
N
A format header must be the first record in your format.
N
Begin the format name with the beginning of string
character (;).
N
Begin a record with a LEADIN character ({).
N
Make sure the length and width in these records match your
supply length and width. Remember, these numbers are in
tenths of millimeters, so 500 equals 50 millimeters or 5
centimeters.
N
Make sure the row and column locations in the text, bar code,
or line records are less than the supply length and width.
N
Allow enough space to hold all the characters in the field, the
bar code height, or the line end point without running off the
supply.
N
Field definitions may be sent in any order, regardless of field
location. The last field carries priority over previous fields and
overwrites the previous fields if they overlap when printed.
Message Structures 3-5
N
To print human readable characters for Code 39, Interleaved 2
of 5, Codabar, Code 128 and MSI bar codes, create a
separate text field. However, using this method with UPC or
EAN bar codes may not correctly print the bar code.
N
A new format with the same ID number as a previously defined
format overwrites the old format. However, the old format is
not overwritten until all batches queued to use the old format
are completed.
N
End records with a record separator ( p ).
N
End the last record in your format with a terminator
character (}).
Standard Syntax Guidelines for Batches
Read the standard syntax guidelines and note the additional items
for batches.
N
A batch header must be the first record in your batch.
N
For a batch header record or batch data, make sure the
number in the first parameter matches the number of the
format you are using.
N
If you choose auto-naming (the printer assigns a batch name),
make sure there are no characters or spaces between the
beginning of string character (;) and the record separator ( p ).
N
If the field is an incrementing field, you can enter any type of
characters; however, only the numeric data increments.
N
Send the correct format to the printer before sending the
batch. Batch data without a defined format generates an error.
3-6 Message Structures
Format Data
Format data contains the following:
N
Format identification number and name
N
Supply size
N
Online field definitions for text, bar code, line and graphic fields
The following offline format elements are not supported online:
N
Merged fields
N
Sub-fields
N
Time or date fields
N
User-defined check digits
N
Fixed characters
N
Alphanumeric distinction
N
Fixed or variable length
N
Price fields
You must supply these elements if you need them in your program.
The message structure used to transmit online format data is
shown below, followed by an example.
{FORMAT ID, LENGTH, WIDTH; FORMAT_NAME p
TEXT FIELD, INCREMENT FLAG, INCREMENT VALUE, ROW,
COLUMN, MULTIPLE, TEXT FONT,
CHARACTER ROTATION, FIELD ROTATION, COLOR p
BARCODE FIELD, INCREMENT FLAG, INCREMENT VALUE,
ROW, COLUMN, DENSITY,BAR CODE FONT,
FIELD ROTATION, HEIGHT, READABLE CHARACTERS p
LINE FIELD, ROW, COLUMN, DIRECTION, STOP,
THICKNESS p
GRAPHIC FIELD, ROW, COLUMN p
.
.}
Message Structures 3-7
Example
This example has three text fields and one bar code field.
{F1,0558,0507;ONLINE p
T00,I,000,0475,0050,1,1,0,0,B p
T01,I,000,0406,0050,1,1,0,0,B p
T02,I,000,0017,0253,1,1,0,0,B p
B00,I,000,0124,0093,1,1,0,0177,1 p }
The format header record (beginning with the Format ID) must
always be the first record in a format data stream.
Spaces can be used in the data stream.
However, if used in a string following a
semi-colon, they will be treated as printable
characters.
Format Header Record
The format header record is constructed as shown below.
Syntax
{F##,LENGTH,WIDTH;FORMAT NAME p
FieldContents
F##Must begin with the letter ’F’ to represent the beginning of a
LENGTHOne to four digits to define the supply length in tenths of
WIDTH
format data stream.
The F is followed by a one or two digit number as the format ID
Valu e s :0-99
Example: F23 = Format number 23
millimeters.
Valu e s :191-2032 (19.1 to 203.2 mm
or 0.75 to 8.0 inches)
Examples: 200 = 20mm
201 = 20.1mm
3-8 Message Structures
One to four digits to define the width of the supply in tenths of
millimeters (across the printhead).
Valu e s :191-1078 (0.75 to 4.25 inches)
;FORMAT_NAME One to eight-character name assigned by the user. It can
contain any ASCII alphanumeric character, including slash (/),
hyphen (-), space ( ), dollar sign ($), or decimal point (.).
The Format Name is a character string, so it is preceded by a
semicolon (;).
Example
{F23, 500, 200;TEXTILES p
The format number is F23, the supply length is 50 millimeters, the
supply width is 20 millimeters, and the format is named
"TEXTILES."
Text Field Record
The text field record is constructed as shown below:
Syntax
FieldContents
T##Must begin with the letter ‘T’ for a text field.
IFLAGYou can set numeric fields to increase or decrease in value as
T##,IFLAG,IVALUE,ROW,COL,MAG,TFONT,C-ROT,
F-ROT,COLOR p
The T is followed by one or two digits for the field number.
There can be up to 100 fields per format, in any combination
of text, barcode, line, or graphic fields.
Valu e s :0-99
each ticket is printed.
This parameter consists of one character to define the field as
incremented, decremented, or constant.
Valu e s :I = Increment
D = Decrement
Message Structures 3-9
If the field does not change, define IFLAG as ‘I’ and set
IVALUE to zero (0).
NOTE: Do not select incrementing on fields that contain a
IVALUEOne to three digits to define the amount by which the value in
the field increases or decreases as each ticket is printed. If
the field does not change, define IFLAG as ‘I’ and set IVALUE
to zero (0).
Valu e s :0-999
NOTE: The first number in the count sequence must contain
ROWOne to four digits to define the row location of the field on the
supply. This is the distance from the the guide edge zero
point at the bottom of the supply and the bottom of the field.
The zero point is 1.5 mm or 0.060 inches from the bottom of
the supply. The bottom of the supply is the edge that exits the
printer first.
This value is measured in tenths of millimeters (TOMMS) and
must be less than the maximum length of the supply.
Valu e s :0-2032
COLOne to four digits to define the column location of the field on
the supply. This is the distance from the guide edge zero
point at the left edge of the supply and the left edge of the
field.
check digit.
the same number of digits as the highest number to
be counted. For example, to count the numbers 1 to
999, the first number in the sequence must be entered
as 001.
MAGOne to two digits as the magnification factor for the font of
3-10 Message Structures
The zero point is 1.5 mm or 0.060 inches from the left edge of
the supply.
The unit of measurement is tenths of millimeters. The range
must be less than the maximum width of the supply.
Valu e s :0-1016 (0 to 4 inches)
text fields.
Valu e s :1 - 10
Font magnifications creating greater than 30% black print on a
format may result in lower print quality.
TFONTOne digit as the font for the TEXT field. See Chapter 5,
C-ROTCharacter rotation. The direction characters point with
F-ROTField rotation. The direction of the field with respect to the
COLOROne character to define the color of a text field.
Example
"Quick References," for font samples.
Valu e s :1 Standard
2 Reduced
3 Bold
5 OCR-A
6 UPC HR1
7 UPC HR2
respect to the field.
Valu e s :0 = tops of characters toward top of field
1 = tops of characters toward left of field
supply.
Valu e s :0 = top of field toward top of supply
1 = top of field toward left of supply
2 = top of field toward bottom of supply
3 = top of field toward right of supply
Valu e s :B = Black characters (42H)
W = White characters on black (57H)
T05,I,0,230,30,1,1,0,0,B p
The text field number is T05, the field does not change value with
successive tickets (IFLAG = I, increment value = 0). The field
begins 23 millimeters from the bottom and 3 millimeters from the
left edge of the print area. The font appears at normal size
(magnification = 1) and the Standard font is used (1). The tops of
characters point to the top of the field (character rotation = 0) and
the top of the field points to the top of the supply (rotation = 0).
Characters appear in Black.
Message Structures 3-11
Bar Code Field Record
The bar code field record is constructed as shown below.
Syntax
B##,IFLAG,IVALUE,ROW,COL,DENSITY,BFONT,
F-ROT,HEIGHT,HR p
FieldContents
BARCODEMust be the letter ‘B’ for a bar code field.
The B is followed by one or two digits for the field number.
There can be up to 100 fields per format, in any combination
of text, barcode, line, or graphic fields.
Valu e s :0-99
IFLAGYou can set numeric fields to increase or decrease in value as
each ticket is printed.
This parameter consists of one character to define the field as
incremented, decremented, or constant.
Valu e s :I = Increment
D = Decrement
If the field does not change, define IFLAG as ‘I’ and set
IVALUE to zero (0).
NOTE: Do not select incrementing on UPC or EAN bar codes
or fields that contain a check digit.
IVALUEOne to three digits to define the amount by which the value in
the field increases or decreases as each ticket is printed. If
the field does not change, define IFLAG as ‘I’ and set IVALUE
to zero (0).
ROWOne to four digits to define the row location of the field on the
3-12 Message Structures
NOTE: The first number in the count sequence must contain
the same number of digits as the highest number to
be counted. For example, to count the numbers 1 to
999, the first number in the sequence must be entered
as 001.
Valu e s :0-999
supply. This is the distance from the guide edge zero point at
the bottom of the supply and the bottom of the field.
The zero point is 1.5 mm or 0.060 inches from the bottom of
the supply. The bottom of the supply is the edge that exits the
printer first.
This value is measured in tenths of millimeters (TOMMS) and
must be less than the maximum length of the supply.
Valu e s :0-2032
NOTE: The minimum row location for serial bar code fields is
COLOne to four digits to define the column location of the field on
the supply. This is the distance from the guide edge zero
point at the left edge of the supply and the left edge of the
field.
The zero point is 1.5 mm or 0.060 inches from the left edge of
the supply.
The unit of measurement is tenths of millimeters. The range
must be less than the maximum width of the supply.
Valu e s :0-1016 (0 to 4 inches)
DENSITYOne digit for the bar code density for Interleaved 2 of 5, Code
128, MSI, Code 39, and UPC/EAN bar codes.
Valu e s :1-5
Some bar codes do not support all 5 values.
For the actual densities for these values, see Chapter 5,
"Quick References."
BFONTOne digit indicating which bar code font to use.
F-ROTField rotation. The direction of the field with respect to the
supply.
Valu e s :0 = top of field toward top of supply
HEIGHTOne to four digits for the bar code height in tenths of
millimeters. The value should be less than the length or width
of the supply.
Valu e s :50-2032 (5.1 to 203.2 mm or 0.2 to 8.0 inches)
HR(Human readable characters) One digit for the location of
human readable characters printed with a UPC or EAN bar
code. If no value is given, no human readable characters are
printed.
Valu e s :0 = No human readable characters printed
NOTE: Always use the HR parameter to generate the human
Example
B11,I,1,70,30,1,4,0,120,0 p
1 = top of field toward left of supply
2 = top of field toward bottom of supply
3 = top of field toward right of supply
1 = Human readable printed above the bar code
2 = Human readable printed below the bar code
readable text for a UPC or EAN bar code. If you
manually insert human readable text, the barcode
may not print accurately.
The bar code field number is B11, the field increases by 1 with
successive tickets (IFLAG = I, increment value = 1). The field
begins 7 millimeters from the bottom and 3 millimeters from the
left edge of the print area. The bar code density is 6.63
characters per inch (density = 1, code 39), and Code 39 (4) is
used. The top of the field points to the top of the supply (rotation
= 0). The height of the bar code is 12 millimeters and no human
readable characters appear with this bar code (0).
The following special restrictions apply to online bar codes:
UPCAYou must send a leading zero, 11 digits of
3-14 Message Structures
data and a check digit (13 digits total).
UPCEThe printer automatically prints a leading zero
for this bar code. You must send data and a
check digit (7 digits total).
EAN13You must send 12 digits of data and a check
digit (13 digits total).
EAN8You must send 7 digits of data and a check
digit (8 digits total).
NOTE: If the check digit is incorrect or omitted from a
UPC or EAN bar code, the printer will
automatically place the correct check digit in
the bar code.
I 2 of 5This bar code has no check digit. The printer
automatically prints the start and stop
characters, so only the data must be sent.
The length of the data is variable. If the data
has an odd number of digits, add a leading
zero to make the length even.
Code 39The start and stop characters must be placed
at the beginning and end of the data before it
is sent to the printer. The start and stop
character is an asterisk (*). The length of the
data is variable.
CodabarThe start and stop characters must be placed
at the beginning and end of the data before it
is sent to the printer. The start and stop
characters are a combination of lowercase a,
b, c, or d. The length of this data is variable.
Code 128You can send characters for Function Codes
1-4 as fixed data when defining a code 128
field and as batch data when printing.
To send the Function Codes, use a tilde (~)
followed by a three digit ASCII code as shown
in the following table.
Message Structures 3-15
For example, to print a string of bar code data
with function code F2 as the fourth character...
123(F2)5678
send this string of characters...
~1295678
123
ASCII CodeFunction Code
~134F1
~129F2
~128F3
~132F4
Two additional bar codes are supported as extensions to both
UPC and EAN bar codes.
+2 Send exactly two digits for this bar code.
+5 Send exactly six digits (a five-digit bar code and a
one-digit check digit).
Line Field
The message structure below transmits a line field. This data
stream defines the bit map to form a graphic line field. Use the
line field to emphasize data by printing a line or box.
You can have up to 100 line images. The line record can be
placed in a format data stream anywhere following the format
header record. Lines are counted as fields, just like text or bar
code fields. When determining the number of fields in your
format, count each line as a separate field.
Syntax
3-16 Message Structures
L##, ROW, COLUMN, DIRECTION, STOP,
THICKNESS p
FieldContents
L##Must begin with the letter ’L’ for a line field.
The L is followed by one or two digits for the field number.
There can be up to 100 fields per format, in any combination
of text, barcode, line, or graphic fields.
Valu e s :0-99
ROWOne to four digits to define the row location of the field on the
COLUMNOne to four digits to define the column location of the field on
DIRECTIONOne digit to define the direction of the line.
supply. This is the distance from the the guide edge zero
point at the bottom of the supply and the bottom of the field.
The zero point is 1.5 mm or 0.060 inches from the bottom of
the supply. The bottom of the supply is the edge that exits the
printer first.
This value is measured in tenths of millimeters (TOMMS) and
must be less than the maximum length of the supply.
Valu e s :0-2032
the supply. This is the distance from the guide edge zero
point at the left edge of the supply and the left edge of the
field.
The zero point is 1.5 mm or 0.060 inches from the left edge of
the supply.
The unit of measurement is tenths of millimeters. The range
must be less than the maximum width of the supply.
Valu e s :0-1016 (0 to 4 inches)
Valu e s :0 = Vertical
1 = Horizontal
STOPOne to four digits to define the stop position (Row or Column,
dependent on the DIRECTION setting) for the line.
Valu e s :1-2032
THICKNESSOne or two digits for the line thickness in dots. 1 dot = 1/192
inch
Valu e s :1-15
Message Structures 3-17
Example
L22,400,100,1,190,5 p
The line field number is L22, the line begins 40 millimeters from
the bottom and 10 millimeters from the left edge of the print area.
The line is horizontal (direction = 1) and ends 19 millimeters from
the left edge of the supply. The line is 5 dots thick.
Example
This example draws a simple 1-inch box starting at row 50 and
column 50 on a 2" x 2.5" tag, as shown below.
Format
{F1,635,508;BOX
L0,50,50,0,304,3 p
L1,50,50,1,304,3 p
L2,50,304,0,304,3 p
L3,304,50,1,316,3 p }
p
Batch
{B1,1,0,1,1,1,C;BOX.TEST p }
Note that line L3 is longer than the other 3 lines to complete the
box in the upper right corner.
3-18 Message Structures
Batch Data
The batch data stream contains:
N
Batch information:
- format number (layout for the print image)
- print quantity
- supply definition
- item description (batch name)
N
Print image:
- field numbers
- data to be printed in each field
The message structure used to provide the printed data for an
online format is shown below. An example follows.
{B##,QUANTITY,CUT,REP,PARTS,0,MODE;BATCH_NAME p
T##;(..print data..) p
B##;(..print data..) p
.
.
.}
Batch Header Record
The batch header is the first record in the batch data stream.
Syntax
{B##,QUANTITY,CUT,REP,PARTS,0,MODE;
BATCH_NAME p
FieldContents
B##Must begin with the letter ’B’ to begin a batch data stream.
The B is followed by the one or two digit number that matches
the format number. This is the number at the beginning of the
format record.
Valu e s :0-99
QUANTITYOne to four digits for the quantity to print in a given batch.
Valu e s :1-9999
CUT/TAKEUP
On printers with a knife:
Message Structures 3-19
One digit to control how tickets are cut.
Valu e s :0 = no cut
last ticket in batch)
NOTE: Do not use option 2 if your supply is less than 4
When using option 2, the first 0.7 inches of the supply cannot
be used for printing.
On non-knife printers:
On a 9474 with no knife, this parameter controls the backing
paper takeup, instead of the knife.
Valu e s :0 = print tags with no backing paper.
REPOne to four digits for the supply repetition for cutting, and
increment/decrement field.
Valu e s :1-9999
PARTSOne digit for the number of parts across the supply.
Valu e s :1-5
1 = cut each ticket in the batch (except last ticket)
2 = cut each ticket in the batch (including
3 = cut between batches
inches long (1016 tomms) or more than 8 inches long
(2032 tomms)
1 = print labels and take up the backing paper.
RESERVEDEnter 0.
MODEOne character to define the mode of printing, or batch
separator.
Valu e s :0 = separator off.
1 = double length separator (use for 924 or 925
stacker). 3 mm extra length tag on 920 stacker.
2 = normal length separator with 3 mm black stripe.
3 = 3 mm extra length tag with 6 mm stripe.
NOTE: If using value 0,1, 2, or 3, do not use a separate
batch separator packet.
3-20 Message Structures
C = Continuous
D = On Demand
If you enter D (On Demand) in the MODE field on a printer
with a knife, the value will default to C (Continuous).
;BATCH_NAMEOne to eight characters for the name of the batch. A priority
Example
batch name must begin with a decimal. For example:
.SOCKS12.
Each batch should have a unique name, or you can omit the
name for automatic batch naming. If multiple batches are
sent with the same name, all batches are stored with the
same name. If you omit the batch name, the printer will
generate unique names which begin with the letters "AUTO"
and end with a 4-digit number. The 4-digit number is an
increment and can have a value from 1-9999 (example:
AUTO1354, where 1354 equals the increment).
{B11,200,2,5,2,0,3; p
The batch prints data using format 11 and prints 200 tickets. The
printer cuts after each ticket is printed, including the last ticket (2)
and each ticket will print 5 times. This is a two-part ticket. The
format prints 2 times horizontally across each ticket. A
double-length separator prints between batches (3). The batch
name is automatically assigned by the printer, because there are
no characters between the semi-colon and the record separator.
Entering Print Data for Fields
Enter the data to print in each field after the batch header record
as shown.
Syntax
{B##,QUANTITY,CUT,REP,PARTS,0,MODE;
BATCH_NAME p
T##;print data.. p
B##;print data.. p
.
.
.}
Message Structures 3-21
T##The number of the text field to print (enter the number in place
of ##).
B##The number of the bar code field to print (enter the field
;print data p
number in place of ##).
Enter the data you want to print in this field.
This character string begins with a semi-colon (;) and can be
1 to 100 characters long. Place a record separator ( p ) at the
end of this string.
If there is a text field you don’t want to use, enter that field
number and a semi-colon with no print data.
Example
This example contains data to print the label shown below.
{B1,0012,1,01,1,0,C;PTEST p
T00;TEST FORMAT1 p
T01;S/N 97464B p
T02;$12.34 p
B00;0012345678905 p }
The batch prints the phrase
"TEST FORMAT 1" in text field
T00, "S/N 97464B" in text field T01, "$12.34" in text field T02,
and "0012345678905" in bar code field B00.
If consecutive batch data streams use the same format, send only
the changed data fields. See the following section, "Using
Previously Defined Print Data."
3-22 Message Structures
Using Multiple Batches with One Format
You can send multiple batches for any format previously loaded
into the printer. To do so, send the format to the printer, then
send as many batches as you want to print data on that format.
This allows you to send multiple batches without sending a new
format with each batch.
Using Previously Defined Print Data
When sending multiple batches for one format, you can "re-use"
your print data. On consecutive batches, the data in a field does
not change, omit that field from the later batch.
When you leave out any field number that was specified in the
preceding batch, the data used in the preceding batch will print on
following batches until new field data is entered.
For example, batch 1 below prints a date in text field T01. Since
batch 1 and batch 2 are printed on the same day, batch 2 can
leave out field T01. Since T01 was defined in the preceding
batch, it will automatically print in batch 2.
Batch 1:Batch 2:
{ B12,1,0,1,1,0,C; p{ B12,1,0,1,1,0,C; p
T01;12/31/90 p T02;Stock #52014
T02;Stock #43768 T03;Sprinkler }
T03;100’ Hose }
If two fields overlap, do NOT use this feature.
If fields overlap, you must send the format
before each batch.
Message Structures 3-23
Batch Separators
This command selects the use of batch separators. A batch
separator is a tag with a wide black line across the top or a
double length tag and is last tag in a batch. Your Operator’sHandbook shows the type of batch separator used by your printer.
When printing online, add 1 to your batch quantity. The batch
separator does not add a tag to the total number of tags in a
batch. (In offline operation a batch separator increases the batch
count by one tag.)
The command structure is shown below, followed by an example.
If using this batch separator packet, make
sure the batch header "MODE" value is set to
C.
Syntax
{ S TYPE }
FieldContents
SMust be the letter ‘S’ to identify the batch separator selection.
TYPEA single digit to turn the batch separator selection on or off.
The resulting separator depends on the type of stacker you
are using.
3-24 Message Structures
Values 0, 1, 2, or 3 as shown in the table below.
Stacker Type
none920924/925
Data Stream
{S0}No separatorNo separatorNo separator
{S1}Double length tag
with no stripe
{S2}Normal length tag
with 3 mm stripe
{S3}3 mm extra length
tag with
6 mm stripe
3 mm extra length
tag with 6 mm stripe
Normal length tag
with 3 mm stripe
3 mm extra length
tag with 6 mm stripe
Double length tag
with no stripe
Normal length tag
with 3 mm stripe
3 mm extra length
tag with 6 mm
stripe
Format data stream.
{F 12, 560, 508;SMALL2IN p
T1, I, 0, 300, 50, 1, 1, 0, 0, B p
T2, I, 0, 200, 50, 1, 1, 0, 0, B p
T3, I, 0, 150, 50, 1, 1, 0, 0, B p
T4, I, 0, 100, 50, 1, 1, 0, 0, B p
T5, I, 0, 050, 50, 1, 1, 0, 0, B p }
Batch data stream.
{S0}
{B 12, 1, 0, 1, 1, 0, C;SMALL2IN p
T1;Separators off. p
T2;Line 2. p
T3;Line 3. p
T4;Line 4. p
T5;Line 5. p }
Message Structures 3-25
Turn batch separator on; print another batch.
{S1}
{B 12, 1, 0, 1, 1, 0, C;SEP.ON p
T1;Separators on. p
T2;Line 2. p
T3;Line 3. p
T4;Line 4. p
T5;Line 5. p }
Turn batch separator off.
{S0}
3-26 Message Structures
USING GRAPHICS
There are two stages to printing a graphic:
N
Create the data stream for the graphic image
N
Place the image into a format.
To print a format with a graphic image, transmit data to the printer
in this order:
Graphic data stream to define the graphic image
Format data stream that references the graphic image
Batch data to print the format.
4
Using Graphics 4-1
Defining Graphic Image Data
Graphic images are created by a series of dots printed in a
specific pattern. This pattern results from a process of turning
dots "ON" or "OFF" on the printhead.
We will use the terms "black dots" to describe a dot that is ON,
and "white dots" for a dot that is OFF.
This section describes how to build a data stream to create this
pattern with your printer.
This example shows
how black dots and
white dots form an
image of the letter A.
Row 3
Row 2
Row 1
To create a data stream for this image, start with the bottom row.
Count the number of white dots and black dots, in order of
appearance in each row.
For example, rows 1 through 4 (at the bottom) in the image above
have these dot counts:
Use multiple letter codes to indicate strings of same-color dots.
For example: 30 black dots = ZD
9 white dots = ccc
Coding Chart
Black DotsWhite Dots
#dotsCode# dotsCode# dotsCode# dotsCode
1A14N1a14n
2B15O2b15o
3C16P3c16p
4D17Q4d17q
5E18R5e18r
6F19S6f19s
7G20T 7 g20t
8H21U8 h21u
9I22V9i22v
10J23W10j23w
11K24X11k24x
12L25Y12l25y
13M26Z13m26z
The graphic data stream contains a graphic header record
followed by data streams for each row of dots in the image.
Using Graphics 4-3
Syntax
{G##,0,0,0,0 p
;...dot codes... p
;...dot codes... p
;...dot codes... p
.
.
.}
FieldContents
G##
ROW
COLUMN
LINES
DOTS
;dot codes
Must begin with the letter ’G’ to identify this as a graphic data
stream.
The G is followed by a one or two digit number to identify the
graphic image. Later you will use this number to insert the
graphic into a format.
Valu e s :0-99
NOTE: If this graphic is used in offline batch entry, the printer
assigns a name of GPH## where ## is the ID number
assigned here.
Enter 0.
Enter 0.
Enter 0.
Enter 0.
The first row of dot codes corresponds to the bottom row of
dots in the image. Essentially, this means you are building
the graphic image upside down in the data stream.
Note that since this record is a character string, it begins with
a semi-colon (;). You can place up to 100 characters in each
row.
Do not put any spaces in the dot code character string.
4-4 Using Graphics
Example
This graphic data stream
generates the letter A from the
grid earlier in this section. The
format and batch data streams to
print a sample tag follow the
graphic data stream.
The graphic is assigned a number
of 1 and it is 46 dots tall.
The graphic data stream uses the
same guidelines for structure and
syntax as the format data stream
does. See "Standard Syntax
Guidelines" in Chapter 3 for more
information.
{G1,0,0,0,0 p
;dHsHd p
;dHsHd p
;dHsHd p
;eGsGe p
;eHqHe p
;fGqGf p
;fHoHf p
;fHoHf p
;gGoGg p
;gHmHg p
;hGMGh p
;hGMGh p
;hGMGh p
;iFMFi p
;iFMFi p
;jEMEj p
;jEMEj p
;jEMEj p
;kHgHk p
;kHgHk p
;lGgGl p
;lHeHl p
;lHeHl p
;mGeGm p
;mGeGm p
;nGcGn p
;nGcGn p
;nGcGn p
;oFcFo p
;oGaGo p
;pFaFp p
;pFAFp p
;qEAEq p
;qEAEq p
;qEAEq p
;rDADr p
;rDADr p
;sCACs p
;sCACs p
;sCACs p
;tBABt p
;tBABt p
;uCu p
;uCu p
;uCu p
;vAv p }
Using Graphics 4-5
Placing the Image in a Format
The message structure below places a graphic field in a format.
You can have up to 100 graphic images. The graphic record can
be placed in a format data stream anywhere following the format
header record.
Graphics are counted as fields, just like text or bar code fields.
When determining the number of fields in your format, count each
graphic as a separate field.
Syntax
G##, ROW, COLUMN p
If graphic fields overlap with other fields in the data stream, the
last field in the data stream will dominate.
FieldContents
G##
ROW
COLUMN
Must begin with the letter ’G’ for a graphic field.
The G is followed by one or two digits for the graphic number.
Enter the number you assigned to the graphic in the graphic
data stream.
Valu e s :0-99
One to four digits to define the row location of the graphic on
the supply. This is the distance from the the guide edge zero
point at the
The zero point is 1.5 mm or 0.060 inches from the bottom of
the supply. The bottom of the supply is the edge that exits the
printer first.
This value is measured in tenths of millimeters (TOMMS) and
must be less than the maximum length of the supply.
Valu e s :0-2032
One to four digits to define the column location of the field on
the supply. This is the distance from the guide edge zero
point at the
field.
bottom
left
of the supply and the bottom of the field.
edge of the supply and the left edge of the
4-6 Using Graphics
The zero point is 1.5 mm or 0.060 inches from the left edge of
the supply.
The unit of measurement is tenths of millimeters. The range
must be less than the maximum width of the supply.
Valu e s :0-1016 (0 to 4 inches)
The following format data stream uses the graphic data defined
earlier in this chapter. The graphic is inserted 20 mm from the
bottom and 20 mm from the left edge of the supply.
{F11,550,507;LETTER-A p
G1,200,200 p
T0,I,0,400,100,1,1,0,0,B p }
The following batch data stream prints the following tag:
{B11,1,1,1,1,0,C;LETTER-A p
T0;LETTER-A GRAPHIC p }
Example
G1,100,40 p
The graphic number 1 is inserted into the format 10 millimeters
from the bottom and 4 millimeters from the left edge of the print
area.
Using Graphics 4-7
Clear Image Buffer
This command clears all or selective graphics from the image
buffer. Once graphic data is sent to the printer, that graphic stays
in memory until a clear image buffer command is sent.
Syntax
Field
C
##This optional parameter specifies a particular graphic to be
Example
{ C## }
Contents
Must be the letter ‘C’ to identify the clear image buffer
command.
cleared from memory. It must match the number assigned in
the graphic data stream. If omitted, ALL graphics in memory
will be deleted.
{C} Clears all graphics from the printer.
{C4} Clears only graphic number 4.
Compressing the Data Stream
Image data usually consists of a large amount of repetitive data.
Therefore, the printer uses a data compression algorithm for the
graphic message structure. Here’s how it works.
Any image is defined as a matrix of cells.
1.
Each row of the matrix consists of a series of consecutive ON
2.
(black) or OFF (white) cells. The range is 1-26, represented
by adding either a hex 40 (black) or hex 60 (white). Cells that
print black are represented by the upper case letters ‘A’
through ‘Z’ in the file sent to the printer. Cells that print white
are represented by the lowercase letters ‘a’ through ‘z’ in the
file. Consecutive cells greater than 26 require multiple letters.
Example:39 consecutive white cells are represented by
4-8 Using Graphics
the letters ‘zm’ (i.e. ‘z’ produces 26 white
cells followed by ‘m’ or 13 more white cells).
Each row of the matrix is terminated by the command
3.
inter-record separator, split vertical bar ( p ). However, the last
row of the matrix ends with the TERMINATOR command,
closed brace (}).
In addition to compressing consecutive cells, repetitive lines
4.
of compressed row data can be combined. For example, if
twelve rows have the same data (;zm), a number can be
added at the beginning of the line to repeat the line (;12zm).
The following example shows how you can compress the
5.
"Letter A" data stream. The long version is on the left. The
compressed version of the same data stream is on the right.
Using Graphics 4-9
Long Version Compressed Version
{G1,0,0,0,0 p {G1,0,0,0,0
;dHsHd p ;3dHsHd
;dHsHd p ;eGsGe
;dHsHd p ;eHqHe
;eGsGe p ;fGqGf
;eHqHe p ;2fHoHf
;fGqGf p ;gGoGg
;fHoHf p ;gHmHg
;fHoHf p ;3hGMGh
;gGoGg p ;2iFMFi
;gHmHg p ;3jEMEj
;hGMGh p ;2kHgHk
;hGMGh p ;lGgGl
;hGMGh p ;2lHeHl
;iFMFi p ;2mGeGm
;iFMFi p ;3nGcGn
;jEMEj p ;oFcFo
;jEMEj p ;oGaGo
;jEMEj p ;pFaFp
;kHgHk p ;pFAFp
;kHgHk p ;3qEAEq
;lGgGl p ;2rDADr
;lHeHl p ;3sCACs
;lHeHl p ;2tBABt
;mGeGm p ;3uCu
;mGeGm p ;vAv
;nGcGn p }
;nGcGn p
;nGcGn p
;oFcFo p
;oGaGo p
;pFaFp p
;pFAFp p
;qEAEq p
;qEAEq p
;qEAEq p
;rDADr p
;rDADr p
;sCACs p
;sCACs p
;sCACs p
;tBABt p
;tBABt p
;uCu p
;uCu p
;uCu p
;vAv p }
p
p
p
p
p
p
p
p
p
p
p
p
p
p
p
p
p
p
p
p
p
p
p
p
p
p
4-10 Using Graphics
QUICK REFERENCES
Text Font Sizes
The 9474 fonts are selected in Printer Configuration in offline
mode only. Be sure the fonts selected at the printer are
compatible with the format and batch data you are downloading.
Fonts
The 9474 fonts are proportional (each character takes only as
much space as it needs). Uppercase I is the narrowest character
and results in the most characters per inch. Uppercase M is the
widest and results in the fewest characters per inch. In the
following table uppercase I was used to calculate the most
characters per inch. Uppercase M was used to calculate the
fewest characters per inch.
If you rotate the characters (with the top of the characters toward
the left or right side of the stock) you will get the characters per
inch shown in the table labeled "Rotated Characters."
5
Quick References 5-1
Parallel Characters
Value/FontCharacters/InchCharacter
IM
1/Standard21.312.00.10
2/Reduced64.024.00.07
3/Bold19.27.10.20
5/OCR-A10.110.10.10
6/UPC HR119.213.70.10
7/UPC HR232.019.20.08
Height (in.)
Rotated Characters
FontCharacters/Inch
Standard10
Reduced14
Bold5
OCR-A10
Character Width (in Dots)
The dots per character is the same for all characters. The
examples below show the difference between parallel characters
and serial characters.
Parallel Characters
5-2 Quick References
Serial Characters
Parallel Character Width (in Dots)
The following table shows the character width in dots. Uppercase
I is the narrowest character (fewest dots per character).
Uppercase M is the widest character (most dots per character).
Value/FontDots WideICG*
IM
1/Standard7142
2/Reduced271
3/Bold7243
5/OCR-A16163
6/UPC HR112122
7/UPC HR210101
*Inter-character gap
Bar Codes
The table below lists bar code selections and values.
ValueDots Wide
1UPC-A
2UPC-E
3Interleaved 2 of 5
4Code 39
5Codabar
6EAN-8
7EAN-13
8Code 128
9MSI
10UPC/EAN+2
11UPC/EAN+5
Quick References 5-3
Bar Code Densities
The samples below show the difference between parallel and
serial bar codes.
Parallel Bar Code
Serial Bar Code
Bar Code Densities
ValueBar CodeDensity (Char/in)
Code 39
I 2 of 5
1
2
3
4
5
Code 128*
MSI
UPC/EAN
Code 39
I 2 of 5
Code 128*
MSI
UPC/EAN
Code 39
I 2 of 5
Code 128*
MSI
Code 39
I 2 of 5
Code 396.01
*For more information on Code 128, see Appendix B.
6.63
12.02
8.74 (alphanumeric)
17.48 (numeric only)
6.87
80% standard density
3.32
6.87
5.83 (alphanumeric)
11.66 (numeric only)
5.34
120% standard density
4.01
4.93
4.37 (alphanumeric)
8.74 (numeric only)
4.01
not supported
3.01
Line Width
5-4 Quick References
The following table shows the horizontal and vertical line widths.
Line Width
Line
NumberAppearanceInchesMM
1.005.13
2.010.26
3.015.40
4.021.53
5.026.66
6.031.79
7.036.92
8.0421.06
9.0461.16
10.0521.32
11.0571.44
12.0621.57
13.0671.70
14.0721.82
15.0781.98
Quick References 5-5
Special Characters
The following table shows the ASCII code for special characters
available in the standard font.
ASCII CodeSymbol Description
~128Hashed box
~129Pound or Lira
~130Yen
~131Kronna
~132Deutsche mark
~133Markka
~134Schilling
~135Half sign
~136Rupee
Code 128 Function Codes
The following table shows the ASCII code for the Code 128
function codes.
ASCII CodeFunction Code
~134F1
~129F2
~128F3
~132F4
5-6 Quick References
ASCII Characters
The following table shows the characters available in each font.
HR1 and HR2 are human readable fonts for bar codes.
yes = what you enter is what prints.
no = character does not exist in this font; nothing prints.
*Uppercase H and N are the only alphabetic characters that print in the Human Readable
fonts. All other characters are numeric.
yesyesnononono
∫
¬
yesyesyesnonono
yesyesyesnonono
yesyesyesnonono
nonono
nonono
Printable Characters by Font
Quick References 5-7
Following are the printable characters (not at actual size). Human
Readable 1 and Human Readable 2 are not available offline.
English/Metric Conversion
Standard
Reduced
Human Readable
(HR1)
5-8 Quick References
Bold
OCR-A
Human
Readable (HR2)
InchesTOMMInchesTOMMInchesTOMMInchesTOMM
--0.060150.075190.10025
0.125310.150380.175440.20050
0.225570.250630.275700.30076
0.325820.350890.375950.400101
0.4251080.4501140.4751210.500127
0.5251330.5501400.5751460.600152
0.6251590.6501650.6751710.700178
0.7251840.7501910.7751970.800203
0.8252090.8502160.8752220.900228
0.9252350.9502410.9752471.000254
1.0252601.0502671.0752731.100279
1.1252861.1502921.1752981.200305
1.2253111.2503171.2753241.300330
1.3253361.3503431.3753491.400356
1.4253621.4503681.4753751.500381
1.5253871.5503941.5754001.600406
1.6254131.6504191.6754251.700432
1.7254381.7504451.7754501.800457
1.8254631.8504701.8754761.900483
1.9254891.9504951.9755022.000508
2.0255142.0505202.0755272.100533
2.1255402.1505462.1755522.200558
2.2255652.2505712.2755782.300584
2.3255902.3505972.3756032.400609
2.4256162.4506222.4756282.500635
2.5256412.5506482.5756542.600660
2.6256672.6506732.6756792.700686
2.7256922.7506982.7757052.800711
2.8257172.8507242.8757302.900736
2.9257432.9507492.9757553.000762
3.0257683.0507753.0757813.100787
3.1257943.1508003.1758063.200813
3.2258193.2508253.2758323.300838
3.3258443.3508503.3758573.400863
3.4258693.4508763.4758823.500889
InchesTOMMInchesTOMMInchesTOMMInchesTOMM
3.5258953.5509023.5759083.600914
3.6259213.6509273.6759333.700939
3.7259463.7509523.7759593.800965
3.8259713.8509783.8759843.900990
3.9259963.95010033.97510094.0001016
4.02510224.05010284.07510354.1001041
4.12510484.15010544.17510604.2001067
4.22510734.25010794.27510864.3001092
Quick References 5-9
4.32510994.35011054.37511114.4001118
4.42511244.45011304.47511374.5001143
4.52511494.55011564.57511624.6001168
4.62511754.65011814.67511874.7001194
4.72512004.75012064.77512124.8001219
4.82512254.85012324.87512384.9001245
4.92512514.95012574.97512635.0001270
5.02512765.05012835.07512895.1001295
5.12513025.15013085.17513145.2001321
5.22513275.25013335.27513405.3001346
5.32513525.35013595.37513655.4001371
5.42513785.45013845.47513905.5001397
5.52514035.55014095.57514165.6001422
5.62514295.65014355.67514415.7001448
5.72514545.75014605.77514675.8001473
5.82514795.85014865.87514925.9001499
5.92515056.95015115.97515186.0001524
6.02515306.05015376.07515436.1001549
6.12515566.15015626.17515686.2001575
6.22515816.25015886.27515946.3001600
6.32516066.35016136.37516196.4001626
6.42516326.45016386.47516446.5001651
TOMM = Tenths of millimeters
5-10 Quick References
ERROR MESSAGES
This chapter provides explanations of your printer’s errors. There
are four types of errors:
N
diagnostic
N
startup
N
operation
N
offline
If you have problems loading supplies or performing maintenance,
refer to the Operator’s Handbook. If you have a problem you can’t
solve, contact your Monarch service representative.
Before you call...
N
Select Version from the main menu and press e . The
screen displays information about the software installed in
your machine.
N
Write down the information and give it to the service
representative when you call.
6
Error Messages 6-1
Diagnostic Messages
These messages appear if the printer fails internal testing. If the
printer stops at one of these messages, turn the power off. Then
turn it on again. If the problem persists, call Monarch Service.
Message
Error - Turn power off
Wait 10 seconds, then turn on
Head test failure
RAM read/write failure.
ROM checksum failure.
Startup Messages
The printer displays the following messages when you turn the
power on. Messages are listed in the order they appear.
If the printer stops at one of these messages, turn the power off.
Wait at least 10 seconds, then turn it on again. If the problem
persists, call Monarch Service.
Select Supply Type:
A)lign, B)lack Mark or D)ie Cut
6-2 Error Messages
B
A copyright statement for
the software.
Press e if you are
using black mark or
aperture supplies.
Type D and press e if
you are using die cut
supplies.
Type A and press e
to calibrate the printer.
MessageDescription/Action
Enter new date: 01/01/89
(MM/DD/YY)
Service Required: XXX
dayton:(800)231-7700 Press ENTER.
Enter new time: 00:01:04
(HH:MM:SS)
Press e to keep the
date shown or to skip the
prompt.
Enter a new date in the
format shown in
parentheses and
press e .
Preventative maintenance
message that is displayed
when the counter reaches
three million inches. This
message is displayed
every time the printer is
powered up until the
counter is reset by a
service technician.
Press e to keep the
time shown or to skip the
prompt.
Type new time and press
e . Enter the time in
the format shown in
parentheses and
press e .
"Head test failure"
message appears.
Check for visible print
problems. Continue
printing or call Service.
If the print problem is in a
bar code, call Monarch
Service. You can check
the quality of your bar
code if you have a bar
code verifier.
Error Messages 6-3
Operation Messages
There are two kinds of operation messages:
N
Error messages
N
Warning messages
The messages use the following formats:
ERROR: (function)
Error description text.
WARNING: (function)
Warning message text.
Function indicates the part of the program
where the error originated, such as Batch
Control or Format Entry.
Warning and error messages can be:
Informative
messages
Or ...
Failure
messages
6-4 Error Messages
The printer displays an informative message
for several seconds, then resumes operating.
An informative message is usually displayed
for 3 seconds in offline operation and for 10
seconds in online operation.
The printer displays a failure message and
stops operating until the operator presses
e.
Printer Errors
These messages occur during online or offline operation.
General Warnings
These warning messages are listed in alphabetical order.
MessageDescription/Action
Demand is not
available.
Load supply and
press ENTER.
Printing suspended
until exit.
Unassigned
memory recovered.
General Errors
You tried to change the print mode in Printer
Options. On Demand printing is not available
on a printer with a knife.
The next batch to print needs a different
supply than what is loaded.
Load the right supply and press e .
While printing, you have selected Batch
Control to check the print queue. Printing will
resume when you exit Batch Control.
You turned the printer off before it completed
the task in progress. You see this message
when you turn the printer back on.
Check all stored items (formats, batches,
passwords, graphic files, etc.) for missing or
bad data before continuing.
These messages are listed in alphabetical order.
MessageDescription/Action
Access denied.You entered an invalid password.
Error Messages 6-5
MessageDescription/Action
Cannot cancel.You cannot cancel the batch in its current
state. You can only cancel a batch that has a
status of P (Print) or I (Image). (You can use
delete if you want to remove a batch with any
other status.)
Cannot delete.You cannot delete the batch in its current
state. You can only delete a batch that has a
status of Q (Queue). (You can use cancel if
you want to remove a batch with a P or I
status.)
Duplicate cost
code character.
Field ## bad
font/barcode.
Field ## invalid
data.
Field ## graphic
missing.
A character appears more than once in the
Entered Char portion of your cost code.
Type the cost code again, without repeating
any characters.
The font or barcode for the field number
shown (##) is not defined properly.
Check the field definition in Format Entry and
correct the field.
The data includes characters not available in
the character set specified for this field.
Check the field definition in Format Entry for
the valid font.
You have requested a graphic that is not
available; the file has not been downloaded
from the host.
Download the graphic file and request the
graphic again or request another graphic.
6-6 Error Messages
MessageDescription/Action
Field ## extends
off tag.
The field you are defining does not fit on the
tag.
Change the field location, rotation, or font
size so it fits on the tag.
Head open.The ribbon is improperly positioned.
Reposition the cassette or ribbon loading
device so it is firmly seated. Close the print
head.
Hot head.The print head is too hot to operate. This is
normally due to continual printing of formats
with a lot of printed data (more than 30% of
the tag contains print).
Let the printer cool before continuing.
Insufficient
memory.
There is not enough memory available for the
item you are trying to store.
Delete formats or batches to free memory.
Knife jam.The knife is jammed or blocked, or you are
attempting to cut supply that is smaller than
1.2 inches.
Merge assimilation
error.
No batches to
examine.
Clear the knife, then try to print again. If
supply is too small, press 1 to override the
message and load the correct supply before
attempting to print.
You have made an error in defining a merge
field.
Enter the merge field again to correct it.
Batch Control is available only when there are
batches in the print queue.
Error Messages 6-7
MessageDescription/Action
No formats
available to print.
You cannot enter Data Entry mode until a
format is defined.
Ribbon problem.The ribbon cassette is depleted or jammed.
The ribbon may be broken. Check the ribbon
and reload or replace it if necessary.
Stacker Fault.The stacker is full or the stacker track is
jammed. Empty the stacker before trying to
print again.
Supply problem.There is a problem with the feed mechanism.
Reload the supply if necessary.
The 9474 will also display this
message if the backing paper takup reel is
full, the printer is out of stock, or the stock is
the incorrect size for the format that was
loaded.
Communication Errors
The following errors are caused by communication problems in
the printer.
Receive buffer full. The host did not stop transmission after it
received an XOFF character or after DTR
went inactive. Check communication setup at
the host.
6-8 Error Messages
MessageDescription/Action
Receive framing
error.
Receive overrun
error.
Receive parity
error.
Host communication protocol doesn’t match
machine. Check communication setup at the
host.
Host communication protocol doesn’t match
machine. Check communication setup at the
host.
Host communication protocol doesn’t match
machine. Check communication setup at the
host.
Offline Messages
Data Entry or Test Print Errors
The following errors occur during data entry or test printing. The
messages are listed in alphabetical order.
MessageDescription/Action
CD verify failed.You entered an incorrect check digit in a field
that requires a check digit.
Improper field
length.
You are trying to enter an invalid number of
characters in a Fixed or Optional/Fixed field.
A Fixed field requires exactly the number of
characters shown by the dashes on the
screen. An Optional/Fixed field requires
either the exact number of characters shown
by the dashes on the screen, or 0 characters.
Enter the correct number of characters for the
field.
Error Messages 6-9
MessageDescription/Action
Invalid cost code
character(s).
You are trying to enter characters in a cost
code field (in Data Entry) that are not defined
in the cost code. Check your data to be sure
it is correct, then enter the data again.
Machine busy.You are trying to print a test tag, but the print
queue is not empty. The print queue must be
empty to perform a test print. Wait until all
batches have printed, then try again to print
the test tag.
Must be all digits.You are trying to enter non-numeric
characters in a UPC, I 2 of 5, EAN, or MSI
bar code field. You can only enter numeric
data for these fields. Check your data to be
sure it is correct, then enter the data again.
Must be an even
# of characters.
You are trying to enter an odd number of
characters for an I 2 of 5 bar code field.
Check your bar code data to be sure it is
correct, then enter the data again.
No fields defined.You are trying to print a test tag, but you have
no fields defined. You must define at least
one field before you can test a format.
Price CD verify
failed.
You entered incorrect data in a UPC or EAN
bar code field. Check your data to be sure it
is correct, then enter the data again.
Typing mismatch.You are trying to enter data for a Verify field
(you must enter the same data twice), but
your entries do not match. Check your data
to be sure it is correct, then enter the data
again.
6-10 Error Messages
Format Entry Errors
MessageDescription/Action
CD scheme not
defined.
Cannot save
format.
Format in use.
Cannot delete.
Format in use.
Cannot modify.
I 2 of 5 requires
even # of digits
Improper field
length.
You selected a check digit scheme number in
Format Entry that is not defined. Define the
check digit scheme in Printer Configuration.
You have not completed any field definitions
for this format.
You are trying to delete a format used by a
batch that is printing or waiting to print. Be
sure you are trying to delete the right format.
Wait until the batch that uses the format has
printed, then delete the format.
You are trying to modify a format used by a
batch that is printing or waiting to print. Be
sure you are trying to modify the right format.
Wait until the batch that uses the format has
printed, then modify the format.
You are trying to define the field length for an
I 2 of 5 barcode as an odd number. Define
the field length as an even number of
characters.
You are trying to define a field length as
greater than 30 characters or as 0 characters.
All fields must be 1-30 characters (except
merge fields, which may not exceed 26
characters). Re-define the field length
correctly.
Incompatible field
for merge.
You tried to use a line field or a graphic field
in a merged field. You cannot use these field
types as part of a merged field.
Error Messages 6-11
MessageDescription/Action
Incompatible field
for sub.
Invalid barcode
height.
Invalid field
reference.
Invalid
magnification
value.
Invalid supply
length
Invalid supply
width.
Invalid thickness
value.
You tried to use a line field or a graphic field
in a subfield. You cannot use these field
types as part of a subfield.
You tried to define a bar code height as less
than 0.20 inch. Bar codes must be at least
0.20 inch (5.08 mm or 38 dots) in height.
You are trying to define a subfield or a
merged field. You have chosen a link with a
field number greater than the subfield or
merged field. Choose a link with a field
number less than the merged field.
You entered a font magnification value that is
outside the valid range of 1-10.
The specified supply length is longer or
shorter than the printer can print.
The specified supply width is wider or
narrower than the printer can print.
You are defining a line field. You entered a
value for the line width that is outside the
valid range of 1-15.
Merge field limit
is 26 chars.
Scheme # uses
# marked chars.
6-12 Error Messages
You are trying to define a merged field with a
field length of more than 26 characters.
You are defining a check digit field and you
have selected a check digit scheme (#). The
number of characters you marked is wrong for
the scheme you chose. Be sure you have
selected the right check digit scheme, then
mark the characters again.
MessageDescription/Action
Scheme # uses
# CD(s).
Stop location
out of range.
Sub/merge
requires this field.
Vertical/Horizontal
out of range.
You are defining a check digit field and you
have selected a check digit scheme (#). The
number of characters you marked is wrong for
the scheme you chose. Be sure you have
selected the right check digit scheme, then
mark the check digits again.
You are defining a line field, and have given a
stop location that is off the tag. Check your
format and enter the correct stop location.
You are trying to delete a field that is part of a
subfield or a merged field. Be sure you are
trying to delete the right field. Remove the
field you want to delete from the subfield or
merged field. Then try to delete the field
again.
You entered a field location in Format Entry
that is outside the dimensions of the format.
Check the location of the field you are
defining to be sure it fits on the tag, then
enter the location again.
Online Messages
The following messages occur during online communication when
the transmitted data contains errors. To recover from the error,
correct the data, then re-transmit it.
Online Warnings
MessageDescription/Action
Column > format
width.
The column definition for a field location is
greater than the format width definition.
Error Messages 6-13
MessageDescription/Action
Column > head
width.
Data string
The column definition for a field location is
greater than the width of the printhead.
The data string length exceeds 30 characters.
too long.
Format for batch
not found.
The format for the batch being sent has not
been downloaded.
Graphic not found. The graphic specified for a field has not been
downloaded.
Identifier
out-of-range.
Invalid barcode
field.
The format, batch, line, or graphic identifiers
are out of range.
Insufficient or incorrect data was used to
create a barcode field.
Invalid command. An unknown command was received.
Invalid cut value.The cut value is not 0 or 1.
Invalid data field.A field specified to receive data does not
exist on the format. The batch is not created.
Invalid incr/decr
value.
The increment/decrement value is outside
the valid range of 0-999.
Invalid label length. The specified supply length is longer or
shorter than the printer can print.
Invalid label width The specified supply width is wider or
narrower than the printer can print.
Invalid number of
parts value.
The number of parts value is outside the valid
range of 1-5.
6-14 Error Messages
MessageDescription/Action
Invalid orientation
value.
Invalid separator
value.
The line or character orientation value is not
0 or 1.
The batch separator value is outside the valid
range of 0-3.
Invalid text field.Insufficient or incorrect data was used to
create a text field.
Invalid thickness
value.
Name descriptor
too long.
No field to create
The line thickness value is outside the valid
range of 1-15.
The format or batch name is longer than 8
characters.
The format you are sending contains no fields.
format.
Qnty/Mult
out-of-range.
Row > format
length.
Row > stock
length.
The print quantity or print multiple is outside
the valid range of 1-4 digits.
The row definition for a field location is
greater than the format length.
The row definition for a field location is
greater than the supply length.
Stop location
out-of-range.
The stop location for a line field is off the tag
or the stop location is the same as the start
location.
Error Messages 6-15
Online Communication Errors
These errors are caused by communication problems between the
host computer and the printer during online operation.
Receive buffer full. The host did not stop transmission after it
received an XOFF character or after DTR
went inactive. Check communication setup at
the host.
Receive framing
error.
Host communication protocol doesn’t match
machine. Check communication setup at the
host.
Receive overrun
error.
Host communication protocol doesn’t match
machine. Check communication setup at the
host.
Receive parity
error.
Host communication protocol doesn’t match
machine. Check communication setup at the
host.
Waiting for
command
terminator. Press
F1 to abort
download.
6-16 Error Messages
No data is being received from the host.
Check to see if the host or the
communications line is down. Press 1 to
discontinue communications (the batch or
format data will be lost and must be
retransmitted).
SAMPLE DATA STREAMS
This appendix contains sample data streams for formats, batches,
and graphics. The illustrations show the tags that are printed from
these data streams.
A
Sample Data Streams A-1
Formats, Text and Bar Code Fields
This example shows a standard format with three text and one bar
code field.
Sample Format Data Stream
{F1,0550,0507;ONLINE p
T00,I,000,0475,0050,1,1,0,0,B p
T01,I,000,0406,0050,1,1,0,0,B p
T02,I,000,0017,0253,1,1,0,0,B p
B00,I,000,0124,0093,1,1,0,0177,1 p }
Sample Batch Data Stream
{B1,2,3,1,1,0,c;BATCH1 p
T00;TEST FORMAT 1 p
T01;S/N 97464B p
T02;$12.34 p
B00;0012345678905 p }
A-2 Sample Data Streams
Line Fields
This example shows how to use line fields to create a box.
Sample Format Data Stream
{F2,0550,0507;BOX p
L0,50,50,0,304,10 p
L1,50,50,1,304,10 p
L2,50,304,0,304,10 p
L4,304,50,1,316,10 p }
Sample Batch Data Stream
{B2,1,0,1,1,1,C;BOXTEST p }
Sample Data Streams A-3
Graphic Images
This Graphic data stream precedes the format that uses it.
Sample Graphic Data
Stream
{G3,0,0,0,0 p
;dHsHd p
;dHsHd p
;dHsHd p
;eGsGe p
;eHqHe p
;fGqGf p
;fHoHf p
;fHoHf p
;gGoGg p
;gHmHg p
;hGMGh p
;hGMGh p
;hGMGh p
;iFMFi p
;iFMFi p
;jEMEj p
;jEMEj p
;jEMEj p
;kHgHk p
;kHgHk p
;lGgGl p
;lHeHl p
;lHeHl p
;mGeGm p
;mGeGm p
;nGcGn p
;nGcGn p
;nGcGn p
;oFcFo p
;oGaGo p
;pFaFp p
;pFAFp p
;qEAEq p
;qEAEq p
;qEAEq p
;rDADr p
;rDADr p
;sCACs p
;sCACs p
;sCACs p
;tBABt p
A-4 Sample Data Streams
Sample Format Data Stream
{F3,0550,0507;GRAPHIC p
T0,I,0,400,100,1,1,0,0,B p
G3,200,200 p }
Sample Batch Data Stream
{B3,1,1,1,1,0,1;LETTER-A p
T0;LETTER A GRAPHIC p }
Sample Data Streams A-5
Compressed Graphic Data
This example shows the same graphic data stream in compressed
format.
Sample Compressed Graphic Data Stream
{G3,0,0,0,0 p
;3dHsHd p
;eGsGe p
;eHqHe p
;fGqGf p
;2fHoHf p
;gGoGg p
;gHmHg p
;3hGMGh p
;2iFMFi p
;3jEMEj p
;2kHgHk p
;lGgGl p
;2lHeHl p
;2mGeGm p
;3nGcGn p
;oFcFo p
;oGaGo p
;pFaFp p
;pFAFp p
;3qEAEq p
;2rDADr p
;3sCACs p
;2tBABt p
;3uCu p
;vAv p }
Sample Format Data Stream
{F3,0550,0 507; GRA PHIC p
T0,I,0,400,1 00,1 ,1,0 ,0,B p
G3,200,200 p }
Sample Batch Data Stream
{B3,1,1,1,1,0,1;LETTER-A p
T0;LETTER A GRAPHIC p }
A-6 Sample Data Streams
CODE 128 INFORMATION
The 128 bar code is divided into 3 character sets (Code A, Code
B, and Code C). Depending on the character set used, the same
bar pattern can be one of three characters. Table 1, at the end of
this appendix, lists the characters in each character set.
Code Acontains upper case letters (A-Z), special
characters, and control characters. Code A
does not have lower case letters.
Code Bcontains upper and lower case alphanumeric
characters and special characters. Code B
does not have control characters.
Code Ccharacter set contains pairs of numbers. In
code C, each bar pattern represents a pair of
numbers, ranging from 00 to 99.
When the data contains at least four numbers in a row, 128
switches to code C, then prints one bar pattern for each pair of
numbers. This doubles the numeric data per inch.
Therefore, it may be better to pad numeric data with a zero if it
has an odd number of characters. The bar codes below show the
difference between an odd number of numeric characters and an
even number of numeric characters. Do this only if your system
can ignore leading zeros.
B
Bar Code 1
Data = 1234567
Bar Code 2
Data = 01234567
Code 128 Information B-1
Bar Code 2 is not as wide as Bar Code 1 because all of its
characters are printed with bar symbols from code C.
Only 6 of Bar Code 1’s characters are printed in code C. The
other character has to be printed in code B. Whenever 128
switches from one character set to another, it adds bar patterns
that tell a scanner to switch character sets. These extra bar
patterns cause wider bar codes.
Bar Code Width
The width of a Code 128 bar code is determined this way:
N
If there are four or more numbers in a row, an even number of
them print in code C.
N
If there are four or more numbers in a row with an odd quantity
(e.g., 7 numbers in a row), one of them prints in code B.
N
All other alphanumeric characters are printed in code B.
The printer determines which character set to use based on the
data. No external control of character set selection is required.
For a given quantity of data, the widest bar code will be the one
that switches character set most often. Suppose your data has
14 characters (8 numeric + 6 alphabetic).
The bar code for data arranged like this:
Bar code 1
Data = 1234ABC5678DEF
is wider than data
arranged like this:
Bar code 2
Data = 12345678ABCDEF
B-2 Code 128 Information
Here’s why bar code 1 is wider:
N
The 8 numbers in each example appear in groups of four or
more, and they appear in even-numbered quantities,
therefore, all 8 numbers will use code C.
N
The 6 alphabetic characters will use code B.
Look at the example again. This time, data is underlined when
the character set changes.
The bar code for data arranged like this:
Bar code 1
Data = 1234
ABC5678DEF
is wider than data arranged
like this:
Bar code 2
Data = 12345678
ABCDEF
This shows that bar code width varies depending on how data is
arranged. Separating numeric and alphabetic characters reduces
the number of character set changes. Fewer character set
changes reduce bar code width.
Code 128 Information B-3
The table below shows the characters per inch for Code 128. The
table shows the values for numeric data, and for alphanumeric
data at each of the three densities available on the printer. The
characters per inch for your bar code will be somewhere between
these two values, depending on the mixture of numeric and
alphabetic characters. For a precise calculation of the width of
your bar code, refer to the specification for the Code 128 bar
code.
DensityNumeric DataAlpha-numeric Data
117.488.74
211.665.83
38.744.37
Quiet Zone
When you estimate the area you’ll need for the bar code,
remember to add the length of the quiet zone. The quiet zone is
an area of white space required at the beginning and end of each
bar code. The minimum size of the quiet zone is 0.10, or 10
times the width of the narrowest bar code element, whichever is
greater. The tables below show the minimum size of the quiet
zone at each density. For wand scanning, the quiet zone should
be 0.25 to 0.35 inch.
DensityQuiet Zone
10.10 inch
20.15 inch
30.20 inch
B-4 Code 128 Information
Function Codes
Code 128 has four function codes (f1-f4). These special
characters can be entered as:
N
fixed characters when defining a code 128 field (Format Entry)
N
data when printing a batch (Data Entry).
Enter the special 128 function codes as follows:
to select this
Press these keys function code
F2 then 1 f1
F2 then 2 f2
F2 then 3 f3
F2 then 4 f4
The function code is displayed as F
, F2, F3, or F4.
1
Code 128 Information B-5
128 Bar Code Character Sets
Any of the following characters can be used in online
communication with the printer by sending the character’s
standard decimal value. To enter specific characters from the
keyboard, refer to "Using the Keyboard" in Chapter 4 of the
Operator’s Handbook.
Values listed on the chart are for reference only; they are not
decimal values.