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.
Paxar is a trademark of Paxar Corporation.
9412, 9413, and 9414 are trademarks of Monarch Marking Systems, Inc.
Microsoft and MS-DOS are registered trademarks of Microsoft Corporation.
Windows is a registered trademark of Microsoft in the U.S. and other countries.
TrueType is a trademark of Apple Computer, Inc.
Hewlett-Packard is a registered trademark of Hewlett-Packard Company.
CG Triumvirate and CG Triumvirate Bold are trademarks of AGFA Corporation.
Adobe and Acrobat are trademarks of Adobe Systems Incorporated which may be registered in certain
jurisdictions.
Centronics is a registered trademark of Centronics Data Computer Corporation.
Monarch Marking Systems
P.O. Box 608
Dayton, Ohio 45401
Before you read this manual, review the printer information in the
Equipment Manual. This manual provides the necessary
information to design, write and print a Monarch® Printer Control
Language II (MPCLII) format. The following printers support this
type of format:
u
9412 (V. 1.0 or greater)
u
9413 (V. 1.0 or greater)
u
9414 (V. 1.0 or greater)
About This Manual
You do not need to be a programmer to use this manual, but you
must be familiar with creating text files and executing basic
MS-DOS® commands.
This chapter
u
describes the significant differences between the printers.
u
creates a sample MPCLII packet.
u
shows how to download a sample packet.
u
gives a list of daily procedures for operators.
Getting Started 1-1
Page 10
This features table gives an overview of each printer’s features.
While these printers are very similar, some differences in
operation and available options exist.
Feature941294139414
Maximum print speed2.0 ips2.0 ips2.5 ips
Maximum print area2 in. x 6 in.4 in. x 4 in.4 in. x 6 in.
Location of Print AreaCenterCenterCenter
Supply Width1.2 in. x 2.36 in.1.2 in. x 4.25 in.1.2 in. x 4.25 in.
Supply Length.38 in. x 6 in..38 in. x 4.0 in..38 in. x 6.0 in.
Power Up ModeOnlineOnlineOnline
Feed ModeContinuous/
On-Demand
RibbonYesYesNo (direct only)
SuppliesTags or LabelsTags or LabelsTags or Labels
Field Number Range0-9990-9990-999
Batch SeparatorYesNoYes
2D bar codesYesYesYes
Memory128K battery-
backed RAM
Parallel PortYesYesYes
Continuous/
On-Demand
128K batterybacked RAM
Continuous/
On-Demand
512K Flash
1-2 Getting Started
You can create larger images or store formats
if you purchase additional memory.
See "Defining Text Fields" in Chapter 4 for a
list of available fonts for your printer.
See Chapter 5, "Defining Field Options," for a
list of available Options for your printer.
Page 11
Before You Begin
1. Connect the printer to the host. Refer to your Equipment
Manual for more information.
2. Load supplies in the printer. Refer to your Equipment Manual
for more information.
3. Turn on the printer.
4. Set the communication parameters and configure the printer.
The communication parameters at the printer must match
those at the host. See Chapter 3, "Configuring the Printer,"
for more information.
5. Design your format. See "Starting with a Design" in Chapter
2 for more information.
6. Download your format to the printer. See Chapter 6,
"Printing," for more information.
Creating an MPCLII Format Packet
A format defines which fields appear and where the fields are
printed on the label. The printer requires this information in a
special form, using Monarch Printer Control Language II (MPCL).
This section describes how to create a sample MPCLII format
packet.
Make sure supplies are loaded, the printer is connected to the
host and is ready to receive data. Refer your Equipment Manual
for more information.
For detailed information about the format header, text, constant
text, and bar code fields, see Chapter 4, "Defining Fields." For
information about batch packets, see Chapter 6, "Printing."
1. Type the following format header, in any text editor:
{F,25,A,R,M,508,508,"FMT-25" p
Getting Started 1-3
Page 12
2. Type the following constant text field:
C,250,80,0,1,2,1,W,C,0,0,"MONARCH MARKING",0 p
3. Type the following bar code field:
B,1,12,F,110,115,1,2,120,5,L,0 p
4. Type the following text field:
T,2,18,V,30,30,1,1,1,1,B,C,0,0,0 p }
You have created a format packet for your MPCLII printer. Now, a
batch packet must be created before you can print the format.
5. Type the following batch header, after the text field line:
{B,25,N,1 p
6. Type the following bar code data:
1,"12345678901" p
7. Type the following text field data:
8. Save your file as SAMPLE.FMT.
9. Type MODE COM1:9600,N,8,1 at the DOS prompt if you are
1-4 Getting Started
2,"DAYTON, OHIO" p }
using serial communications. This sets the communication
parameters at your host. These communication parameters
must match those at your printer. See "Setting
Communication Parameters," "Using Parallel
Communications" in Chapter 3, or your host’s documentation
for more information.
Page 13
10. Type COPY SAMPLE.FMT COM1. The following 2 inch by 2
inch label prints:
{F,25,A,R,M,508,508,"Fmt 25" p
C,250,80,0,1,2,1,W,C,0,0,"MONARCH MARKING",0 p
B,1,12,F,110,115,1,2,120,5,L,0 p
T,2,18,V,30,30,1,1,1,1,B,C,0,0,0 p}
Sample Batch Packet
{B,25,N,1 p
1,"12345678901" p
2,"DAYTON, OHIO" p }
See Chapter 2, "Designing a Format" to
design your format and Chapter 4, "Defining
Fields" to create text, bar code, and line
fields.
Daily Startup Procedures
You may want to design a checklist for operators to follow each
day. Here are a few suggested items: Turn on the printer and
host, make sure ribbon and supplies are loaded, make sure
communication parameters are set, and download packets from
the host to the printer.
You may want to keep records of supplies that have been printed.
A good way to do this is to design a print log for operators to
complete at the end of the day. Here are some suggestions for
types of information to include in a print log: date, operator’s
name, format name, supply size, quantity printed, evaluation of
print quality, and problems/comments.
Keep backup copies of your format, batch data, and check digit
packets.
Getting Started 1-5
Page 14
1-6 Getting Started
Page 15
DESIGNING A FORMAT2
This chapter describes how to
u
determine what kind of information to use in your format.
u
use the Supply Layout Grid and Format Worksheet.
u
categorize data into field types.
u
select fonts to use in your format.
Designing a Format 2-1
Page 16
Starting with a Design
Before you create a format packet, you must design your label.
There are several steps to designing a custom label:
1. Decide which fields should appear on your label. See
"Determining Format Contents" for more information.
2. Determine your label size. Labels are available from Monarch
in a wide variety of sizes. Your application and the amount of
data you need to print determines the supply size. Contact
your Account Manager or Technical Support for more
information.
3. Draw a rough sketch of your label. You may want to draw
several variations to see what works best. See "Drawing
Rough Sketches" for more information.
4. Identify the field types that appear on your label. See
"Considering Field Types" for more information.
5. Decide which fonts you want to use. See "Considering Fonts"
for more information.
6. Fill out your Format Worksheet. See "Using the Format
Worksheet" for more information.
At this point, you are ready to send your design to the printer. To
do this:
7. Create a format packet, based on how you filled out your
worksheet. See Chapter 4, "Defining Fields," for more
information.
8. Download your format packet to the printer. See Chapter 6,
"Printing," for more information.
2-2 Designing a Format
Page 17
Determining Format Contents
Before you lay out your format, you need to make a few
decisions. For example:
u
How large is your supply?
u
Which fonts do you want to use?
u
Do you want to include a bar code?
Determining the Print Area
The "bottom" is the edge that exits the printer first. The 0,0 point
is at the bottom left corner of the label. For these printers, the
print area is in the center of the label. Check the table to
determine the maximum print area.
PrinterUnit of MeasureMaximum Supply Size
(Width x Length)
9412English (1/100")236 x 600200 x 600
Metric (1/10mm)599 x 1524508 x 1524
Dots (1/203 dots)479 x 1218406 x 1218
9413English425 x 400400 x 400
Metric1080 x 10161016 x 1016
Dots863 x 812812 x 812
9414English425 x 600400 x 600
Metric1080 x 15241016 x 1524
Dots863 x 1218812 x 1218
Maximum Print Area
(Width x Length)
Designing a Format 2-3
Page 18
Use the following formulas to convert inches to dots and metric:
Dots = inches x 203
Metric (1/10mm) = inches x 254
English (1/100 inch) = 100 x (dots/203)
Dots = Metric (1/10 mm) x 799/1000
Drawing Rough Sketches
After you decide what information you want to
print, sketch how you want the information to
appear on the label. Note any areas that are
preprinted on the label, such as a logo.
As soon as you know what information to include
on the label and you have a rough sketch, you
can use a supply layout grid to help you layout
and size your label. If you do not want to use a
grid, go to "Considering Field Types" to choose
what information you want on your label.
Using Supply Layout Grids
A supply layout grid contains measurement markers. These
markers help you accurately position information on your label.
2-4 Designing a Format
Page 19
Decide whether you want to design formats using English, Metric,
or Dot measurements. Choose from the following grids:
u
English
The English grid, shown to the
right, is measured in 1/100
inches.
u
Metric
The Metric grid is measured in
1/10 millimeters (mm).
u
Graphic
The printer uses dots to print
images on a label. The
printhead has 203 dots per inch
(DPI).
Choose English or Metric units when designing formats to use
with different printers. English or Metric units allow more direct
use of formats on printers with different density printheads.
If you want to use supply layout grids, a copy of each is in
Appendix D, "Format Design Tools."
Designing a Format 2-5
Page 20
Considering Field Types
After you select a supply size, the next step in designing a format
is to decide what information you want to print on the label. For
example, you may want to print your company name, price of an
item, and a bar code that combines information from other places.
Everything you want to print falls into one of the following
categories.
Field TypeDescriptionExamples
TextContains letters, numbers, or
Bar CodeUsed for printing bar codes that
Constant Text Prints fixed characters that do not
Line or BoxHighlights or separates items.line marking out the regular price,
Non-Printable
Text
symbols you want to print.
can be scanned.
change.
Holds data for later use, such as
for merging into another field.
The printer does not print
non-printable text fields.
item number, item description,
department number, price, date
item or serial numbers, zip codes,
information you don’t want to
have visible to customers
company name, company address
border around the supply
city, state, and zip code to be
included in a bar code
All of the above field types are discussed in
Chapter 4.
Considering Fonts
When working with fonts, you have three considerations:
u
font appearance
u
font size
u
font spacing (monospaced or proportional)
See Appendix B, "Fonts," for samples of each font.
2-6 Designing a Format
Page 21
Using the Format Worksheet
The Format Worksheet is divided into sections that list the field
types. Each section has boxes to fill in with parameters that
define your format. A format worksheet is included in Appendix
D, "Format Design Tools."
Filling in the Format Worksheet
Decide what type of field to use on your label.
1. Make a copy of the Format Worksheet.
2. Define the Format Header.
3. Define all non-printable text fields before you define the ones
you want to print. See "Defining Non-printable Text Fields" in
Chapter 4 for more information.
4. Define options as you require them. See Chapter 5, "Defining
Field Options" for more information.
Designing a Format 2-7
Page 22
2-8 Designing a Format
Page 23
CONFIGURING THE PRINTER3
This chapter discusses how to
u
set communication parameters.
u
upload the printer’s configuration or font information.
u
configure the printer using online configuration packets.
u
use immediate commands to control the printer’s operation
at any time.
Configuring the Printer 3-1
Page 24
Setting Communication Parameters
Use the following information for serial communications. See
"Using Parallel Communications" for information about parallel
communications.
The communication parameters at the printer must match those at
the host, or you will not be able to communicate.
You can use the communication settings packet to set
communication parameters for your printer.
On MS-DOS computers, you can use the MODE command to set
communication values on your PC.
For example
MODE COM1:9600,N,8,1
This command sets your host to these communication values:
u
a baud rate of 9600
u
no parity
u
8 bit word length
u
1 stop bit
Using Parallel Communications
If your printer supports parallel communications, the parallel port
is Centronics®-compatible. The communication settings are
automatically configured for you. There are no operator settings
required.
3-2 Configuring the Printer
Page 25
Using MPCLII Conventions
Here are some guidelines to follow when using MPCLII.
MPCLII Punctuation
Use the following symbols when creating MPCLII packets:
{start of header
}end of header
pfield separator
,parameter separator
"ABC"Quotation marks enclose character strings.
Empty quotes ("") identify null strings or
unused fields.
‘comment‘Grave accents enclose comments. Any data
enclosed in grave accents is ignored. Do not
embed comments within a quoted string.
Grave accents are also used to reject
mainframe data.
These MPCL characters are the default. See "Defining the
Control Characters Packet" to change these characters.
Standard Syntax Guidelines
When creating MPCLII packets:
u
Begin each packet with a start of header ({).
u
End each packet with an end of header (}).
Configuring the Printer 3-3
Page 26
u
Define no more than 1000 fields in a format. Each p indicates
one field. However, options are not counted as fields. The
actual number of fields a format can have may be less,
because the number of fields is limited by the available
memory.
u
The field number 0 to 999 must be unique. Monarch
recommends starting at 1, instead of 0.
u
Do not use a field number more than once per format.
u
Define all fields in the order you want to image/print them.
The printer does not print in field number order.
u
Separate all parameters with a Parameter Separator (,).
u
End each field with a Field Separator ( p ).
u
Enter all information in CAPITAL letters, except words or
phrases within quotation marks.
u
Include all field parameters unless documented as optional.
u
Define non-printable text fields before the field to which they
apply.
u
Define options immediately after the field to which they apply.
u
Multiple options can be used with most fields. Options can be
used in any combination except as noted with each definition.
u
Keep in mind that proportionally spaced fonts need wider
fields than monospaced fonts. For variable field data, use a
letter "W" to determine the maximum field size.
u
Do not place a new line (return) or any other non-printing
character in a character string. However, a carriage return or
line break after each p makes your formats easier to read.
T,1,20,V,30,30,1,1,1,1,B,C,0,0,0 p
T,2,10,V,50,30,1,1,1,1,B,C,0,0,0 p
u
Spaces are ignored, except within character strings.
u
Indenting options improves readability of your formats.
T,1,18,V,30,30,1,1,1,1,B,C,0,0,0 p
R,42,1 p
u
Use a tilde (~) followed by a 3-digit ASCII code in a quoted
string to send function codes or extended characters.
3-4 Configuring the Printer
Page 27
You can modify formats and fields with the optional entry method.
See "Optional Entry Method" in Chapter 6 for more information.
Using Online Configuration Packets
Use online configuration packets to change the printer settings.
You can send an individual packet or a packet that contains all
seven online configuration packets. You can supply all
parameters for each packet. Leave the parameters blank that you
do not need to change. For example,
{I,A,,,,1 p } prints a slashed zero and uses the last sent online
System Setup parameters.
Make a copy of the online configuration worksheet in Appendix D,
"Format Design Tools," and save the original. Packets A-M are
listed on the worksheet.
When you turn off the printer, all the information in the online
configuration packets is saved and used when the printer is
turned back on. After you change printer configurations, you
must resend the format or batch to the printer before the changes
take effect.
Configuration Packet Header
Always include an I, immediately after the left bracket { and
before the packet identifier (A, B, C, etc.). The
identifies the data stream as a configuration packet.
Include the I parameter with each packet if
you are sending them individually. Include it
only at the beginning of a data stream if you
are sending multiple packets.
I parameter
Configuring the Printer 3-5
Page 28
This is the syntax to use when you create online configuration
packets:
Syntax
{I,1 to 7 optional packetStart of Header, Configuration Header
A, parameter 1...parameter 5 pSystem Setup
B, parameter 1...parameter 5 pSupply Setup
C, parameter 1...parameter 5 pPrint Control
D, parameter 1...parameter 3 pMonetary Formatting
E, parameter 1...parameter 9 pControl Characters
F, parameter 1...parameter 5 pCommunication Settings
M, parameter 1_parameter 4 p }Memory Configuration, End of Header
Syntax for single packet
{Start of Header
IConfiguration Packet Identifier
A, parameter 1...parameter 5 p System Setup
}End of Header
You can also add a configuration to non-volatile RAM or specify
units for supply, print, and margin positions. If you use the
optional parameters with the I packet, any online configuration
packets following the split vertical bar ( p ) must specify distances
using the selected units.
Adds a configuration to non-volatile RAM and specifies English
units. It also uses the default contrast, moves print 0.25 inches
closer to the bottom of the supply and does not change the
margin adjustment, prints at the default print speed, and uses the
default printhead width.
If you do not use the optional parameters, the syntax for the
online configuration packets does not change. For example,
{I,C,0,50,0,0,0 p }
uses the default contrast, moves print 50 dots (025 inches) closer
to the bottom of the supply and does not change the margin
adjustment, prints at the default print speed, and uses the default
printhead width.
Example
{I,0,U,N p }
Uploads the printer configuration from non-volatile RAM and
returns the following to the host.
A,0,0,0,0 p
B,1,0,0,0,0,0 p
C,0,0,0,0,0 p
D,1,0,2 p
E,"~123~044~034~124~125~126","~013~010","" p
F,3,1,0,0,1 p
M,R,0,0,N,2424,0 p
M,R,N,20 p
M,T,N,10 p
M,I,N,1259 p
M,D,N,975 p
M,F,N,160 p
M,V,N,0 p }
Configuring the Printer 3-7
Page 30
The parameters for each packet (A-M) are displayed. In the first
line that begins with M, 0 is the total volatile memory available, 0
is the memory used in volatile RAM. 2424 is the total non-volatile
memory available, 0 is the memory used in non-volatile RAM.
The remaining lines beginning with M list the buffer sizes in 1/10K
for the Receive, Transmit, Image, Downloadable Fonts, Formats,
and Scalable Fonts Buffers.
The scalable font is not available
for these printers.
Configuration Syntax Guidelines
When creating a printer configuration packet:
u
Follow the "Standard Syntax Guidelines" listed at the
beginning of this chapter.
u
Begin a packet with the configuration header (I).
u
Download multiple configuration packets within one packet or
download a single configuration packet.
u
Include the first five ANSI codes, at a minimum, in the control
characters packet.
u
If you change any of the online configuration packets, resend
the format packet to the printer, so the configuration changes
take effect.
u
Make sure the communication settings at the host match those
at the printer.
3-8 Configuring the Printer
Page 31
Defining the System Setup Packet
Use the system setup packet (A) to select the power up mode,
display language, print separators between batches, print a
"slashed zero," and select the symbol set.
0Does not print a separator (default for all printers).
1Prints a separator.
0Print a standard zero (default for all printers).
1Print a zero with a slash through it.
0Internal/ Monarch (default for all printers)
1ANSI
2Code Page 437
3Code Page 850
Example{I,A,0,0,1,1,0 p }
Powers up the printer in the online mode, displays prompts in
English, prints a separator after each batch, prints zeros with
slashes through them, and uses the internal symbol set.
Configuring the Printer 3-9
Page 32
Defining the Supply Setup Packet
Use the supply setup packet (B) to select supply type, ribbon,
feed mode, supply position, and cut position.
0Black mark stock
1Die Cut/aperture stock (default for all printers)
2Non-indexed stock
To use black mark supplies, send this packet {I,B,0,,,,, p}. Turn
off the printer. Turn the printer on while holding the FEED
button. Release when the supply starts to advance. After the
printer prints a test label, press the FEED button again to exit
Data Dump mode. Turn off the printer and then, turn it back
on. The printer is ready for black mark operation.
0Ribbon not installed (9414 default)
1Ribbon installed (9412/9413 default)
NOTE: The 9414 printer does not support a ribbon.
0Continuous operation (default for all printers)
1On-demand mode
For the 9412/9413 printers, you must have the on-demand
sensor installed to use on-demand mode. Also, the feed
mode is determined by the presence of the on-demand
sensor, not from this parameter. If the on-demand sensor is
open, you are using on-demand mode. If the on-demand
sensor is closed, you are using continuous mode. There is a
switch on the 9414 printer for on-demand mode. Refer to your
Equipment Manual for more information.
B5. supply_posn -300 to 300 in 1/203 inch. 0 is the default for all printers.
3-10 Configuring the Printer
Adjusts the machine to print at the vertical 0,0 point on the
supply. This adjustment accounts for mechanical tolerances
from machine to machine. The supply position adjustment
only needs to be made on the initial machine setup.
You can’t change the supply position while the printer is
active. Changing the supply position will affect the print
position.
Page 33
B6. cut_posn-99 to 99 in 1/203 inch. Use 0 for these printers.
Example{I,B,0,0,1,10,0 p }
Indicates black mark and thermal direct stock has been loaded,
causes the printer to operate in on-demand mode and feeds the
supply approximately .05 inches up before printing the format on
each label (10/203 inches).
Defining the Print Control Packet
Use the print control packet (C) to set the contrast, print, and
margin adjustment, print speed, and printhead width.
Syntax
C1. CPrint Control Packet
C2. contrast-390 to 156. 0 is the default for all printers.
C3. print_adj-99 to 99 in 1/203 inch. 0 is the default for all printers.
C4. margin_adj-99 to 99 in 1/203 inch. 0 is the default for all printers.
C5. speed_adjPrint speed. Use 0 for these printers.
C6. ph_widthWidth of the printhead in dots. Use 0 for these printers.
{I,C,contrast,print_adj,margin_adjust,
speed_adj,ph_width p }
Adjusts where data prints vertically on the supply. Increase
the print position to move print up, decrease to move print
down.
Adjusts where data prints horizontally on the supply. Increase
the margin position to move print to the right, decrease to
move print to the left. Margin and print position are format
adjustments. They will not affect the supply position.
Example{I,C,0,-20,-10,0,0 p }
Uses the default contrast, moves print 0.1 inch closer to the
bottom of the supply (20/203 inches) and .05 inch to the left on
the supply (10/203 inches), prints at two inches per second, and
uses the default printhead width.
Configuring the Printer 3-11
Page 34
Defining the Monetary Formatting Packet
The monetary formatting packet (D) selects the monetary symbols
to print for a price field. Use the monetary formatting packet to
select primary and secondary monetary symbols, and designate
the number of digits to appear at the right of a decimal.
NOTE: To use these symbols, select the internal symbol set.
0No secondary sign (default for all printers)
1Print secondary sign
NOTE: Secondary symbols only print if you designate at
least one decimal place.
D4. decimalsNumber of digits to the right of the decimal. Options:
Example{I,D,1,1,2 p }
Prints the dollar sign, uses a secondary symbol, and places two
digits to the right of the decimal.
3-12 Configuring the Printer
0No digits
1One digit
2Two digits (default for all printers)
3Three digits
Page 35
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
ENQ’s.
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.
Wait two seconds for the new characters to
take effect before sending packets using the
new characters.
Use the following syntax for the control characters packet. Notice
all but the first parameter are within quotation marks.
Up to any 3 digits in the 0 to 255 decimal
range. The tilde (~) must be used with decimal
characters. 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.
Configuring the Printer 3-13
Page 36
E3. "string 1"Terminator for status requests and ENQ requests. Up to any 3
digits in the 0 to 255 decimal range. The tilde (~) must be
used with decimal characters. The default is "013". Sending
"" disables this sequence.
E4. "string 2"Terminator for job requests and data uploads. Up to any 3
digits in the 0 to 255 decimal range. The tilde (~) must be
used with decimal characters. The default is none. Sending ""
disables this sequence.
After you change these parameters, all packets, including any
future configuration packets, must use the new control characters.
Monarch recommends 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 will execute
immediately, even if it is embedded within quotation marks, and
all data following the command in the string will be ignored.
Example
{I,E,"~123~063~034~124~125~126~094" p }
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.
Resetting Control Characters
You can change the characters in the previous example back to
their original settings by downloading this packet:
Example
Notice that the parameter separator is ? in this packet. This is
the parameter separator that was set before this packet. Once
the packet is received by the printer, the new parameter separator
(a comma, in this case) is valid.
3-14 Configuring the Printer
{I?E?"~123~044~034~124~125~126~094" p }
Page 37
Be careful when using this feature. If you forget what the control
characters were changed to, print a test label. The test label lists
the current control characters. See "Printing a Test Label," in
Chapter 8 for more information.
Defining the Communication Settings Packet
Use the communication settings packet (F) to set the baud rate,
word length, stop bits, parity, and flow control for serial
communications. To set parallel communications, see "Using
Parallel Communications." Changing the communication settings
takes approximately two seconds. Communications sent during
this interval will be lost. Make sure the host communication
values match the values on the printer.
Syntax
{I,F,baud,word_length,stop_bits,parity,
flow_control p }
F1. FCommunication Settings Packet
F2. baudBaud Rate. Options:
F3. word_length Word Length. Options:
F4. stop_bitsStop Bits. Options:
F5. parityParity. Options:
F6. flow_control Flow Control. Options:
0 12003 9600 (default for all printers)
1 24004 19200
2 48005 38400
07-bit word length
18-bit word length (default for all printers)
01-stop bit (default for all printers)
12-stop bits
0None (default for all printers)
1ODD parity
2EVEN parity
0None2(CTS)
1DTR (default 3XON/XOFF
for all printers)
NOTE: If you use the DOS COPY command to download
your formats, set "Flow Control" to DTR (not
XON/XOFF).
Configuring the Printer 3-15
Page 38
Example{I,F,3,1,0,0,1 p }
Uses 9600 baud, an 8-bit word length, one stop bit, no parity, and
the DTR mode.
Defining the Memory Configuration Packet
Use the memory configuration packet (M) to customize the size of
your printer’s buffers, which gives you greater flexibility in your
formats.
Memory must be allocated in 1/2K increments. The memory
configuration packet does not accept decimals, so enter whole
numbers. Multiply the amount to reallocate (in K) by 10. For
example,
To reallocate (in K)Enter this amount
110
1.515
220
2.525
32320
1531530
229.52295
Each buffer’s allocated memory remains in effect until that buffer
is reallocated. For this reason, you may want to reallocate all the
buffers when reallocating any buffer. If you reallocate more
memory than you have available, you will receive an error.
M4. buffer sizeBuffer size in 1/10K ranges. See the following table for
ranges.
Example{I,M,I,R,1530 p }
Stores the image buffer in volatile RAM and allocates 153K for it.
The following table lists the configured buffer sizes and min-max
values for your printer.
BufferType94129413/9414
TransmitNon-Volatile1K
ReceiveNon-Volatile2K
ImageNon-Volatile67K
Downloadable Fonts Non-Volatile10K
Scalable FontsNANA
Formats
(Formats and
Batches)
InternalNAcannot reallocate
Non-Volatile16K
(.5K- 4K)
(2K- 64K)
(38.5K- 512K)
(8K- 512K)
(16K- 512K)
1K
(.5K- 4K)
2K
(2K- 64K)
83K
(38.5K- 512K)
10K
(8K- 512K)
NA
16K
(16K- 512K)
cannot reallocate
The transmit and receive buffers are fixed and cannot be
reallocated. The printer’s configuration is stored in non-volatile
RAM and retained when you turn off the printer.
Configuring the Printer 3-17
Page 40
Checking Current Buffer Sizes
Send a configuration upload packet to check the sizes of your
current buffers. See "Using Configuration Upload Packet" for
more information. After you check your current buffer sizes you
can begin reallocating memory.
If you want to increase your image buffer and you will not be
using scalable fonts, add that memory into your image buffer.
Example
{I,M,R,N,20 pReceive buffer 2K
M,T,N,10 p Transmit buffer 1K
M,D,N,80 p Downloadable fonts 8K
M,V,N,160 p Scalable fonts buffer 16K
M,I,N,3200 p } Image buffer 320K
Make sure memory is available before adding memory to a buffer.
In the above example, if the image buffer (M,I,N,3200) was
defined before the downloadable fonts and scalable fonts buffers
(M,D,N,80 and M,V,N,160) were defined, an error would have
occurred.
About Memory Buffers
Transmit BufferUsed to send ENQ, job, and upload
responses. This buffer must be allocated as
non-volatile (N) RAM.
Receive BufferUsed to save data received from the host
before it is processed by the printer.
Changing this buffer size affects the amount
of data the printer can receive without using
flow control. This buffer must be allocated as
non-volatile (N) RAM.
3-18 Configuring the Printer
Page 41
Image BufferUsed to image the current format. You can
create an image up to 16 inches long by
reallocating memory. The Image Buffer is
cleared after a printer reset, even if it is
stored in non-volatile RAM.
Use the formula below to calculate the
required image buffer size.
22K x Length
Length is the length of your label in inches.
Example22K x 6 = 132K (Multiply by 10.)
132K x 10 = 1320
Enter 1320 for your Image buffer.
Format BufferUsed to store formats and batch data. Use
the following formula to calculate the required
format buffer size:
Linecount x 50/1024
Linecount is the number of lines in your
format packet including the format header
and all the options.
Downloadable
Fonts Buffer
Scalable (Vector)
Fonts Buffer
The result of the above calculation is in
kilobytes.
Used to store downloaded soft (bitmapped)
fonts. To determine the size of your
downloadable fonts, send a font packet. See
"Using the Font Packet" for more information.
Used to image the scalable font characters.
Increasing this buffer size allows more
characters to be saved in cache memory, so
the characters do not have to be re-built the
next time they are printed. Scalable fonts are
not available for these printers, use 0.
Configuring the Printer 3-19
Page 42
Buffer Worksheet
Make copies of this page to use as a buffer worksheet.
3-20 Configuring the Printer
Page 43
Buffer Allocation Considerations
Keep these items in mind when allocating memory.
u
Do not allocate more memory than what is available.
u
Free memory from one buffer before you add it to another
buffer.
u
Reallocate all the buffers if you need to reallocate any buffer.
u
Send all buffer (re)allocations in one packet. The printer
evaluates each individual buffer allocation separately. If one
buffer allocation is invalid, the entire packet is invalid. For
example, if you send
{I,M,R,N,20 p
M,T,N,60 p
...}
the printer ignores the entire packet, because the second line
allocates 6K for the transmit buffer, and 4K is the maximum for
that buffer. If you define a buffer size that exceeds the
maximum value, an error occurs. However, no information is
lost.
u
Whenever the printer accepts a memory configuration packet,
it takes effect immediately, causing a printer reset. Any
information contained in the buffers is lost. Resend your
formats, batches, graphics, or fonts to the printer.
u
If you remap your image buffer, make sure the length and
width specified in your format header are not too large for the
current image buffer. In other words, if you remap for a 4 x 4
inch label, you cannot print a 4 x 6 inch label without receiving
an error, until you change your format header or increase your
image buffer.
Configuring the Printer 3-21
Page 44
Using Immediate Commands
Immediate commands affect printer operation as soon as the
printer receives them, even if they are included within a packet or
used inside quotation marks.
You can use immediate commands to change immediate
command or status polling control characters, reset the printer, or
cancel and repeat batches.
Enabling Immediate Commands
When the printer is first turned on, these commands are not
available. To use these commands, you must first send the
control characters packet and define the immediate command
control character. The immediate command control character is
saved in non-volatile RAM and therefore not lost after you turn off
the printer. Once the immediate command control character is
defined, the immediate commands are enabled.
Sending Immediate Commands
Immediate commands consist of a three- or four-character
sequence you can send in a packet or embed in your application.
Each command must be sent separately.
Syntax
Example
Immediately cancels the batch currently printing. This example
assumes that the defined immediate command control character
is the caret (^).
3-22 Configuring the Printer
control character_immediate command
The printer can accept only one immediate
command at a time. Sending a command
before the previous one is completed can
result in an error.
^CB
Page 45
CommandParameter
^CA
^CB
^DD or
^DCd
^EA
^ER
^FD
^ID or ^ICd
^MC
^MI
^MM
^MP
^MR
^MV
^PR
^RB
^RS
^SD or
^SCd
^TP
Cancels all the batches in the queue.
Cancels only the current batch being printed.
Disables the MPCL data escape character (the tilde) and inhibits MPCL
from acting on ANY data escape sequence from the host. Sets the MPCL
data escape character to the ASCII value given by the d parameter. The
value can be any ASCII character.
Aborts an error condition. May need to be sent multiple times. Use ^RB to
reprint batch.
CAUTION: Command causes the current batch to stop and the
condition that caused the error to remain uncorrected.
Resets the error. This command is the same as pressing FEED to
acknowledge an error. Normal operation will resume.
Feeds a label when printer is idle. Simulates the operation of pressing
FEED and dispenses the next label if printer is in the on-demand mode.
NOTE: Printer ignores this command if printing.
Disables the Immediate Command feature by turning off the Immediate
Command escape character. Sets the Immediate Command escape
character to the ASCII value given by the d parameter. The value can be
any ASCII character.
Returns the customer ID or RPQ version to the host. (00 to 99)
Returns the customer ID or RPQ revision level to the host. (00 to 99)
Returns the model number to the host. 12=9412, 13=9413, 14=9414
Returns the prototype number to the host. (00 to 99)
Returns the revision number to the host. (00 to 99)
Returns the version number to the host. (00 to 99)
Resets the printer. This command takes five seconds to complete and then
the printer is ready to receive data. It has the same effect as turning off
and then turning on the printer.
NOTE: Command should be used only when the printer is not printing.
Repeats the last printed batch, printing the same number of labels as
specified in the original batch.
NOTE: Printer ignores this command if printing.
This command does not work if batch separators are being used.
Resynchronizes supply when supply roll is changed.
NOTE: Printer ignores this command if printing.
Disables the status polling feature by turning off the status polling control
character. Sets the status polling control character to the ASCII value
given by the d parameter. The value of d can be any ASCII character.
Prints a test label set. NOTE: Printer ignores this command if printing.
Configuring the Printer 3-23
Page 46
The table represents the defined immediate command control
character as ^ and the defined status polling control character as
d. You may define these characters to suit your needs.
To use the immediate command control
character or the status polling character
within your data, use the tilde sequence.
Clearing Packets from Memory
You may want to remove packets from the printer to increase
memory storage capacity or if the formats/fonts are no longer
needed. In some cases, turning the printer off may clear the
packets from memory. If not, send a format clear packet.
Syntax
1. headerIdentifies the packet. Options:
2. packet#Identification number of the packet to clear (1-999) or font
3. actionEnter C to clear the packet.
4. deviceStorage device. Options:
{header,packet#,action,device p }
ACheck Digit Scheme
BBatch
FFormat
WFont
number (0-9999). 0 is for all fonts.
NNon-volatile RAM
RVolatile RAM
Example{F,1,C,R p }
Clears Format #1 from volatile RAM.
3-24 Configuring the Printer
Page 47
Using the Font Packet
You can use a font packet to add or clear downloaded fonts from
memory, upload your font buffer, or upload the cell size
information for a particular font. The font packet is useful when
you are downloading fonts. If you are using downloaded fonts,
the font number and the number of bytes each downloaded font
uses is listed.
This packet does not list the number of bytes the standard printer
fonts use.
Syntax
W1. WWritable Font Header.
W2. font#Font number from 0-32000.
W3. actionAction. Options:
W4. deviceDevice. Options:
{W,font#,action,device p }
0 is for all fonts. 1 - 5 digits is the font number.
Example: 11 is the standard printer font,
CG Triumvirate
AAdds the specified font.
CClears all or specified fonts, except ones in ROM.
HUploads font size information.
If you are creating fonts, you need to have font data included with
this packet. Software is available to create the font data and
packet. Call Technical Support for more information.
Example
{W,0,M,R p }
Selects all fonts and checks the memory usage in RAM. The
printer returns the following to the host:
{W,0,M,R p
Number of bytes free, Number of bytes used p }
Configuring the Printer 3-25
Page 48
Example{W,0,H,N p }
Selects all fonts and uploads the font size information for any
downloaded fonts in Non-volatile RAM.
The printer returns the following to the host:
Font Style
Type
Symbol Set
Cell Width
{W,0,H,N p
Font Name
0,1,0,"Standard",0,0,0,14,22,14,22,3 p
0,2,0,"Reduced",0,0,0,7,14,7,14,1 p
Spacing
0,3,0,"Bold",0,0,0,24,34,24,34,3 p
0,4,0,"OCRA",0,0,0,13,24,13,24,3 p
0,5,0,"HR1",0,0,0,12,20,12,20,2 p
Baseline
0,6,0,"HR2",0,0,0,10,16,10,16,1 p
0,10,1,"CGTriBd9",1,0,7,25,31,10,15,0 p
0,10,437,"CGTriBd9",1,0,7,25,31,10,15,0 p
0,10,850,"CGTriBd9",1,0,7,25,31,10,15,0 p
Cell Height
Nominal Width
Nominal Height
0,11,1,"CGTriumv6",1,0,5,17,21,5,10,0 p
0,11,437,"CGTriumv6",1,0,5,17,21,5,10,0 p
Inter-Character Gap
0,11,850,"CGTriumv6",1,0,5,17,21,5,10,0 p
SpacingMonospaced (0) or proportional (1).
TypeBitmapped (0) or scalable (1).
BaselineBottom of the font.
Cell WidthHorizontal number of dots to contain the
widest character.
Cell HeightVertical number of dots to contain the tallest
character.
Nominal WidthAverage width for lower-case letters.
Nominal HeightAverage height for lower-case letters.
Inter-Character
Gap
3-26 Configuring the Printer
Default spacing between characters in
monospaced fonts.
Page 49
DEFINING FIELDS4
This chapter provides a reference for defining
u
the format header
u
text, constant text fields, and non-printable text fields
u
bar code fields
u
line and box fields.
Defining Fields 4-1
Page 50
Defining the Format Header
A Format Header begins a format file.
Syntax
{F,format#,action,device,measure,length,
width,"name" p
F1. FFormat Header.
F2. format#Unique number from 0-999 to identify the format.
F3. actionEnter A to add a new format to the printer.
EEnglish, measured in 1/100 inches
MMetric, measured in 1/10 mm
GGraphic, measured in dots
The following table lists the values for the specified
parameters. English measurements are used throughout the
rest of the chapter.
PrinterUnit of
9412
Maximum print
area: 2"x6"
9413
Maximum print
area: 4"x4"
9414
Maximum print
area: 4"x6"
Measure
English
Metric
Dots
English
Metric
Dots
English
Metric
Dots
Supply
Length
38-600
97-1524
77-1218
38-400
97-1016
77-812
38-600
97-1524
7-1218
Supply
Width
120-200
305-508
244-406
120-400
305-1016
244-812
120-400
305-1016
244-812
Row or
End Row
0-599
0-1523
0-1217
0-399
0-1015
0-811
0-599
0-1523
0-1217
Column or
End Column
0-199
0-507
0-405
0-399
0-1015
0-811
0-399
0-1015
0-811
F6. lengthSupply length, top to bottom, in selected units.
4-2 Defining Fields
9412/9414 ranges:9413 range:
English38 - 600English38 - 400
Page 51
F7. widthSupply width, from left to right, in selected units.
9412 range:9413/9414 ranges:
English120 - 200English120- 400
F8. "name"Format name (optional), 0-8 characters, enclose within
quotation marks.
Example{F,1,A,R,E,300,200,"TEXTILES" p
Adds Format 1 ("TEXTILES") to the printer. It uses a three inch
long by two inch wide label.
Defining Text Fields
Create a separate definition for each text field. If text falls on two
lines, each line of text requires a separate definition.
Syntax
T1. TText Field.
T2. field#Unique number from 0-999 to identify this field.
T3. # of charMaximum number of printed characters is 0-2710 in the field.
T4. fix/varFixed or variable length field. Options:
T,field#,# of char,fix/var,row,column,
gap,font,hgt mag,wid mag,color,alignment,
char rot,field rot,sym set
FFixed length
VVariable length
p
T5. rowFor monospaced fonts, distance from bottom of print area to
the pivot point. The pivot point varies depending on how text
is justified. For proportionally spaced fonts, distance from
bottom of print area to baseline of characters in field.
Defining Fields 4-3
Page 52
9412/9414 ranges:
English0 - 599
9413 range:
English0 - 399
T6. columnDistance from the left edge of the print area to the pivot point
to find the column location.
9412 range:
English0 - 199
9413/9414 ranges:
English0 - 399
See "Defining the Format Header" for the table of metric and dot
values.
T7. gapNumber of dots between characters (203 dots per inch).
Range: 0-99.
NOTE: For monospaced fonts, the additional spacing is
added to the existing inter-character gap. This is
also true for proportionally spaced fonts, but
remember that the inter-character gap varies with
character combinations.
Any number other than 0 or the default number affects your
field width. Default spacing:
Standard3 dots
Reduced1 dot
Bold3 dots
OCRA-like3 dots
CG Triumvirate Boldvaries with each letter
CG Triumviratevaries with each letter
T9. hgt magHeight magnifier, 1-7 (times). Use a magnifier of 1 with
T10. wid magWidth magnifier, 1-7 (times). Proportionally spaced fonts do
T11. colorOptions for standard printer fonts:
proportionally spaced fonts, because characters lose
smoothness at higher magnifications.
not have a set width. To estimate the size of your field, use
the letter "W" for the widest field or an "L" for an average
width field. Find your selected font and the desired width in
Appendix B, "Fonts."
BOpaque, Normal, Black, Normal
DOpaque, Normal, White, Normal
OTransparent, Normal, Black, Normal
ROpaque, Normal, White, Normal
WOpaque, Normal, White, Normal
There are two types of field color overlay attributes:
TransparentThe overlay field (text or constant text) does
OpaqueThe overlay field blocks out (or "erases")
Line field
blocked out by
opaque field
using attribute B
Field placement in the packet is an important consideration
when using field color attributes, because fields are imaged in
the order they are received. If a line field is defined before
the overlay (text or constant text) field, the line field is
blocked out by the overlay field, depending on the overlay
field’s color attribute. If a line field is defined after the overlay
field, the line field is not blocked out by the overlay field,
regardless of the overlay field’s color attribute.
not block out (or "erase") existing fields.
existing fields.
Line field not
blocked out by
transparent field
using attribute O
Defining Fields 4-5
Page 54
T12. alignmentOptions:
LAlign on left side of field.
CCenter text within field (monospaced fonts only)
RAlign on right side of field (monospaced fonts only)
BAlign at midpoint of field
EAlign at endpoint of the field
Use L, B, or E for any font.
T13. char rotCharacter rotation. The field or supply does not rotate, only
the characters do. Options:
0Top of character points to top of field
1Top of character points to left of field
2Top of character points to bottom of field
3Top of character points to right of field
T14. field rotField rotation. Field rotation rotates the whole field, not just
T15. sym setSymbol set. Options:
4-6 Defining Fields
the characters. Rotation is affected by the pivot point, which
varies depending on how text is justified. Lower left corner of
field is the pivot point. Options:
0Top of field points to top of supply
1Top of field points to left of supply
2Top of field points to bottom of supply
3Top of field points to right of supply
0Internal Symbol Set
1ANSI Symbol Set
437DOS Code Page 437 (Domestic)
850DOS Code Page 850 (International)
NOTE: The CG Triumvirate fonts support only the ANSI and
DOS Code Page Symbol Sets. Refer to Appendix C,
"Symbol Sets/ Code Pages" for more information.
Page 55
ExampleT,2,10,V,250,50,0,1,1,1,B,C,0,0,0 p
Defines a text field (field #2) with a variable length of up to 10
characters. The field begins at row 250, column 50. There is no
additional gap between characters, and the Standard font is used
without any additional magnification. The printing is black on
white and centered. No field or character rotation is used. The
internal symbol set is used.
Defining Bar Code Fields
Each bar code field requires a separate definition.
Syntax
B,field#,# of char,fix/var,row,column,
font,density,height,text,alignment,
field rot
B1. BBar Code Field.
B2. field#Unique number from 0-999 to identify this field.
B3. # of charMaximum number of characters. If the bar code uses a check
digit, allow an extra character for the check digit. The actual
maximum number of characters is limited by the size of the
label and bar code density. Range: 0-2710.
B4. fix/varFixed (F) or variable (V) length field.
NOTE: The start (*) and stop (+) characters are automatically added for Code 39. Code
39, density 12 produces a one-dot narrow bar. This density is for special U.S.P.S. ACT-tag
applications only. Synthetic supplies are recommended to produce scannable bar codes.
B9. heightBar code height in 1/100 inches, 1/10 mm, or dots. Minimum
values:
English20
Metric51
Dots40
NOTE: POSTNET, PDF417, and MaxiCode bar codes have a
fixed height. Always use 0 for these bar codes.
Defining Fields 4-11
Page 60
B10. textAppearance of text with bar code. For UPC and EAN only use
B11. alignmentChoose L, R, C, B or E to align the bar code data correctly in
0-7. For all others, use 8. Options:
0Default
1No check digit or number system
5Number system at bottom, no check digit
6Check digit at bottom, no number system
7Check digit and number system at bottom
8No text, bar code only
the field. B centers variable width bar codes, which may not
allow pad-character centering (Code 128, Code 39, etc.) E
right justifies variable width bar codes. C centers the bar
code data in the field. R right justifies the bar code data in
the field. MaxiCode must use L.
NOTE: All alignments are not supported for each bar code
B12. field rotField rotation. Field rotation rotates the whole field, not just
the characters. Rotation is affected by the pivot point, which
varies depending on how text is justified. Lower left corner of
field is the pivot point. Options:
type.
0Top of field points to top of supply
(Use for MaxiCode)
1Top of field points to left of supply
2Top of field points to bottom of supply
3Top of field points to right of supply
ExampleB,3,12,V,150,40,1,2,80,7,L,0 p
Defines a bar code field (field #3) with 12 characters of variable
length starting at row 150, column 40. A UPCA bar code with a
density of 2 and a height of 80 is used. The check digit and
number system are shown at the bottom. The bar code is left
aligned without any field rotation.
Defining Non-Printable Text Fields
Non-printable text fields allow you to enter data without printing it
in its entered form. Typically, non-printable fields "hold" data that
later combines with other fields to form a merged field. Define
non-printable text fields before you define the field where the
information prints.
4-12 Defining Fields
Page 61
When you copy this field into another field, the maximum number
of characters for the final field is 2710 (or 0-100 for 9403). Allow
only as many characters as you need, because extra characters
use up space. Also, if you are copying into a bar code field, the
maximum number of characters in the destination bar code is
determined by the bar code specification (UPCA-12, EAN-13,
etc.). You need to apply field options to manipulate the text
entered in this field. For example, you may want to copy data
from this field into another field. See "Option 4 Copy Data" in
Chapter 5 for more information.
In the following example, data is entered into four non-printable
fields and merged to form field 5, and is then printed as a bar
code. See "Merging Fields" in Chapter 5 for more information.
Each non-printable text field requires a separate definition.
Syntax
D1. DNon-Printable Text Field.
D2. field#Unique number from 0-999 assigned to this field.
D,field#,# of char p
Maximum number of characters in this field: 0-2710.
D,4,20 p
Defines a non-printable text field (field #4) with a maximum of 20
characters.
Defining Fields 4-13
Page 62
Defining Constant Text Fields
A constant text field is a set of fixed characters that prints on all
labels. Define each constant text field separately. This field is
not assigned a field number, but is counted as a field (keep this in
mind, as the printer allows a maximum of 1000 fields). The
characters in this field cannot be changed by batch data. Field
options do not apply to constant text fields.
Determine the height and the maximum width of the characters,
using the tables in Appendix B, "Fonts." If you’re using
proportionally spaced fonts, use the average size of the
characters. Mark the pivot point of your field. This will vary,
depending on how your field is justified.
Syntax
C1. CConstant Text Field.
C2. rowFor monospaced fonts, distance from bottom of print area to
C3. columnDistance from the lower left edge of the print area to the pivot
C,row,column,gap,font,hgt mag,
wid mag,color,alignment,char rot,
field rot,"fixed char",sym set
the pivot point. For proportionally spaced fonts, distance from
bottom of print area to baseline of characters in the field.
(Bottom exits the printer first.)
9412/9414 ranges:9413 range:
English0 - 599English0 - 399
point.
9412 range:9413/9414 ranges:
English0 - 199English0 - 399
p
See "Defining the Format Header" for the table of metric and dot
values.
4-14 Defining Fields
Page 63
C4. gapNumber of dots between characters. Range: 0-99.
Any number other than 0 or the default number affects your
field width. Default spacing:
Standard3 dots
Reduced1 dot
Bold3 dots
OCRA-like3 dots
CG Triumvirate Boldvaries with each letter
CG Triumviratevaries with each letter
C6. hgt magHeight magnifier, 1-7 (times). Use a magnifier of 1 with
C7. wid magWidth magnifier, 1-7 (times) Proportionally spaced fonts do
C8. colorOptions for standard printer fonts:
proportionally spaced fonts, because characters lose
smoothness at higher magnifications.
not have a set width. To estimate the size of your field, use
the letter "W" for the widest field or an "L" for an average
width field.
BOpaque, Normal, Black, Normal
DOpaque, Normal, White, Normal
OTransparent, Normal, Black, Normal
ROpaque, Normal, White, Normal
W Opaque, Normal, White, Normal
There are two types of field color overlay attributes:
TransparentThe overlay field (text or constant text) does
not block out (or "erase") existing fields.
OpaqueThe overlay field blocks out (or "erases")
existing fields.
Field placement in the packet is an important consideration
when using field color attributes, because fields are imaged in
the order they are received. If a line field is defined before
the overlay (text or constant text) field, the line field is
blocked out by the overlay field, depending on the overlay
field’s color attribute. If a line field is defined after the overlay
field, the line field is not blocked out by the overlay field,
regardless of the overlay field’s color attribute.
Defining Fields 4-15
Page 64
C9. alignmentAlignment of constant text in the field. Options:
LAlign on left side of field.
BAlign at midpoint of field
EAlign at end of field.
C10. char rotCharacter rotation. Options:
0Top of character points to top of field
1Top of character points to left of field
2Top of character points to bottom of field
3Top of character points to right of field
C11. field rotField rotation. Lower left corner of field is the pivot point.
C12. "fixed char" Fixed characters to appear in the field. Maximum 2710
C13. sym setSymbol set. Options:
Options:
0Top of overlay points to top of supply
1Top of overlay points to left of supply
2Top of overlay points to bottom of supply
3Top of overlay points to right of supply
NOTE: Rotation is affected by the pivot point, which varies
depending on how text is justified.
characters. Enclose in quotation marks.
0Internal Symbol Set
1ANSI Symbol Set
437DOS Code Page 437 (Domestic)
850DOS Code Page 850 (Multilingual)
NOTE: The CG Triumvirate fonts support only the ANSI and
DOS Code Page Symbol Sets. See Appendix C,
"Symbol Sets/ Code Pages," for more information.
ExampleC,30,10,0,1,1,1,B,L,0,0,"MADE IN USA",0 p
Defines a constant text field starting at row 30, column 10. It
does not have any additional inter-character gap. The Standard
font is used without any additional magnification. The printing is
black on white and left justified. No field or character rotation is
used. "MADE IN USA" is printed in this field. The internal symbol
set is used.
4-16 Defining Fields
Page 65
Defining Line Fields
Use lines to form borders and mark out original prices. Define
each line separately. This field is not assigned a field number, but
is counted as a field (keep this in mind, as the printer allows a
maximum of 1000 fields per format). You can define any line
length and a thickness up to 99 dots, as long as the solid black
print does not exceed 30 percent of any given square inch of the
label.
Line Types
You can create horizontal and vertical lines. There are two ways
to define lines.
SegmentsYou choose the starting point and ending
point.
VectorsYou choose the starting point, the angle, and
the length of the line.
Syntax
L1. LLine Field.
L2. typeType of line. Only vertical and horizontal lines are
L,type,row,column,angle/end row,length/
end col,thickness,"pattern" p
supported. Options:
SSegment. You choose the starting point and
ending point.
VVector. You choose the starting point, angle,
and length.
Defining Fields 4-17
Page 66
L3. rowDistance from bottom of print area
L4. columnDistance from left edge of the
to the starting point.
9412/9414 ranges:
English0 - 599
9413 range:
English0 - 399
print area to line origin.
9412 range:
English0 - 199
9413/9414 ranges:
English0 - 399
See "Defining the Format Header" for the table of metric and dot
values.
L5. angle/
end row
L6. length/
end col
4-18 Defining Fields
If Using Segments
Row location of ending point. Measure from bottom of print
area. Ranges same as row above. On horizontal lines, this
value must match item L3.
If Using
Angle of line. Options: 0, 90,
180, or 270.
If Using
Column location of end point. Measure from left edge of print
area. Ranges same as column above. On vertical lines, this
value must match parameter L4.
If Using
Length of the line in selected units.
Ranges for horizontal lines with 9412:
English0 - 200
Vectors
Segments
Vectors
Page 67
Ranges for horizontal lines with 9413/9414:
English0 - 400
Ranges for vertical lines with 9412/9414:
English0 - 600
Ranges for vertical lines with 9413:
English0 - 400
L7. thicknessUsing the chart below for reference, write the desired line
L8. "pattern"Line pattern. Enter "".
thickness (1 to 99) in box L7. Measured in dots.
NOTE: Line thickness fills upward on horizontal lines, or to
the right on vertical lines.
ExampleL,S,110,30,110,150,10,"" p
Defines a horizontal line field as a segment starting at row 110,
column 30 and ending at row 110, column 150. The line
thickness is 10 dots.
Defining Fields 4-19
Page 68
Defining Box Fields
Use boxes to form borders or highlight items of interest. Define
each box field separately. This field is not assigned a field
number, but is counted as a field (keep this in mind, as the printer
allows a maximum of 1000 fields). You can define any line length
and a thickness up to 99 dots, as long as the solid black print
does not exceed 30 percent of any given square inch of the label.
Syntax
Q1. QBox (Quadrilateral) Field.
Q2. rowDistance from bottom of print area
Q3. columnDistance from left edge of print area
Q,row,column,end row,end col,thickness,
"pattern"
to lower left corner of box.
9412/9414 ranges:
English0 - 599
9413 range:
English0 - 399
to lower left corner of box.
9412 range:
English0 - 199
9413/9414 ranges:
English0 - 399
p
See "Defining the Format Header" for the table of metric and dot
values.
Q4. end rowDistance from bottom of print area to
4-20 Defining Fields
upper right corner of box. Ranges
same as row.
Page 69
Q5. end colDistance from left edge of print area
to upper right corner of box. Ranges
same as column.
Q6. thicknessUsing the chart below for reference, write the desired line
Q7. "pattern"Line pattern. Enter "".
thickness (1 to 99) in box Q6. Measure in dots.
NOTE: Boxes fill inward, so make sure your boxes do not
overwrite other fields.
ExampleQ,240,30,270,150,3,"" p
Defines a box field starting at row 240, column 30. It ends at row
270, column 150. It has a thickness of 3 dots.
Defining Fields 4-21
Page 70
4-22 Defining Fields
Page 71
DEFINING FIELD OPTIONS5
This chapter provides a reference for defining
u
field options in formats.
u
check digit packets.
Applying Field Options
Field options further define text, bar code, and non-printable text fields.
The text, constant text, or bar code field must be previously defined before
you can apply any field option to it. Define options immediately after the
field to which they apply.
Combining Field Options
You can use more than one option with most fields. For example, you can
use Option 4 to copy data from another field, and then use Option 30 to pad
the field. When you use multiple options for the same field, you must place
the options in the order you want to apply them to your format.
Defining Field Options 5-1
Page 72
Restrictions
Some options cannot be used together. For example,
incrementing (Option 60) and price field (Option 42) options
cannot be applied to the same field. Refer to the following
sections addressing individual options for specific combinations to
avoid.
Option 4 (copy a field) is the only option that can be repeated for
a single field.
Example
R,1,3,1,3,1,1 p
SyntaxR,option#,parameter...parameter p
R1. RIndicates field option header.
R2. option#Option number (supported on all printers):
1Define fixed characters
4Copy data from previous field
30Pad data to left or right with specified character
31Generate check digit
42Format as a price field
50Define bar code densities
51Define security and truncation of PDF417 bar codes
52Define width or length of PDF417 bar codes
60Define incrementing or decrementing field
61Reimage fields
R3. parameter(s) Varies per option. See the following option descriptions.
5-2 Defining Field Options
Page 73
Option 1 (Fixed Data)
Fixed data is information (a company name or store number) you
want to print on all labels. You can define fixed characters for an
entire field or for part of a field.
Syntax
R1. ROption Header.
R2. 1Option 1.
R3. fixed charCharacters to insert. Enclose in quotation marks. If you are
R,1,"fixed char" p
defining fixed characters for part of a field, place underscores
(_) in non-fixed positions. Any spaces in the phrase are fixed
characters. Range: 0 - 2710.
NOTE: Underscore characters are stripped out and the data
is compressed if no data is supplied by the batch and
the field length is variable.
ExampleR,1,"_ _ _%$_ _ _ _ _" p
Uses fixed characters (%$) in positions four and five. The other
positions are variable.
Example
R,1,"MONARCH" p
"MONARCH" appears as a fixed field in this example.
To fill in the non-fixed portion of the field, see "Defining Batch
Data Fields" in Chapter 6. As an alternative, you can apply
Option 4 to copy data into the non-fixed character positions.
Defining Field Options 5-3
Page 74
Option 4 (Copy Data)
You can create a field that uses data from another field. This is
useful for creating merged fields or sub-fields. You can copy the
information from multiple fields into one field by applying the copy
procedure more than once. Copy data is the only option you can
apply to a field more than once.
The maximum number of characters defined in box T3 or B3 must
allow for the number of characters you will place in the field,
including any price, check digit, or fixed characters inserted by
the printer. The maximum number of characters in the destination
field (including copied data) cannot exceed 2710 or the maximum
number of characters permitted by the bar code.
When copying from more than one field, copy
into the destination field from left to right.
Syntax
R1. RField Option Header.
R2. 4Option 4.
R3. src fldField number from which data is copied. Range: 0 - 999.
R4. src startPosition number in the source field of the first character to be
R5. # to copyNumber of characters to copy. Range: 1 - 2710.
R6. dest startPosition number where copied characters are to begin printing
R7. copy codeCopy Method.
5-4 Defining Field Options
R,4,src fld,src start,# to copy,dest
start,copy code
copied. Character positions are numbered 1 to 2710, starting
from the left.
in the destination field. Range: 1 - 2710.
1Copy field as is (including price symbols,
pad characters, check digits, etc.).
2Copy unformatted data (without price characters,
pad characters, etc.).
p
Page 75
ExampleR,4,3,1,3,1,1 p
Copies data from field #3, starting at the first position and copying
three characters. In the destination field, the information is
placed in position 1 and copied as formatted data.
Merging Fields
You can copy data to merge the contents of fields. Use the copy
data option as many times as necessary to copy all the
appropriate fields into the merged field.
In the following example, two text and two non-printable fields are
shown. Data from these fields is merged to form field 5 and is
then printed as a bar code.
2. Define field 5 as a bar code. Allow enough characters in the
bar code field to hold all the copied characters.
3. Apply Option 4 to field 5 once for every source field.
Sub-Fields
You can copy a segment of data from one field into a new
location, called a sub-field. For example, extract part of the data
in a bar code and display it in text form in a sub-field. Then, use
the copy data option.
Defining Field Options 5-5
Page 76
Option 30 (Padding Data)
You can add characters to one side of a field to "pad" the field.
Padding allows you to fill in the remaining spaces when the
entered data does not fill an entire field.
If a variable length field is not completely filled with batch data,
this option fills the remaining positions in the field with the
character designated by Option 30.
Syntax
R1. ROption Header.
R2. 30Option 30.
R3. L/RIndicates type of padding
R4. "character"Pad character must be within the 0 - 255 decimal range and
R,30,L/R,"character" p
L Pad field on left side
R Pad field on right side
enclosed inside quotation marks.
NOTE: Do not use on fixed length fields.
ExampleR,30,L,"X" p
Pads data with an "X" on the left side of the field.
Sample Use for Padding
If you have a variable length bar code that you want to occupy a
fixed amount of space on the supply, use pad characters. If the
maximum number of characters in the bar code is 15, but the
batch record only has 10 characters, the padding option fills the
remainder of the field with pad characters.
5-6 Defining Field Options
Page 77
Option 31 (Calculate Check Digit)
The printer generates a check digit if you apply Option 31 to the
field. You cannot use this option if the field contains a UPC, EAN,
or Code 39 (with the MOD43 check digit) bar code.
Syntax
R1. ROption Header.
R2. 31Option 31.
R3. gen/verEnter G to generate a check digit.
R4. check digit # Specifies a check digit scheme. Enter a number that
R,31,gen/ver,check digit # p
identifies a check digit scheme that has been defined. For
more information, see "Using Check Digits." Range: 1 - 10.
ExampleR,31,G,5 p
Generates a check digit using the previously defined check digit
scheme 5.
Defining Field Options 5-7
Page 78
Option 42 (Price Field)
You can apply options that will insert monetary symbols
automatically. Do not use this option with Option 31 (define a
check digit) or Option 60 (increment or decrement a field). This
option is not recommended for bar codes. When determining the
maximum number of characters, add the maximum number of
digits and the monetary symbols.
Syntax
R1. ROption Header.
R2. 42Option 42.
R3. appearance
code
R,42,appearance code p
Enter 1 to print price field in standard notation, as defined by
country setting.
Use the monetary formatting packet to select monetary
notations and symbols by country setting. See "Defining the
Monetary Formatting Packet" for more information.
See Appendix C, "Symbol Sets/Code Pages," to make sure
the monetary symbol you want to use is printable in the font
selected for this field. For monetary symbols other than the
dollar sign, use the internal symbol set.
ExampleR,42,1 p
Uses a price field that prints the monetary symbol and notations
as defined in the monetary formatting packet.
5-8 Defining Field Options
Page 79
Option 50 (Bar Code Density)
You can apply this option to bar code fields when you want to
create custom densities. When you apply this option, it overrides
the density value in the bar code field.
When using this option, set the density parameter in your bar
code field to the default value. You can only use this option once
for each bar code field. This option overrides the density
selected in the bar code field.
Bar codes produced using Option 50 may not be scannable. The
additional character gap, narrow space, and wide space
parameters are valid only with Code 39 and Codabar. If these
parameters are specified for any other bar codes, they will be
ignored by the printer. Do not use Option 50 with fixed density
bar codes.
Syntax
R1. ROption Header.
R2. 50Option 50.
R3. narrowDot width of the narrow element. Range: 1-99.
R4. wideDot width of the wide element. Range: 1-99.
R5. gapAdditional dot space between characters. Enter a value of 1
R6. nar_spaceAdditional dot width of the narrow bar code space. (Code 39
R7. wide_spaceAdditional dot width of the wide bar code space. (Code 39
R,50,narrow,wide,gap,nar_space,wide_space p
to 99. (Code 39 and Codabar only.)
and Codabar only). Range: 1- 99.
and Codabar only). Range: 1- 99.
ExampleR,50,4,8,4,4,8 p
Creates a custom bar code density with a narrow element of 4
dots, a wide element of 8 dots, a gap of 4 dots, 4 additional dot
widths for the narrow bar code space, and 8 additional dot widths
for the wide bar code space (if this is a Code 39 or Codabar bar
code).
Defining Field Options 5-9
Page 80
Option 51 (PDF417 Security/Truncation)
You can define a security level and choose whether or not to
truncate a PDF417 bar code. Higher security levels add data to a
bar code, improving scan reliability. Some damaged bar codes
may still be scannable if the security level is high enough. You
can use this option to create standard PDF417 bar codes or use
the truncated option to create a narrower bar code. This option
can appear only once per PDF417 field, in any order, following the
bar code field.
As the security level is increased, so is the size of your PDF417
bar code. For each level increased, the bar code will double in
size.
Syntax
R1. ROption Header.
R2. 51Indicates Option 51.
R3. securitySecurity level ranges from 0-8 (0 is the default).
R4. stand/defTruncation selector. Valid values:
R,51,security,stand/default p
Higher security levels add data to a bar code, improving scan
reliability. Some damaged bar codes may still be scannable if
the security level is high enough.
S (default) a standard PDF417 bar code
T truncated
ExampleR,51,2,S p
Defines a security level of 2 for a standard PDF417 bar code.
5-10 Defining Field Options
Page 81
Option 52 (PDF417 Width/Length)
This option defines the image width or length of a PDF417 bar
code. If you define a fixed number of columns (width), the bar
code expands in length. If you define a fixed number of rows
(length), the bar code expands in width.
Column value does not include start/stop or left/right indicator
columns.
If this option does not immediately follow the PDF417 bar code
field, the default settings are used. You can only use this option
once per PDF417 bar code field.
Syntax
R1. ROption Header.
R2. 52Indicates Option 52.
R3. row/columnIndicates if you are defining the number of rows or columns.
R4. dimensionThe number of rows or columns defined for the bar code. The
R,52,row/column,dimension p
RRow
CColumn
If you specify rows, the bar code expands in columns,
or vice versa.
default is 4. Valid values:
3-90 for rows
1-30 for columns
ExampleR,52,C,10 p
Defines the column width of 10, which expands the PDF417 bar
code length by 10.
Defining Field Options 5-11
Page 82
Option 60 (Incrementing/Decrementing Fields)
You may have an application, such as serial numbers, in which
you need a numeric field to increment (increase in value) or
decrement (decrease in value) on successive tickets within a
single batch. Incrementing or decrementing can be applied to
numeric data only. If you have a field that includes letters and
digits, apply incrementing or decrementing to only the portion of
the field that contains digits.
Syntax
R1. ROption Header.
R2. 60Option 60.
R3. I/DIincrementing field
R4. amountAmount to increase or decrease. Range: 0- 999.
R5. l posLeftmost position in inc/dec portion of field. If this value is not
R6. r posRightmost position in inc/dec portion of field. If this value is
R,60,I/D,amount,l pos,r pos p
Ddecrementing field
entered, the default value 1 is used. Range: 0 - 2710.
not used, the entire field length is used as the default.
Range: 0 - 2710.
ExampleR,60,I,5,1,6 p
Increments a field by 5 each time the field is printed. The field
increments beginning with the first left position and ending with
the sixth position.
Fixing the First Number in the Incrementing Sequence
There are two ways to enter the first number in the incrementing
sequence. You can use batch data or use Option 1 to define the
first number as a fixed character.The first number in the sequence
must contain the same amount 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.
5-12 Defining Field Options
Page 83
Option 61 (Reimage Field)
This option redraws (reimages) a constant field when you have a
constant field next to a variable field on your label. It can be
used on text, constant text, bar code, line, or box fields.
These printers do not redraw an area if the field data does not
change. When a field changes, that area is cleared and the new
field data is imaged. However, the new field data may require a
larger area than the previous field did. In some cases,
neighboring fields that do not change (constant fields) may be
covered with white space from the changing field’s (variable
fields) area. Use this option to reimage the constant field, or it
may appear broken.
The most common use for this option is with
incrementing fields on your label, because
they may cover a constant field.
Syntax
R1. ROption Header.
R2. 61Option 61.
R,61 p
ExampleR,61 p
Reimages the constant field that appears next to a variable field.
Re-Image ON
Re-Image OFF
In the above example, Option 61 was applied to the bar code field
to keep the incrementing field (Box #) from blocking out the bar
code field.
Defining Field Options 5-13
Page 84
Using Check Digits
Check digits are typically used to ensure that a text or bar code
field scans correctly. If you apply Option 31, the printer
calculates a check digit. A check digit scheme determines how
the printer calculates a check digit. When you define a check
digit scheme, you assign a number to identify it. This number is
later entered in box R4 when you apply Option 31 to a field. You
can use check digits with text or bar code fields. Check digit
calculations are performed on numeric data only.
Do not use check digits with price fields. Do not define a check
digit scheme for these bar codes, because they have predefined
check digits: UPC, EAN, Code 39 (with the MOD43 check digit),
and Code 93.
Syntax
A1. ACheck Digit Header.
A3. actionAdds a check digit scheme. Enter A.
A4. deviceStorage device. Options:
A5. modulusNumber from 2-11. The modulus is used to divide the sum of
A6. fld_lengthThe maximum number of characters the field will contain.
A7. D/PAlgorithm. The algorithm determines how the check digit is
{A,selector,action,device,modulus,
fld_length,D/P,"weights" p }
Assign a number from 1-10 to this check digit formula.
NOTE: To clear a check digit packet from memory, see
"Clearing Packets from Memory" in Chapter 3.
products or the sum of digits.
Range: 0 - 2710.
calculated.Options:
Dsum of digits
Psum of products
5-14 Defining Field Options
Page 85
A8. "weights"String of digits used for calculation. A weight string is a group
of two or more numbers that is applied to a field. The number
of digits in this string should equal the number in fld_length.
Enclose in quotation marks. Range: 0 - 2710.
Example{A,1,A,R,10,5,P,"65432" p }
Adds check digit scheme number 1 to the printer’s memory. The
modulus is 10, the maximum number of characters in the field is
5. The check digit is calculated by using the Sum of Products and
the string of digits used in the calculation is "65432."
Sum of Products Calculation
This is an example of how the printer uses Sum of Products to
calculate a check digit for this data:
5 2 3 2 4 5 2 1 9
1. Weights are applied to each digit, starting with the last digit in
the weight string. They are applied right to left, beginning at
the right-most position of the field. Remember, a weight
string must contain at least two different numbers. This
example has a weight string
of 1,2,3,4.
field:5 2 3 2 4 5 2 1 9
weight string:
4 1 2 3 4 1 2 3 4
2. Each digit in the field is multiplied by the weight assigned to it:
field:5 2 3 2 4 5 2 1 9
weight string:
4 1 2 3 4 1 2 3 4
products:20 2 6 6 16 5 4 3 36
3. Next, the product of each digit is added together. This is the
sum of the products.
20 + 2 + 6 + 6 + 16 + 5 + 4 + 3 + 36 = 98
Defining Field Options 5-15
Page 86
4. Divide the sum of the products by the modulus (10 in this
case), only to the whole number. The balance is called the
remainder.
9
10 98
90
8
5. Subtract the remainder from the modulus.
The result becomes the check digit. In this case, the check
digit is 2.
10 - 8 = 2
Sum of Digits Calculation
This is an example of how the printer uses Sum of Digits to
calculate a check digit for this data:
5 2 3 2 4 5 2 1 9
1. Weights are applied to each digit, starting with the last digit in
the weight string. They are applied right to left, beginning at
the right-most position of the field. Remember, a weight
string must contain at least two different numbers. This
example has a weight string
of 1,2,3,4.
field:5 2 3 2 4 5 2 1 9
weight string:
2. Each digit in the field is multiplied by the weight assigned to it:
field:5 2 3 2 4 5 2 1 9
weight string:
products:20 2 6 6 16 5 4 3 36
5-16 Defining Field Options
4 1 2 3 4 1 2 3 4
4 1 2 3 4 1 2 3 4
Page 87
3. Next, the digits of the products are added together. Two-digit
products are treated as two separate digits.
This is the sum of the digits.
4. Divide the sum of the digits by the modulus (10 in this case),
only to the whole number. The balance is called the
remainder.
4
10 44
40
4
5. Subtract the remainder from the modulus.
The result becomes the check digit. In this case, the check
digit is 6.
10 - 4 = 6
Defining Field Options 5-17
Page 88
5-18 Defining Field Options
Page 89
PRINTING6
This chapter describes how to
u
download files to the printer.
u
define the batch header, batch control, and batch data files.
u
modify formats
u
create DOS batch files.
Printing 6-1
Page 90
Turn on the printer and make sure it is ready to receive data
before you download. See your host’s documentation or System
Administrator for information on ways to download.
When downloading, send your packets in this order:
1. Memory configuration packet (M)
2. Configuration packets (A-F)
3. Any of the following:
FCheck digit packets (see Chapter 5)
FFormat packets (see Chapter 4)
4. Batch data (see "Defining the Batch Header")
To download from a PC:
1. Check that the PC and the printer are connected.
2. Check that communications have been established between
the PC and the printer.
3. Send the communication settings packet to select the
printer’s communication settings. See "Defining the
Communication Settings Packet" in Chapter 3 for more
information (only used for serial communication). If you
change the printer’s communication settings, make sure they
match those at the host before sending any packets to the
printer.
6-2 Printing
4. Type this command at the DOS prompt:
COPY LABEL1.FMT COM1Transmits a file called "LABEL1.FMT" to COM1.
COPY LABEL1.BCH COM1Transmits a batch called "LABEL1.BCH" to COM1.
If you use the COPY command to download your formats, set flow
control to DTR (not XON/XOFF). Also, do not use the MS-DOS
prompt from inside Windows, because you will get a framing error.
Page 91
Defining the Batch Header
A batch header begins the file. It tells which format the batch
uses and how many labels to print. To record batch data, make a
copy of the worksheet in Appendix D, "Format Design Tools."
A batch packet contains three parts:
batch headeridentifies the format and how many labels to
print.
batch controldefines the print job.
batch data
(optional)
Syntax
B1. BBatch Header.
B2. format#Format number: 0-999 to use.
B3. N/UControls how image is generated.
B4. quantityQuantity to print (0-32000).
defines the actual information printed on the
label.
{B,format#,N/U,quantity p
NNew. Erase image and re-image all fields using
online data. Any missing fields will be blank.
UUpdate last image with 1 or more fields.
All other fields remain the same as the last
queued batch.
NOTE: Using 0 pre-images the field to reduce the imaging
time for labels. See "Batch Quantity Zero Method"
for more information.
Example{B,1,N,1 p
Defines a batch header that uses format #1 and reimages all
fields using the online data. One label is printed with this batch.
Printing 6-3
Page 92
Defining the Batch Control Field
The batch header must precede this field. The batch control field
defines the print job and applies only to the batch that
immediately follows.
Syntax
E,feed_mode,batch_sep,print_mult,
multi_part p
E1. EBatch Control Field.
E2. feed_modeFeed Mode. Options:
E3. batch_sepBatch Separator (striped label in between batches). Options:
E4. print_multNumber of tags with the same image. Range: 1 to 999
E5. multi_partNumber of identical parts on one tag. Range: 1 to 5
0Continuous Feed (default)
1On-demand
For the 9412/9413 printers, you must have the on-demand
sensor installed to use on-demand mode. Also, the feed
mode is determined by the presence of the on-demand
sensor, not from this parameter. If the on-demand sensor is
open, you are using on-demand mode. If the on-demand
sensor is closed, you are using continuous mode. There is a
switch on the 9414 printer for on-demand mode. Refer to your
Equipment Manual for more information.
0Does not print a separator (default)
1Prints a separator
ExampleE,0,1,4,2 p
Defines a batch control field. Continuous feed mode is used and
a separator prints between batches. Four tags have the same
image and there are two identical parts on one tag.
6-4 Printing
Page 93
Defining Batch Data Fields
Batch data is the actual information printed on the supply. Batch
data fills in the format’s text, bar code, and non-printable text
fields.
Batch data fields should be sent in field number order. Use
continuation fields for large amounts of data. If you are using N
(New) in the batch header, you must list all fields with your data in
sequence. If you are using U, you need to list only those fields
and data that changes from the last printed batch.
Syntax
field#Identifies the text, bar code, or non-printable text field in
"data string"Provides the actual information to appear in fields. Enclose in
CIdentifies information to be appended to the data string. (This
"continuation"Provides the actual information to be added to the batch
field#,"data string" p
C,"continuation"
which to insert the following data. Range: 0 - 999.
quotation marks. Range: 0 - 2710.
parameter is optional.)
packet. Enclose in quotation marks. Use this option to break
up longer fields. (This parameter is optional.)
p
Example1,"Size 12" p
p
2,""
3,"Blue"
C,"and this would be appended."
p
p
Defines a batch data field. "Size 12" prints in field #1, a blank
line appears in field #2, "Blue and this would be appended" prints
in field #3.
Printing 6-5
Page 94
Using Special Characters in Batch Data
There are two ways to specify special characters in batch data:
u
Place a tilde (~) before the character
u
Use a tilde with the decimal ASCII equivalent
For example, you can use ~" or ~034 to print the " character in
your batch data. Use ~~ to print the ~ character in your batch
data; otherwise, the tilde character is ignored. You can also use
~XXX where XXX is the decimal equivalent of an unprintable
character.
Sample Batch Data with Special Characters
{B,1,N,1 p
1,"123~034456789" p~034 is "123"456789
2,"~094983~126LG4451" p }~094 is ^
Decimal CharacterWhat Prints
^983~LG4451
~126 is ~
Merged or Sub-Fields
If a field is completely filled by data copied from other fields, use
quotation marks without spaces between them for the "datastring" parameter.
Incrementing Fields
In incrementing fields, the first number in the sequence must
contain the same number of digits as the highest number to be
counted. For example, to increment the numbers in a field from 1
to 999, enter the starting number in the batch as 001.
6-6 Printing
Page 95
Downloading Methods
Depending on your application, you can download the format and
batch data using one of three methods: sequential method, batch
method, batch quantity zero method.
Sequential Method
Using the sequential method, you send all your format and batch
data at one time. Use this method when your application does
not require operator intervention to input data. All data is sent
down at one time, and the printer then images each field. As
soon as the last field is imaged, your labels begin to print.
Example
{Format}
{Batch Packet}
Batch Method
This is similar to the sequential method, but it is used when you
want to send multiple batches. All data for the first batch is sent
at one time, and the printer then images each field. As soon as
the last field for the first batch is imaged, labels begin to print.
This process is repeated for each subsequent batch.
Example
{Format}
{Batch Packet}
{Batch Packet}
Batch Quantity Zero Method
You may use the batch quantity zero method when your
application requires operator intervention to enter data. While the
operator is entering data, the previous field is sent with a batch
quantity of zero. The printer images the field, but does not print
it. After the operator enters the data for the last field, the batch
quantity can be specified. The last remaining field is imaged, and
the label prints almost immediately. To use the batch quantity
zero method:
Printing 6-7
Page 96
1. Send the format and a batch header in one file. The first time
you send the batch header, use the parameter N (new batch),
and the parameter 0 for (zero quantity). This ensures the
label is properly positioned.
The printer images constant text, line, and box fields, but
does not print them.
2. Input data for each field, and send it with a batch header
using the parameter U (batch update) and a quantity of zero.
When the printer receives the data, it immediately images the
field, but does not print it.
At this time, the printer is imaging all associated fields,
including fields that copy from other fields.
3. Repeat step 2 for each field except the last one.
4. For the last field, input data and send a batch header with the
quantity of labels you want printed. When the printer receives
input for the last field, it immediately prints the labels. See
"Reducing Imaging Time" in Chapter 10 for an example using
the batch quantity zero method.
6-8 Printing
Modifying Formats
The optional entry method is a quick way to modify your format
fields, check digit fields, and configuration packets.
Optional Entry Method
This method enables you to reset only the parameters you want to
change. Commas act as placeholders for unchanged parameters.
The optional entry method reduces file size and increases the
speed at which files are sent to the printer.
Page 97
Creating DOS Batch Files for Downloading
If you are downloading from an MS-DOS system, you can create
batch files to set communication values and download formats. It
is a good idea to create a subdirectory to hold your format files.
Here is a DOS batch file that sets a serial port, changes to a
subdirectory, and downloads a check digit file, format file, and
batch data file.
Refer to your DOS manual for more information on creating batch
files.
Printing 6-9
Page 98
6-10 Printing
Page 99
STATUS POLLING7
This chapter explains how to use status polling.
There are two types of Status Polling:
u
Inquiry Request--information about the readiness of the printer.
u
Job Request--information about the current (or last received) job
downloaded to the printer.
Status Polling 7-1
Page 100
Inquiry Request (ENQ)
An ENQ character acts as a request for printer status information.
You can send an ENQ in front of, in the middle of, or immediately
following any packet downloaded to the printer. An ENQ is a
command that can be executed as part of a packet or sent on its
own (using a communications program). An ENQ is processed
immediately. The ENQ character is user defined.
The ENQ character does not appear as a
visible character; however, we are
representing the
ENQ character as
Inquiry Response
Printer status is returned to the host in a 3-byte (3-character)
sequence. The first byte is the non-printable user-defined ENQ
character, which is not visible on the response. The second and
third bytes are printer status codes. See the ENQ Reference
Tables for the meaning of bytes 2 and 3.
E .
Example:
The status codes (A and B in this case) are ASCII equivalents to
the hexadecimal bits that represent the various types of status
responses. This response indicates that the printer is online
(Character A) and that there is a stock fault (Character B).
Example:
Indicates that this is the first ENQ response since the printer was
turned on. Send another ENQ immediately to receive the printer’s
status.
Example:
Indicates the printer is offline.
7-2 Status Polling
E AB
E ??
E @@
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.