Each product and program carries a respective written warranty, the only
warranty on which the customer can rely. Avery Dennison Corp. reserves the
right to make changes in the product, the programs, and their availability at any
time and without notice. Although Avery Dennison Corp. has made every effort
to provide complete and accurate information in this manual, Avery Dennison
Corp. shall not be liable for any omissions or inaccuracies. Any update will be
incorporated in a later edition of this manual.
This equipment has been tested and found to comply with the limits for a Class A
digital device, pursuant to Part 15 of the FCC Rules. These limits are designed to
provide reasonable protection against harmful interference when the equipment is
operated in a commercial environment. This equipment generates, uses, and can
radiate radio frequency energy and, if not installed and used in accordance with the
instruction manual, may cause harmful interference to radio communications.
Operation of this equipment in a residential area is likely to cause harmful
interference in which case the user will be required to correct the interference at his
own expense.
CANADIAN D.O.C. WARNING
This digital apparatus does not exceed the Class A limits for radio noise emissions
from digital apparatus set out in the Radio Interference Regulations of the Canadian
Department of Communications.
Le présent appareil numérique n’émet pas de bruits radioélectriques dépassant les
limites applicables aux appareils numériques de la classe A prescrites dans le
Réglement sur le brouillage radioélectrique édicte par le ministère des
Communications du Canada.
Trademarks
Monarch®, Sierra Sport2, and 9460 are trademarks of Avery Dennison Retail Information Services LLC.
Avery Dennison® is a trademark of Avery Dennison Corporation.
Microsoft, Windows, and NT are trademarks of Microsoft Corporation.
Novell and NetWare are trademarks of Novell, Inc. in the United States and other countries.
Centronics is a registered trademark of Centronics Data Computer Corporation.
Adobe and Acrobat are trademarks of Adobe Systems Incorporated.
UFST, Monotype, the Monotype logo, and CG Triumvirate are trademarks of Monotype Imaging, Inc.
Avery Dennison Printer Systems Division
170 Monarch Lane
Miamisburg, OH 45342
Page 3
TABLE OF CONTENTS
GETTING STARTED ...................................................1-1
About This Manual ..............................................1-1
Standard Features ..............................................1-1
Creating an MPCLII Format Packet .................................1-2
Before you read this manual, review the printer information in the
Operator’s Handbook. This manual provides the necessary
information to design, write and print a Monarch® Printer Control
Language II (MPCLII) format.
About This Manual
This manual is for the developer who is creating the formats for the
printer.
Use this manual to design and print your own custom formats on
the Monarch® Sierra Sport2ä printer. This chapter creates a
sample Monarch® Printer Control Language II (MPCLII) packet.
Standard Features
The following features are standard on the printer: 203 dots per
inch (DPI) printhead, 1.89 inch by 12 inch maximum print image,
print speed (2 or 3 inches per second), graphical LCD, 5 buttons
(on/off, feed, and 3 context-sensitive), 512K RAM with an
additional 2MB flash memory.
Printer Differences 1-1
Page 12
Creating an MPCLII Format Packet
A format defines which fields appear and where the fields are printed on the
label. The printer requires this information in a special form, using
Monarch® Printer Control Language II (MPCL). This section describes how
to create a sample MPCLII format packet.
Make sure supplies are loaded, you have a fully charged battery, the printer
is connected to a host and ready to receive data, and you have software in
the printer. Refer to your Operator’s Handbook for more information.
1.Type the following format header in any text editor:
{F,25,A,R,E,200,200,"FMT-25" p
2.Type the following constant text field:
C,140,40,0,1,2,1,W,C,0,0,"SAMPLE FORMAT",1 p
3.Type the following bar code field:
B,1,12,F,85,40,1,2,40,5,L,0 p
4.Type the following text field:
T,2,18,V,50,50,1,3,1,1,B,L,0,0,1 p }
For detailed information about the format header, text, constant text, and
bar code fields, see Chapter 3, “Defining Fields.” For information about
batch packets, see Chapter 6, “Printing.”
1-2 Getting Started
Page 13
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,"02802811111" p
7.Type the following text field data:
2,"TEXT FIELD" p }
8.Save your file as SAMPLE.FMT.
9.Import the packets into your communications software or send it to the
printer’s communication port through the Monarch® MPCL Toolbox
Download Utility (available on our Web site).
Printer Memory
The printer has both RAM and flash memory. You can use one or both types
of memory, depending on how you use your printer.
Using RAM
Use RAM for temporary storage. It is volatile; the contents are lost when
you turn the printer off. The printer has 512K of RAM.
RAM can contain formats, graphics, batches, and fonts. In the header of
each packet, you specify to send it to RAM. Then, to download them to the
printer from a host device. See Chapter 3, “Defining Fields,” for more
information.
Printer Differences 1-3
Page 14
Using Flash Memory
Use flash memory for permanent storage. It is non-volatile; the contents
stay in place until erased. The printer has 2MB of flash memory, depending
on your configuration.
To load flash memory, use either the Monarch® MPCL Toolbox Soft Font
Utility (fonts) or the Label Designer software (formats). This software is
available on our Web site.
Every time you download these packets into flash memory, another copy is
made, even if it is already in memory. After doing this several times, you
will eventually use up flash memory.
Starting with a Design
Before you create a format packet, you must design your label. There are
several steps to designing a custom label:
1.Decide which fields should appear on your label. See “Determining
Format Contents” for more information.
2.Determine your label size. Labels are available from us in a wide
variety of sizes. Your application and the amount of data you need to
print determines the supply size. Contact your Sales Representative for
more information.
3.Draw a rough sketch of your label. You may want to draw several
variations to see what works best. See “Drawing Rough Sketches” for
more information.
4.Identify the field types that appear on your label. See “Considering
Field Types” for more information.
5.Decide which fonts you want to use. See “Considering Fonts” for more
information.
6.Fill out your Format Worksheet. See “Using the Format Worksheet” for
more information.
At this point, you are ready to use your format.
7.Create a format packet, based on how you filled out your worksheet.
See Chapter 3, “Defining Fields,” for more information.
1-4 Getting Started
Page 15
Determining Format Contents
Before you lay out your format, answer these questions. How large is your
supply, which fonts do you want to use, do you want to include a bar code,
and do you want to include graphics?
Determining the Print Area
The print area varies depending on the size of your supply. Below are the
maximum and minimum print areas. Notice that the top edge (leading edge)
of the supply exits the printer first. There is a non-print zone (0.055 inches)
on either edge of the supply.
Unit of
Measure
English
(1/100")
Metric
(1/10mm)
Dots
(1/203 dots)
Max. Supply
(Wid x Len)
205 x 1200189 x 120050 x 37.537.5 x 37.5
521 x 3048480 x 3048127 x 9595 x 95
416 x 2436384 x 2436102 x 7676 x 76
Max. Print Area
(WidxLen)
Min. Supply
(Wid x Len)
Min. Print Area
(Wid x Len)
The length you can print is dependent on the amount of memory you
allocate for the image buffer. See “Defining the Memory Configuration
Packet” in Chapter 2.
Note:For exact print area measurements of your supply, see the supply
layout grids in Appendix D, "Format Design Tools."
Use the following formulas to convert inches to dots and metric:
Dots = inches x 203
Metric (1/10mm) = inches x 254
English (1/100 inch) = 100 x (dots/203)
Dots = Metric (1/10 mm) x .797
Printer Differences 1-5
Page 16
Drawing Rough Sketches
After you decide what information you want to print,
sketch how you want the information to appear on the
label. Note any areas that are preprinted on the label,
such as a logo.
As soon as you know what information to include on
the label, and you have a rough sketch, you can use a
supply layout grid to help you layout and size your
label. If you do not want to use a grid, go to
“Considering Field Types” to choose what information
you want on your label.
Using Supply Layout Grids
A supply layout grid contains measurement markers. These markers help
you accurately position information on your label.
Decide whether you want to design
formats using English, Metric, or Dot
measurements. Choose from the
following grids:
¨ English
The English grid 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 203
dots per inch (dpi).
If you want to use the supply layout
grids, a copy of each is in Appendix
D, “Format Design Tools.”
1-6 Getting Started
Page 17
Considering Field Types
After you select a supply size, the next step in designing a format is to
decide what information you want to print on the label. For example, you
may want to print your company name, price of an item, and a bar code that
combines information from other places. Everything you want to print falls
into one of the following categories.
Field TypeDescriptionExamples
TextContains letters, numbers, or
symbols you want to print.
Bar CodeUsed for printing bar codes that can
be scanned.
Constant Text Prints fixed characters that print
without changing.
Line or BoxHighlights or separates items.line marking out the regular price,
GraphicContains a bitmap image or a
compliance label overlay.
item number, item description,
department number, price, date
item or serial numbers, zip codes,
information you don’t want to have
visible to customers
company name, company address
border around the supply
logos
All of the above field types except graphics are discussed in Chapter 3.
See Chapter 5, “Creating Graphics” for information on including graphics in
your format.
Considering Fonts
When working with fonts, you have three considerations: font appearance,
font size (scalable or bitmapped), and font spacing (monospaced or
proportional). See Appendix B, “Fonts,” for samples of each font.
Printer Differences 1-7
Page 18
Using the Format Worksheet
The Format Worksheet is divided into sections that list the field types. Each
section has boxes to fill in with parameters that define your format. A format
worksheet is included in Appendix D, “Format Design Tools.”
Filling in the Format Worksheet
Decide what type of field to use on your label.
1.Make a copy of the Format Worksheet.
2.Define the Format Header.
3.Define options as you require them. See Chapter 4, “Defining Field
Options” for more information.
1-8 Getting Started
Page 19
CONFIGURING THE PRINTER2
This chapter discusses how to
¨
set communication parameters.
¨
upload the printer’s configuration or font information.
¨
configure the printer using online configuration packets.
¨
use immediate commands to control the printer’s operation
at any time.
Configuring the Printer 2-1
Page 20
Setting Communication Parameters
Use the following information if you are connecting to the printer’s 9-pin
serial port.
The communication parameters at the printer must match those at the host,
or you will not be able to communicate.
You can use the communication settings packet to set communication
parameters for your printer.
On MS-DOS computers, you can use the MODE command to set
communication values on your PC.
For example
MODE COM1:9600,N,8,1
This command sets your host to these communication values:
¨ a baud rate of 9600
¨ no parity
¨ 8 bit word length
¨ 1 stop bit
2-2 Configuring the Printer
Page 21
Using MPCLII Conventions
Here are some guidelines to follow when using MPCLII.
MPCLII Punctuation
Use the following symbols when creating MPCLII packets:
CharacterDecimal
{ (left bracket)123start of header
} (right bracket)125end of header
p (vertical bar)124field separator*
, (comma)044parameter separator
“ABC”
(quotation marks)
'comment'
(single quotation
marks)
* The field separator is the split vertical bar, which we are representing as p in this manual. The
decimal value is 124. To enter this character, use the Shift key plus the Split Vertical Bar key on your
computer’s keyboard. Depending on your text editor, it may appear as a solid vertical bar or as a split
vertical bar.
Value
034Quotation marks enclose character strings. Empty quotes (“”)
039Grave accents enclose comments. Any data enclosed in grave
Description
identify null strings or unused fields.
accents is ignored. Do not embed comments within a quoted
string. Grave accents are also used to reject mainframe data.
Note:These MPCL characters are the default.
Standard Syntax 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 200 fields in a format. Each p indicates one field.
However, options are not counted as fields. The actual number of fields
a format can have may be less, because the number of fields is limited
by the available memory.
¨ The field number (0 to 999) must be unique. We recommend starting at
1, instead of 0.
Configuring the Printer 2-3
Page 22
¨ Do not use a field number more than once per format.
¨ Define all fields in the order you want to image/print them. The printer
does not print in field number order.
¨ 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 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. Options are
processed in the order they are received.
¨ 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
within a field definition. 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
¨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.
2-4 Configuring the Printer
Page 23
Using Online Configuration Packets
Use online configuration packets to change the printer’s settings. You can
send an individual configuration packet or a single packet containing all the
configuration packets. Supply all parameters for each packet. Leave the
parameters blank that you do not need to change. For example,
{ I,A,,,,1 p }
prints a slashed zero and uses the last sent online System Setup
parameters.
Make a copy of the online configuration worksheet in Appendix D, “Format
Design Tools,” and save the original. Packets A-M are listed on the
worksheet.
When you turn off the printer, all the information in the online configuration
packets is saved and used when the printer is turned back on. After you
change printer configurations, you must resend the format, batch, or graphic
to the printer before the changes take effect.
Always include an I, im me di ately af ter the left bracket { and be fore the
packet iden ti fier (A, B, C, etc.). The I pa ram e ter iden ti fies the data stream
as a con fig u ra tion packet.
Note:Include the I pa ram e ter with each packet if you are send ing them
in di vid u ally. In clude it only at the be gin ning of a data stream if you
are send ing mul ti ple pack ets.
Configuring the Printer 2-5
Page 24
This is the syntax to use when you create online configuration packets:
Syntax
{Start of Header
I,Con fig u ra tion Header
1 - 8 op tional re cords
A, pa ram e ter 1...pa ram e ter 5 p Sys tem Setup
B, pa ram e ter 1...pa ram e ter 5 p Sup ply Setup
C, pa ram e ter 1...pa ram e ter 5 p Print Con trol
D, pa ram e ter 1...pa ram e ter 3 p Mon e tary For mat ting
E, pa ram e ter 1...pa ram e ter 9 p Con trol Char ac ters
F, pa ram e ter 1...pa ram e ter 5 p Com mu ni ca tion Set tings
G, pa ram e ter 1...pa ram e ter 4 p Backfeed Con trol
M, pa ram e ter 1...pa ram e ter 4 p Mem ory Con fig u ra tion
}End of Header
Syntax for single packet
{Start of Header
I,Con fig u ra tion Header
A, pa ram e ter 1...pa ram e ter 5 Sys tem Setup
}End of Header
You can also add a configuration to RAM or specify units for supply, print,
margin, and cut positions. If you use the optional parameters with the I
packet, any online configuration packets following the split vertical bar ( p )
must specify distances using the selected units. However, the test labels
display the units in dots, even if you entered them in English or Metrics
units.
Syntax{header,ID#,action,device p }
1. headerConstant I.
2. ID#ID. Use 0.
3. actionAction. Options:
AAdd configuration.
U Upload User Configuration.
4. deviceStorage Device. Use R (Volatile RAM).
2-6 Configuring the Printer
Page 25
5. unitsUnits. (Optional parameter.) Options:
EEnglish (1/100 inches)
MMetric (1/10 mm)
GDots
Example{I,0,A,R,E p
C,0,25,0,0,0 p }
Adds a configuration to volatile RAM and specifies English units. It also
uses the default contrast, moves print 0.25 inches closer to the bottom of
the supply and does not change the margin adjustment, prints at the default
print speed, and uses the default printhead width.
If you do not use the optional parameters, the syntax for the online
configuration packets does not change. For example,
{I,C,0,50,0,0,0 p }
uses the default contrast, moves print 50 dots (0.25) inches closer to the
bottom of the supply and does not change the margin adjustment, prints at
the default print speed, and uses the default printhead width.
Example{I,0,U,R p }
Uploads the printer configuration from volatile RAM and returns the
following to the host.
A,0,0,0,0,1 p
B,2,0,0,0,0 p
C,0,0,0,0,0,0 p
D,1,0,2 p
E,"~123~044~034~124~125~126","","~013~010" p
F,3,1,0,0,1 p
G,0,65,65 p
M,R,R,160 p
M,T,R,20 p
M,I,R,320 p
M,D,N,1280 p
M,F,N,640 p
M,V,R,1280 p
Configuring the Printer 2-7
Page 26
The parameters for each packet (A-M) are displayed. The remaining lines
beginning with M list the buffer sizes in 1/10K for the Receive, Transmit,
Image, Downloadable Fonts, Formats, and Scalable Fonts Buffers.
Configuration Syntax Guidelines
When creating a printer configuration packet:
¨ Follow the “Standard Syntax Guidelines” listed at the beginning of this
chapter.
¨ The first character after the start of header ({) is the configuration
header (I).
¨ 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.
¨ Send configuration packets once per session (each time the printer is
turned off and then back on), not with every format or batch packet.
¨ Make sure the communication settings at the host match those at the
printer.
Making Print Adjustments
You can adjust where the printer prints on your supply by adjusting the
supply, print, or margin positions. However, keep in mind the following:
¨ Supply adjustments across the width of your supply, such as the margin
position, are based in dots. The printhead has 203 dots per inch.
¨ Supply adjustments for the length of your supply, such as supply position
or print adjustment, are measured in 1/203 of an inch.
2-8 Configuring the Printer
Page 27
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 Standard, Reduced, Bold, OCRA and HR fonts only support
the Internal Symbol Set (0). The CG Triumvirate™ typefaces
support only the ANSI and DOS Code Page 437 and 850 Symbol
Sets. The scalable font (font 50) does not support Code Page
1256 (Arabic). Code pages 852-860 and 1250-1258 are for
downloaded TrueType® fonts or the scalable font. Symbol set 19
requires a downloaded International TrueType font. TrueType
fonts are designed to be regionally specific; therefore, all code
pages may not be supported in a given font. See Appendix C for
more information.
Example{I,A,0,0,0,1,0 p }
Powers up the printer in the online mode, displays prompts in English, does
not print a separator after each batch, prints zeros with slashes through
them, and uses the internal symbol set.
Defining the Supply Setup Packet
Use the supply setup packet (B) to select supply type, printhead energy,
feed mode, and supply position.
B5. supply_posn Supply Position. Range: -99 to 99 in 1/203 inch. 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.
Adjust the supply position if formats do not start at the 0,0 point on the
supply. Increase the supply position to move print up, decrease to move
print down on the label. To verify the 0,0 point, print a test label. See
“Printing a Test Label” in Chapter 8 for more information.
You can not change the supply position while the printer is active.
Changing the supply position will affect the print position, dispense
position, and backfeed distance. Once the supply position is set, use the
print control packet and backfeed control packet to adjust printing and the
dispense position.
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 (purchase optional), and feeds the
supply approximately .05 inches up before printing the format on each label
(10/203 inches).
Configuring the Printer 2-11
Page 30
Defining the Print Control Packet
Use the print control packet (C) to set the contrast, print, and margin
adjustment, print speed, and printhead width.
C2. contrastPrint Contrast. Range: -28 to 40. 0 is the default. You may need to
adjust this value depending on the type of supplies you are using. For
example, linerless supplies require a higher print contrast, but receipt
paper requires less contrast.
C3. print_adjPrint adjustment (position). Range: -99 to 99 in 1/203 inch. 0 is the
default. Adjusts where data prints vertically on the supply. Increase the
print position to move print up, decrease to move print down.
C4. margin_adjMargin adjustment (position). Range: -99 to 99 in 1/203 inch. 0 is the
default. Adjusts where data prints horizontally on the supply. Increase the
margin position to move print to the right, decrease to move print to the
left. Margin and print position are format adjustments. They will not effect
the supply position, dispense position, or backfeed distance.
C5. speed_adjPrint Speed in inches per second (ips). Options:
0The printer determines the print speed automatically. This is
the default.
20Uses a print speed of 2.0 ips. This is the only valid speed for
serial bar codes. If the speed is set differently, the printer
changes to this speed to print serial bar codes.
30Uses a print speed of 3.0 ips
C6. ph_widthWidth of the printhead in dots. Use 0.
Example{I,C,0,-20,-10,0,0 p }
Uses the default contrast, moves print 0.1 inch closer to the bottom of the
supply (20/203 inches) and .05 inch to the left on the supply (10/203
inches), the printer determines the print speed, and uses the default
printhead width.
2-12 Configuring the Printer
Page 31
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.
Prints the dollar sign, uses a secondary symbol, and places two digits to the
right of the decimal.
Configuring the Printer 2-13
Page 32
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.
Note:Wait two seconds for the new characters to take effect before
sending packets using the new characters.
Use the following syntax for the control characters packet. Notice all but the
first parameter are within quotation marks.
Up to any 3 characters in the 0 to 255 decimal
range. The character must be defined before this
command can be used. The caret (~094) is
normally used.
Note:“ANSI_cd” includes seven separate parameters. The first five
parameters are required. The other parameters are optional.
E3. “string 1"Terminator for status requests and ENQ requests. Up to any 3 characters
in the 0-255 decimal range. The default is “013". Sending ”" disables this
sequence.
E4. “string 2"Terminator for job requests and data uploads. Up to any 3 characters in
the 0-255 decimal range. The default is none. Sending “” disables this
sequence.
2-14 Configuring the Printer
Page 33
After you change these parameters, all packets, including any future
configuration packets, must use the new control characters. We
recommend 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.
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.
Configuring the Printer 2-15
Page 34
Using Immediate Commands
Immediate commands effect printer operation as soon as the printer
receives them, even if they are included within a packet or used inside
quotation marks.
You can use immediate commands to change immediate command or status
polling control characters, reset the printer, or cancel and repeat batches.
Enabling Immediate Commands
When the printer is first turned on, these commands are not available. To
use these commands, you must first send the control characters packet and
define the immediate command control character. The immediate command
control character is saved when you turn off the printer. Once the
immediate command control character is defined, the immediate commands
are enabled.
Sending Immediate Commands
Immediate commands consist of a three- or four-character sequence you
can send in a packet or embed in your application. Each command must be
sent separately.
Syntaxcontrol character_immediate command
The printer can accept only one immediate command at a time. Sending a
command before the previous one is completed can result in an error.
Example^CB
Immediately cancels the batch currently printing unless an error exists in the
printer. This example assumes that the defined immediate command control
character is the caret (^).
The table represents the defined immediate command control character as ^
and the defined status polling control character as d. You may define these
characters to suit your needs.
To use the immediate command control character or the status polling
character within your data, use the tilde sequence
2-16 Configuring the Printer
Page 35
CommandParameter
^CA
^CB
^DD or ^DCd
^EA
^ED
^EA
^ER
^FD
^ID or ^ICd
^MC
^MD
^MF
^MI
^MM
^MP
^MR
^MS
^MV
^PR
^RB
Cancels all the batches in the queue unless an error exists on the printer.
Cancels only the current batch being printed unless an error exists.
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. This command is the same as pressing the left A button to
clear an error. May need to be sent multiple times. Use ^RB to reprint batch.
CAUTION: This command causes the current batch to stop and the condition that
caused the error to remain uncorrected.
Disable error reporting.
Enable error reporting. Sends an “E” plus the error number to the serial port, so a print
server can track errors. For example, error 704 is sent to the serial port as E704.
Resets the error. This command is the same as pressing F to acknowledge an error.
Normal operation resumes.
Feeds a label when printer is idle. Simulates the operation of pressing 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. Use ^IE to enable
immediate commands.
Returns the customer ID or RPQ version to the host. (00 to 99)
Returns the printhead dot density to the host. 00 = 203 dpi
Uploads the MIF file to the host.
Returns the customer ID or RPQ revision level to the host. (00 to 99)
Returns the model number to the host. 22 = 9460
Returns the prototype number to the host. (00 to 99)
Returns the revision number to the host. (00 to 99)
Returns the flash file system information.
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.
Configuring the Printer 2-17
Page 36
CommandParameter
^RS
^SD or ^SCd
^TP
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.
Note: Printer ignores this command if printing.
Note:To use the immediate command control character or the status
polling character within your data, use the tilde sequence.
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. Make sure the host
communication values match the values on the printer and the host is
capable of communicating at the speed you select for the printer.
Do not add any characters, such as a carriage return/line feed, in your
communication settings packet or communications errors may occur.
07-bit word length (odd or even parity only)
18-bit word length (default)
F4. stop_bitsStop Bits. Options:
01-stop bit (default)
12-stop bits
2-18 Configuring the Printer
Page 37
F5. parityParity. Options:
0None (default)
1ODD parity
2EVEN parity
F6. flow_controlFlow Control. Options:
0None2(CTS)
1DTR (default)3XON/XOFF
Note:If you use the DOS COPY command to download your formats, set
“Flow Control” to DTR (not XON/XOFF).
Example{I,F,3,1,0,0,1 p }
Uses 9600 baud, an 8-bit word length, one stop bit, no parity, and the DTR
mode.
Defining the Backfeed Control Packet
Use the backfeed control packet (G) to enable or disable the backfeed
option, set the dispense position and the backfeed distance. Backfeed
works by advancing each printed label to the desired dispense position.
Once that label is removed, the next label to be printed is backed up
underneath the printhead. In continuous mode, only the last label in the
batch is advanced to the dispense position. You may need to adjust the
dispense position to allow labels to be removed, die cut labels to be
removed easily, or to prevent them from falling off.
Do not use backfeed (normal or extended) with supplies less than 0.75
inches. We recommend using 0.5-inch gap supplies in peel mode when
backfeed is disabled.
The dispense position and backfeed distance are optional parameters and
do not have to be specified. However, they allow for greater precision when
positioning the supply. You cannot change the backfeed distance while the
printer is active.
Configuring the Printer 2-19
Page 38
Syntax{I,G,action,dis_pos,bkfd_dis p }
G1. GBackfeed Control Packet
G2. actionAction. Options:
0disable backfeed (default)
1enable backfeed
G3. dis_posDispense Position. Adjusts the stopping point of the label. 10 to 200 dots
(default 65 dots).
G4. bkfd_disBackfeed Distance. Amount to move label backwards. 10 to 200 dots
(default 65 dots). This distance can not be greater than the dispense
position.
The backfeed distance should equal the dispense position. An exception is
if you are tearing instead of peeling. Then, the backfeed distance must be
30 dots (.150 inches) less than the dispense position. However, you will
have a 30 dot non-print zone on your supply. The 30-dot difference
accounts for improper tearing of butt cut supplies, because you do not want
any exposed adhesive under the printhead.
Example{I,G,1,50,10 p }
Enables backfeed and sets the dispense position to 0.25 inches (50/203)
and the backfeed distance to 0.05 inches (10/203).
Special Considerations When Using Backfeed
Make a note of the following items:
¨ Be careful when tearing supplies, because the adhesive can adhere to
the printhead or platen roller.
¨ Backfeed effects each label in the on-demand mode or the first and last
label of the batch in continuous mode.
¨ When backfeed is enabled and multiple batches are sent, the printer may
not backfeed between each batch.
¨ Backfeed should only be used when you need to advance labels to the
desired dispense point.
¨ Backfeed does not interfere with the supply, print, or margin positions
you have set.
¨ If the supply inter-label gap is not between .07 inch to .15 inch (14 to 30
dots), you must adjust the dispense position and backfeed distance
accordingly.
2-20 Configuring the Printer
Page 39
See the following graphic for a representation of the following adjustments:
dispense position, backfeed distance, supply position, print position, and
margin position.
Contact Technical Support if you have problems adjusting where the format
prints on the supply.
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
1531530
229.52295
Configuring the Printer 2-21
Page 40
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.
Note:For the scalable font buffer, specify 10 if you do not use the buffer.
When using the buffer, specify a minimum of 40. The larger the
number you specify for the image buffer, the longer your formats
can be. As a rule of thumb, divide the value you select by 100,
and round up to the next whole number. That number will be the
length in inches.
Example{I,M,I,R,1530 p }
Stores the image buffer in volatile RAM and allocates 153K for it.
2-22 Configuring the Printer
Page 41
Checking Current Buffer Sizes
Send a configuration upload packet to check the sizes of your current
buffers. See “Configuration Packet Header” 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 buffer 2K
M,T,R,10 p Transmit buffer 1K
M,D,N,80 p Downloadable fonts 8K
M,V,R,160 p Scalable fonts buffer 16K
M,I,N,3200 p } Image buffer 320K
Make sure memory is available before adding memory to a buffer. In the
above example, if the image buffer (M,I,N,3200) was defined before the
downloadable fonts and scalable fonts buffers (M,D,N,80 and M,V,R,160)
were defined, an error would have occurred.
About Memory Buffers
Transmit BufferUsed to send ENQ, job, and upload responses. This
buffer must be allocated as 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. This buffer must be allocated
as volatile (R) RAM.
Image BufferUsed to image the current format. Use the formula
below to calculate the approximate image buffer size.
10K x Length
Length is the length of your label in inches.
Configuring the Printer 2-23
Page 42
Example10K x 10 = 100
(Multiply by 10 and round up)
100K x 10 = 1000
Enter 1000 for your Image buffer.
Format BufferUsed to store formats, batch data, and graphics. Use
the following formula to calculate the required format
buffer size:
Linecount x 50/1024
Linecount is the number of lines in your format packet
including the format header and all the options.
The result of the above calculation is in kilobytes.
Formats remain in memory when you turn off the printer.
Downloadable
Fonts Buffer
Scalable (Vector)
Fonts Buffer
Used to store downloaded soft (bitmapped or TrueType)
fonts. To determine the size of your downloadable
fonts, send a font packet. For TrueType fonts, the file
size, in bytes, is the minimum amount needed in this
buffer. See “Using the Font Packet” for more
information.
Used to image the scalable or downloaded (TrueType or
bitmapped) 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 10 if you are not using
scalable/TrueType fonts. This buffer must be allocated
as volatile (R) RAM.
The printer does not print the fonts if there is not
enough memory in this buffer to image them.
2-24 Configuring the Printer
Page 43
Buffer Worksheet
Make copies of this page to use as a buffer worksheet.
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. If you define a buffer size that exceeds the
maximum value, an error occurs. However, no information is lost.
¨ 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.
Configuring the Printer 2-25
Page 44
¨ 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 2 x 6 inch label, you cannot print a 2 x 10
inch label without receiving an error, until you change your format
header or increase your image buffer.
Memory Considerations with Downloaded TrueType Fonts
¨ The size of the TrueType font file, in bytes, is the minimum amount of
memory you must have available in the downloadable fonts buffer.
¨ The scalable (vector) fonts buffer is used to image the downloaded fonts
(TrueType). If you are using several downloaded TrueType fonts, you
may need 100K or more in this buffer. The printer does not print the
fonts if there is not enough memory in the scalable (vector) fonts buffer.
¨ To use large point sizes (greater than 60 point), you must reconfigure
memory and increase the size of the scalable (vector) fonts buffer.
Clearing Packets from Memory
You may want to remove packets from the printer to increase memory
storage capacity or if the formats/fonts are no longer needed. In some
cases, turning the printer off may clear the packets from memory. If not,
send a format clear packet.
Syntax{header,packet#,action,device p }
1. headerIdentifies the packet. Options:
ACheck Digit Scheme
FFormat
GGraphic
WFont
2. packet#Identification number of the packet to clear (1 to 999) or font number
(0 to 9999). 0 is for all fonts.
3. actionAction. Enter C to clear the packet.
4. deviceStorage device. Options:
FFlash
RVolatile RAM
Example{F,1,C,R p }
Clears Format #1 from volatile RAM.
2-26 Configuring the Printer
Page 45
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.
Use the MONARCH® MPCL Toolbox Font Utility (available on our Web site)
to create the font header and data. Refer to the online help for more
information.
Syntax{W,font#,action,device,data_length,data_record p }
W1. WWritable Font Header.
W2. font#The font identifier from 0 to 32000.
0 is for all fonts. 1 to 5 digits is the font number.
Example: 3 is the standard printer font, Bold.
W3. actionAction. Options:
AAdds the specified font.
CClears all or specified fonts, except ones in flash.
HUploads font size information.
MUploads font memory usage information.
W4. deviceDevice. Options:
RVolatile RAM
ZAll devices (use for upload).
W5. data_length
(optional)
The length of the font data. The range is 68 to 16384.
If you are creating fonts, you need to have font data included with this
packet.
W6. data_
record
(optional)
Multiple data records define the font. The first character is either an
H (hex) or an R (run-length), referring to the algorithm. The rest of the
record is up to 2710 characters of font data in double quotes. Separate the
algorthm and the data with a comma, and end the record with p .
Configuring the Printer 2-27
Page 46
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 }
Example{W,0,H,Z p }
Selects all fonts and uploads the font size information for any downloaded
fonts.
The 9855 printer returns the following to the host:
{W,0,H,Z p
Font Style
Font Name
0,1,0,"Standard",0,0,0,21,33,21,33,5,1 p
0,1,437,"Standard",0,0,0,21,33,21,33,5,1 p
0,2,0,"Reduced",0,0,0,10,21,10,21,2,1 p
0,2,437,"Reduced",0,0,0,10,21,10,21,2,1 p
0,3,0,"Bold",0,0,0,36,51,36,51,5,1 p
0,3,437,"Bold",0,0,0,36,51,36,51,5,1 p
0,4,0,"OCRA",0,0,0,19,36,19,36,5,1 p
0,4,437,"OCRA",0,0,0,19,36,19,36,5,1 p
0,5,0,"HR1",0,0,0,18,30,18,30,3,1 p
0,5,437,"HR1",0,0,0,18,30,18,30,3,1 p
0,6,0,"HR2",0,0,0,26,24,26,24,2,1 p
0,6,437,"HR2",0,0,0,26,24,26,24,2,1 p
0,10,0,"CGTriBd9",1,0,7,25,31,10,15,0 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,0,"CGTriumv6",1,0,5,17,21,5,10,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,"Swiss Bold",1,1,92248 p
0,50,437,"Swiss Bold",1,1,92248 p}
Spacing
Baseline
Cell Width
Cell Height
Nominal Width
Nominal Height
Inter-Character Gap
Typ e
Printhead Density
Symbol Set
* The CG Triumvirateä typefaces are trademarks of Monotype Imaging, Inc.
2-28 Configuring the Printer
Page 47
SpacingMonospaced (0) or proportional (1).
TypeBitmapped (0) or scalable (1).
BaselineBottom of the font.
Cell WidthHorizontal number of dots to contain the widest
character.
Cell HeightVertical number of dots to contain the tallest character.
Nominal WidthAverage width for lower-case letters.
Nominal HeightAverage height for lower-case letters.
Inter-Character
Gap
Default spacing between characters in monospaced
fonts.
Printhead DensityShows that a 203 (0) dpi printhead is used. The
scalable font (font 50) does not report a value for
printhead density.
Uploading Format Header Information
You can upload format header information from the formats in memory to
check the supply length and width for each format.
Syntax{header,format#,action,device p }
F1. headerFormat Header
F2. format#Format number from 0 to 999. 0 is for all formats in memory.
F3. actionAction. Options:
AAdds the specified format
CClears the specified format
HUploads format header information
F4. deviceDevice. Options:
RVolatile RAM
ZAll devices (use for upload)
Configuring the Printer 2-29
Page 48
Example{F,0,H,Z p }
Selects all formats in memory and returns the following:
Example{F,0,H,Z p
Fmt_1,406,406 p
Fmt_10,324,406 p
Fmt_15,812,812 p
Fmt_20,305,609 p
Fmt_25,1218,406 p }
Displays the format number, supply length and supply width (in dots) for
each format in memory.
Example{F,1,H,Z p }
Selects format1 and returns the following to the host:
{F,1,H,Z p
Fmt_1,406,406 p }
Displays the supply length and supply width (in dots) for format1.
2-30 Configuring the Printer
Page 49
DEFINING FIELDS3
This chapter provides a reference for defining
¨
the format header
¨
text and constant text
¨
bar code fields
¨
line and box fields.
Defining Fields 3-1
Page 50
Defining the Format Header
A Format Header begins a format file.
Syntax{F,format#,action,device,measure,length,
width,"name" p
F1. FFormat Header.
F2. format#Unique number from 1 to 999 to identify the format.
F3. actionAction. Enter A to add the format to the printer.
F4. deviceFormat storage device. Options:
FFlash
RVolatile RAM
F5. measureUnit of measure. Options:
E English, measured in 1/100 inches
M Metric, measured in 1/10 mm
G Graphic, measured in dots
F6. lengthSupply length in selected units. Measure supply from the leading edge of
one label to the leading edge of the next label.
English0 - 1200
Metric 0 - 3045
Dots 0 - 2436
F7. widthSupply width, from left to right, in selected units.
English50 - 205
Metric 127 - 521
Dots 102 - 416
F8. “name”Format name (optional), 0 to 8 characters, enclose within quotation marks.
Example{F,1,A,R,E,300,200,"TEXTILES" p
Adds Format 1 (“TEXTILES”) to the printer. It uses a three inch long by two
inch wide label.
3-2 Defining Fields
Page 51
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 1 to 999 to identify this field.
T3. # of charMaximum number of printed characters (0 to 2710) in the field.
T4. fix/varFixed or variable length field. Options:
FFixed length
VVariable length
T5. rowFor monospaced fonts, distance from bottom of print area to the pivot
point. The pivot point varies depending on how text is justified.
For proportionally spaced fonts, distance from bottom of print area to
baseline of characters in field.
English0 - 1200
Metric 0 - 3045
Dots 0 - 2436
Defining Fields 3-3
Page 52
T6. columnDistance from the left edge of the print area to the
pivot point to find the column location.
English0 - 189
Metric 0 - 479
Dots 0 - 383
T7. gapNumber of dots between characters 203 dpi (or 300
dpi for 9855/9860 printers). Range: 0 to 99.
Note:For monospaced fonts, the additional spacing is added to the
existing inter-character gap. This is also true for proportionally
spaced fonts, but remember that the inter-character gap varies
with character combinations.
Any number other than 0 or the default number affects your field width.
Default spacing:
Standard3 dots
Reduced1 dot
Bold3 dots
OCRA-like3 dots
CG Triumvirateä
Typeface Boldvaries with each letter
CG Triumvirateä Typefacevaries with each letter
Or a valid downloaded font selector number.
Fonts 5 and 6 are only for numeric data.
The CG Triumvirateä typefaces support only the ANSI and DOS Code
Page 437 and 850 Symbol Sets. The scalable font does not support Code
Page 1256 (Arabic). See Appendix C for more information.
T9. hgt magHeight magnifier, 1 to 7 times (4 to 255 points for the scalable font - font 50
or downloaded TrueType fonts). Use a magnifier of 1 with proportionally
spaced fonts, because characters lose smoothness at higher
magnifications. See Appendix B, “Fonts,” for more information about fonts.
3-4 Defining Fields
Page 53
T10. wid magWidth magnifier, 1 to 7 times (4 to 255 points for the scalable font - font 50
or downloaded TrueType fonts). 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:To use large point sizes (greater than 60 point), you must
reconfigure memory and increase the size of the scalable (vector)
fonts buffer.
T11. colorThere are two types of field color overlay attributes:
TransparentThe overlay field (text or constant text) does not block out
(or “erase”) existing fields.
OpaqueThe overlay field blocks out (or “erases”) existing fields.
Options for standard printer fonts:
BOpaque, Normal, Black, Normal
D/R/WOpaque, Normal, White, Normal
OTransparent, Normal, Black, Normal
Options for scalable fonts:
A/NOpaque, Normal, Black, Bold
B/OOpaque, Normal, Black, Normal
E/SOpaque, Italics, Black, Bold
F/TOpaque, Italics, Black, Normal
Line field
blocked out by
opaque field
using attribute B
Note:Solid black print should not exceed 30% on a given square inch of
the label, or the printhead life may be decreased.
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.
Line field not
blocked out by
transparent field
using attribute O
Defining Fields 3-5
Page 54
T12. alignmentOptions:
LAlign on left side of field.
CCenter text within field (monospaced fonts only)
RAlign on right side of field (monospaced fonts only)
BAlign at midpoint of field
EAlign at endpoint of the fieldUse L, B, or E for any font.
T13. char rotCharacter rotation. The field or supply does not rotate, only the characters
do. Options:
0Top of character points to top of field
1Top of character points to left of field
2Top of character points to bottom of field
3Top of character points to right of field
Note:Font 50 and downloaded TrueType fonts do not support character
rotation.
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:
0Top of field points to top of supply
1Top of field points to left of supply
2Top of field points to bottom of supply
3Top of field points to right of supply
3-6 Defining Fields
Page 55
T15. sym setSymbol set. Use 0 for the Internal Symbol Set.
Note:The Standard, Reduced, Bold, OCRA and HR fonts only support
the Internal Symbol Set (0). The CG Triumvirate™ typefaces
support only the ANSI and DOS Code Page 437 and 850 Symbol
Sets. The scalable font (font 50) does not support Code Page
1256 (Arabic). Code pages 852-860 and 1250-1258 are for
downloaded TrueType fonts or the scalable font. Code page 102
requires a downloaded International TrueType font. TrueType
fonts are designed to be regionally specific; therefore, all code
pages may not be supported in a given font. See Appendix C,
“Symbol Sets/ Code Pages” for more information.
ExampleT,2,10,V,50,80,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 50, column 80. 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 Fields 3-7
Page 56
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 1 to 999 to identify this field.
B3. # of charMaximum number of characters. If the bar code uses a check digit, allow
an extra character for the check digit. The actual maximum number of
characters is limited by the size of the label and bar code density. Range:
0 to 2710.
For Quick Response bar codes, this number includes header information.
The maximum depends on the type of characters entered for the batch data
and differs for the two models of the bar code.
Data TypeModel 1Model 2
Numeric Data11672710
Alphanumeric data7072710
8-byte data4862710
Kanji data2991817
Note:The maximum number of characters depends on the selected level
of error correction. As you increase the error correction level, the
maximum number of characters decreases.
3-8 Defining Fields
Page 57
B4. fix/varFixed (F) or variable (V) length field.
Bar CodeNumber of Characters Fixed or Variable
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 (w/ or w/o CD) or MOD43
Codabar (NW7)
Code 128
Code 16K
Code 93
MSI
PDF 417
Maxicode*
Data Matrix*
Quick Response*
0 to 93 (alphanumeric)
0 to 128 (numeric)
0 to 2335 alphanumeric
0 to 2710 (numeric)
1167 - 2710 (numeric)
707 - 2710 (alphanumeric)
12F
14F
17F
12F
7F
9F
12F
8F
10F
13F
13F
15F
18F
13F
9 or 11F
0 - 2710F or V
0 - 2710F or V
0 - 2710F or V
0 - 2710F or V
0 - 2710V
0 - 2710V
0 - 14F or V
0 - 2710F or V
F or V
V
V
* For more information about MaxiCode,Data Matrix, and Quick Response, see Appendix A, “Samples.”
Defining Fields 3-9
Page 58
B5. rowDistance from the bottom of the print area to the pivot point of the field.
The pivot point varies, depending on how the field is justified. Pivot points:
Left/Center/Right-Justified Fields
Balanced Fields
End-Justified Fields
Remember to include text or numbers that may appear with the bar code
for the row measurement.
English0 - 1200
Metric0 - 3045
Dots0 - 2436
B6. columnDistance from the lower left edge of the print area to
the pivot point.
English0 - 189
Metric0 - 479
Dots0 - 383
Allow a minimum of 1/10 inch between the scan edge
of bar code and label edges or other data.
3-10 Defining Fields
Page 59
B7. fontBar code. Options:
1UPCA
2UPCE
3Interleaved 2 of 5
4Code 39 (no check digit)
5Codabar
6EAN8
7EAN13
8Code 128
9MSI
10UPCA +2
11UPCA +5
12UPCE +2
13UPCE +5
14EAN8 +2
15EAN8 +5
16EAN13 +2
17EAN13 +5
21LAC
22POSTNET
23Code 93
31Code 16K
32PDF417
33MaxiCode
35Data Matrix (ECC-200)
36Quick Response
40Code 39 (MOD 43 check digit)
41UPCA & Price CD
44EAN13 & Price CD
50Interleaved 2 of 5 with Barrier Bar
B8. densityBar code density. Use 0 for Quick Response bar codes. Use the following
table for the other bar codes.
Note:If the field contains an 11-digit UPC bar code, the printer
automatically zero-suppresses it into a 6-digit UPCE bar code.
Model 1: 0 - 1167 Numeric;0 - 707 Alphanumeric;
0 - 486 (8-bit); 0 - 299 (Kanji)
Model 2: 0 - 2710 Numeric, Alphanumeric and 8-bit;
0 - 1817 Kanji
dot gap)
Aspect
Ratio
1:1
1:2
1:3
1:1
1:2
1:3
1:1
1:2
1:3
0,5,6,9 or1180 to 9
Data
Length
0 to 2709800H to
Data Length
Appearance
Codes
Available
FFH
Char Set
FFH
Note:Values in bold indicate the default.
Defining Fields 3-13
Page 62
Bar CodeSize
Data Matrix
Square
symbols
Row x Col.
10 x 10
12 x 12
14 x 14
16 x 16
18 x 18
20 x 20
22 x 22
24 x 24
26 x 26
32 x 32
36 x 36
40 x 40
44 x 44
48 x 48
52 x 52
64 x 64
72 x 72
80 x 80
88 x 88
96 x 96
104 x 104
120 x 120
132 x 132
144 x 144
0 default (bar code size automatically determined by data)
Max. Data Length
Num. X Alphanum.
6 x 3
10 x 6
16 x 10
24 x 16
36 x 25
44 x 31
60 x 43
72 x 52
88 x 64
124 x 91
172 x 127
228 x 169
288 x 214
348 x 259
408 x 304
560 x 418
736 x 550
912 x 682
1152 x 862
1392 x 1042
1632 x 1222
2100 x 1573
2608 x 1954
2710 x 2335
App
Code
800H to FFH
Char
Set
Bar CodeSize
Data Matrix
Rectangular
symbols
Row x Col.
8 x 18
8 x 32
12 x 26
12 x 36
16 x 36
16 x 48
Note:The printers support printing a Data Matrix symbol with an
3-14 Defining Fields
Density
Selector
25
26
27
28
29
30
0 default (bar code size automatically determined by data)
Max. Data Length
Num. X Alphanum.
10 x 6
20 x 13
32 x 22
44 x 31
64 x 46
98 x 72
App
Code
800H to FFH
Char
Set
X-dimension of 13 mils or greater (3 dots @203 dpi). If you use a
denser bar code, make sure the bar code scans in your particular
application. Our “premium” supplies and increasing the print
contrast are recommended for denser bar codes. Depending on
your application, additional densities are available.
Page 63
B9. heightBar code height, in 1/100 inches, 1/10 mm, or dots. Minimum values:
English20
Metric51
Dots41
POSTNET, PDF417, and MaxiCode bar codes have a fixed height.
Always use 0 for these bar codes.
Small Data Matrix and QR Codes may not be scannable. The Data Matrix
and QR Code’s height depends on the number entered for this parameter.
For example, if you select 80, the symbol could be smaller than 0.80," but it
will not be greater than the amount specified in this parameter. The symbol
arranges the data according to rows and columns within the specified
height.
For Quick Response bar codes, the value you enter is the symbol's
maximum height. Small bar codes may not be scannable.
B10. textAppearance of text with bar code. For UPC and EAN only use 0 to 7. For
all others, use 8, except where noted. Options:
0Default
MaxiCode Mode 0 (obsolete)
QR Code Model 2
1No check digit or number system
QR Code Model 1
2MaxiCode Mode 2 (Numeric Postal Code)
QR Code Model 2
3MaxiCode Mode 3 (Alphanumeric Postal Code)
5Number system at bottom, no check digit
6Check digit at bottom, no number system
7Check digit and number system at bottom
8No text, bar code only
MaxiCode (autodetect modes 0, 2, or 3)
Data Matrix
B11. alignmentChoose L, R, C, B or E to align the bar code data 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, Data Matrix, and QR Code
must use L.
B12. field rotField rotation. Field rotation rotates the whole field, not just the characters.
Rotation is affected by the pivot point, which varies depending on how text
is justified. Lower left corner of field is the pivot point. Options:
0Top of field points to top of supply
(Use for Maxicode)
1Top of field points to left of supply
2Top of field points to bottom of supply
3Top of field points to right of supply
Note:Serial bar codes printed at speeds greater than 2.0 IPS may not
scan properly.
Defining Fields 3-15
Page 64
ExampleB,3,12,V,50,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 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 200 fields per format). The characters in this field cannot be
changed by batch data. Field options do not apply to constant text fields.
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.
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.
English0 - 1200
Metric0 - 3045
Dots0 - 2436
C3. columnDistance from the lower left edge of the print area to
the pivot point.
English0 - 189
Metric0 - 479
Dots0 - 383
3-16 Defining Fields
Page 65
C4. gapNumber of dots between characters (203 dots per inch). Range: 0 to 99.
Any number other than 0 or the default number affects your field width.
Default spacing:
Standard3 dots
Reduced1 dot
Bold3 dots
OCRA-like3 dots
CG Triumvirateä
Typeface Boldvaries with each letter
CG Triumvirateä Typefacevaries with each letter
EFF Swiss Boldvaries with each letter
Or a valid downloaded font selector number.
Fonts 5 and 6 are for numeric data only.
The CG Triumvirateä typefaces support only the ANSI and DOS Code
Page 437 and 850 Symbol Sets. The scalable font does not support Code
Page 1256 (Arabic). See Appendix C, "Symbol Sets/Code Pages" for more
information.
C6. hgt magHeight magnifier, 1 to 7 times (4 to 255 points for the scalable font - font 50
or downloaded TrueType fonts). Use a magnifier of 1 with proportionally
spaced fonts, because characters lose smoothness at higher
magnifications. See Appendix B, “Fonts,” for more information about fonts.
C7. wid magWidth magnifier, 1 to 7 times (4 to 255 points for the scalable font - font 50
or downloaded TrueType fonts). 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.”
C8. colorThere are two types of field color overlay attributes:
TransparentThe overlay field (text or constant text) does not block out
(or “erase”) existing fields.
OpaqueThe overlay field blocks out (or “erases”) existing fields.
Options for standard printer fonts:
BOpaque, Normal, Black, Normal
D/R/WOpaque, Normal, White, Normal
OTransparent, Normal, Black, Normal
Defining Fields 3-17
Page 66
Options for scalable fonts:
A/NOpaque, Normal, Black, Bold
B/OOpaque, Normal, Black, Normal
E/SOpaque, Italics, Black, Bold
F/TOpaque, Italics, Black, Normal
Note:Solid black print should not exceed 30% on a given square inch of
the label, or the printhead life may be decreased.
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:
LAlign on left side of field.
CCenter text within field (for monospaced fonts only)
RAlign on right side of field (for monospaced fonts only)
BAlign at midpoint of field
EAlign at end of field.
Use L, B, or E for any font.
C10. char rotCharacter rotation. The field or supply does not rotate, only the characters
do. Options:
0Top of character points to top of field
1Top of character points to left of field
2Top of character points to bottom of field
3Top of character points to right of field
Note:Font 50 and downloaded TrueType fonts do not support character
rotation.
C11. 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:
0Top of overlay points to top of supply
1Top of overlay points to left of supply
2Top of overlay points to bottom of supply
3Top of overlay points to right of supply
C12. “fixed char” Fixed characters to appear in the field. Maximum 2710 characters.
Enclose in quotation marks.
3-18 Defining Fields
Page 67
C13. sym setSymbol set. Use 0 for the Internal Symbol Set.
Note:The CG Triumvirate™ typefaces support only the ANSI and DOS
Code Page 437 and 850 Symbol Sets. The scalable font (font 50)
does not support Code Page 1256 (Arabic). Code pages 852-860
and 1250-1258 are for downloaded TrueType fonts or the scalable
font. Code page 102 requires a downloaded International
TrueType font. TrueType fonts are designed to be regionally
specific; therefore, all code pages may not be supported in a given
font. 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.
Defining Fields 3-19
Page 68
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 200 fields per
format). You can define any line length and a thickness up to 99 dots, as
long as the solid black print does not exceed 30 percent of any given square
inch of the label.
Line Types
You can create horizontal and vertical lines. There are two ways to define
lines.
SegmentsYou choose the starting point and ending point.
VectorsYou choose the starting point, the angle, and the length
of the line.
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 supported. Options:
SSegment. You choose the starting point and
ending point.
VVector. You choose the starting point, angle, and
length.
L3. rowDistance from bottom of print area to the starting
point.
English0 - 1200
Metric0 - 3045
Dots0 - 2436
L4. columnDistance from left edge of the print area to line origin.
English0 - 189
Metric0 - 479
Dots0 383
3-20 Defining Fields
Page 69
L5. angle
/end row
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 Vectors:
Angle of line. Options: 0, 90, 180, or 270.
L6. length/
end col
If Using Segments:
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 Vectors:
Length of the line in selected units.
L7. thicknessUsing the chart below for reference, write the line thickness
(1 to 99) in box L7. Line thickness fills upward on horizontal lines, or to the
right on vertical lines. Measured in dots.
L8. “pattern”Line pattern. Enter "".
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.
3-22 Defining Fields
Page 71
Defining Box Fields
Use boxes to form borders or highlight items of interest. Define each box
field separately. This field is not assigned a field number, but is counted as
a field (keep this in mind, as the printer allows a maximum of 200 fields per
format). You can define any line length and a thickness up to 99 dots, as
long as the solid black print does not exceed 30 percent of any given square
inch of the label.
SyntaxQ,row,column,end row,end
col,thickness,"pattern" p
Q1. QBox (Quadrilateral) Field.
Q2. rowDistance from bottom of print area to
lower left corner of box.
English0 - 1200
Metric:0 - 3045
Dots:0 - 2436
Q3. columnDistance from left edge of print area to lower left
corner of box.
English0 - 189
Metric0 - 479
Dots0 - 383
Q4. end rowDistance from bottom of print area to upper right
corner of box. Ranges same as row.
Q5. end colDistance from left edge of print area to upper right
corner of box. Ranges same as column.
Defining Fields 3-23
Page 72
Q6. thicknessUsing the chart below for reference, write the desired line thickness
(1 to 99) in box Q6. Boxes fill inward, so make sure your boxes do not
overwrite other fields. Measured in dots.
Q7. “pattern”Line pattern. Enter "".
ExampleQ,40,30,70,150,3,"" p
Defines a box field starting at row 40, column 30. It ends at row 70, column
150. It has a thickness of 3 dots.
3-24 Defining Fields
Page 73
DEFINING FIELD OPTIONS4
This chapter provides a reference for defining
¨
field options in formats
¨
check digit packets.
Note:When using multiple options on the printer, options are processed in
the order they are received.
Defining Field Options 4-1
Page 74
Applying Field Options
Field options further define text and bar code 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.
Restrictions
Some options cannot be used together. For example, incrementing (Option
60) and price field (Option 42) options cannot be applied to the same field.
Refer to the following sections addressing individual options for specific
combinations to avoid.
Option 4 (copy a field) is the only option that can be repeated for a single
field.
ExampleR,1,3,1,3,1,1 p
SyntaxR,option#,parameter...parameter p
R1. RIndicates field option header.
R2. option#Option number:
1Define fixed characters
2Data type restrictions
4Copy data from previous field
30Pad data to left or right with specified character
31Generate check digit
42Format as a price field
50Define bar code densities
51Define security and truncation of PDF417 bar codes
52Define width or length of PDF417 bar codes
60Define incrementing or decrementing field
61Reimage fields
R3. parameter(s)
Varies per option. See the following option descriptions.
4-2 Defining Field Options
Page 75
Option 1 (Fixed Data)
Fixed data is information (a company name or store number) you want to
print on all labels. You can define fixed characters for an entire field or for
part of a field.
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 to 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 4 and 5. 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.
Defining Field Options 4-3
Page 76
Option 2 (Data Type Restrictions)
This option restricts the data type for a particular field. You can use Option
2 only once per field.
If you do batch entry only in the batch packet, you do not need to apply
Options 2 and 3. Use these options only for offline batch entry.
SyntaxR,2,char_code p
R1. ROption Header.
R2. 2Option 2.
R3. char codeCharacter type for the field. Options:
1Numeric only (0..9)
2Letters only (A..Z,a..z)
3Symbols only (printable characters other than letters
or numbers)
4Letters and numbers only
5Numbers and symbols only
6Letters and symbols only
Spaces are permitted in all categories. You can also use a combination of
any two (letter, numbers, or symbols) character types.
Note:A use for this option is a quantity field, where the operator could
enter only numeric data.
ExampleR,2,2 p
Restricts the field data to letters only (A-Z or a-z).
4-4 Defining Field Options
Page 77
Option 4 (Copy Data)
You can create a field that uses data from another field. This is useful for
creating merged fields or sub-fields. You can copy the information from
multiple fields into one field by applying the copy procedure more than once.
Copy data is the only option you can apply to a field more than once.
The maximum number of characters defined in box T3 or B3 must allow for
the number of characters you will place in the field, including any price,
check digit, or fixed characters inserted by the printer. The maximum
number of characters in the field into which data is copied cannot exceed
2710 or the maximum number of characters permitted by the bar code.
Note:When copying from more than one field, copy into the 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 to 999.
R4. src startPosition number in the source field of the first character to be copied.
Character positions are numbered 1 to 2710, starting from the left.
R5. # to copyNumber of characters to copy. Range: 1 to 2710.
R6. dest startPosition number where copied characters are to begin printing in the
destination field. Range: 1 to 2710.
R7. copy codeCopy Method.
1Copy field as is (including price symbols,
pad characters, check digits, etc.).
2Copy unformatted data (without price characters,
pad characters, etc.).
ExampleR,4,3,1,3,1,1 p
Copies data from field #3, starting at the first position and copying three
characters. In the destination field, the information is placed in position 1
and copied as formatted data.
Defining Field Options 4-5
Page 78
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.
Field DataField Type
1203Non-printable
2339Non-printable
38Tex t
4BLUETex t
52033398BLUEBar Code
To create this sequence:
1.Define fields 1, 2, 3, and 4.
2.Define field 5 as a bar code. Allow enough characters in the bar code
field to hold all the copied characters.
3.Apply Option 4 to field 5 once for every source field.
Sub-Fields
You can copy a segment of data from one field into a new location, called a
sub-field. For example, extract part of the data in a bar code and display it
in text form in a sub-field. Then, use the copy data option.
4-6 Defining Field Options
Page 79
Option 30 (Pad Data)
You can add characters to one side of a field to “pad” the field. Padding
allows you to fill in the remaining spaces when the entered data does not fill
an entire field. If a variable length field is not completely filled with batch
data, this option fills the remaining positions in the field with the character
designated by Option 30.
SyntaxR,30,L/R,"character" p
R1. ROption Header.
R2. 30Option 30.
R3. L/RIndicates type of padding:
L Pad field on left side
R Pad field on right side
R4. “character”Pad character must be within the 0 to 255 decimal range and enclosed
inside quotation marks.
Note:Do not use on fixed length fields.
ExampleR,30,L,"X" p
Pads data with an “X” on the left side of the field.
Sample Use for Padding
If you have a variable length bar code that you want to occupy a fixed
amount of space on the supply, use pad characters. If the maximum number
of characters in the bar code is 15, but the batch record only has 10
characters, the padding option fills the remainder of the field with pad
characters.
Defining Field Options 4-7
Page 80
Option 31 (Calculate Check Digit)
The printer generates a check digit if you apply Option 31 to the field. You
cannot use this option if the field contains a UPC, EAN, or Code 39 (with the
MOD43 check digit) bar code.
SyntaxR,31,gen/ver,check digit # p
R1. ROption Header.
R2. 31Option 31.
R3. gen/verEnter G to generate a check digit.
R4. check digit # Specifies a check digit scheme. Enter a number that identifies a check
digit scheme that has been defined. For more information, see “Using
Check Digits.” Range: 1 to 10.
ExampleR,31,G,5 p
Generates a check digit using the previously defined check digit scheme 5.
Option 42 (Price Field)
You can apply options that will insert monetary symbols automatically. Do
not use this option with Option 31 (define a check digit) or Option 60
(increment or decrement a field). This option is not recommended for bar
codes. When determining the maximum number of characters, add the
maximum number of digits and the monetary symbols.
SyntaxR,42,appearance code p
R1. ROption Header.
R2. 42Option 42.
R3. appearance
code
Enter 1 to print price field in standard notation, as defined by country
setting.
Use the monetary formatting packet to select monetary notations and
symbols by country setting. See “Defining the Monetary Formatting
Packet” for more information.
See Appendix C, “Symbol Sets/Code Pages,” to make sure the monetary
symbol you want to use is printable in the font selected for this field. For
monetary symbols other than the dollar sign, use the internal symbol set.
4-8 Defining Field Options
Page 81
ExampleR,42,1 p
Uses a price field that prints the monetary symbol and notations as defined
in the monetary formatting packet.
Option 50 (Bar Code Density)
You can apply this option to bar code fields when you want to create custom
densities. When you apply this option, it overrides the density value in the
bar code field. When using this option, set the density parameter in your
bar code field to the default value. You can only use this option once for
each bar code field.
Bar codes produced using Option 50 may not be scannable. Code 39,
density 12, produces a one-dot narrow bar. This density is intended for
special U.S.P.S. ACT-tag applications only. Synthetic supplies are
recommended to produce scannable bar codes.
The additional character gap, narrow space, and wide space parameters are
valid only with Code 39 and Codabar. If these parameters are specified for
any other bar codes, they will be ignored by the printer. Do not use Option
50 with fixed density bar codes.
Option 50 can be used with PDF417 bar codes for specific customer ratios.
With PDF417 bar codes, use only the narrow and wide parameters. The
narrow parameter defines the individual bar width in dots and the wide
parameter is used to define the height of each individual stacked bar code.
Option 50 can also be used with Option 52 to further customize the
dimensions of a PDF417 bar code. Option 52 allows customization of the
number of columns or number of rows for the bar code.
SyntaxR,50,narrow,wide,gap,nar_space,wide_space p
R1. RField Option Header.
R2. 50Option 50.
R3. narrowDot width of the narrow element. Range: 1 to 99.
R4. wideDot width of the wide element. Range: 1 to 99.
R5. gapAdditional dot space between characters. Enter a value of 1 to 99.
(Code 39 and Codabar only.)
Defining Field Options 4-9
Page 82
R6. nar_spaceAdditional dot width of the narrow bar code space.
(Code 39 and Codabar only). Range: 1 to 99.
R7. wide_spaceAdditional dot width of the wide bar code space.
(Code 39 and Codabar only). Range: 1 to 99.
ExampleR,50,4,8,4,4,8 p
Creates a custom bar code density with a narrow element of 4 dots, a wide
element of 8 dots, a gap of 4 dots, 4 additional dot widths for the narrow bar
code space, and 8 additonal dot widths for the wide bar code space (if this
is a Code 39 or Codabar bar code).
Option 51 (PDF417 Security/Truncation)
You can define a security level and choose whether or not to truncate a
PDF417 bar code. Higher security levels add data to a bar code, improving
scan reliability. Some damaged bar codes may still be scannable if the
security level is high enough. You can use this option to create standard
PDF417 bar codes or use the truncated option to create a narrower bar
code. This option can appear only once per PDF417 field, in any order,
following the bar code field.
As the security level is increased, so is the size of your PDF417 bar code.
For each level increased, the bar code will double in size.
Syntax R,51,security,stand/default p
R1. ROption Header.
R2. 51Indicates Option 51.
R3. securitySecurity level ranges from 0 to 8 (0 is the default).
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.
R4. stand/defTruncation selector. Valid values:
S (default) a standard PDF417 bar code
T truncated
ExampleR,51,2,S p
Defines a security level of 2 for a standard PDF417 bar code.
4-10 Defining Field Options
Page 83
Option 52 (PDF417 Width/Length)
This option defines the image width or length of a PDF417 bar code. If you
define a fixed number of columns (width), the bar code expands in length. If
you define a fixed number of rows (length), the bar code expands in width.
Column value does not include start/stop or left/right indicator columns.
If this option does not immediately follow the PDF417 bar code field, the
default settings are used. You can only use this option once per PDF417
bar code field.
SyntaxR,52,row/column,dimension p
R1. ROption Header.
R2. 52Indicates Option 52.
R3. row/columnIndicates if you are defining the number of rows or columns.
RRow
CColumn
If you specify rows, the bar code expands in columns,
or vice versa.
R4. dimensionThe number of rows or columns defined for the bar code.
The default is 4. Valid values:
3-90 for rows
1-30 for columns
ExampleR,52,C,10 p
Defines the column width of 10, which expands the PDF417 bar code length
by 10.
Defining Field Options 4-11
Page 84
Option 60 (Incrementing/Decrementing Fields)
You may have an application, such as serial numbers, in which you need a
numeric field to increment (increase in value) or decrement (decrease in
value) on successive tickets within a single batch. Incrementing or
decrementing can be applied to numeric data only. If you have a field that
includes letters and digits, apply incrementing or decrementing to only the
portion of the field that contains digits. Do not use with Option 42 (price
field).
SyntaxR,60,I/D,amount,l pos,r pos p
R1. ROption Header.
R2. 60Option 60.
R3. I/DIncrement or decrement:
Iincrementing field
Ddecrementing field
R4. amountAmount to increase or decrease. Range: 0 to 999.
R5. l posLeftmost position in inc/dec portion of field. If this value is not entered, the
default value 1 is used. Range: 0 to 2710.
R6. r posRightmost position in inc/dec portion of field. If this value is not used, the
entire field length is used as the default. Range: 0 to 2710.
ExampleR,60,I,5,1,6 p
Increments a field by 5 each time the field is printed. The field increments
beginning with the first left position and ending with the sixth position.
Fixing the First Number in the Incrementing Sequence
There are two ways to enter the first number in the incrementing sequence.
You can use batch data or use Option 1 to define the first number as a fixed
character. The first number in the sequence must contain the same amount
of digits as the highest number to be counted. For example, to count the
numbers 1 to 999, the first number in the sequence must be entered as 001.
4-12 Defining Field Options
Page 85
Option 61 (Re-image Field)
This option redraws (reimages) a constant field when you have a constant
field next to a variable field on your label. It can be used on text, constant
text, bar code, line, or box fields.
These printers do not redraw an area if the field data does not change.
When a field changes, that area is cleared and the new field data is imaged.
However, the new field data may require a larger area than the previous
field did. In some cases, neighboring fields that do not change (constant
fields) may be covered with white space from the changing field’s (variable
fields) area. Use this option to reimage the constant field, or it may appear
broken.
Note:The most common use for this option is with incrementing fields on
your label, because they may cover a constant field..
SyntaxR,61 p
R1. ROption Header.
R2. 61Option 61.
ExampleR,61 p
Reimages the constant field that appears next to a variable field.
Re-Image
ON
Re-Image ON
Re-Image
OFF
Re-Image OFF
In the above example, Option 61 was applied to the bar code field to keep
the incrementing field (Box #) from blocking out the bar code field.
Defining Field Options 4-13
Page 86
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 UPC, EAN, Code 39 (with the MOD43 check digit), and Code 93
bar codes, because they have predefined check digits.
Syntax {A,selector,action,device,modulus,
fld_length,D/P,"weights" p }
A1. ACheck Digit Header.
A2. selectorAssign a number from 1 to 10 to this check digit formula.
A3. actionThe action to perform. Enter A to add the check digit scheme.
A4. deviceFormat storage device. Use R (Volatile RAM).
A5. modulusNumber from 2 to 11. The modulus is used to divide the sum of products
or the sum of digits.
A6. fld_lengthThe maximum number of characters the field will contain.
Range: 0 to 2710.
A7. D/PAlgorithm. The algorithm determines how the check digit is calculated.
Options:
Dsum of digits
Psum of products
A8. “weights”String of digits used for calculation. A weight string is a group of two or
more numbers that is applied to a field. The number of digits in this string
should equal the number in fld_length. Enclose in quotation marks.
Range: 0 to 2710.
Example{A,1,A,R,10,5,P,"65432" p }
Adds check digit scheme number 1 to the printer’s memory. The modulus is
10, the maximum number of characters in the field is 5. The check digit is
calculated by using the Sum of Products and the string of digits used in the
calculation is “65432.”
4-14 Defining Field Options
Page 87
Sum of Products Calculation
This is an example of how the printer uses Sum of Products to calculate a
check digit for this data:
5 2 3 2 4 5 2 1 9
1.Weights are applied to each digit, starting with the last digit in the
weight string. They are applied right to left, beginning at the right-most
position of the field. Remember, a weight string must contain at least
two different numbers. This example has a weight string of 1,2,3,4:
3.Next, the product of each digit is added together. This is the sum of the
products.
20 + 2 + 6 + 6 + 16 + 5 + 4 + 3 + 36 = 98
4.Divide the sum of the products by the modulus (10 in this case), only to
the whole number. The balance is called the remainder.
9
10 98
90
8
5.Subtract the remainder from the modulus.
The result becomes the check digit. In this case, the check digit is 2.
10 - 8 = 2
Defining Field Options 4-15
Page 88
Sum of Digits Calculation
This is an example of how the printer uses Sum of Digits to calculate a
check digit for this data:
5 2 3 2 4 5 2 1 9
1.Weights are applied to each digit, starting with the last digit in the
weight string. They are applied right to left, beginning at the right-most
position of the field. Remember, a weight string must contain at least
two different numbers. This example has a weight string of 1,2,3,4:
4.Divide the sum of the digits by the modulus (10 in this case), only to the
whole number. The balance is called the remainder.
4
10 44
40
4
5.Subtract the remainder from the modulus.
The result becomes the check digit. In this case, the check digit is 6.
10 - 4 = 6
4- 16 Defining Field Options
Page 89
CREATING GRAPHICS5
This chapter provides information on how to
¨
map out the graphic image using the hexadecimal (hex) or
run length method.
¨
create a graphic packet using a graphic header, bitmap,
duplicate, next-bitmap, text, constant text, line, and box
fields.
¨
place a graphic image into a format.
You can use graphic packets to create bitmapped images. To
include a graphic packet within your format, your format must
contain a graphic field. See “Placing the Graphic in a Format” for
more information.
Creating Graphics 5-1
Page 90
Overview of Bitmapped Images
A printed image is formed through a series of dots. Each square on the grid
below represents a dot on the printhead. The graphic image is created by
blackening dots in a specific pattern. You can print varying shades of gray
according to the concentration of dots on the image. When the dots are
printed together, the end result is a graphic image.
Determining a Method
You can use one of two methods to map out your graphic image:
Hex MethodThe dot sequences are segmented into binary numbers
and then converted to hex numbers.
Run Length
Encoding Method
5-2 Creating Graphics
A graphic using gray-scaling, several slanted lines, or
several vertical lines typically translates more efficiently
with hex representation.
The dot sequences are segmented into black and white
strings within a row. The total count of each white string
is converted to a lower-case letter, corresponding to
numeric value. The total count of each black string is
converted to an uppercase letter, corresponding to
numeric value. This method can reduce imaging time
for graphics that contain repetitive rows of dots. A
graphic with horizontal lines or very few white-to-black
borders typically translates more efficiently with run
length encoding.
Page 91
The most efficient encoding method depends on how complicated your
graphic image is and whether or not imaging time is a concern. You may
want to experiment with both encoding methods to get optimal performance.
Designing Bitmapped Images
Once you determine the encoding method to use, you
can begin mapping out your graphic image.
Note:The image that you map must be an upside
down mirror image of the final result.
Special Considerations
Solid black print cannot exceed 30% of any given square inch of the supply.
If the black print exceeds this limit, you may lose data or damage the
printhead.
In the first label, the large “M” logo and thick black line exceed the allowed
black to white print ratio. In the second label, the large “M” logo does not
exceed the black to white print ratio.
2 inches
0.5"
Exceeds
Limit
2 inches
0.5"
Does not
exceed
limit
Exceeds
Limit
Does not
exceed
limit
Creating Graphics 5-3
Page 92
Using the Hex Method
The following steps explain how to derive a hex character string from a
bitmapped graphic.
Each square on the grid represents a dot. A black square indicates the dot
is ON, and a white square indicates the dot is OFF. A sequence of binary
numbers, called a bit pattern or bitmap, determines what dots are on and
off. The numbers “0" and ”1" are used for this purpose. The number “1"
turns a dot on and ”0" turns a dot off.
All hex numbers must be two digits. For example, write hex 0 as 00, or hex
E as 0E.
1.Assign 1 to every black square and 0 to every white square.
1.Count the number of consecutive OFF or ON dots in a row. Write the
number of consecutive dots in sequence for the first row on the grid.
Write “ON” or “OFF” after each number to indicate ON or OFF dots.
(row 1, position 50) 26 on
(row 2, position 39) 11 on, 26 off, 9 on
(row 3, position 34) 5 on, 45 off, 6 on
2.Replace each number you have written with its corresponding code from
the Dot to Run Length Encoding Chart provided in Appendix C, “Symbol
Sets/Code Pages.” Be sure to use CAPITAL letters for black dots and
lower-case letters for white dots.
26 on (Z)
11 on (K), 26 off (z), 9 on (I)
.
.
5- 6 Creating Graphics
Page 95
If the number is greater than 26, write z, followed by the letter
corresponding to the amount over 26. For example, to represent 45 off
dots, write zs.
5 on (E), 45 off (zs), 6 on (F)
.
.
3.Write the letter codes in sequence, uninterrupted, for each row.
Note:If the end of the line specifies OFF dots (lower-case letters), the
ending lower-case letters can be omitted. For example, uZFu can
be written as uZF.
4.Repeat steps 1 through 5 for each row on the grid.
5.Insert the code values in syntax format.
Determining How to Store the Image
Once you have mapped out your graphic image, determine how you want to
store it. You have several options:
¨ Volatile RAM
¨ Temporary Storage
¨ Flash
Using Volatile RAM
You should use RAM when the graphic image is used by several formats,
because you only have to send the graphic image once. This eliminates the
need to send the graphic image repeatedly. See “Placing the Graphic in a
Format,” for more information about using the graphic packet in a format.
Graphics smaller than approximately 1/2 inch by 1/2 inch can be stored in
printer RAM and referenced by the graphic ID number.
Creating Graphics 5-7
Page 96
Graphics are stored in the format buffer and remain there until another
graphic packet is sent or the printer is turned off.
Using Temporary Storage
You should use temporary storage when the graphic image is used only in
one format or your graphic image is very large. Graphic data in temporary
storage is held in the image buffer until the graphic is printed and then it is
cleared from memory. Temporary graphics are also cleared from memory
when you send a new batch or update batch. You can use the same graphic
image multiple times on a format. Send the graphic image to the printer
after the format to which it applies.
If a graphic is stored in temporary storage, do not place a graphic field in
the format. This causes an error. Instead, position the graphic image by
using the row and column locations in the graphic packet header.
Image memory (temporary storage) accepts a graphic packet 1218 rows
long with 811 dots per row.
Using Flash
You can use flash memory when the graphic image is used by several
formats, because you only have to send the graphic image once. This
eliminates the need to send the graphic image repeatedly. See "Placing the
Graphic in a Format," for more information about using the graphic packet in
a format. Graphics stored in flash memory are saved when the printer is
turned off.
Creating a Graphic Packet
Your graphic packet can contain
¨ bitmapped fields (for bitmapped images)
¨ constant text fields
¨ lines
¨ boxes.
Images using hex representation or run length encoding are bitmapped
images. See “Designing Bitmapped Images” to design your bitmapped
image.
5-8 Creating Graphics
Page 97
Once you design your graphic image, you are ready to define a graphic
packet. This packet generates the graphic image you use in a format.
Positioning the Graphic Image
This section explains how to position the graphic image within a graphic
packet header, a field of a graphic packet, or within a format.
Within the Graphic Packet Header
When you are using RAM, the row and column parameters in the graphic
header are usually 0,0, because placement is controlled by the graphic field
in your format. This is especially true when designing a compliance label
overlay.
When you are using temporary storage, these
parameters control the placement of the graphic
image on the supply.
The area enclosed within the dotted lines
represents the graphic image starting at 0,0 (as
defined in the graphic header).
If you want a fixed amount of white space
around your graphic image, use something other
than 0 for row and/or column.
The area enclosed within the dotted lines
represents the graphic image starting at 0,0 with a
fixed amount of white space (10,10) around the
graphic image.
Within the Field
In a bitmap, constant text, line, or box field, the row
and column parameters control where an individual
field or bitmapped row begins in relation to the
coordinates defined in the graphic header.
The bottom of the triangle in this example
represents the first field of the graphic packet
starting at 10,0.
Creating Graphics 5-9
Page 98
Within a Format
When you define the graphic field within your format, the row and column
parameters represent where on the format to
place the graphic image.
If you are doing a compliance label, these
numbers are usually 0,0, because your
compliance label covers the entire supply. See
"Placing the Graphic in a Format," for a sample
compliance label.
If you are placing a graphic (a logo, for
example) within a certain area on your supply,
enter the starting position (bottom left corner)
of the graphic image.
This label shows the triangle “logo” beginning
(the bottom left corner) at 155, 33 as defined in
the graphic field.
Defining the Graphic Header
Every graphic packet must contain a graphic header. This is the first thing
you enter. It identifies and provides important measurement and formatting
information for the graphic. Bitmap, duplicate, next-bitmap, constant text,
line, and box fields follow the graphic header, if they are used.
Syntax{G,graphID,action,device,units,row,col,
mode,"name" p
G1. GGraphic Header.
G2. graphIDUnique number from 1 to 999 to identify the graphic image.
G3. actionEnter A to add the graphic to the printer.
G4. deviceGraphic storage device:
RVolatile RAM
TTemporary storage
G5. unitsUnit of measure. For bitmapped graphics, G (dots) is the only valid option.
5-10 Creating Graphics
Page 99
G6. rowDistance between the bottom of the graphic image area and the first bitmap
line. This is usually 0, unless you want a fixed amount of white space
around the graphic image. See “Positioning the Graphic Image,” for more
information.
English0 - 1200
Metric0 - 3045
Dot0 - 2436
G7. columnDistance between the left edge of the graphic image area and the left edge
of first bitmap line. This is usually 0, unless you want a fixed amount of
white space around the graphic image. See “Positioning the Graphic
Image,” for more information. Use the previous table for values.
English0 - 189
Metric0 - 479
Dots0 - 383
G8. modeImaging mode. Enter 0.
G9. “name”Graphic name (optional), 0 to 8 characters, enclose within quotation marks.
Example{G,99,A,R,G,0,0,0,"99Wire" p
Adds a graphic image identified by number 99 to volatile RAM. The graphic
uses dot measurement. The image will be placed according to the row and
column parameters in the graphic field. The imaging mode is 0 and the
image is called 99Wire.
Creating Graphics 5-11
Page 100
Creating Bitmap Fields
This defines one row of dots, starting at a specific row and column within
the graphic image. Each unique row of dots requires a bitmap field. A
bitmap field can later be repeated by using a duplicate field.
SyntaxB,row,column,algorithm,"data" p
B1. BBitmap Field.
B2. rowDistance (in dots) from the graphic image’s bottom margin to the bitmap
line.
English0 - 1200
Metric0 - 3045
Dot0 - 2436
B3. columnDistance (in dots) from the graphic image’s left edge to the bitmap line.
English0 - 189
Metric0 - 479
Dots0 - 383
B4. algorithmCoding method for bitmap data:
HHex Representation
RRun Length Encoding
B5. dataCharacter string made up of hex or run length encoding. Do not put spaces
or any other character between the numbers. Range: 0 to 2710.
Example{B,39,56,H,"3FFFFFF0" p
Defines a bitmapped graphic field. The image begins 39 dots from the
bottom and 56 dots from the left edge of the graphic area. Hex
representation is used.
5-12 Creating Graphics
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.