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 and 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.
1994 Monarch Marking Systems, Inc. All rights reserved. No part of this publication may be
reproduced, transmitted, stored in a retrieval system, or translated into any language in any form,
by any means, without the written permission of Monarch Marking Systems, Inc.
Trademarks
Monarch is a registered trademark of Monarch Marking Systems, Inc.
Paxar is a trademark of Paxar Corporation.
1460, 6030, 9446, 9490, and 9494 are trademarks of Monarch Marking Systems, Inc.
Monarch Marking Systems, Inc.
170 Monarch Lane
Miamisburg, Ohio 45342
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:
9494 (V. 1.0 or greater)
✦
9490 (V. 3.0 or greater)
✦
9446 (V. 5.2 or greater)
✦
1460 (V. 3.0 or greater)
✦
This chapter
describes the significant differences between the four
You do not have to be a programmer to use this manual, but
you must be familiar with creating text files and executing
basic MS-DOS® commands.
1-1
MPCLII Packet Reference Manual
Overview of Printer Differences ––––––––––––––––––––––––––––––
While all four of these printers are very similar, some
differences in operation and available options exist.
Feature9494949094461460
Maximum print
speed
Maximum print
area
Location of
Print Area
Supply Width2.0 in. x 4.0 in.2.0 in. x 4.0 in. 1.2 in. x 4.2 in. 1.2 in. x 4.2 in.
Supply Length1.0 in. x 6.0 in.1.0 in. x 6.0 in. .75 in. x 8.0 in. .75 in. x 8.0 in.
Power Up Mode Online/OfflineOnlineOnline/OfflineOnline
On demand
/Continuous
Supply TypesBlack Mark
Print a
Separator
Use High
Energy Ribbon
Scalable Font
Standard
Black to White
Print Ratio
2.0 IPS2.0 IPS10.0 IPS7.0 IPS
4.0 in. x 6.0 in.4.0 in. x 6.0 in. 4.0 in. x 8.0 in. 4.0 in. x 8.0 in.
CenterCenterLeftLeft
On demand
/Continuous
/Non-indexed
Ye sYesYe sNo
NoNoYesNo
Ye sYesN oNo
30%20%30%30%
On demand
/Continuous
Black MarkBlack Mark
On demand
/Continuous
/Internal
Rewind
/Die Cut
On demand
only
Black Mark
/Die cut
1-2
Chapter 1. Getting Started
Before You Begin ––––––––––––––––––––––––––––––––––––––––––––
1.
Connect the printer to the host. Refer to your printer’s
documentation for more information.
2.
Load supplies in the printer. Refer to your printer’s
documentation 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 MPCLII. 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 printer’s
documentation 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
2.
Type the following constant text field:
C,250,80,0,1,1,1,W,C,0,0,"MONARCH MARKING:",0 p
1-3
MPCLII Packet Reference Manual
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:
1-4
2,"DAYTON, OHIO" p }
8.
Save your file as SAMPLE.FMT.
9.
Type MODE COM1:9600,N,8,1 at the DOS prompt if you
are using serial communications. This sets the
communication parameters at your host. These
communication parameters must match those at your
printer. See "Setting Communication Parameters" in
Chapter 3 for more information.
Chapter 1. Getting Started
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" 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 p
}
Sample Batch Packet
{
B,25,N,1 p
1,"12345678901" p
2,"DAYTON, OHIO" p
}
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, check digit,
and graphic packets.
1-5
MPCLII Packet Reference Manual
1-6
Chapter 2.Designing a Format
This chapter describes how to
determine what kind of information to use in your
✦
format.
use the Supply Layout Grid and Format Worksheet.
✦
categorize data into field types.
✦
select fonts to use in your format.
✦
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. Supplies 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.
2-1
MPCLII Packet Reference Manual
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.
Determining Format Contents ––––––––––––––––––––––––––––––––
Before you lay out your format, you need to make a few
decisions. For example:
How large is your supply?
✦
Which fonts do you want to use?
✦
Do you want to include a bar code?
✦
Do you want to include graphics?
✦
Determining the Print Area ––––––––––––––––––––––––––––––––––
2-2
The "bottom" is the edge that exits the printer first. For the
9490 and 9494 printers, the print area is in the center of the
supply and it begins 0.16 inches from the bottom, and 0.05
inches from the left edge of the supply. For the 9446 and1460 printers, the print area begins on the bottom edge and
0.06 inches from the left edge of the supply. The table below
lists the maximum print area for a four-inch wide label.
Unit of MeasureSupply Size
English (1/100
inch)
Metric (1/10 mm)1055 x 1575
Dots (1/192 dots)797 x 1190
(Width x Length)
416 x 620
406 x 800
1031 x 2032
779 x 1536
Maximum Print Area
(Width x Length)
385 x 580
380 x 799
978 x 1473
965 x 2031
739 x 1114
730 x 1535
Printer
9494/9490
9446/1460
9494/9490
9446/1460
9494/9490
9446/1460
Chapter 2. Designing a Format
The following table lists the non-print zones for each printer.
PrinterTopBottomLeftRight
9490/9494.04 inches
1.01 mm
7.7 dots
9446/1460nonenone.06 inches
.16 - .19 inches
4.1 - 4.8 mm
31 - 36.5 dots
.05 - .11 inches
1.3 - 2.8 mm
9.6 - 21.1 dots
1.5 mm
11.5 dots
.05 - .11 inches
1.3 - 2.8 mm
9.6 - 21.1 dots
.14 inches
3.6 mm
26.9 dots
n
The standard supply length for the 9490 and 9494 printers is
six inches. The standard supply length for the 9446 and 1460
printers is eight inches.
Use the following formulas to convert inches to dots and
metric:
Dots = inches x 192
Metric (1/10mm) = inches x 254
English (1/100 inch) = 100 x (dots/192)
Dots = Metric (1/10 mm) x 756/1000
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.
2-3
MPCLII Packet Reference Manual
Using Supply Layout Grids ––––––––––––––––––––––––––––––––––
A supply layout grid contains measurement markers. These
markers help you accurately position information on your label.
Decide whether you want to design formats using English,
Metric, or Dot measurements. Choose from the following grids:
8.0
7.5
7.0
6.5
6.0
5.5
5.0
4.5
4.0
3.5
3.0
2.5
2.0
1.5
1.0
0.5
0.0
0.0
.06
Supply Layout
(Inches)
1.0
0.5
1.5 2.0
Printable area
4.2
4.0
3.5
2.5
3.0
4.06
English
✦
The English grid, shown to the
right, is measured in 1/100
inches.
Metric
✦
The Metric grid is measured in
1/10 millimeters (mm).
Graphic
✦
The printer uses dots to print
images on a label. The
printhead has 192 dots per
inch (DPI).
If you want to use supply layout grids, a copy of each is in
Appendix D, "Format Design Tools."
Considering Field Types ––––––––––––––––––––––––––––––––––––––
2-4
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.
Chapter 2. Designing a Format
Field TypeDescriptionExamples
TextContains letters, numbers, or
Non-Printable
Te x t
Bar CodeUsed for printing bar codes that
Constant Text Fixed characters that print
Line or BoxHighlight or separate items.line marking out the regular
GraphicContains a bitmap image or a
symbols you want to print.
Holds batch data for use later,
such as for merging into
another field. The printer does
not print non-printable text
fields.
can be scanned.
without changing.
compliance label overlay.
item number, item description,
department number, price, date
city, state, and zip code to be
included in a bar code
item or serial numbers, zip
codes, information you don’t
want to have visible to
customers, product codes
company name, company
address
price, border around the supply
logos
n
All of the above field types except graphics are discussed in
Chapter 4. Refer to the MPCLII Graphics Manual, for
information on including graphic fields in your format.
Your printer has monospaced and proportionally spaced fonts,
along with one scalable font, CG Triumvirate Bold. The
scalable font is smooth at any point size. See Appendix B,
"Fonts," for a sample of CG Triumvirate Bold and more
information about it.
n
The scalable font must be purchased separately for the 9446
and 1460 printers. The scalable font is standard on the 9490
printer.
When working with fonts, you have three considerations:
font appearance
✦
font size (scalable or bitmapped)
✦
font spacing (monospaced or proportional)
✦
2-5
MPCLII Packet Reference Manual
Choosing the appropriate font appearance is up to the user.
See Appendix B, "Fonts," for samples of each font. Choosing
the appropriate font size and spacing depends on how much
space is available on your supply. Monospaced characters
occupy the same amount of space within a magnification,
making it easy to predict the field size. Use monospaced fonts
for price fields and data you want to list in a column.
Proportionally spaced characters vary in height and width,
making it difficult to predict the field size. However, you may
be able to place more characters on a line.
Monarch offers software to convert TrueType fonts into
printer fonts that can be interpreted by Monarch® MPCLII
printers. Optional font ROMs are also available for these
printers. Call your Monarch Representative for more
information.
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." Keep the worksheet as a
hard copy backup of your format.
Filling in the Format Worksheet
Decide what type of field to use for each piece of information
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 the rest of your fields. Apply options as you
require them. See Chapter 5, "Defining Field Options," for
more information.
2-6
Chapter 3.Configuring the Printer
This chapter discusses how to
set communication parameters.
✦
configure the printer using online configuration packets.
✦
use immediate commands to control the printer’s
✦
operation at any time.
upload the printer’s configuration or font information.
✦
Setting Communication Parameters –––––––––––––––––––––––––––
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. For the 9490 and
9494 printers, you can use autobaud to set communication
parameters. For the 9446 or 1460 printers, you can set the
communication parameters at the printer.
On MS-DOS computers, you can use the MODE command to
set communication values on your PC.
n
For example
MODE COM1:9600,N,8,1
Sets your host to a baud rate of 9600, no parity, an 8 bit word
length, and 1 stop bit.
If you select 8 as the data bit setting, you must select NONE
for the parity. If you select 7 as the data bit setting, you must
select ODD or EVEN for the parity.
3-1
MPCLII Packet Reference Manual
Using Autobaud
Do Not send any data to the printer before using autobaud.
n
Example@A@A@A@A@A@A@A@A@A@A@A@A@A@A@A@A@A@A
✦
Autobaud is only available on the 9494 and 9490 printers.
✦
You can use the autobaud feature to automatically set the
printer’s baud rate, parity, data bits, and stop bits to match the
host’s. To use autobaud, you must:
1. Power up the host first and then turn on the printer.
Autobaud only works during the initial power up. Wait 2 to
5 seconds.
2. After the LED indicator becomes solid green or amber,
send a sequence of 32 alternating @A characters (for a
total of 64 characters) to the printer.
@A@A@A@A@A@A@A@A@A@A@A@A@A@A
n
Example{I,F,,,,,3 p }
3-2
Do Not use character pacing (delay for each character) or any
other delay while sending the autobaud sequence.
Wait one second after sending the autobaud sequence before
sending any commands or data to the printer During this time,
the hardware is being changed to the new settings.
3. To select flow control and finalize communications, send
the communication settings packet. Or, use the Optional
Entry method described in Chapter 6, "Printing."
This packet sets the flow control parameter to XON/XOFF,
without changing the current communication settings
established with Autobaud.
Chapter 3. Configuring the Printer
Using MPCLII Conventions ––––––––––––––––––––––––––––––––––
Here are some guidelines to follow when using MPCLII.
MPCLII P unct uat ion
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.
n
These MPCL characters are the default. See "Defining the
Control Characters Packet" to change these characters.
Sta ndard Synta x Guidelines
When creating MPCLII packets:
Begin each packet with a start of header ({).
✦
End each packet with an end of header (}).
✦
Define no more than 100 fields in a format. Each p
✦
indicates one field. The number of fields is limited by
the available memory.
3-3
MPCLII Packet Reference Manual
The field number (0 to 99) must be unique. Monarch
✦
recommends starting at 1, instead of 0.
Do not use a field number more than once per format.
✦
Define all fields in the order you want to image/print
✦
them.
Separate all parameters with a parameter separator
✦
(,).
End each field with a field separator ( p ).
✦
Enter all information in CAPITAL letters, except words
✦
or phrases within quotation marks.
Include all parameters for a field unless documented as
✦
optional.
Define non-printable text fields before the field to which
✦
they apply.
Define options immediately after the field to which they
✦
apply.
Multiple options can be used with most fields. Options
✦
can be used in any combination except as noted with
each definition.
3-4
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.
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
Spaces are ignored, except within character strings.
✦
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
Chapter 3. Configuring the Printer
Use a tilde (~) followed by a 3-digit ASCII code in a
✦
quoted string to send function codes or extended
characters or send the 8-bit ASCII code.
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,
,A,,,,1 p } prints a slashed zero and uses the last sent online
{ I
System Setup parameters.
Make a copy of the online configuration worksheet in Appendix
D, "Format Design Tools," and save the original. Packets A-F
and 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, batch, or graphic to the printer before
the changes take effect.
Configura tion Pa cket Header
Always include an I
before the packet identifier (A, B, C, etc.). The I
identifies the data stream as an online configuration packet.
n
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.
, immediately after the left bracket { and
parameter
3-5
MPCLII Packet Reference Manual
This is the syntax to use when you create online configuration
packets:
Syntax
{
I
,
1 to 7 optional packets
A, parameter 1...parameter 5 p
B, parameter 1...parameter 5 p
C, parameter 1...parameter 5 p
D, parameter 1...parameter 3 p
E, parameter 1...parameter 9 p
F, parameter 1...parameter 5 p
M, paramater 1...parameter 4 p
}
Syntax for single packet
{
I
,
A, parameter 1...parameter 5
}
Configura tion Synt ax Guidelines
When creating a printer configuration packet:
Follow the "Standard Syntax Guidelines" listed at the
✦
beginning of this chapter.
Begin a packet with the configuration header (I).
✦
Start of Header
Configuration Header
System Setup
Supply Setup
Print Control
Monetary Formatting
Control Characters
Communication Settings
Memory Configuration
End of Header
Start of Header
Configuration Packet Identifier
System Setup
End of Header
3-6
Download multiple configuration packets within one
✦
packet or download a single configuration packet.
If you change ANY of the online configuration packets,
✦
resend the format packet to the printer, so the
configuration changes take effect.
Include the first five ANSI codes, at a minimum, in the
✦
control characters packet.
Make sure the host settings match the settings
✦
contained in the communication settings packet.
Record the new configuration for future reference.
✦
Chapter 3. Configuring the Printer
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.
NOTE: The CG Triumvirate fonts and Font #50 support
See "Defaults" for the default values on each printer.
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.
only the ANSI and DOS Code 437 and 850 Page
Symbol Sets. See Appendix C, "Symbol
Sets/Code Pages" for more information.
3-7
MPCLII Packet Reference Manual
Defining the Supply Setup Packet –––––––––––––––––––––––––––––
Use the supply setup packet (B) to select supply type, ribbon,
feed mode, supply position, and cut position.
-99 to 99 in 1/192 inch (9446/1460). 0 is the default.
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. Increase the supply position to move print up,
decrease to move print down on the label. Print a test
label to verify the 0,0 point. Changing the supply position
affects the print position. Once the supply position is set,
use the print control packet to adjust printing.
See "Defaults" for the default values on each printer.
Example{I,B,0,0,1,10 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/192 inches).
3-8
Chapter 3. Configuring the Printer
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{I,C,contrast,print_adj,margin_adjust,
speed_adj,ph_width,bat_voltage p }
C1. CPrint Control Packet
C2. contrast-390 to 156. 0 is the default.
C3. print_adj-99 to 99 in 1/192 inch. 0 is the default. Adjusts where
data prints vertically on the supply. Adjust the print if it is
too close to the top or bottom of the supply, or overtypes
a pre-printed area. Increase the print position to move
print up, decrease to move print down.
C4. margin_adj-99 to 99 in 1/192 inch. 0 is the default. Adjusts where
data prints horizontally on the supply. Adjust the print if it
is too close to the left or right side of 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 do not affect the supply position.
C5. speed_adjPrint speed in inches per second (IPS). Options:
C6. ph_width230 to 768. Width of the printhead in dots. 0 is the
C7. bat_voltageSelects the battery voltage. Only valid on the 9490 printer
NOTE: Serial bar codes printed at speeds greater than
2.5 IPS may not scan properly.
default (768 dots). Does not affect supply width defined
in the format header. If this parameter is not defined, the
default of 768 dots is used.
used with the Mobile Printing Station. Options:
015-volt battery
112-volt battery
3-9
MPCLII Packet Reference Manual
Example{I,C,0,-20,-10,0,768,1 p }
Uses the default contrast, moves print .1 inch closer to the
bottom of the supply (20/192 inches) and .05 inch to the left
on the supply (10/192 inches), prints at six inches per second,
sets the printhead width to 4 inches, and uses a 12-volt
battery (only for the 9490 printer).
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.