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
Page 10
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
Page 11
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
Page 12
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.
Page 13
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
Page 14
MPCLII Packet Reference Manual
1-6
Page 15
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
Page 16
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
Page 17
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
Page 18
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.
Page 19
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
Page 20
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
Page 21
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
Page 22
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.
Page 23
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
Page 24
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
Page 25
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
Page 26
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.
✦
Page 27
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
Page 28
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
Page 29
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
Page 30
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.
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.
n
Syntax{I,E,"ANSI_cd",string1","string2" p }
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.
E1. EControl Characters Packet
3-11
Page 32
MPCLII Packet Reference Manual
E2. "ANSI_cd"~123Start of header{(left bracket)
E3. "string 1"Terminator for status requests and ENQ requests. Up to
E4. "string 2"Terminator for job requests and data uploads. Up to any 3
NOTE: "ANSI_cd" includes seven separate parameters.
any 3 characters in the 0 to 255 decimal range. The
default is "013". Sending "" disables this sequence.
characters in the 0 to 255 decimal range. The default is
none. Sending "" disables this sequence.
separator
(pipe sign)
p
character (optional)
Up to any 3 characters in the 0 to 255 decimal
range. The character must be defined before this
command can be used. The caret (^) is
normally used.
The first five parameters are required. The other
parameters are optional.
The defaults listed above are the defaults for all printers.
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 executes
immediately, even if it is embedded within quotation marks,
and all data following the command in the string is 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.
3-12
Page 33
Chapter 3. Configuring the Printer
Resetting Control Characters
You can change the characters in the previous example back
to their original settings by downloading this packet:
{I?E?"~123~044~034~124~125~126~094" p }
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. 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. Changing the communication settings takes
approximately two seconds. Communications sent during this
interval will be lost.
Syntax{I,F,baud,word_length,stop_bits,parity,
flow_control,pr_address p }
F1. FCommunication Settings Packet
F2. baudBaud Rate. Options:
01200
12400 (default for 1460)
24800
39600 (default for 9494/9490/9446)
419.2K
F3. word_length Word Length. Options:
07-bit word length
18-bit word length (default for all printers)
F4. stop_bitsStop Bits. Options:
01-stop bit (default for all printers)
12-stop bits
3-13
Page 34
MPCLII Packet Reference Manual
F5. parityParity. Options:
F6. flow_control Flow Control. Options:
F6. pr_addressPrinter’s address. Only valid on the 9490 printer used
0None (default for all printers)
1ODD parity
2EVEN parity
0None
1DTR (default for all printers)
2CTS
3XON/XOFF
NOTE: If you use the DOS COPY command to download
your formats, set "Flow Control" to DTR (not
XON/XOFF).
with the Mobile Printing Station. Can be any six-byte
string in the 0 to 255 decimal range enclosed by quotes.
We recommend setting the printer’s address to the
printable alphanumeric ASCII values (0-9; A-Z; a-z). This
avoids any conflict with the control characters (ENQ,
parameter separators, etc.) and is easily interpreted.
Example{I,F,3,1,0,0,1,"ABC123" p }
Uses 9600 baud, an 8-bit word length, one stop bit, no parity,
DTR mode, and sets one 9490 printer’s address to ABC123.
3-14
Page 35
Chapter 3. Configuring the Printer
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.
Syntax{I,M,buffer,device,buffer_size p }
M1. MMemory Configuration Packet
M2. bufferBuffer type:
DDownloadable Fonts
FFormat
IImage
RReceive
TTr a ns m it
VScalable Fonts
M3. deviceStorage type:
NNon-volatile RAM
RVolatile RAM
3-15
Page 36
MPCLII Packet Reference Manual
M4. buffer sizeBuffer size in 1/10K 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 for your
printer.
5 - 40Tr an sm i t
20 - 320Receive
385 - 2295Image
160 - 2295Format
80 - 2295Downloadable Fonts
0 - 1280Scalable Fonts
Buffer size with Optional RAM
in 1/10K ranges
5 - 40Tr an sm i t
20 - 320Receive
385 - 2560Image
160 - 5120Format
80 - 5120Downloadable Fonts
0 - 1280Scalable Fonts
n
3-16
BufferMin - Max in K9494949094461460
Transmit.5- 4K1K1K1K1K
Receive2 - 32K2K2K2K2K
Image38.5 - 229.5K115K124K153K153K
Downloadable
Fonts
Scalable Fonts0 - 128K36K48K0K0K
Formats
(Formats,
Batches,
and Graphics)
Internalcannot reallocate50K50K48K48K
If you have purchased the scalable font for the 9446 and
✦
8 - 229.5K20K128K20K20K
16 - 229.5K32K32K32K32K
1460 printers, the scalable fonts buffer is configured at
36K. The total actual memory available may be less than
the total default sizes.
Page 37
Chapter 3. Configuring the Printer
Buffers must total 256K, or 512K if the Optional RAM is
✦
present.
"Optional RAM Buffer Sizes" lists the minimum and
✦
maximum values for each buffer using the Optional RAM.
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,R,20 pReceive buffer2K
M,T,R,10 p Transmit buffer1K
M,D,N,80 p Downloadable fonts8K
M,V,R,0 p Scalable fonts buffer0K
M,I,N,1650 p Image buffer165K
}
Make sure memory is available before adding memory to a
buffer. In the above example, if the image buffer (M,I,N,1650)
was defined before the downloadable fonts and scalable fonts
buffers (M,D,N,80 and M,V,R,0) were defined, an error would
have occurred.
3-17
Page 38
MPCLII Packet Reference Manual
About Memory Buffers ––––––––––––––––––––––––––––––––––––––
Transmit BufferUsed to send ENQ, job, and upload
responses. A minimum of 5 is required.
The maximum is 40. This buffer must be
allocated as volatile (R) 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. A minimum of
20 is required. The maximum is 320. This
buffer must be allocated as volatile (R)
RAM.
Image BufferUsed to image the current format. You
can increase or decrease the default label
length by manipulating this buffer. A
minimum of 385 is required. The
maximum is 2295. The Image Buffer is
cleared after a printer reset, even if it is
stored in non-volatile RAM.
You must have the Optional RAM installed
to create labels longer than the default.
See Chapter 2, "Designing a Format," for
the default label lengths. An image up to
11.75 inches can be created on the
9494/9490/9446 printers by increasing this
buffer. However, the maximum image size
for the 1460 printer/applicator is 7.5
inches. (The size of the tamp pad
determines the maximum label size
available for the 1460 printer/applicator.)
n
3-18
You may not be able to use scalable or downloadable fonts if
you have increased the image buffer by reallocating memory
from these buffers into your image buffer.
Page 39
Chapter 3. Configuring the Printer
Use the formula below to calculate the
required image buffer size.
Example
19.13K x
Length is the length of your label in inches.
19.13K x 6 = 114.78K
(Multiply by 10 and round up.)
114.78K x 10 = 1147.8
1147.8 = 1150
Enter 1150 for your Image buffer.
Format BufferUsed to store formats, batch data, and
graphics. A minimum of 160 is required.
The maximum is 2295. Use the following
formula to calculate the required format
buffer size:
Linecount
Linecount is the number of lines in your
format packet including the format header
and all the options.
The result of the above calculation is in
kilobytes.
Length
x 50/1024
Downloadable
Fonts Buffer
Used to store downloaded soft
(bitmapped) fonts. A minimum of 80 is
required. The maximum is 2295. To
determine the size of your downloadable
fonts, send a font packet. See "Using the
Font Packet" for more information.
3-19
Page 40
MPCLII Packet Reference Manual
Scalable (Vector)
Fonts Buffer
Buffer Worksheet
Make copies of this page to use as a buffer worksheet.
n
If you are using Optional RAM, refer to "Optional RAM Buffer
Sizes" for the minimum and maximum buffer values.
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. Use 0 if you are not using
scalable fonts. The maximum is 1280.
This buffer must be allocated as volatile
(R) RAM.
DOWN LOADABLE
FONTS BUFFER
FORMAT
BUFFER
IMAGE
BUFFER
RECEIVE
BUFFER
TRANSMIT
BUFFER
SCALABLE
FONTS BUFFER
HEADER
M
D
MF
MI
MR
MT
MV
BUFFER
DEVICE
R
R
R
BUFFER SIZE
maximum of 2295
maximum of 2295
maximum of 2295
maximum of 320
maximum of 40
maximum of 1280
3-20
Page 41
Buffer Allocation Considerations
Keep these items in mind when allocating memory.
Do Not allocate more memory than what is available.
✦
Free memory from one buffer before you add it to
✦
another buffer.
Reallocate all the buffers if you need to reallocate any
✦
buffer.
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.
Chapter 3. Configuring the Printer
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.
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.
3-21
Page 42
MPCLII Packet Reference Manual
Optional RAM Buffer Sizes
If you have purchased the 256K Optional RAM for your printer,
the following table lists the minimum and maximum values for
each buffer.
BufferMin - Max (in K)
Transmit.5 - 4
Receive2 - 32
Image38.5 - 256
Format16 - 512
Downloadable Fonts8 - 512
Scalable Fonts0 - 128
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 Immedia te Comma nds
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.
3-22
Page 43
Chapter 3. Configuring the Printer
Sending Immedia te Comma nds
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.
Syntaxcontrol character_immediate command
n
Example^CB
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.
Immediately cancels the batch currently printing. This
example assumes that the defined immediate command
control character is the caret (^).
3-23
Page 44
MPCLII Packet Reference Manual
CommandParameter
^ADxxxxxx
^CA
^CB
^DD or
^DCd
^EA
^ER
^FD
^ID or ^ICd
^MC
^MI
^MM
^MP
^MR
^MV
^PR
^RB
^RS
^SD or
^SCd
^TP
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.
Selects the 9490 printer whose ASCII address is xxxxxx.
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 the trigger or
pressing
Feeds a label when printer is idle. Simulates the operation of
pressing trigger or f 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. 00 = M9446 01 =
M1446/M1460
02= M9490 04= M9494
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. This command does not work if using
batch separators. NOTE: Printer ignores this command if printing.
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.
E
to acknowledge an error. Normal operation will resume.
3-24
Page 45
Chapter 3. Configuring the Printer
n
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. For the 9490 and 9494 printers, turning off the
printer clears the packets from memory. For all printers, send
a format clear packet.
Syntax{header,packet#,action,device p }
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:
ACheck Digit Scheme
BBatch
FFormat
GGraphic
WFont
number (0-9999). 0 is for all fonts.
Example{F,1,C,R p }
Clears Format #1 from volatile RAM.
NNon-volatile RAM
RVolatile RAM
3-25
Page 46
MPCLII Packet Reference Manual
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{W,font#,action,device p }
W1. WWritable Font Header
W2. font#Font number from 0-9999.
0 is for all fonts. 1 - 5 digits is the font number.
For example, 11 is the standard printer font,
CG Triumvirate.
W3. actionAction. Options:
AAdds the specified font.
CClears all or specified fonts, except ones in ROM.
HUploads font size information.
MUploads font memory usage information.
W4. deviceStorage device. Options:
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 }
3-26
RVolatile RAM
ZAll devices (use for upload).
Page 47
Example{W,0,H,Z p }
Selects all fonts and uploads the font size information for any
downloaded fonts.
The printer returns the following to the host:
Chapter 3. Configuring the Printer
Font Style
Symbol Set
Cell Width
n
{W,0,H,Z p
0,1,0,"Standard",0,0,0,14,22,14,22,3 p
0,1,1,"CGTriBd9",1,0,7,25,31,10,15,0 p
0,1,437,"CGTriBd9",1,0,7,25,31,10,15,0 p
Ty p e
0,1,850,"CGTriBd9",1,0,7,25,31,10,15,0 p
0,2,0,"Reduced",0,0,0,7,14,7,14,1 p
0,2,1,"CGTriumv6",1,0,5,17,21,5,10,0 p
0,2,437,"CGTriumv6",1,0,5,17,21,5,10,0 p
0,2,850,"CGTriumv6",1,0,5,17,21,5,10,0 p
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
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
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
0,11,850,"CGTriumv6",1,0,5,17,21,5,10,0 p
0,50,0,"CGTriBd",1,1,92248 p
}
This example shows the fonts for the 9490 printer. Notice that
the scalable font (font #50) is included in the list.
Font Name
Spacing
Baseline
Cell Height
Nominal
Nominal
Inter-Character
SpacingMonospaced (0) or proportional (1).
Ty p eBitmapped (0) or scalable (1).
BaselineBottom of the font.
Cell WidthHorizontal number of dots to contain the
widest character.
3-27
Page 48
MPCLII Packet Reference Manual
Cell HeightVertical number of dots to contain the
Nominal WidthAverage width for lower-case letters.
Nominal HeightAverage height for lower-case letters.
tallest character.
Inter-Character
Gap
Default spacing between characters in
monospaced fonts.
Using Configuration Upload Packet –––––––––––––––––––––––––––
Use the configuration upload packet to upload your printer’s
configuration.
Syntax{header,ID#,action,device p }
1. headerConstant I.
2. ID#ID. Use 0.
3. actionUpload User Configuration (U).
4. deviceStorage Device. Options:
MMemory
NNonvolatile RAM
RVolatile RAM
3-28
Page 49
Example{I,0,U,N p }
Uploads the printer configuration from nonvolatile RAM and
returns the following to the host.
A,0,0,0,0,0 p
B,1,1,0,0,0 p
C,0,0,0,0,768 p
D,1,0,2 p
E,"~123~044~034~124~125~126","","~013~010" p
F,1,1,0,0,1 p
M,R,2110,200,N,2560,220 p
M,R,N,20 p
M,T,N,10 p
M,I,N,1530 p
M,D,N,20 p
M,F,N,320 p
M,V,N,0 p }
The parameters for each packet (A-F & M) are displayed. In
the first line that begins with M, 2110 is the total volatile
memory available, 200 is the memory used in volatile RAM in
1/10K. 2560 is the total non-volatile memory available, 220 is
the memory left in non-volatile RAM in 1/10K.
Chapter 3. Configuring the Printer
n
The total volatile and non-volatile RAM varies with each printer.
In the second line that begins with M, 20 is the amount of
memory in 1/10K allocated for the Receive buffer in
Non-volatile RAM.
The remaining lines give the buffer sizes in 1/10K for the
Transmit, Image, Downloadable Fonts, Format, and Scalable
(Vector) Fonts Buffers.
For the System Setup Packet (A), all the printers use these
defaults:
ParameterDefaultDescription
Identifier
online_mode
language
sep_on
slash_zero
symbol_set
For the 9494 printer
ParameterDefaultDescription
Identifier
supply_type
ribbon_on
feed_mode
supply_posn
cut_posn
A
0
0
0
0
0
B
0
1
0
0
0
System Setup Packet
Online mode
English
Do not print separator
Print a standard zero
Internal Symbol Set
Supply Setup Packet
Black Mark stock loaded
Ribbon installed (transfer supply)
On demand operation
Supply position in 1/192 inches
Cut position in 1/192 inches
3-30
The defaults for the print control, monetary formatting, control
characters, and communication settings packets are listed
earlier in this chapter. The default print speed on the 9494
printer is 2 inches per second.
Page 51
For the 9490 printer
ParameterDefaultDescription
Identifier
supply_type
ribbon_on
feed_mode
supply_posn
cut_posn
The defaults for the print control, monetary formatting, control
characters, and communication settings packets are listed
earlier in this chapter. The default print speed on the 9490
printer is 2 inches per second.
For the 9446 printer
Chapter 3. Configuring the Printer
B
0
1
0
0
0
Supply Setup Packet
Black Mark stock loaded
Ribbon installed (transfer supply)
On demand operation
Supply position in 1/192 inches
Cut position in 1/192 inches
ParameterDefaultDescription
Identifier
supply_type
ribbon_on
feed_mode
supply_posn
cut_posn
B
1
1
0
0
0
Supply Setup Packet
Die Cut stock loaded
Ribbon installed (transfer supply)
Continuous operation
Supply position in 1/192 inches
Cut position in 1/192 inches
The defaults for the print control, monetary formatting, control
characters, and communication settings packets are listed
earlier in this chapter. The default print speed on the 9446
printer is 5 inches per second.
3-31
Page 52
MPCLII Packet Reference Manual
For the 1460 printer
ParameterDefaultDescription
Identifier
supply_type
ribbon_on
feed_mode
supply_posn
cut_posn
The defaults for the print control, monetary formatting, control
characters, and communication settings packets are listed
earlier in this chapter. The default print speed on the 1460
printer is 7 inches per second.
B
1
1
1
0
0
Supply Setup Packet
Die Cut stock loaded
Ribbon installed (transfer supply)
On-Demand operation
Supply position in 1/192 inches
Cut position in 1/192 inches
3-32
Page 53
Chapter 4.Defining Fields
This chapter provides a reference for defining
the format header
✦
text, constant text, and non-printable text fields
✦
bar code fields
✦
line and box fields.
✦
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
F3. actionEnter A to add a new format to the printer.
F4. deviceFormat storage device. R is the only valid value.
F5. measureUnit of measure. Options:
English, measured in 1/100 inches
E
Metric, measured in 1/10 mm
M
Graphic, measured in dots
G
F6. lengthSupply length, in units selected above. Measure
supply top to bottom. The bottom is the edge that
exits the printer first.
NOTE:
For the 9490 and 9494 printers, you can use
supply longer than 6 inches (up to 7.1 inches);
however, the length in your format header cannot
be greater than 6 inches.
to identify the format.
0-99
4-1
Page 54
MPCLII Packet Reference Manual
9494/9490
NOTE:
F7. widthSupply width, from left to right, in selected units. Ranges:
F8. "name"Format name (optional),
quotation marks.
ranges:
English
Metric
Dots
English
Metric
Dots
100 - 600
254 - 1524
192 - 1152
The ranges above are based on a standard
memory configuration. You can create longer
labels if you purchase the Optional RAM and
reallocate memory to increase your image buffer
size. See "Defining the Memory Configuration
Packet" in Chapter 3 for more information.
120 - 400
305 - 1017
230 - 768
9446/1460
characters, enclose within
0-8
English
Metric
Dots
ranges:
075 - 800
191 - 2033
144 - 1536
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.
SyntaxT,field#,# of char,fix/var,row,column,
gap,font,hgt mag,wid mag,color,alignment, char
rot,field rot,sym set p
T1. TText Field.
T2. field#Unique number from
T3. # of charMaximum number of printed characters (
field.
T4. fix/varFixed or variable length field. Options:
F
V
Fixed length
Variable length
to identify this field.
0-99
4-2
0-2710
) in the
Page 55
Chapter 4. Defining Fields
T5. rowFor monospaced fonts, distance from bottom of print area
to the pivot point. The pivot point varies depending on
how text is justified.
0 (TOP)
3 (RIGHT)
2 (BOTTOM)
1 (LEFT)
1 (LEFT)
0 (TOP)
2 (BOTTOM)
3 (RIGHT)
Left/Center/Right-Justified
3 (RIGHT)
1 (LEFT)
Balanced
2 (BOTTOM)
0 (TOP)
End-Justified
For proportionally spaced fonts,
distance from bottom of print area to
baseline of characters in field.
9494/9490
English
Metric
Dots
NOTE:
The ranges above are based on a standard
memory configuration. You can create longer
labels if you purchase the Optional RAM and
reallocate memory to increase your image buffer
size. See "Defining the Memory Configuration
Packet" in Chapter 3 for more information.
ranges:
0 - 599
0 - 1523
0 - 1151
9446/1460
English
Metric
Dots
ranges:
0 - 799
0 - 2031
0 - 1535
4-3
Page 56
MPCLII Packet Reference Manual
T6. columnDistance from the left edge of the print area to the pivot
T7. gapNumber of dots between characters
T8. fontStyle of font. Options:
point is the column location. Ranges:
English
Metric
Dots
(192 dots per inch). Range:
NOTE:
Any number other than 0 or the default number affects
your field width. Default spacing:
Standard
Reduced
Bold
OCRA-like
CG Triumvirate Bold
CG Triumvirate
Standard
1
Reduced
2
Bold
3
CG Triumvirate Bold (scalable)
50
0 - 399
0 - 1015
0 - 767
.
0-99
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.
3 dots
1 dot
3 dots
3 dots
varies with each letter
varies with each letter
4
11
OCRA-like
CG Triumvirate Bold
10
CG Triumvirate
4-4
NOTE:
T9. hgt magHeight magnifier,
scalable font. If using the scalable font on the 9490
printer, the range is
with proportionally spaced fonts, because characters lose
smoothness at higher magnifications.
If you have purchased optional fonts, refer to the
Optional Fonts Manual for valid font selectors.
The scalable font (Font #50) must be purchasedseparately for the 9446 and 1460 printers. The
scalable font does not print a slashed zero. The
CG Triumvirate fonts and Font #50 support only
the ANSI and DOS Code 437 and 850 Page
Symbol Sets. See Appendix C, "Symbol
Sets/Code Pages" for more information.
(times) or
1-7
4-200
points for the
4-90
points. Use a magnifier of
1
Page 57
Chapter 4. Defining Fields
T10. wid magWidth magnifier,
T11. colorOptions for standard printer fonts:
font. If using the scalable font on the 9490 printer, the
range is
Proportionally spaced fonts do 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."
NOTE:
Options for the Scalable Font:
4-200
You may need to reconfigure the printer’s
memory to accommodate large point sizes. See
"Defining the Memory Configuration Packet" in
Chapter 3 for more information.
B
D
O
R
W
A
B
E
F
N
O
S
T
Opaque, Normal, Black, Normal
Opaque, Normal, White, Normal
Transparent, Normal, Black, Normal
Transparent, Normal, White, Normal
Opaque, Normal, White, Normal
Opaque, Normal, Black, Bold
Opaque, Normal, Black, Normal
Opaque, Italics, Black, Bold
Opaque, Italics, Black, Normal
Transparent, Normal, Black, Bold
Transparent, Normal, Black, Normal
Transparent, Italics, Black, Bold
Transparent, Italics, Black, Normal
1-7
points.
(times) or
4-90
points for the scalable
NOTE:
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
Solid black print cannot exceed 20% (for the
9490 printer) or 30% (for the 9494/9446/1460
printers) on any given square inch of the label.
not block out (or "erase") existing fields.
existing fields.
Line field not
blocked out by
transparent
field using
attribute O
4-5
Page 58
MPCLII Packet Reference Manual
T12. alignmentOptions:
Field placement in the packet is an important
consideration when using field color attributes. 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.
L
C
R
B
E
Use L, B, or E for any font.
T13. char rotCharacter rotation. The field or supply does not rotate,
only the characters do. Options:
0
1
2
3
T14. 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:
Align on left side of field.
Center text within field (monospaced fonts only)
Align on right side of field (monospaced fonts only)
Align at midpoint of field
Align at endpoint of the field
Top of character points to top of field
(Use for scalable font)
Top of character points to left of field
Top of character points to bottom of field
Top of character points to right of field
4-6
0
1
2
3
Top of field points to top of supply
Top of field points to left of supply
Top of field points to bottom of supply
Top of field points to right of supply
Page 59
T15. sym setSymbol set. Options:
Chapter 4. Defining Fields
0
1
437
850
NOTE:
Internal Symbol Set
ANSI Symbol Set
DOS Code Page 437 (Domestic)
DOS Code Page 850 (International)
The CG Triumvirate fonts and Font #50 support
only the ANSI and DOS Code 437 and 850 Page
Symbol Sets. See Appendix C, "Symbol
Sets/Code Pages" for more information.
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.
SyntaxB,field#,# of char,fix/var,row,column,
font,density,height,text,alignment,
field rot p
B1. BBar Code Field.
B2. field#Unique number from
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
.
to identify this field.
0-99
4-7
Page 60
MPCLII Packet Reference Manual
B4. fix/varFixed (F) or variable (V) length field.
Bar CodeNumber of Characters Fixed or
UPCA
UPCA+2
UPCA+5
UPCA+Price CD
UPCE
UPCE+2
UPCE+5
EAN8
EAN8+2
EAN8+5
EAN13
EAN13+2
EAN13+5
EAN13+Price CD
POSTNET
Interleaved 2 of 5
or
Interleaved I 2 of 5 with Barrier Bar
Code 39 or MOD43
Codabar (NW7)
Code 128
Code 93
MSI
PDF417
MaxiCode
Var iable
12F
14F
17F
12F
7F
9F
12F
8F
10F
13F
13F
15F
18F
13F
9 or 11F
0 to 2710V
0 to 2710V
depends on applicationV
0 to 2710V
0 to 2710V
0 to 14V
0 to 2710V
15 to 99V
4-8
Page 61
Chapter 4. Defining Fields
B5. rowDistance from bottom of the print area to the pivot point of
the field. The pivot point varies, depeding on how the
field is justified. Pivot points:
Left/Center/Right-Justified Fields
Balanced Fields
Remember to include text or
numbers that may appear with the
bar code for the row measurement.
End-Justified Fields
9494/9490
English
Metric
Dots
NOTE:
The ranges above are based on a standard
memory configuration. You can create longer
labels if you purchase the Optional RAM and
reallocate memory to increase your image buffer
size. See "Defining the Memory Configuration
Packet" in Chapter 3 for more information.
ranges:
0 - 599
0 - 1523
0 - 1151
9446/1460
English
Metric
Dots
ranges:
0 - 799
0 - 2031
0 - 1535
4-9
Page 62
MPCLII Packet Reference Manual
B6. columnDistance to the lower left corner of the field from the left
B9. heightBar code height, in 1/100 inches, 1/10 mm, or dots.
Minimum values:
English
Metric
Dots
NOTE:
20
51
38
POSTNET, PDF417, and MaxiCode bar codes
have a fixed height. Always enter 0 for these bar
code types.
Page 65
Chapter 4. Defining Fields
B10. textAppearance of text with bar code. For UPC and EAN only
B11. alignmentChoose L, R, C, B or E to align the bar code data
B12. field rotField rotation. Lower left corner of field is the pivot point.
use
correctly in 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.
Maxicode must use L.
Options:
NOTE:
. For all others, use 8. Options:
0-7
0
1
5
6
7
8
0
1
2
3
Default
No check digit or number system
Number system at bottom, no check digit
Check digit at bottom, no number system
Check digit and number system at bottom
No text, bar code only
Top of field points to top of supply
(Use for Maxicode)
Top of field points to left of supply
Top of field points to bottom of supply
Top of field points to right of supply
Serial bar codes printed at speeds greater than
2.5 IPS may not scan properly.
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-13
Page 66
MPCLII Packet Reference Manual
When you copy this field into another field, the maximum
number of characters for the final field is
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.
SyntaxD,field#,# of char p
D1. DNon-Printable Text Field.
D2. field#Unique number from
D3. # of charMaximum number of characters in this field (
ExampleD,4,20 p
Defines a non-printable text field (field #4) with a maximum of
20 characters.
4-14
assigned to this field.
0-99
0-2710
).
Page 67
Chapter 4. Defining Fields
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
fields per format). 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.
SyntaxC,row,column,gap,font,hgt mag,
wid mag,color,alignment,char rot,
field rot,"fixed char",sym set p
C1. CConstant Text Field.
100
C2. rowFor monospaced fonts, distance from bottom of print area
to 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.)
9494/9490
English
Metric
Dots
NOTE:
The ranges above are based on a standard
memory configuration. You can create longer
labels if you purchase the Optional RAM and
reallocate memory to increase your image buffer
size. See "Defining the Memory Configuration
Packet" in Chapter 3 for more information.
ranges:
0 - 599
0 - 1523
0 - 1151
9446/1460
English
Metric
Dots
ranges:
0 - 799
0 - 2031
0 - 1535
4-15
Page 68
MPCLII Packet Reference Manual
C3. columnDistance to lower left corner of field, from left edge of
C4. gapNumber of dots between characters. Range:
C5. fontStyle of font. Options:
C6. hgt magHeight magnifier,
print area. Ranges:
English
Metric
Dots
Standard
1
Reduced
2
Bold
3
CG Triumvirate Bold (scalable)
50
NOTE:
scalable font. If using the scalable font on the 9490
printer, the range is
with proportionally spaced fonts, because characters lose
smoothness at higher magnifications for all fonts.
0 - 399
0 - 1015
0 - 767
.
0-99
4
If you have purchased optional fonts, refer to the
Optional Fonts manual for valid selectors. The
scalable font (Font #50) must be purchasedseparately for the 9446 and 1460 printers. The
CG Triumvirate fonts and Font #50 support only
the ANSI and DOS Code 437 and 850 Page
Symbol Sets. See Appendix C, "Symbol
Sets/Code Pages" for more information.
OCRA-like
CG Triumvirate Bold
10
CG Triumvirate
11
(times) or
1-7
4-200
4-90
points. Use a magnifier of
points for the
1
4-16
C7. wid magWidth magnifier,
font. If using the scalable font on the 9490 printer, the
range is
NOTE:
C8. colorOptions for Standard Printer Fonts:
4-200
You may need to reconfigure the printer’s
memory to accommodate large point sizes. See
"Defining the Memory Configuration Packet" in
Chapter 3 for more information.
B
D
O
R
W
Opaque, Normal, Black, Normal
Opaque, Normal, White, Normal
Transparent, Normal, Black, Normal
Transparent, Normal, White, Normal
Opaque, Normal, White, Normal
1-7
points.
(times) or
4-90
points for the scalable
Page 69
Options for the Scalable Font:
Chapter 4. Defining Fields
A
B
E
F
N
O
S
T
NOTE:
There are two types of field color overlay attributes:
TransparentThe overlay field (text or constant text) does
OpaqueThe overlay field blocks out (or "erases")
Field placement in the packet is an important
consideration when using field color attributes. 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.
C9. alignmentAlignment of constant text in the field. Options:
Opaque, Normal, Black, Bold
Opaque, Normal, Black, Normal
Opaque, Italics, Black, Bold
Opaque, Italics, Black, Normal
Transparent, Normal, Black, Bold
Transparent, Normal, Black, Normal
Transparent, Italics, Black, Bold
Transparent, Italics, Black, Normal
Solid black print cannot exceed 20% (for the
9490 printer) or 30% (for the 9494/9446/1460
printers) on any given square inch of the label.
not block out (or "erase") existing fields.
existing fields.
L
C
R
B
E
Use L, B, or E for any font.
C10. char rotCharacter rotation. Options:
0
1
2
3
Align on left side of field.
Center text within field
(for monospaced fonts only)
Align on right side of field
(for monospaced fonts only)
Align at midpoint of field
Align at end of field.
Top of character points to top of field
(Use for scalable font)
Top of character points to left of field
Top of character points to bottom of field
Top of character points to right of field
4-17
Page 70
MPCLII Packet Reference Manual
C11. field rotField rotation. Lower left corner of field is the pivot point.
C12. "fixed char" Fixed characters to appear in the field. Maximum
C13. sym setSymbol set. Options:
Options:
0
1
2
3
NOTE:
characters. Enclose in quotation marks.
0
1
437
850
NOTE:
Top of overlay points to top of supply
Top of overlay points to left of supply
Top of overlay points to bottom of supply
Top of overlay points to right of supply
Rotation is affected by the pivot point, which
varies depending on how text is justified.
Internal Symbol Set
ANSI Symbol Set
DOS Code Page 437 (Domestic)
DOS Code Page 850 (Multilingual)
The CG Triumvirate fonts and Font #50 support
only the ANSI and DOS Code 437 and 850 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.
2710
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
any line length and a thickness up to 99 dots, as long as the
solid black print does not exceed 20 percent (for the 9490
printer) or 30 percent (for the 9494/9446/1460 printers) of any
given square inch of the label.
4-18
fields per format). You can define
100
Page 71
Line Types
Chapter 4. Defining Fields
You can create horizontal and vertical lines. There are two
ways to define lines.
Segments
You choose the starting point and ending
point.
Vectors
You choose the starting point, the angle,
and the length of the line.
SyntaxL,type,row,column,angle/end row,length/ end
col,thickness,"pattern" p
L1. LLine Field.
L2. typeType of line. Only vertical and horizontal lines are
L3. rowDistance from bottom of print area
supported. Options:
S
V
to the starting point.
Segment. You choose the starting point and
ending point.
Vector. You choose the starting point, angle,
and length.
9490/9494
English
Metric
Dots
NOTE:
The ranges above are based on a standard
memory configuration. You can create longer
labels if you purchase the Optional RAM and
reallocate memory to increase your image buffer
size. See "Defining the Memory Configuration
Packet" in Chapter 3 for more information.
ranges:
0 - 599
0 - 1523
0 - 1151
9446/1460
English
Metric
Dots
ranges:
0 - 799
0 - 2031
0 - 1535
4-19
Page 72
MPCLII Packet Reference Manual
L4. columnDistance from left edge of the print area to line origin.
L5. angle/
end row
L6. length/
end col
Ranges:
English
Metric
Dots
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,
, or
180
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
0 - 399
0 - 1015
0 - 767
Vec tors
.
270
Segments
Vec tors
4-20
Length of the line in selected units.
Ranges for horizontal lines:
English
Metric
Dots
9494/9490
vertical line ranges:
English
Metric
Dots
0 - 400
0 - 1016
0 - 768
9446/1460
vertical line ranges:
0 - 600
0 - 1524
0 - 1152
English
Metric
Dots
0 - 800
0 - 2033
0 - 1536
Page 73
Chapter 4. Defining Fields
L7. thicknessUsing the chart below for reference, write the desired line
L8. "pattern"Line pattern. Only one pattern is supported on these
thickness (1 to 99) in box L7. Measured in dots.
NOTE:
printers. Enter "".
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.
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
can define any line length and a thickness up to 99 dots, as
long as the solid black print does not exceed 20 percent (for
the 9490 printer) or 30 percent (for the 9494/9446/1460
printers) of any given square inch of the label.
fields per format). You
100
4-21
Page 74
MPCLII Packet Reference Manual
SyntaxQ,row,column,end row,end col,thickness,
"pattern" p
Q1. QBox (Quadrilateral) Field.
Q2. rowDistance from bottom of print area
Q3. columnDistance from left edge of print area
to lower left corner of box.
9490/9494
NOTE:
to lower left corner of box.
ranges:
English
Metric
Dots
English
Metric
Dots
0 - 599
0 - 1523
0 - 1151
The ranges above are based on a standard
memory configuration. You can create longer
labels if you purchase the Optional RAM and
reallocate memory to increase your image buffer
size. See "Defining the Memory Configuration
Packet" in Chapter 3 for more information.
0 - 399
0 - 1015
0 - 767
9446/1460
English
Metric
Dots
ranges:
0 - 799
0 - 2031
0 - 1535
4-22
Q4. end rowDistance from bottom of print area
to upper right corner of box.
Ranges same as row.
Page 75
Chapter 4. Defining Fields
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
thickness (
1 to 99
) in box Q6. Measure in dots.
NOTE:
Q7. "pattern"Line pattern. Only one pattern is supported on these
printers. Enter "".
Line thickness fills upward on horizontal lines, or
to the right on vertical lines.
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.
4-23
Page 76
MPCLII Packet Reference Manual
4-24
Page 77
Chapter 5.Defining Field Options
This chapter provides a reference for defining
field options in formats
✦
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.
5-1
Page 78
MPCLII Packet Reference Manual
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. See 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.
ExampleR,1,3,1,3,1,1 p
SyntaxR,option#,parameter...parameter p
R1. RIndicates field option header.
R2. option#Option number:
1
4
30
31
42
50
51
52
60
61
R3. parameter(s) Varies per option. See the following option descriptions.
Define fixed characters
Copy data from previous field
Pad data to left or right with specified character
Generate check digit
Format as a price field
Define bar code densities
Define security and truncation of PDF417 bar codes
Define width or length of PDF417 bar codes
Define incrementing or decrementing field
Reimage fields
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.
SyntaxR,1,"fixed char" p
R1. ROption Header.
R2. 1Option 1.
R3. fixed charCharacters to insert. Enclose in quotation marks. If you
are 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.
ExampleR,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.
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 place in the field,
including any price, check digit, or fixed characters inserted by
the printer. The maximum number of characters in the field
n
into which data is copied cannot exceed
number of characters permitted by the
bar code
When copying from more than one field, copy into the
or the maximum
2710
.
destination field from left to right.
SyntaxR,4,src fld,src start,# to copy,dest start,copy
code p
R1. RField Option Header.
R2. 4Option 4.
R3. src fldField number from which data is copied. Range: 0 -
R4. src startPosition number in the source field of the first character to
R5. # to copyNumber of characters to copy. Range: 1 -
R6. dest startPosition number where copied characters are to begin
be copied. Character positions are numbered 1 to
starting from the left.
2710
printing in the destination field. Range: 1 -
2710
999
2710
.
.
.
,
R7. copy codeCopy Method.
ExampleR,4,3,1,3,1,1 p
5-4
1
2
Copy field as is (including price symbols,
pad characters, check digits, etc.).
Copy unformatted data (without price characters,
pad characters, etc.).
Page 81
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.
Define field 5 as a bar code. Allow enough characters in
2.
the bar code field to hold all the copied characters.
Apply Option 4 to field 5 once for every source field.
3.
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.
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.
SyntaxR,30,L/R,"character" p
R1. RField Option Header.
R2. 30Option 30.
R3. L/RIndicates type of padding
Pad field on left side
L
Pad field on right side
R
R4. "character"Pad character must be within the 0 -
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.
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, Code 39 (with the MOD43 check digit), Maxicode,
or POSTNET bar code.
SyntaxR,31,gen/ver,check digit # p
R1. RField Option 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
ExampleR,31,G,5 p
Generates a check digit using the previously defined check
digit scheme 5.
identifies a check digit scheme that has been defined.
For more information, see "Using Check Digits." Range:
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.
SyntaxR,42,appearance code p
R1. RField Option Header.
R2. 42Option 42.
R3. appearance
code
ExampleR,42,1 p
Uses a price field that prints the monetary symbol and
notations as defined in the monetary formatting packet.
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" in Chapter 3 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.
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
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 such as Maxicode or POSTNET.
SyntaxR,50,narrow,wide,gap,nar_space,wide_space p
R1. RField Option Header.
with Code 39, Codabar or PDF417.
only
R2. 50Option 50.
R3. narrowDot width of the narrow element. Range:
R4. wideDot width of the wide element. Height of each element for
PDF417). Range:
R5. gapAdditional dot space between characters. Enter a value
of 1 to
R6. nar_spaceAdditional dot width of the narrow bar code space. (Code
39 and Codabar only). Range:
R7. wide_spaceAdditional dot width of the wide bar code space. (Code
39 and Codabar only). Range:
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).
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 R,51,security,stand/default p
R1. RIndicates option header.
R2. 51Indicates Option 51.
R3. securitySecurity level ranges from
R4. stand/defTruncation selector. Valid values:
ExampleR,51,2,S p
Defines a security level of 2 for a standard PDF417 bar code.
5-10
is the default).
0-8 (0
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.
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.
SyntaxR,52,row/column,dimension p
R1. RIndicates option 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.
ExampleR,52,C,10 p
Defines the column width of 10, which expands the PDF417
bar code length by 10.
R
C
If you specify rows, the bar code expands in columns,
or vice versa.
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
and digits, apply incrementing or decrementing to only the
portion of the field that contains digits. Do not use with Option
42 (price field).
SyntaxR,60,I/D,amount,l pos,r pos p
R1. RField Option Header.
R2. 60Option 60.
data only. If you have a field that includes letters
R3. I/D
R4. amountAmount to increase or decrease. Range:
R5. l posLeftmost position in inc/dec portion of field. If this value
R6. r posRightmost position in inc/dec portion of field. If this value
I
D
is not entered, the default value 1 is used. Range:
2710
is not used, the entire field length is used as the default.
Range:
incrementing field
decrementing field
.
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
entered as
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.
n
SyntaxR,61 p
ExampleR,61 p
The most common use for this option is with incrementing
fields on your label, because they may cover a constant field.
R1. ROption Header.
R2. 61Option 61.
Reimages the constant field that appears next to a variable
field.
Re-Image ON
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.
Re-Image OFF
5-13
Page 90
MPCLII Packet Reference Manual
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), Code 93, PDF417, Maxicode, or POSTNET.
Syntax {A,selector,action,device,modulus,
fld_length,D/P,"weights" p }
A1. ACheck Digit Header.
5-14
A2. selectorAssign a number from
A3. actionAdds a check digit scheme. Enter A.
A4. deviceDevice. Use R.
A5. modulusNumber from
A6. fld_lengthThe maximum number of characters the field will contain.
A7. D/PAlgorithm. The algorithm determines how the check digit
A8. "weights
sum of products or the sum of digits.
Range:
is calculated. Options:
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:
D
P
0 - 2710
sum of digits
sum of products
0 - 2710
. The modulus is used to divide the
2-11
.
.
to this check digit formula.
1-10
Page 91
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 P roduct s Ca lculat ion
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
Weights are applied to each digit, starting with the last
1.
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
.
Chapter 5. Defining Field Options
field:
weight string:
Each digit in the field is multiplied by the weight assigned
2.
to it:
field:
weight string:
products:
Next, the product of each digit is added together. This is
3.
the sum of the products.
20 + 2 + 6 + 6 + 16 + 5 + 4 + 3 + 36 = 98
5 2 3 2 4 5 2 1 9
4 1 2 3 4 1 2 3 4
5 2 3 2 4 5 2 1 9
4 1 2 3 4 1 2 3 4
20 2 6 6 16 5 4 3 36
5-15
Page 92
MPCLII Packet Reference Manual
Divide the sum of the products by the modulus (10 in this
4.
case), only to the whole number. The balance is called
the remainder.
9
10 98
90
8
Subtract the remainder from the modulus.
5.
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
5-16
Weights are applied to each digit, starting with the last
1.
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:
weight string:
Each digit in the field is multiplied by the weight assigned
2.
to it:
field:
weight string:
products:
.
5 2 3 2 4 5 2 1 9
4 1 2 3 4 1 2 3 4
5 2 3 2 4 5 2 1 9
4 1 2 3 4 1 2 3 4
20 2 6 6 16 5 4 3 36
Page 93
Chapter 5. Defining Field Options
Next, the digits of the products are added together.
3.
Two-digit products are treated as two separate digits.
This is the sum of the digits.
Divide the sum of the digits by the modulus (10 in this
4.
case), only to the whole number. The balance is called
the remainder.
4
10 44
40
4
Subtract the remainder from the modulus.
5.
The result becomes the check digit. In this case, the
check digit is 6.
10 - 4 = 6
5-17
Page 94
MPCLII Packet Reference Manual
5-18
Page 95
Chapter 6.Printing
This chapter describes how to
download files to the printer
✦
define the batch header, batch control, and batch data
✦
files
modify formats
✦
create DOS batch files.
✦
Turn on the printer and make sure it is ready to receive data
before you download. See your host’s documentation, system
administrator, or "Downloading Methods" for information on
ways to download.
When downloading, send your packets in this order:
1. Memory configuration packets (M)
2. Configuration packets (A-F)
3. Any of the following:
Check digit packets (see Chapter 5)
✦
Format packets (see Chapter 4)
✦
Graphic packets (Refer to the MPCLII Graphics Manual)
✦
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.
6-1
Page 96
MPCLII Packet Reference Manual
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. Make sure the settings match those at the
host before sending any packets to the printer.
4. Type this command at the DOS prompt:
COPY LABEL1.FMT COM1
Transmits a file called "LABEL1.FMT" to COM1.
COPY LABEL1.BCH COM1
Transmits 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.
Defining the Batch Header –––––––––––––––––––––––––––––––––––
6-2
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.
A batch packet contains three parts:
batch headeridentifies the format and how many labels
to print.
batch controldefines the print job.
batch data
(optional)
defines the actual information printed on
the label.
Page 97
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
To o l s . "
Syntax {B,format#,N/U,quantity p
B1. BBatch Header.
B2. format#Format number (0-99) to use.
B3. N/UControls how image is generated.
Chapter 6. Printing
B4. quantityQuantity to print (0-32000).
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.
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.
6-3
Page 98
MPCLII Packet Reference Manual
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.
E3. batch_sepBatch Separator (striped label in between batches).
Options:
0Does not print a separator
1Prints a separator (9494/9490/9446)
E4. print_multNumber of tags with the same image.
E5. multi_partNumber of identical parts on one tag.
E6. cut_type0 is the only valid option.
E7. cut_mult0 is the only valid option.
ExampleE,0,1,4,2,0,0 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. The
last two parameters are 0, because a knife is not available on
these priners.
6-4
1 to 999
1 to 5
Page 99
Chapter 6. Printing
Defining Batch Data 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#,"data string" p
C,"continuation" p
field#Identifies the text, bar code, or non-printable text field in
which to insert the following data. Range: 0 - 99.
"data string"Provides the actual information to appear in fields.
CIdentifies information to be appended to the data string.
"continuation"Provides the actual information to be added to the batch
Enclose in quotation marks. Range: 0 - 2710.
(This parameter is optional.)
packet. Enclose in quotation marks. Use this option to
break up longer fields. (This parameter is optional.)
Example1,"Size 12" p
2,"" p
3,"Blue" p
C,"and this would be appended." 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.
Using Special Characters in Batch Data
There are two ways to specify special characters in batch data:
Place a tilde (~) before the character
✦
Use a tilde with the decimal ASCII equivalent
✦
6-5
Page 100
MPCLII Packet Reference Manual
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 characters is ignored. You can also
use ~XXX where XXX is the decimal equivalent or an
unprintable character.
Sample Batch Data with Special Characters
p
{B,1,N,1
1,"123~034456789"
2,"~094983~‘126LG4451"
p
~034 is "123"456789
Decimal CharacterWhat Prints
p
~094 is ^
~126 is ~
^983~‘LG4451
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
"data string" 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.
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.
Sequentia l Met hod
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.
6-6
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.