Each product and program carries a respective written warranty, the only warranty on which the
customer can rely. Paxar reserves the right to make changes in the product, the programs, and
their availability at any time and without notice. Although Paxar has made every effort to provide
complete and accurate information in this manual, Paxar 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® and 9416®, and XL® are trademarks of Paxar A mericas, Inc.
Paxar® is a trademark of Paxar Corporation.
Avery Dennison® is a trademark of Avery Dennison Corporation.
Microsoft, Windows, NT, and MS-DOS are registered tradem arks of Microsoft Corporation in the United States
and/or other countries.
True Type is a registered trademark of Apple Computer, Inc.
Hewlett-Packard is a registered trademark of Hewlett-Packard Company.
CG Triumvirate and CG Triumvirate Bold are trademarks of AGFA Corporation.
Adobe and Acrobat are trademarks of Adobe Systems Incorporated which may be registered in certain
jurisdictions.
Centronics is a registered trademark of Centronics Data Computer Corporation.
Avery Dennison Printer Systems Division.
170 Monarch Lane
Miamisburg, Ohio 45342
This manual provides the necessary information to design, write
and print a Monarch® Printer Control Language II (MPCLII) format
on a Monarch® 9416 thermal direct or thermal transfer Printer.
Before you read this manual, review the printer information in the
Quick Reference or Equipment Manual.
1
About This Manual
You do not need to be a programmer to use this manual, but you
must be familiar with creating text files and using basic MS-DOS®
commands. This chapter describes how to
N
create and download a sample MPCLII packet.
N
use the Supply Layout Grid and Format Worksheet.
N
categorize data into field types and select fonts to use in
your format.
See "Defining Text Fields" in Chapter 3 for a list of available fonts for your
printer. See Chapter 4, "Defining Field Options," for a list of available
options for your printer.
Getting Started
1-1
Before You Begin
Connect the printer to the host. Refer to the Equipment
1.
Manual for more information.
Load supplies in the printer. Refer to the Equipment Manual
2.
for more information.
Turn on the printer.
3.
Set the communication parameters and configure the printer.
4.
The communication parameters at the printer must match
those at the host. See Chapter 2, "Configuring the Printer,"
for more information.
Design your format. See "Starting with a Design" for more
5.
information.
Download your format to the printer. See Chapter 6,
6.
"Printing," for more information.
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.
1-2
Getting Started
For detailed information about the format header, text, constant
text, and bar code fields, see Chapter 3, "Defining Fields." For
information about batch packets, see Chapter 6, "Printing."
Type the following format header, in any text editor:
1.
{F,25,A,R,M,508,508,"FMT-25" p
Type the following constant text field:
2.
C,325,80,0,1,2,1,W,C,0,0,"MONARCH MARKING",1 p
Type the following bar code field:
3.
B,1,12,F,185,115,1,2,120,5,L,0 p
Type the following text field:
4.
T,2,18,V,105,70,1,1,1,1,B,C,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."
You have created a format packet for your MPCLII printer. Now, a
batch packet must be created before you can print the format.
Type the following batch header, after the text field line:
5.
{B,25,N,1 p
Type the following bar code data:
6.
1,"12345678901" p
Type the following text field data:
7.
2,"DAYTON, OHIO" p }
Save your file as SAMPLE.FMT.
8.
Getting Started
1-3
Type MODE COM1:9600,N,8,1 at the
9.
DOS prompt if you are using serial
communications. This sets the
communication parameters at your host.
These communication parameters must
match those at your printer. See
"Setting Communication Parameters," in
Chapter 2 or your host’s documentation
for more information.
Type COPY SAMPLE.FMT COM1. The
10.
following 2 inch by 2 inch label prints.
Starting with a Design
Before you create a format packet, you must design your label.
There are several steps to designing a custom label:
Decide which fields should appear on your label. See
1.
"Determining Format Contents" for more information.
Determine your label size. Labels are available from Monarch
2.
in a wide variety of sizes. Your application and the amount of
data you need to print determines the supply size. Contact
your sales representative for more information.
1-4
Getting Started
Draw a rough sketch of your label. You may want to draw
3.
several variations to see what works best. See "Drawing
Rough Sketches" for more information.
Identify the field types that appear on your label. See
4.
"Considering Field Types" for more information.
Decide which fonts you want to use. See "Considering Fonts"
5.
for more information.
Fill out your Format Worksheet. See "Using the Format
6.
Worksheet" for more information.
At this point, you are ready to use your format.
Create a format packet, based on how you filled out your
7.
worksheet. See Chapter 3, "Defining Fields," for more
information.
Determining Format Contents
Before you lay out your format, you need to make a few
decisions. For example, how large is your supply, which fonts do
you want to use, do you want to include a bar code, and do you
want to include graphics?
Determining the Print Area
The "bottom" is the edge that exits the printer first. The 0,0 point
is at the bottom left corner of the label. The print area varies,
depending on the size of your supply. Below are the maximum
and minimum print areas.
Unit of
Measure
English
(1/100")
Metric
(1/10mm)
Dots
(1/203 dots)
Dots
(1/300 dots)
Minimum
Supply Size
25 X 75425 x 1000400 x 1000
63 X 1911080 x 25401016 x 2540
51 X 152864 x 2030812 x 2030
75 X 2251275 x 27001200 x 2700
Maximum
Supply Size
Maximum
Print Area
The minimum label feed length for peel mode is 0.75 inches
(19 mm). For exact print area measurements of your supply, see
the supply layout grids in Appendix D. When designing formats,
the following non-print zone is recommended: 0.04 inches at the
top and bottom of the label.
Use the following formulas to convert inches to dots and metric:
Dots = inches x 203 or (x 300 for 300 dpi)
Metric (1/10mm) = inches x 254
English (1/100 inch) = 100 x (dots/203) or (dots/300)
Dots = Metric (1/10 mm) x (799/1000) or (1181/1000)
300 dpi depends on your printer.
Getting Started
1-5
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:
Supply Layout
(dpi)
N
English
The English grid is measured in
1/100 inches.
N
Metric
The Metric grid is measured in
1/10 millimeters (mm).
N
Graphic
The printer uses dots to print
images on a label. The
printhead has 203 dots per inch
(dpi) or 300 dots per inch.
Choose English or Metric units
when designing formats to use with different printers. English or
Metric units allow more direct use of formats on printers with
different density printheads.
192203
1536
1440
1344
1248
1152
1056
960
864
768
672
576
480
384
288
192
96
0.0
192
203
192
96
0.0
203
102
0.0
480 576
288
384
508
305
406
609
1624
1523
1421
1320
1218
1117
1015
672
768
806
711
812
853
914
812
711
609
508
406
305
203
102
0.0
1-6
Getting Started
If you want to use the supply layout grids, a copy of each is in
Appendix D, "Format Design Tools."
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
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
price, border around the
supply
logos
All of the above field types except graphics
are discussed in Chapter 3. See Chapter 5,
"Creating Graphics" for information on
including graphics in your format.
Getting Started
1-7
Considering Fonts
When working with fonts, you have three considerations: font
appearance, font size (bitmapped), and font spacing
(monospaced or proportional). See Appendix B, "Fonts," for
samples of each font.
Interchanging Packets
You can use an MPCLII format that was designed for another
MPCLII printer on a 9416 printer. The format may appear smaller
(fields will be shorter), because most of the 9416 printers use a
203 dpi printhead. However, an optional 300 dpi printhead is
available. If you use a 203 dpi format on a 300 dpi printer, it may
appear almost 50 percent smaller.
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
1-8
Getting Started
Decide what type of field to use on your label.
Make a copy of the Format Worksheet.
1.
Define the Format Header.
2.
Define options as you require them. See Chapter 4, "Defining
3.
Field Options" for more information.
CONFIGURING THE PRINTER
This chapter discusses how to
N
set communication parameters.
N
upload the printer’s configuration or font information.
N
configure the printer using online configuration packets.
N
use immediate commands to control the printer’s operation
at any time.
2
Configuring the Printer
2-1
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:
N
a baud rate of 9600
N
no parity
N
8 bit word length
N
1 stop bit
Using Parallel Communications
If your printer supports parallel communications, the parallel port
is Centronics® mode. The communication settings are
automatically configured for you. There are no operator settings
required.
We recommend waiting at least two seconds (or longer) when
switching between the serial and parallel ports to send data,
because data may be lost. Be careful when using print spoolers,
because data transmission occurs in the background of the
operating system. This makes data transmission completion
difficult to determine when switching between ports.
2-2
Configuring the Printer
Using MPCLII Conventions
Here are some guidelines to follow when using MPCLII.
MPCLII Punctuation
Use the following symbols when creating MPCLII packets:
{start of header
}end of header
pfield separator
,parameter separator
"ABC"Quotation marks enclose character strings.
Empty quotes ("") identify null strings or
unused fields.
‘comment‘Grave accents enclose comments. Any data
enclosed in grave accents is ignored. Do not
embed comments within a quoted string.
Grave accents are also used to reject
mainframe data.
These MPCL characters are the default.
Configuring the Printer
2-3
Standard Syntax Guidelines
When creating MPCLII packets:
N
Begin each packet with a start of header ({).
N
End each packet with an end of header (}).
N
Define no more than 1000 fields in a format. Each p indicates
one field. However, options are not counted as fields.
N
The field number (0 - 999) must be unique. Monarch
recommends starting at 1, instead of 0.
N
Do not use a field number more than once per format.
N
Define all fields in the order you want to image/print them.
N
Separate all parameters with a Parameter Separator (,).
N
End each field with a Field Separator ( p ).
N
Enter all information in CAPITAL letters, except words or
phrases within quotation marks.
N
Include all parameters for a field unless documented as
optional.
N
Define non-printable text fields before the field to which they
apply.
N
Define options immediately after the field to which they apply.
N
Multiple options can be used with most fields. Options can be
used in any combination except as noted with each definition.
N
Keep in mind that proportionally spaced fonts need wider
fields than monospaced fonts. For variable field data, use a
letter "W" to determine the maximum field size.
N
Do not place a new line (return) or any other non-printing
character in a character string. However, a carriage return or
line break after each p makes your formats easier to read.
T,1,20,V,30,30,1,1,1,1,B,C,0,0,0 p
T,2,10,V,50,30,1,1,1,1,B,C,0,0,0 p
N
Spaces are ignored, except within character strings.
2-4
Configuring the Printer
Using Online Configuration Packets
Use online configuration packets to change the printer settings.
You must send the online configuration packets one at a time,
supplying all parameters for each packet. Leave the parameters
blank that you do not need to change. For example,
,A,,,,1 p } prints a slashed zero and uses the last sent online
{ I
System Setup parameters.
Make a copy of the online configuration worksheet in Appendix D,
"Format Design Tools," and save the original. Packets A - F 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
before the packet identifier (A, B, C, etc.). The I
identifies the data stream as a configuration packet.
Include the I parameter with each packet if
you are sending them individually. Include it
only at the beginning of a data stream if you
This is the syntax to use when you create online configuration
packets:
, immediately after the left bracket { and
parameter
are sending multiple packets.
Configuring the Printer
2-5
Syntax
{
I
,
1 - 8 optional records
A, parameter 1...parameter 5 p
B, parameter 1...parameter 5 p
C, parameter 1...parameter 5 p
D, parameter 1...parameter 3 p
E, parameter 1...parameter 9 p
F, parameter 1...parameter 5 p
}
Start of Header
Configuration Header
System Setup
Supply Setup
Print Control
Monetary Formatting
Control Characters
Communication Settings
End of Header
Syntax for single packet
{
I
,
A, parameter 1...parameter 5
}
Start of Header
Configuration Packet Identifier
System Setup
End of Header
You can also add a configuration to non-volatile RAM or specify
units for supply, print, margin, and cut positions. If you use the
optional parameters with the
packet, any online configuration
I
packets following the split vertical bar ( p ) must specify distances
using the selected units. However, the diagnostic labels display
the units in dots, even if you entered them in English or Metrics
units.
Syntax
{I, p }
Example
Adds a configuration to non-volatile RAM and specifies English
units. It also uses the default contrast, moves print 0.25 inches
closer to the bottom of the supply and does not change the
margin adjustment, prints at the default print speed, and uses the
default printhead width.
Example
Uploads the printer configuration from nonvolatile RAM and
returns the following to the host.
2-6
Configuring the Printer
{I, p
C,0,25,0,0,0 p }
{I,0,U,N p }
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
The parameters for each packet (A - F) are displayed. See each
packet description later in this chapter for more information.
Configuration Syntax Guidelines
When creating a printer configuration packet:
N
Follow the "Standard Syntax Guidelines" listed at the
beginning of this chapter.
N
Begin a packet with the configuration header (I).
N
Download multiple configuration packets within one packet or
download a single configuration packet.
N
Include the first five ANSI codes, at a minimum, in the control
characters packet.
N
If you change any of the online configuration packets, resend
the format packet to the printer, so the configuration changes
take effect.
N
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:
N
Supply adjustments across the width of your supply, such as
the margin position, are based in dots. The 9416 printhead
can be 203 or 300 dots per inch.
N
Supply adjustments for the length of your supply, such as
supply position or print adjustment, are measured in 1/203 of
an inch, regardless of your printhead density.
Configuring the Printer
2-7
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.
Syntax
A1. ASystem Setup Packet
A2. powup_mode Online Mode. Enter 0.
A3. languageDisplay Language. Enter 0 (for English).
A4. sep_onBatch Separators. Enter 0 (for no batch separators).
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.
2-8
Configuring the Printer
Defining the Supply Setup Packet
Use the supply setup packet (B) to select supply type, ribbon,
feed mode, supply position, and cut position.
B3. ribbon_onRibbon. The printer automatically senses if a ribbon is
B4. feed_modeFeed Mode. Options:
B5. supply_posn -300 - 300 in 1/203 inch. 0 is the default. Adjusts the
0Black mark supply
1Die Cut supply (default)
2Non-indexed supply
NOTE: You may need to adjust the print contrast (in the Print
Control packet), based on your type of supply.
installed and switches to thermal transfer mode. Options:
0Ribbon not installed (thermal direct)
1Ribbon installed (thermal transfer)
NOTE: If "ribbon installed" is sent to the printer, but no
ribbon is installed, an error occurs. If "ribbon not
installed" is sent to the printer, but a ribbon is
installed, no error occurs.
0Continuous operation (default)
1On-demand mode
machine to print at the vertical 0,0 point on the supply. This
adjustment accounts for mechanical tolerances. The supply
position adjustment only needs to be made on the initial
machine setup. Increase the supply position to move print up,
decrease to move print down on the label. You can not
change the supply position while the printer is active.
Changing the supply position affects the print position. Once
the supply position is set, use the print control packet to
adjust the print 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, and feeds the
supply approximately .05 inches up before printing the format on
each label (10/203 inches).
Configuring the Printer
2-9
Defining the Print Control Packet
Use the print control packet (C) to set the contrast, print, and
margin adjustment, print speed, and printhead width.
Syntax
{I,C,contrast,print_adj,margin_adjust,
speed_adj,ph_width p }
C1. CPrint Control Packet
C2. contrast-390 - 156. 0 is the default. You may need to adjust this
C3. print_adj-99 - 99 in 1/203 inch. 0 is the default. Adjusts where data
C4. margin_adj-99 - 99 in 1/203 inch. 0 is the default. Adjusts where data
C5. speed_adjPrint Speed. The only valid settings for 300 dpi are 20 and
value depending on the type of supplies you are using. To
make the print darker, use increments of 13 (for example, 0,
13, 26, 39, 52, etc.). To make the print lighter, use increments
of -129 (for example, -129, -258, or -387). You need to use
these incremental values to see a difference in the print
contrast. For example, values 1 to 13 produce the same
result. This is true for values -1 to -130.
prints vertically on the supply. Increase the print position to
move print up, decrease to move print down.
prints horizontally on the supply. Increase the margin position
to move print to the right, decrease to move print to the left.
Margin and print position are format adjustments. They will
not affect the supply position, dispense position, or backfeed
distance.
30. Options:
0This is the default and the printer prints at 3.0 ips.
20 Uses a print speed of 2.0 ips
30 Uses a print speed of 3.0 ips.
40 Uses a print speed of 4.0 ips (not for 300 dpi)
50 Uses a print speed of 5.0 ips. (not for 300 dpi)
C6. ph_widthWidth of the printhead in dots. Use 0.
Example
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 prints at the default speed
of 3.0 ips, and uses the default printhead width.
2-10
Configuring the Printer
{I,C,0,-20,-10,0,0 p }
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.
Defining the Control Characters Packet
Use the control characters packet (E) to change the MPCLII
control characters, enable and disable the immediate commands,
and change the default terminator character for job requests and
ENQ’s.
Changes take effect with the first character following the end of
header character } of the configuration packet. Each control
character must be unique and cannot appear anywhere else in
your packet, except within quotation marks. You can customize
the trailer characters to work with your host.
Wait two seconds for the new characters to
take effect before sending packets using the
new characters.
Use the following syntax for the control characters packet. Notice
all but the first parameter are within quotation marks.
2-12
Configuring the Printer
Syntax
E1. EControl Characters Packet
{I,E,"ANSI_cd","string1","string2" p }*
E2. "ANSI_cd"~123Start of header{(left bracket)
E3. "string 1"Terminator for status requests and ENQ requests. Up to any 3
E4. "string 2"Terminator for job requests and data uploads. Up to any 3
Up to any 3 characters in the 0 - 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.
characters in the 0 to 255 decimal range. The default is
"013". Sending "" disables this sequence.
characters in the 0 to 255 decimal range. The default is none.
Sending "" disables this sequence.
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 will execute
immediately, even if it is embedded within quotation marks, and
all data following the command in the string will be ignored.
Configuring the Printer
2-13
Example
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.
{I,E,"~123~063~034~124~125~126~094" p }
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 the diagnostic labels. (The
labels list the current control characters.) See "Printing a Test
Label," in Chapter 8 for more information.
Defining the Communication Settings Packet
Use the communication settings packet (F) to set the baud rate,
word length, stop bits, parity, and flow control for serial
communications. To set parallel communications, see "Using
Parallel Communications."
Changing the communication settings takes approximately two
seconds. Communications sent during this interval will be lost.
Make sure the host communication values match the values on
the printer 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.
2-14
Configuring the Printer
Syntax
{I,F,baud,word_length,stop_bits,parity,
flow_control p }
07-bit word length (odd or even parity only)
18-bit word length (default)
01-stop bit (default)
12-stop bits
0None (default)
1ODD parity
2EVEN parity
0None2RTS/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).
{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.
Configuring the Printer
2-15
Using Immediate Commands
Immediate commands affect printer operation as soon as the
printer receives them, even if they are included within a packet or
used inside quotation marks.
You can use immediate commands to change immediate
command or status polling control characters, reset the printer, or
cancel and repeat batches.
Enabling Immediate Commands
When the printer is first turned on, these commands are not
available. To use these commands, you must first send the
control characters packet and define the immediate command
control character. The immediate command control character is
saved in non-volatile RAM and therefore not lost after you turn off
the printer. Once the immediate command control character is
defined, the immediate commands are enabled.
Sending Immediate Commands
Immediate commands consist of a three- or four-character
sequence you can send in a packet or embed in your application.
Each command must be sent separately.
Syntax
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
Immediately cancels the batch currently printing. This example
assumes that the defined immediate command control character
is the caret (^).
2-16
Configuring the Printer
control character_immediate command
^CB
CommandParameter
^CA
^CB
^DD or
^DCd
^EA
^ER
^FD
^ID or ^ICd
^MC
^MD
^MI
^MM
^MP
^MR
^MV
^PR
^RB
^RS
^TP
Cancels all the batches or cancels the last batch in the queue.
Cancels only the current batch being printed.
Disables the MPCL data escape character (the tilde) and inhibits MPCL
from acting on ANY data escape sequence from the host. Sets the MPCL
data escape character to the ASCII value given by the d parameter. The
value can be any ASCII character.
Aborts an error condition. May need to be sent multiple times. Use ^RB to
reprint batch.
CAUTION: Command causes the current batch to stop and the
condition that caused the error to remain uncorrected.
Resets the error. Normal operation will resume.
Feeds a label when printer is idle. Simulates the operation of pressing
FEED and dispenses the next label if printer is in the on-demand mode
(purchase optional). NOTE: Printer ignores this command if printing.
Disables the Immediate Command feature by turning off the Immediate
Command escape character. Sets the Immediate Command escape
character to the ASCII value given by the d parameter. The value can be
any ASCII character.
Returns the customer ID or RPQ version to the host. (00 - 99)
Returns the printhead dot density to the host. 00 = 203 dpi 01 = 300 dpi
Returns the customer ID or RPQ revision level to the host. (00 - 99)
Returns the model number to the host. 41 = 9416
Returns the prototype number to the host. (00 - 99)
Returns the revision number to the host. (00 - 99)
Returns the version number to the host. (00 - 99)
Resets the printer. This command takes five seconds to complete and then
the printer is ready to receive data. It has the same effect as turning off
and then turning on the printer.
NOTE: Command should be used only when the printer is not printing.
Repeats the last printed batch, printing the same number of labels as
specified in the original batch. This command does not work if using batch
separators.
NOTE: Printer ignores this command if printing.
Resynchronizes supply when supply roll is changed.
NOTE: Printer ignores this command if printing.
Prints a diagnostic (test) label. NOTE: Printer ignores this command if
printing.
Configuring the Printer
2-17
The table represents the defined immediate command control
character as ^ and the defined status polling control character as
d. You may define these characters to suit your needs.
To use the immediate command control
character or the status polling character
within your data, use the tilde sequence.
Clearing Packets from Memory
You may want to remove packets from the printer to increase
memory storage capacity or if the formats/fonts are no longer
needed. In some cases, turning the printer off may clear the
packets from memory. If not, send a format clear packet.
Syntax
1. headerIdentifies the packet. Options:
2. packet#Identification number of the packet to clear (1 - 999) or font
3. actionEnter C to clear the packet.
4. deviceStorage device. Use R (Volatile RAM)
Example
{header,packet#,action,device p }
ACheck Digit Scheme
FFormat
GGraphic
WFont
number (0 - 9999). 0 is for all fonts.
{F,1,C,R p }
Clears Format #1 from volatile RAM.
2-18
Configuring the Printer
Using the Font Packet
You can use a font packet to add or clear downloaded fonts from
memory, upload your font buffer, font data, or the cell size
information for a particular font. The font packet is useful when
you are downloading fonts. If you are using downloaded fonts,
the font number and the number of bytes each downloaded font
uses is listed.
This packet does not list the number of bytes the standard printer
fonts use.
Syntax
{W,font#,action,device,data_length,data_rec
ord p }
W1. WWritable Font Header.
W2. font#The font identifier from 0 - 32000. Use 0 to specify all fonts.
W3. actionAction. Options:
AAdds the specified font.
CClears all or specified fonts, except ones in ROM.
HUploads font size information.
MUploads font memory usage information.
W4. deviceDevice. Options:
RVolatile RAM
ZAll devices (use for upload).
W5. data_length
(optional)
The length of the font data. The range is 68 - 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-19
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 printer returns the following to the host:
{W,0,H,Z p
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,15,0,"CGTriumv7",1,0,7,21,28,9,14,0 p
0,15,1,"CGTriumv7",1,0,7,21,28,9,14,0 p
0,15,437,"CGTriumv7",1,0,7,22,28,9,14,0 p
0,15,850,"CGTriumv7",1,0,7,22,28,9,14,0 p
0,16,0,"CGTriumv9",1,0,8,28,35,12,18,0 p
0,16,1,"CGTriumv9",1,0,8,28,35,12,18,0 p
0,16,437,"CGTriumv9",1,0,8,29,35,12,18,0 p
0,16,850,"CGTriumv9",1,0,8,29,35,12,18,0 p
0,17,0,"CGTriumv11",1,0,9,31,40,13,22,0 p
0,17,1,"CGTriumv11",1,0,9,31,40,13,22,0 p
Font Style
Font Name
Spacing
Baseline
Cell Width
Cell Height
Inter-Character Gap
Nominal Width
Nominal Height
Ty p e
Symbol Set
2-20
Configuring the Printer
0,17,437,"CGTriumv11",1,0,9,33,40,13,22,0 p
0,17,850,"CGTriumv11",1,0,9,33,40,13,22,0 p
0,18,0,"CGTriumv15",1,0,13,47,59,20,31,0 p
0,18,1,"CGTriumv15",1,0,13,47,59,20,31,0 p
0,18,437,"CGTriumv15",1,0,13,49,59,20,31,0 p
0,18,850,"CGTriumv15",1,0,13,49,59,20,31,0 p }
SpacingMonospaced (0) or proportional (1).
Ty p eBitmapped (0) or scalable (1).
BaselineBottom of the font.
Cell WidthHorizontal number of dots for the widest char.
Cell HeightVertical number of dots for the tallest char.
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 DensityDisplays what printhead density is used.
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
F1. headerFormat Header
F2. format#Format number from 0 - 999. 0 is for all formats in memory.
F3. actionAction. Options:
F4. deviceDevice. Options:
{header,format#,action,device p }
AAdds the specified format
CClears the specified format
HUploads format header information
RVolatile RAM
ZAll devices (use for upload)
Configuring the Printer
2-21
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, 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-22
Configuring the Printer
DEFINING FIELDS
This chapter provides a reference for defining
N
the format header
N
text and constant text
N
bar code fields
N
line and box fields.
3
Defining Fields
3-1
Defining the Format Header
A Format Header begins a format file.
Syntax
{F,format#,action,device,measure,length,
width,"name" p
F1. FFormat Header.
F2. format#Unique number from 0 -
F3. actionAction. Enter A to add the format to the printer.
F4. deviceFormat storage device. Use R (Volatile RAM).
F5. measureUnit of measure. Options:
English, measured in 1/100 inches
E
Metric, measured in 1/10 mm
M
Graphic, measured in dots
G
F6. lengthSupply length, top to bottom, in selected units.
English
Metric
203 Dots
300 Dots
In peel mode, the minimum label length is 0.75 inches
(19 mm). For 300 dpi, the maximum label length is 9.0
inches (229 mm).
Make sure your format length matches the actual label size
exactly for correct printer performance. This is especially true
for shorter feed length supply and formats. If an error occurs,
recalibrate the supplies in the printer. See your QuickReference for more information.
25
63
51
75
-
-
-
-
1000
2540
2030
2700
to identify the format.
999
Defining Fields
3-2
F7. widthSupply width, from left to right, in selected units.
English
Metric
203 Dots
300 Dots
F8. "name"Format name (optional), 0 - 8 characters, enclose within
Example
quotation marks.
{F,1,A,R,E,300,100,"TEXTILES" p
75
191
152
225
-
-
-
-
400
1016
812
1200
Format 1 ("TEXTILES") uses a three inch long by one inch wide
label.
Defining Text Fields
Create a separate definition for each text field. If text falls on two
lines, each line of text requires a separate definition.
Syntax
T,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 0 -
T3. # of charMaximum number of printed characters (0 -
to identify this field.
999
) in the field.
2710
T4. fix/varFixed or variable length field. Options:
Fixed length
F
Variable length
V
T5. rowFor monospaced fonts, distance from bottom of print area to
the pivot point. The pivot point varies depending on how text
is justified.
0 (TOP)
3 (RIGHT)
2 (BOTTOM)
1 (LEFT)
End-Justified
1 (LEFT)
0 (TOP)
2 (BOTTOM)
3 (RIGHT)
Left/Center/Right-Justified
2 (BOTTOM)
0 (TOP)
3 (RIGHT)
1 (LEFT)
Balanced
For proportionally spaced fonts, distance from bottom of print
area to baseline of characters in field.
English
Metric
203 Dots0 300 Dots0 -
-
0
999
-
0
2539
2029
2699
Defining Fields
3-3
T6. columnDistance from the left edge of the print
area to the pivot point to find the column
location.
English
Metric
203 Dots0 300 Dots0 -
T7. gapNumber of dots between characters (203 dots per inch).
Range: 0 - 99.
NOTE:
Any number other than 0 or the default number affects your
field width. Default spacing:
Standard
Reduced
Bold
OCRA-like
HR1
HR2
HR1 and HR2 are only used with the UPC bar code family and
must be numeric.
T8. fontStyle of font. Options:
-
0
399
-
0
1015
811
1199
For monospaced fonts, the additional spacing is
added to the existing inter-character gap. This is
also true for proportionally spaced fonts, but
remember that the inter-character gap varies with
character combinations.
3 dots
1 dot
3 dots
3 dots
3 dots
2 dots
3-4
Defining Fields
Standard
1
Reduced
2
Bold
3
OCRA-like
4
HR1
5
HR2
6
Fonts 5 and 6 are for numeric data only.
Fonts 15 through 18 are only for 300 dpi
T9. hgt magHeight magnifier, 1 7 (times- for bitmapped fonts).
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."
CG Triumvirate Bold
10
CG Triumvirate
11
7 pt. CG Triumvirate
15
9 pt. CG Triumvirate
16
11 pt. CG Triumvirate
17
15 pt. CG Triumvirate
18
.
T11. colorOptions for standard printer fonts:
B
D/R/W
O
There are two types of field color overlay attributes:
Opaque, Normal, Black, Normal
Opaque, Normal, White, Normal
Transparent, Normal, Black, Normal
TransparentThe overlay field (text or constant text) does
OpaqueThe overlay field blocks out (or "erases")
Line field
blocked out by
opaque field
using attribute B
Field placement in the packet is an important consideration
when using field color attributes. 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.
T12. alignmentOptions:
Align on left side of field.
L
Center text within field (monospaced fonts only)
C
Align on right side of field (monospaced fonts only)
R
Align at midpoint of field
B
Align at endpoint of the field
E
not block out (or "erase") existing fields.
existing fields.
Line field not
blocked out by
transparent field
using attribute O
Use L, B, or E for any font.
Defining Fields
3-5
T13. char rotCharacter rotation. The field or supply does not rotate, only
the characters do. Options:
Top of character points to top of field
0
Top of character points to left of field
1
Top of character points to bottom of field
2
Top of character points to right of field
3
T14. field rotField rotation. Field rotation rotates the whole field, not just
T15. sym setSymbol set. Options:
Example
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:
Top of field points to top of supply
0
Top of field points to left of supply
1
Top of field points to bottom of supply
2
Top of field points to right of supply
3
Internal Symbol Set.
0
ANSI Symbol Set
1
DOS Code Page 437 (Domestic)
437
DOS Code Page 850 (International)
850
See Appendix C, "Symbol Sets/ Code Pages" for more
information.
T,2,10,V,250,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 250, 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.
3-6
Defining Fields
Defining Bar Code Fields
Each bar code field requires a separate definition.
Syntax
B,field#,# of char,fix/var,row,column,
font,density,height,text,alignment,
field rot p
B1. BBar Code Field.
B2. field#Unique number from 0 -
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 -
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.
to identify this field.
999
2710
.
Defining Fields
3-7
B4. fix/varFixed (F) or variable (V) length field.
Bar CodeNumber of Characters Fixed or
UPCA
UPCA+2
UPCA+5
UPCA+Price CD
UPCE
UPCE+2
UPCE+5
EAN8
EAN8+2
EAN8+5
EAN13
EAN13+2
EAN13+5
EAN13+Price CD
Interleaved 2 of 5
or
Interleaved I 2 of 5 with Barrier Bar
Code 39 (w/ or w/o CD) or MOD43
Codabar
Code 128
Code 93
Code 16K
MSI
MaxiCode
PDF417
POSTNET
Variable
12F
14F
17F
12F
7F
9F
12F
8F
10F
13F
13F
15F
18F
13F
0 - 2710F or V
0 - 2710F or V
0 - 2710F or V
0 - 2710F or V
0 - 2710V
0 - 2710V
0 - 14F or V
15 - 99For V
0 - 2710F or V
0 - 11F
3-8
Defining Fields
B5. rowDistance from 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
Remember to include text or numbers
that may appear with the bar code for
the row measurement.
English
Metric
203 Dots0 300 Dots0 -
B6. columnDistance from the lower left edge of
the print area to the pivot point.
English
Metric
203 Dots0 300 Dots0 -
NOTE:
-
0
999
-
0
2539
2029
2699
-
0
399
-
0
1015
811
1199
Allow a minimum of
of bar code and label edges or other data.
End-Justified Fields
inch between the scan edge
1/10
Defining Fields
3-9
B7. fontBar code. Options:
B8. densityBar code density. Use 0 for Quick Response bar codes. Use
B9. heightBar code height, in 1/100 inches, 1/10 mm, or dots. Minimum
values:
English
Metric
203 Dots
300 Dots
For Quick Reference bar codes, the value you enter is the
symbol’s maximum height. Small bar codes may not be
scannable.
20
51
40
60
B10. textAppearance of text with bar code. For UPC and EAN, use
B11. alignmentChoose L, R, C, B or E to align the bar code data correctly in
B12. field rotField rotation. Field rotation rotates the whole field, not just
Example
or
Options:
1
2
5
6
7
8
the field. For I2 of 5, Code 39 (Mod 43), Codabar, and MSI,
you can use L, R, C, B or E. For all other bar codes, use L.
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:
0
1
2
3
NOTE:
. For Quick Response, use
5 - 8
No check digit or number system or
Quick Response Model 1
Quick Response Model 2
Number system at bottom, no check digit
Check digit at bottom, no number system
Check digit and number system at bottom
No text, bar code only
Top of field points to top of supply
Top of field points to left of supply
Top of field points to bottom of supply
Top of field points to right of supply
Serial bar codes printed at speeds greater than 3.0
IPS may not scan properly.
For all others, use 8.
0 2.
B,3,12,V,150,70,1,2,80,7,L,0 p
1
Defines a bar code field (field #3) with 12 characters of variable
length starting at row 150, column 70. 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 Fields
3-15
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
The characters in this field cannot be changed by batch data.
Field options do not apply to constant text fields.
Determine the height and the maximum width of the characters,
using the tables in Appendix B, "Fonts." If you’re using
proportionally spaced fonts, use the average size of the
characters. Mark the pivot point of your field. This will vary,
depending on how your field is justified.
fields per format).
1000
Syntax
C,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
C3. columnDistance from the lower left edge of the print area to the pivot
C4. gapNumber of dots between characters (203 dots per inch).
the pivot point. For proportionally spaced fonts, distance from
bottom of print area to baseline of characters in the field.
(Bottom exits the printer first.)
English
Metric
203 Dots0 300 Dots0 -
point.
English
Metric
203 Dots0 300 Dots0 -
Range: 0 - 99.
Any number other than 0 or the default number affects your
field width. Default spacing:
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.
C8. colorOptions for standard printer fonts:
B
D/R/W
O
There are two types of field color overlay attributes:
TransparentThe overlay field (text or constant text) does
OpaqueThe overlay field blocks out (or "erases")
Field placement in the packet is an important consideration
when using field color attributes. If a line field is defined
before the overlay (text or constant text) field, the line field is
blocked out by the overlay field, depending on the overlay
field’s color attribute. If a line field is defined after the overlay
field, the line field is not blocked out by the overlay field,
regardless of the overlay field’s color attribute.
Opaque, Normal, Black, Normal
Opaque, Normal, White, Normal
Transparent, Normal, Black, Normal
not block out (or "erase") existing fields.
existing fields.
CG Triumvirate Bold
10
CG Triumvirate
11
7 pt. CG Triumvirate
15
9 pt. CG Triumvirate
16
11 pt. CG Triumvirate
17
15 pt. CG Triumvirate
18
.
C9. alignmentAlignment of constant text in the field. Options:
Align on left side of field.
L
Center text within field (for monospaced fonts only)
C
Align on right side of field (for monospaced fonts only)
R
Align at midpoint of field
B
Align at end of field.
E
Use L, B, or E for any font.
Defining Fields
3-17
C10. char rotCharacter rotation. Options:
C11. field rotField rotation. Lower left corner of field is the pivot point.
Top of character points to top of field
0
Top of character points to left of field
1
Top of character points to bottom of field
2
Top of character points to right of field
3
Options:
Top of overlay points to top of supply
0
Top of overlay points to left of supply
1
Top of overlay points to bottom of supply
2
Top of overlay points to right of supply
3
NOTE:
C12. "fixed char" Fixed characters to appear in the field. Maximum
characters. Enclose in quotation marks.
C13. sym setSymbol set. Options:
0
1
437
850
Rotation is affected by the pivot point, which varies
depending on how text is justified.
2710
Internal Symbol Set.
ANSI Symbol Set
DOS Code Page 437 (Domestic)
DOS Code Page 850 (International)
See Appendix C, "Symbol Sets/ Code Pages" for more information.
Example
C,100,80,0,1,1,1,B,L,0,0,"MADE IN USA",0 p
Defines a constant text field starting at row 100, column 80. 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.
3-18
Defining Fields
Defining Non-Printable Text Fields
Non-printable text fields allow you to enter data without printing it
in its entered form. Typically, non-printable fields "hold" data that
later combines with other fields to form a merged field. Define
non-printable text fields before you define the field where the
information prints.
When you copy this field into another field, the maximum number
of characters for the final field is
2710.
characters as you need, because extra characters use up space.
Also, if you are copying into a bar code field, the maximum
number of characters in the destination bar code is determined by
the bar code specification (UPCA-12, EAN-13, etc.). You need to
apply field options to manipulate the text entered in this field. For
example, you may want to copy data from this field into another
field. See "Option 4 Copy Data" in Chapter 4 for more information.
In the following example, data is entered into four non-printable
fields and merged to form field 5, and is then printed as a bar
code. See "Merging Fields" in Chapter 4 for more information.
Each non-printable text field requires a separate definition.
Syntax
D1. DNon-Printable Text Field.
D2. field#Unique number from
D3. # of charMaximum number of characters in this field:
Example
D,field#,# of char p
assigned to this field.
0-999
D,4,20 p
0-2710.
Defines a non-printable text field (field #4) with a maximum of 20
characters.
Defining Fields
3-19
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
length and a thickness up to 99 dots, as long as the solid black
print does not exceed 25 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.
fields per format). You can define any line
1000
Segments
You choose the starting point and ending
point.
Vectors
You choose the starting point, the angle, and
the length of the line.
Syntax
L1. LLine Field.
L2. typeType of line. Only vertical and horizontal lines are
L3. rowDistance from bottom of print area to the starting point.
L,type,row,column,angle/end row,length/
end col,thickness,"pattern" p
supported. Options:
Segment. You choose the starting
S
point and ending point.
Vector. You choose the starting
V
point, angle, and length.
English
Metric
203 Dots0 300 Dots0 -
-
0
999
-
0
2539
2029
2699
3-20
Defining Fields
L4. columnDistance from left edge of the print area
to line origin.
English
Metric
203 Dots0 300 Dots0 -
-
0
-
0
399
1015
811
1199
L5. angle
/end row
L6. length/
end col
, or
270
Segments:
Vec tors:
.
Vec tors:
-
0
399
-
0
1015
811
1199
-
0
999
-
0
2539
2029
2699
If Using
Row location of ending point. Measure
from bottom of print area. Ranges
same as row above. On horizontal
lines, this value must match item L3.
If Using
Angle of line. Options: 0, 90,
180
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
Length of the line in selected units.
Ranges for horizontal lines:
English
Metric
203 Dots0 300 Dots0 -
Ranges for vertical lines:
English
Metric
203 Dots0 300 Dots0 -
Defining Fields
3-21
L7. thicknessUsing the chart below for reference, write the line thickness
(1 - 99) in box L7. Measured in dots.
NOTE:
L8. "pattern"Line pattern. Enter "".
Example
Line thickness fills upward on horizontal lines, or to
the right on vertical lines.
L,S,110,70,110,350,10,"" p
Defines a horizontal line field as a segment starting at row 110,
column 70 and ending at row 110, column 350. The line
thickness is 10 dots.
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
line length and a thickness up to 99 dots, as long as the solid
black print does not exceed 25 percent of any given square inch
of the label.
fields per format). You can define any
1000
3-22
Defining Fields
Syntax
Q1. QBox (Quadrilateral) Field.
Q,row,column,end row,end col,thickness,
"pattern" p
Q2. rowDistance from bottom of print area to
lower left corner of box.
English
Metric
203 Dots0 300 Dots0 -
-
0
999
-
0
2539
2029
2699
Q3. columnDistance from left edge of print area to
Q4. end rowDistance from bottom of print area to
Q5. end colDistance from left edge of print area to
lower left corner of box.
English
Metric
203 Dots0 300 Dots0 -
upper right corner of box. Ranges
same as row.
upper right corner of box. Ranges same as column.
-
0
399
-
0
1015
811
1199
Defining Fields
3-23
Q6. thicknessUsing the chart below for reference, write the desired line
thickness (1 - 99) in box Q6. Measure in dots.
NOTE:
Q7. "pattern"Line pattern. Enter "".
Example
Line thickness fills upward on horizontal lines, or to
the right on vertical lines.
Q,240,80,270,130,3,"" p
Defines a box field starting at row 240, column 80. It ends at row
270, column 130. It has a thickness of 3 dots.
3-24
Defining Fields
DEFINING FIELD OPTIONS
This chapter provides a reference for defining
N
field options in formats
N
check digit packets.
4
Defining Field Options
4-1
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. 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. See the following
sections addressing individual options for specific combinations to
avoid.
Example
Syntax
R1. RIndicates field option header.
R2. option#Option number:
R3. parameter(s) Varies per option. See the following option descriptions.
R,1,3,1,3,1,1 p
R,option#,parameter...parameter p
Define Fixed Characters
1
Copy Data
4
Pad Data
30
Calculate Check Digit
31
Define Bar Code Densities
50
Define Security and Truncation of PDF417 Bar Codes
51
Define Width or Length of PDF417 Bar Codes
52
Define Incrementing/Decrementing Fields
60
4-2
Defining Field Options
Option 1 (Fixed Data)
Fixed data is information (a company name or store number) you
want to print on all labels. You can define fixed characters for an
entire field or for part of a field.
Syntax
R1. ROption Header.
R2. 1Option 1.
R3. fixed charCharacters to insert. Enclose in quotation marks. If you are
R,1,"fixed char" p
defining fixed characters for part of a field, place
underscores(_) in non-fixed positions. Any spaces in the
phrase are fixed characters. Range 0 to
2710.
Underscore characters are stripped out and
the data is compressed if no data is supplied
by the batch and the field length is variable.
Example
R,1,"_ _ _%$_ _ _ _ _" p
Uses fixed characters (%$) in positions 4 and 5. The other
positions are variable.
Example
R,1,"MONARCH" p
"MONARCH" appears as a fixed field in this example.
To fill in the non-fixed portion of the field, see "Defining Batch
Data Fields" in Chapter 6. As an alternative, you can apply
Option 4 to copy data into the non-fixed character positions.
Defining Field Options
4-3
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
of characters permitted by the
bar code
When copying from more than one field, copy
into the destination field from left to right.
or the maximum number
2710
.
Syntax
R1. RField Option Header.
R2. 4Option 4.
R3. src fldField number from which data is copied. Range: 0 to
R4. src startPosition number in the source field of the first character to be
R5. # to copyNumber of characters to copy. Range: 1 to
R6. dest startPosition number where copied characters are to begin printing
R7. copy codeCopy Method.
R,4,src fld,src start,# to copy,dest
start,copy code p
copied. Character positions are numbered 1 to
from the left.
in the destination field. Range: 1 to
1Copy field as is (including price symbols,
pad characters, check digits, etc.).
2Copy unformatted data (without price characters,
pad characters, etc.).
2710
2710
.
2710
.
.
999
, starting
4-4
Defining Field Options
Example
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.
R,4,3,1,3,1,1 p
Merging Fields
You can copy data to merge the contents of fields. Use the copy
data option as many times as necessary to copy all the
appropriate fields into the merged field.
In the following example, two text and two non-printable fields are
shown. Data from these fields is merged to form field 5, and is
then printed as a bar code.
Define field 5 as a bar code. Allow enough characters in the
2.
bar code field to hold all the copied characters.
Apply Option 4 to field 5 once for every source field.
3.
Sub-Fields
You can copy a segment of data from one field into a new
location, called a sub-field. For example, extract part of the data
in a bar code and display it in text form in a sub-field. Then, use
the copy data option.
Defining Field Options
4-5
Option 30 (Padding Data)
You can add characters to one side of a field to "pad" the field.
Padding allows you to fill in the remaining spaces when the
entered data does not fill an entire field.
If a variable length field is not completely filled with batch data,
this option fills the remaining positions in the field with the
character designated by Option 30.
Syntax
R1. ROption Header.
R2. 30Option 30.
R3. L/RIndicates type of padding
R4. "character"Pad character must be within the 0 -
Example
R,30,L/R,"character" p
L Pad field on left side
R Pad field on right side
enclosed inside quotation marks.
NOTE:
Do not use on fixed length fields.
R,30,L,"X" p
decimal range and
255
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.
4-6
Defining Field Options
Option 31 (Calculate Check Digit)
The printer generates a check digit if you apply Option 31 to the
field. You cannot use this option if the field contains a UPC, EAN,
or Code 39 (with the MOD43 check digit) bar code.
Syntax
R1. ROption Header.
R2. 31Option 31.
R3. gen/verEnter G to generate a check digit.
R4. check digit # Specifies a check digit scheme. Enter a number that
Example
R,31,gen/ver,check digit # p
identifies a check digit scheme that has been defined. For
more information, see "Using Check Digits." Range: 1 - 10.
R,31,G,5 p
Generates a check digit using the previously defined check digit
scheme 5.
Option 50 (Bar Code Density)
You can apply this option to bar code fields when you want to
create custom densities. When you apply this option, it overrides
the density value in the bar code field.
When using this option, set the density parameter in your bar
code field to the default value. You can only use this option once
for each bar code field. This option overrides the density
selected in the bar code field.
Bar codes produced using Option 50 may not be scannable. The
additional character gap, narrow space, and wide space
parameters are valid
with Code 39 and Codabar. If these
only
parameters are specified for any other bar codes, they will be
ignored by the printer. Do not use Option 50 with UPC or EAN
bar codes.
Defining Field Options
4-7
Syntax
R1. RField Option Header.
R2. 50Option 50.
R3. narrowDot width of the narrow element. Range: 1 - 99.
R4. wideDot width of the wide element. Range: 1 - 99.
R,50,narrow,wide,gap,nar_space,wide_space
p
R5. gapAdditional dot space between characters. Enter a value of 1 -
R6. nar_spaceAdditional dot width of the narrow bar code space. (Code 39
R7. wide_spaceAdditional dot width of the wide bar code space. (Code 39
Example
. (Code 39 and Codabar only.)
99
and Codabar only). Range: 1 - 99.
and Codabar only). Range: 1 - 99.
R,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.
4-8
Defining Field Options
Syntax
R1. ROption Header.
R2. 51Indicates Option 51.
R3. securitySecurity level ranges from 0 - 8 (0 is the default).
R,51,security,stand/default p
Higher security levels add data to a bar code, improving scan
reliability. Some damaged bar codes may still be scannable if
the security level is high enough.
R4. stand/defTruncation selector. Valid values:
Example
(default) a standard PDF417 bar code
S
truncated
T
R,51,2,S p
Defines a security level of 2 for a standard PDF417 bar code.
Option 52 (PDF417 Width/Length)
This option defines the image width or length of a PDF417 bar
code. If you define a fixed number of columns (width), the bar
code expands in length. If you define a fixed number of rows
(length), the bar code expands in width.
Column value does not include start/stop or left/right indicator
columns.
If this option does not immediately follow the PDF417 bar code
field, the default settings are used. You can only use this option
once per PDF417 bar code field.
Syntax
R1. ROption Header.
R,52,row/column,dimension p
R2. 52Indicates Option 52.
R3. row/columnIndicates if you are defining the number of rows or columns.
Row
R
Column
C
If you specify rows, the bar code expands in columns,
or vice versa.
Defining Field Options
4-9
R4. dimensionThe number of rows or columns defined for the bar code. The
default is 4. Valid values:
- 90 for rows
3
- 30 for columns
1
Example
R,52,C,10 p
Defines the column width of 10, which expands the PDF417 bar
code length by 10.
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
digits, apply incrementing or decrementing to only the portion of
the field that contains digits.
Syntax
R1. ROption Header.
R2. 60Option 60.
R3. I/DIincrementing field
R4. amountAmount to increase or decrease. Range: 0 -
R5. l posLeftmost position in inc/dec portion of field. If this value is not
data only. If you have a field that includes letters and
R,60,I/D,amount,l pos,r pos p
D
entered, the default value 1 is used. Range: 0 -
decrementing field
999
.
2710
.
R6. r posRightmost position in inc/dec portion of field. If this value is
Example
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.
4-10
Defining Field Options
not used, the entire field length is used as the default.
Range: 0 -
R,60,I,5,1,6 p
2710
.
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 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 sequence must be entered as
001
, the first number in the
999
.
Using Check Digits
Check digits are typically used to ensure that a text or bar code
field scans correctly. If you apply Option 31, the printer
calculates a check digit. A check digit scheme determines how
the printer calculates a check digit. When you define a check
digit scheme, you assign a number to identify it. This number is
later entered in box R4 when you apply Option 31 to a field. You
can use check digits with text or bar code fields. Check digit
calculations are performed on numeric data only.
Do not use check digits with price fields. Do not define a check
digit scheme for these bar codes, because they have predefined
check digits: UPC, EAN, Code 39 (with the MOD43 check digit),
and Code 93.
Syntax
A1. ACheck Digit Header.
A2. selectorAssign a number from 1 - 10 to this check digit formula.
A3. actionThe action to perform. Enter A to add the check digit scheme.
A4. deviceDevice. Use R.
A5. modulusNumber from 2 - 11. The modulus is used to divide the sum
A6. fld_lengthThe maximum number of characters the field will contain.
{A,selector,action,device,modulus,
fld_length,D/P,"weights" p }
of products or the sum of digits.
Range: 0 -
2710
.
Defining Field Options
4-11
A7. D/PAlgorithm. The algorithm determines how the check digit is
calculated.Options:
sum of digits
D
sum of products
P
A8. "weights
Example
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 -
{A,1,A,R,10,5,P,"65432" p }
2710
.
Adds check digit scheme number 1 to the printer’s memory. The
modulus is 10, the maximum number of characters in the field is
5. The check digit is calculated by using the Sum of Products and
the string of digits used in the calculation is "65432."
Sum of Products Calculation
This is an example of how the printer uses Sum of Products to
calculate a check digit for this data:
5 2 3 2 4 5 2 1 9
Weights are applied to each digit, starting with the last digit in
1.
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-12
Defining Field Options
field:5 2 3 2 4 5 2 1 9
weight string:
Each digit in the field is multiplied by the weight assigned to it:
2.
4 1 2 3 4 1 2 3 4
field:5 2 3 2 4 5 2 1 9
weight string:
4 1 2 3 4 1 2 3 4
products:20 2 6 6 16 5 4 3 36
Next, the product of each digit is added together. This is the
3.
sum of the products.
20 + 2 + 6 + 6 + 16 + 5 + 4 + 3 + 36 = 98
Divide the sum of the products by the modulus (10 in this
4.
case), only to the whole number. The balance is called the
remainder.
9
10 98
90
8
Subtract the remainder from the modulus.
5.
The result becomes the check digit. In this case, the check
digit is 2.
10 - 8 = 2
Sum of Digits Calculation
This is an example of how the printer uses Sum of Digits to
calculate a check digit for this data:
5 2 3 2 4 5 2 1 9
Weights are applied to each digit, starting with the last digit in
1.
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
field:5 2 3 2 4 5 2 1 9
weight string:
Each digit in the field is multiplied by the weight assigned to it:
2.
4 1 2 3 4 1 2 3 4
1,2,3,4
:
Defining Field Options
4-13
field:5 2 3 2 4 5 2 1 9
weight string:
products:
Next, the digits of the products are added together. Two-digit
3.
products are treated as two separate digits.
This is the sum of the digits.
Divide the sum of the digits by the modulus (10 in this case),
4.
only to the whole number. The balance is called the
remainder.
4
10 44
40
4
Subtract the remainder from the modulus.
5.
The result becomes the check digit. In this case, the check
digit is 6.
10 - 4 = 6
4 1 2 3 4 1 2 3 4
20 2 6 6 16 5 4 3 36
4-14
Defining Field Options
CREATING GRAPHICS
This chapter provides information on how to
N
map out the graphic image using the hexadecimal (hex) or
run length method.
N
create a graphic packet using a graphic header, bitmap,
duplicate, next-bitmap, text, constant text, line, and box
fields.
N
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.
5
Creating Graphics
5-1
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.
A graphic using gray-scaling, several slanted
lines, or several vertical lines typically
translates more efficiently with hex
representation.
5-2
Creating Graphics
Run Length
Encoding Method
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.
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.
The image that you map must be an upside
down mirror image of the final result.
Special Considerations
Solid black print cannot exceed 25% of any given square inch of
the supply. If the black print exceeds this limit, you may lose data
or damage the printhead.
Creating Graphics
5-3
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
Exceeds
Limit
Exceeds
Limit
2 inches
0.5"
Does not
exceed
limit
Does not
exceed
limit
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.
0.5"
5-4
Creating Graphics
Assign 1 to every black square and 0 to every white square.
Count the number of consecutive OFF or ON dots in a row.
1.
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.
Replace each number you have written with its corresponding
2.
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)
.
.
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)
.
.
Creating Graphics
5-7
Write the letter codes in sequence, uninterrupted, for each
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.
Repeat steps 1 through 5 for each row on the grid.
4.
Insert the code values in syntax format.
5.
Determining How to Store the Image
Once you have mapped out your graphic image, determine how
you want to store it. You have two options:
5-8
Creating Graphics
N
RAM
N
Temporary Storage
Using 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.
Graphics are stored in the image buffer and
remain there until another format 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. Then, it is cleared from memory when you
send a new or updated 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 will cause an error. Instead, position the
graphic image by using the row and column locations in the
graphic packet header.
Image memory (temporary storage) will accept a graphic packet
1218 rows long with 811 dots per row.
Creating a Graphic Packet
Your graphic packet can contain
N
bitmapped fields (for bitmapped images)
N
constant text fields
N
lines
N
boxes.
Images using hex representation or run length encoding are
bitmapped images. See "Designing Bitmapped Images" to design
your bitmapped image.
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.
Creating Graphics
5-9
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).
5-10
Creating Graphics
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.
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 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
G1. GGraphic Header.
G2. graphIDUnique number from 0 - 999 to identify the graphic image.
G3. actionThe action to perform to the graphic. Options:
G4. deviceGraphic storage device:
G5. unitsUnit of measure. Options:
AAdd the graphic.
CClear the graphic from the printer.
RVolatile RAM (format must contain a graphic field)
TTemporary Storage
EEnglish, measured in 1/100 inches
MMetric, measured in 1/10 mm
GGraphic, measured in dots. For bitmapped graphics, use G.
G6. rowDistance between the bottom of the graphic image area and
G7. columnDistance between the left edge of the graphic image area and
G8. modeImaging mode. Enter 0.
G9. "name"Graphic name (optional), 0-8 characters, enclose within
Example
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.
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.
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.
5-12
Creating Graphics
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.
Syntax
B1. BBitmap Field.
B2. rowDistance (in dots) from the graphic image’s bottom margin to
B3. columnDistance (in dots) from the graphic image’s left edge to the
B4. algorithmCoding method for bitmap data:
B5. dataCharacter string made up of hex or run length encoding. Do
not put spaces or any other character between the numbers.
Range: 02710.
{B,39,56,H,"3FFFFFF0"
p
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.
Creating Graphics
5-13
Creating Next-Bitmap Fields
This field uses the previous field’s row and column locations. It
allows you to use the bitmap or duplicate field data without having
to recalculate row and column locations. This field represents
one row of dots on the image.
Syntax
N1. NNext-Bitmap Field.
N2. adjdirIncrements or decrements the row count. Inserts the
N3. adjamtAmount of row adjustment in dot rows. Using 0 overwrites the
N4. algorithmCoding method for bitmap data:
N5. "data"Character string made up of hex or run length encoding. Do
For example:
B,50,35,R,"GsSsG"
N,0,R,"DpZoD"
prints a next-bitmap field on row 51 at column 35.
same line. Range: 0 - 999.
HHex Representation
RRun Length Encoding
not put spaces or any other character between the hex
numbers or run length code letters. Range: 0 - 2710.
B,39,56,H,"3FFFFFF0"
N,0,1,H,"000000E00000"
p
p
p
p
p
Defines a next-bitmap graphic field beginning on row 40. The row
count increments by 1. Hex representation is used.
5-14
Creating Graphics
Creating Duplicate Fields
If a line of data is identical to a previous bitmap or next-bitmap
field, the duplicate field allows you to repeat the dot sequence
without retyping the data. A duplicate field represents one row of
dots on the image.
Duplicate fields are useful when you have a
graphic with a lot of repetition.
Syntax
D1. DDuplicate Field.
D2. adjdirIncrements or decrements the row count. Inserts the
D3. adjamtAmount of row adjustment in dot rows. Range for 203 dpi: 0
D4. countNumber of times to duplicate the line. Range: 0 - 999.
For example:
B,50,35,R,"GsSsG"
D,0,20,2
inserts row 50 again at row 70 and row 90. Rows
70 and 90 do not have to be defined later.
999; range for 300 dpi: 0 - 2699. The above example adjusts
the duplicate field to image on row 70 and 90 (adding 20 to
the current row count).
B,117,24,H,"03FFFFFFFFFFFFFFFFFFFC"
D,0,1,2
p
p
p
p
p
Defines a duplicate field that is imaged after the bitmap line. This
field duplicates the preceding bitmap line twice (at row 118 and
119).
You can use constant text, line, or box fields in a graphic packet
to create a compliance label overlay. See Chapter 3, "Defining
Fields," for more information about these fields.
Creating Graphics
5-15
Sample Hex Graphic Packet
{G,99,A,R,G,0,0,0,"99WIRE"
B,39,48,H,"3FFFFFF0" p
B,40,32,H,"01FFC000000FF8" p
B,41,32,H,"3E00000000000FC0" p
B,42,24,H,"03C0003FFFFFF0000F" p
B,43,24,H,"7C3FFFFFFFFFFFFFE1F0" p
B,44,16,H,"0183FFFFFFFFFFFFFFFF06" p
B,45,16,H,"018FFFFFFFFFFFFFFFFFFE" p
B,46,16,H,"01FFFFFFFFFFFFFFFFFFFE" p
B,47,16,H,"01FFFFFF80001FFFFFFFFE" p
B,48,16,H,"01FFFFF0000000007FFFFC" p
B,49,24,H,"7F800007FFFF00003FF0" p
B,50,24,H,"1FC00007FFFF00001FC0" p
D,0,4,4 p
B,51,24,H,"1C03FFFFFFFFFFFE01C0" p
D,0,4,4 p
B,52,32,H,"3FFFFFFFFFFFFFE1C0" p
D,0,4,4 p
B,53,24,H,"03FFF0000000007FFE" p
D,0,4,4 p
B,70,0,H,"0400001FC00007FFFF00001FC0" p
B,71,0,H,"0600001C03FFFFFFFFFFFE01C0" p
B,72,0,H,"030000003FFFFFFFFFFFFFE1C0" p
B,73,0,H,"01000003FFF0000000007FFE" p
B,74,8,H,"FC001C03FFFFFFFFFFFE00C0" p
B,75,8,H,"FE00003FFFFFFFFFFFFFE0C0" p
B,76,8,H,"1FF803FFF0000000007FFE" p
B,77,8,H,"0FFFCFFC00000000000001C0" p
B,78,16,H,"FFDF000FFFFFFFFF8003C0" p
B,79,16,H,"7FFFC00007FFFF00001FC0" p
B,80,24,H,"1C03FFFFFFFFFFFE01C0" p
D,0,4,4 p
B,81,32,H,"3FFFFFFFFFFFFFE1C0" p
D,0,4,4 p
B,82,24,H,"03FFF0000000007FFE" p
D,0,4,3 p
B,83,24,H,"1FC00007FFFF00001FC0" p
D,0,4,3 p
B,98,24,H,"03FFFFFFFFFFFFFFF0" p
B,99,24,H,"07FFFFFFFFFFFFFFFC" p
B,100,24,H,"1FF9FFFFFFFFFFFFFF" p
B,101,24,H,"3FFE0007FFFF8000FF80" p
B,102,24,H,"391E0027FFFF803FFFC0" p
B,103,24,H,"1C7FFFFFFFFFFFFFFFC0" p
B,104,24,H,"1FC1FFFFFFFFFFFF1FC0" p
5-16
Creating Graphics
B,105,24,H,"0FFDFFFFFFFFFFE0FF" p
B,106,24,H,"FFFFFFFFFFFFFFF8" p
B,107,32,H,"3FFFFFFFFFFFFFE0" p
B,108,32,H,"03FFFFFFFFFFFF" p
B,109,48,H,"07FFFF80" p
D,0,1,2 p
B,111,48,H,"FFFFFFFF" p
B,112,32,H,"FFFF00000000FFE0" p
B,113,24,H,"078000FFFFFFFF001F" p
B,114,24,H,"78FFFFFFFFFFFFFFE060" p
B,115,16,H,"0187FFFFFFFFFFFFFFFC18" p
B,116,16,H,"027FFFFFFFFFFFFFFFFFF2" p
B,117,16,H,"03FFFFFFFFFFFFFFFFFFFC" p
D,0,1,2 p
B,120,16,H,"01FFFFFFFFFFFFFFFFFFF8" p
B,121,24,H,"FEFFFFFFFFFFFFFFFFE0" p
B,122,24,H,"07FFFFFFFFFFFFFFFC" p
B,123,32,H,"FFFFFFFFFFFFFFC0" p
B,124,32,H,"01FFFFFFFFFFF8" p }
Sample Run Length Graphic Packet
{G,99,A,R,G,0,0,0,"99WIRE" p
B,39,50,R,"Z" p
B,40,39,R,"KzI" p
B,41,34,R,"EzsF" p
B,42,30,R,"DpZoD"
B,43,25,R,"EdZZEdE"
B,44,23,R,"BeZZMeB"
B,45,23,R,"BcZZW"
B,46,23,R,"ZZZA"
B,47,23,R,"ZDsZE"
B,48,24,"TzkU"
B,49,25,"HtRqJ"
B,50,27,"GsSsG"
D,0,4,4
B,51,27,"ChZWgC"
D,0,4,4
B,52,34,R,"ZZEdC"
D,0,4,4
B,53,30,R,"NzkN"
D,0,4,4
B,70,5,R,"AuGsSsG"
B,71,5,R,"BtChZWgC"
B,72,6,R,"DxZZEdC"
B,73,7,R,"CtNzkN"
define the batch header, batch control, and batch data files
N
modify formats
N
create DOS batch files.
6
Printing
6-1
Turn on the printer and make sure it is ready to receive data
before you download. See your host’s documentation, system
administrator, or "Downloading Methods" for information on ways
to download.
When downloading, send your packets in this order:
Configuration packets (A-F)
1.
Any of the following:
2.
Check digit packets (see Chapter 4)
✦
Format packets (see Chapter 3)
✦
Graphic packets (see Chapter 5)
✦
Batch data (see "Defining the Batch Header")
3.
Downloading Files
To download from a PC:
Check that the PC and the printer are connected.
1.
Check that communications have been established between
2.
the PC and the printer.
6-2
Printing
Send the communication settings packet to select the
3.
printer’s communication settings. See "Defining the
Communication Settings Packet" in Chapter 2 for more
information (only used for serial communication). If you
change the printer’s communication settings, make sure they
match those at the host before sending any packets to the
printer.
Type this command at the DOS prompt:
4.
COPY LABEL1.FMT COM1 Transmits a file called "LABEL1.FMT" to
COM1.
COPY LABEL1.BCH COM1 Transmits a batch called "LABEL1.BCH" to
COM1.
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.