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, 9403, 9820, and 9830 are registered trademarks of Monarch Marking Systems, Inc.
Monarch, 1464, 1465, 917, 918, 926, 928, 9800, 9805, 9835, 9840, and 9850 are trademarks of Monarch
Marking Systems, Inc.
Paxar is a trademark of Paxar Corporation.
Microsoft, Windows, NT, and MS-DOS are registered trademarks of Microsoft Corporation in the United
States and/or other countries.
TrueType is a registered 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
Operator’s Handbook or Operating Instructions. 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:
N
9403® (V. 1.0 or greater)
N
9805 (V. 1.0 or greater)
N
9820® (V. 1.0 or greater)
N
9830® (V. 2.0 or greater)
N
9835 (V. 3.0 or greater)
N
9840 (V. 6.1 or greater)
N
9850 (V. 1.0 or greater)
If you are designing formats for a Monarch® 1464 or 1465 printer
applicator, follow the 9840 printer information provided in this manual.
However, there are a few differences. See Appendix E, "Printer
Differences" for 1464/1465 specific information, along with a description of
each printer’s features and their differences.
1
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 using basic MS-DOS®
commands. This chapter describes how to
N
create and download a sample MPCLII packet.
N
use the Supply Layout Grid and Format Worksheet.
N
categorize data into field types and select fonts to use in
your format.
Getting Started
1-1
See "Defining Text Fields" in Chapter 3 for a list of available fonts
for your printer. See Chapter 4, "Defining Field Options," for a list
of available Options for your printer.
Before You Begin
Connect the printer to the host. Refer to your Operator’s
1.
Handbook or Operating Instructions for more information.
Load supplies in the printer. Refer to your Operator’s
2.
Handbook or Operating Instructions for more information.
Turn on the printer.
3.
Set the communication parameters and configure the printer.
4.
The communication parameters at the printer must match
those at the host. See Chapter 2, "Configuring the Printer,"
for more information.
Design your format. See "Starting with a Design" for more
5.
information.
Download your format to the printer. See Chapter 6,
6.
"Printing," for more information.
1-2
Getting Started
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 Operator’sHandbook or Operating Instructions for more information.
For detailed information about the format header, text, constant
text, and bar code fields, see Chapter 3, "Defining Fields." For
information about batch packets, see Chapter 6, "Printing."
Type the following format header, in any text editor:
1.
{F,25,A,R,M,508,508,"FMT-25" p
Type the following constant text field:
2.
C,250,80,0,1,1,1,W,C,0,0,"MONARCH MARKING:",0 p
Type the following bar code field:
3.
B,1,12,F,110,115,1,2,120,5,L,0 p
Type the following text field:
4.
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.
Type the following batch header, after the text field line:
5.
{B,25,N,1 p
Type the following bar code data:
6.
1,"12345678901" p
Type the following text field data:
7.
2,"DAYTON, OHIO" p }
Save your file as SAMPLE.FMT.
8.
Type MODE COM1:9600,N,8,1 at the DOS prompt if you are
9.
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 2, or your host’s documentation
for more information.
Getting Started
1-3
Type COPY SAMPLE.FMT COM1. The following 2 inch by 2
10.
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 }
See "Starting with a Design" to design your
format and Chapter 3, "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.
1-4
Getting Started
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.
Starting with a Design
Before you create a format packet, you must design your label.
There are several steps to designing a custom label:
Decide which fields should appear on your label. See
1.
"Determining Format Contents" for more information.
Determine your label size. Labels are available from Monarch
2.
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.
Draw a rough sketch of your label. You may want to draw
3.
several variations to see what works best. See "Drawing
Rough Sketches" for more information.
Identify the field types that appear on your label. See
4.
"Considering Field Types" for more information.
Decide which fonts you want to use. See "Considering Fonts"
5.
for more information.
Fill out your Format Worksheet. See "Using the Format
6.
Worksheet" for more information.
At this point, you are ready to send your design to the printer. To
do this:
Create a format packet, based on how you filled out your
7.
worksheet. See Chapter 3, "Defining Fields," for more
information.
Download your format packet to the printer. See Chapter 6,
8.
"Printing," for more information.
Getting Started
1-5
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, and do you
want to include graphics?
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 the 9403 printer, the
print area begins 0.10 inches from the left edge of the supply. Forthe 9800 series 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)
9403English (1/100 in)200 x 600200 x 600
Metric (1/10mm)508 x 1524508 x 1524
Dots (1/203 dots)406 x 1218406 x 1218
9805English425 x 650400 x 600
Metric1080 x 16501016 x 1524
Dots863 x 1320812 x 1218
9820English425 x 1200400 x 1200
Metric1080 x 30481016 x 3048
Dots863 x 2436812 x 2436
9830English425 x 1600400 x 1600
Metric1080 x 40641016 x 4064
Dots863 x 3248812 x 3248
9835/9840English425 x 1600400 x 1600
Metric1080 x 40641016 x 4064
Dots863 x 3248812 x 3248
9850English425 x 1750400 x 1600
Metric1080 x 44451524 x 4064
Dots863 x 35531800 x 3248
Maximum Print Area
(Width x Length)
1-6
Getting Started
When designing formats, keep in mind the following non-print
zones for the 9403 printer:
Bottom.035 inches at the beginning of the label.
Left.10 inches from the left edge of the label.
The following non-print zones are recommended for the 9800
series printers:
All Supplies.050 inches on either edge of the label.
All Supplies.020 inches at the end of the label.
If using the optional verifier, allow a minimum no-scan zone at the
top of the label of 1.3" (33 mm) for speeds 6.0 ips or less; 1.8"
(46 mm) for 8.0 ips; and 2.2" (56 mm) for 10.0 ips.
Use the following formulas to convert inches to dots and metric:
Dots = inches x 203 (or 300 dots per inch)
Metric (1/10mm) = inches x 254
English (1/100 inch) = 100 x (dots/203) or (dots/300)
Dots = Metric (1/10 mm) x 799/1000 (or 1181/1000)
300 dpi depends on your printer.
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.
Getting Started
1-7
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:
N
English
The English grid, shown to the
right, is measured in 1/100
inches.
N
Metric
The Metric grid is measured in
1/10 millimeters (mm).
N
Graphic
The printer uses dots to print
images on a label. The
printhead has 203 dots per inch
203300
1624
1523
1421
1320
1218
1117
1015
914
812
711
609
508
406
305
203
102
0.0
102
203
0.0
203
300
150
0.0
300
305
406
450
600
Supply Layout (dpi)
508 609
711
812
750
900
1050
1200
853
1350 1500 1650 1800 1950 2100
(dpi) or an optional 300 dots per
inch printhead depending on
your printer.
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."
2400
2250
2100
1950
1800
1650
1500
1350
1200
1050
900
750
600
450
300
150
0.0
1-8
Getting Started
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
Non-Printable
Te x t
Bar CodeUsed for printing bar codes that
Constant Text Prints fixed characters that print
Line or BoxHighlights or separates items.line marking out the regular price,
GraphicContains a bitmap image or a
symbols you want to print.
Holds 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
company name, company address
border around the supply
logos
All of the above field types except graphics
are discussed in Chapter 3. See Chapter 5,
"Creating Graphics," for information on
including graphics in your format.
Getting Started
1-9
Considering Fonts
When working with fonts, you have three considerations:
N
font appearance
N
font size (scalable or bitmapped)
N
font spacing (monospaced or proportional)
The scalable font, CG Triumvirate Bold (font 50) is standard on
the 9830, 9835, 9840, and 9850 printers. It is not available for
the 9403, 9805 or 9820 printers. With the 9840 printer (V. 6.5+)
or the 9850 printer, font 50 is a TrueType® font (EFF Swiss Bold).
See Appendix B, "Fonts," for samples of each font.
Interchanging Packets
You can use an MPCLII format that was designed for another
MPCLII printer on a 9800 series printer. However, the format may
appear smaller (fields will be shorter), because most of the 9800
series printers use a 203 dpi printhead. The 9840 and 9850
printers have an optional 300 dpi printhead.
1-10
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."
Getting Started
Filling in the Format Worksheet
Decide what type of field to use on your label.
Make a copy of the Format Worksheet.
1.
Define the Format Header.
2.
Define all non-printable text fields before you define the ones
3.
you want to print. See "Defining Non-Printable Text Fields" in
Chapter 3 for more information.
Define options as you require them. See Chapter 4, "Defining
4.
Field Options" for more information.
Getting Started
1-11
1-12
Getting Started
CONFIGURING THE PRINTER
This chapter discusses how to
N
set communication parameters.
N
upload the printer’s configuration or font information.
N
configure the printer using online configuration packets.
N
use immediate commands to control the printer’s operation
at any time.
Some parameters may not be available on each printer.
See Appendix E, "Printer Differences," for a list of
differences between all the printers and a
Monarch® 9446 printer.
2
Configuring the Printer
2-1
Setting Communication Parameters
Use the following information if you are using serial
communications. See "Using Parallel Communications" for
information about parallel communications.
Not all printers have a parallel port.
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 or DIP switches
to set communication parameters for your printer.
Not all printers have DIP switches.
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:
9600 baud, no parity, an 8 bit word length, 1 stop bit.
About DIP Switches
The DIP switches are read when the printer is turned on. The DIP
switch settings override the settings from the online configuration
packets. For example, if you have the DIP switches set for
thermal transfer printing and send the supply setup packet to
specify thermal direct printing, thermal direct printing is used until
the printer is turned off. When the printer is turned back on, it
uses the DIP switch setting for thermal transfer.
2-2
Configuring the Printer
Using Parallel Communications
If your printer supports parallel communications, the parallel port
is IEEE-1284 or Centronics® mode. You can set which mode to
use by changing a DIP switch or by using the control panel.
Refer to your Operator’s Handbook for DIP switch settings and
control panel information. The communication settings are
automatically configured for you. There are no operator settings
required. We recommend waiting at least two seconds (or longer)
when switching between the serial and parallel ports to send data,
because data may be lost. Be careful when using print spoolers,
because data transmission occurs in the background of the
operating system. This makes data transmission completion
difficult to determine when switching between ports.
Using Autobaud
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. Autobaud overrides the DIP switch settings and the
values in the communication settings packet.
Do not send any data to the printer before
using autobaud. The 9850 printer does not
support autobaud.
To use autobaud, you must:
Power up the host first and then turn on the printer. Autobaud
1.
only works during the initial power up. Wait 2 to 5 seconds.
After the 9800 series printer’s power LED comes on (or the
2.
9403 printer displays "Print Mode READY"), send a sequence
of 32 alternating @A characters (for a total of 64 characters)
to the printer.
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 (including setting flow control) or data to the printer.
During this time, the hardware is being changed to the new
settings.
To select flow control and finalize communications, send the
3.
communication settings packet. Or, use the Optional Entry
method described in Chapter 6, "Printing."
Example
This packet sets the flow control parameter to XON/XOFF, without
changing the current communication settings established with
Autobaud.
{I,F,,,,,3 p }
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
p field separator
,parameter separator
"ABC"Quotation marks enclose character strings.
Empty quotes ("") identify null strings or
unused fields.
2-4
Configuring the Printer
‘comment‘Grave accents enclose comments. Any data
enclosed in grave accents is ignored. Do not
embed comments within a quoted string.
ENQ and immediate commands are always
processed, even if they are included within
grave accents 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:
N
Begin each packet with a start of header ({).
N
End each packet with an end of header (}).
N
Define no more than 1000 fields (100 fields for 9403/9805) 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.
N
The field number 0 to 999 (99 for the 9403/9805) must be
unique. Monarch recommends starting at 1, instead of 0.
N
Do not use a field number more than once per format.
N
Define all fields in the order you want to image/print them.
The printer does not print in field number order.
N
Separate all parameters with a Parameter Separator (,).
N
End each field with a Field Separator ( p ).
N
Enter all information in CAPITAL letters, except words or
phrases within quotation marks.
N
Include all parameters for a field unless documented as
optional.
N
Define non-printable text fields before the field to which they
apply.
Configuring the Printer
2-5
N
Define options immediately after the field to which they apply.
N
Multiple options can be used with most fields. Options can be
used in any combination except as noted with each definition.
When using multiple options on the 9403 printer, remember
that options are processed in the order they are received.
N
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.
N
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
N
Spaces are ignored, except within character strings.
N
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
N
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
eight 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.
2-6
Configuring the Printer
Loading...
+ 260 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.