TCADTP2PR Rev. AD8/18
2017 Avery Dennison Corp.
All rights reserved.
Classification: Avery Dennison - Public
Page 2
Eac h produc t and pr ogram c ar ries a respec tive w ritt en war ranty, t he only war ranty on w hic h the
cus t om er can rely. Avery Dennis on C orp. r es erves the right to m ake c hanges in the produc t , the
program s , and t heir availability at any tim e and w ithout notic e. Although Avery Dennis on C orp.
has m ade ever y effort to pr ovide com plet e and ac c urate inform ation in this m anual, Avery
Dennis on C orp. s hall not be liable for any omis s ions or inac c urac ies . Any updat e wil l be
incor porated in a later edition of this manual.
2017 Avery D ennis on Cor p. All r ights res er ved. No part of t his public ation m ay be repr oduc ed,
trans m itted, s tored in a r etrieval s ys tem, or translated int o any language in any for m by any
means , without the prior wr itten per m is s ion of Avery D ennis on C orp.
Trademarks
Monarch and MPCL are t rademarks of A v ery Dennison Retail I nformation S erv ices LLC.
A v ery Dennison® is a tr ademark of A v ery Dennison Cor p.
EPCglobal, Inc.™ and Electronic Product Code™ (EPC) are trademarks of GS1/GS1US
Classification: Avery Dennison – Public
Page 3
TABLE OF CONTENTS
GETTING STARTED .................................................................................................... 1-1
About This Manual ........................................................................................................1-1
Before You Begin .........................................................................................................1-1
Creat ing an MPCL II Format Pac ket ...............................................................................1-1
Sam ple Batc h P ac ket .................................................................................................1-2
Des igning a For m at ......................................................................................................1-2
RFID Form at Des ign Ti ps ...........................................................................................1-3
Deter m ining the Pr int Area ............................................................................................1-4
Non-P rint Zon es ........................................................................................................1-4
Using Supply Layo ut Grids .........................................................................................1-4
About Field Types ......................................................................................................1-5
CONFIGURING THE PRINTER ................................................................................... 2-1
Setting S erial C om m unic ation Par am eters .....................................................................2-1
About the ACK/ NAK Protoc ol ........................................................................................2-1
Using MPCLII C onvent ions ...........................................................................................2-1
MPCL I I Punctuation ...................................................................................................2-1
Standard S yntax Gui delin es .......................................................................................2-2
Using O nline Configur ation Pac kets ..............................................................................2-3
Configur ation Pac ket Head er......................................................................................2-3
Configur ation Sy ntax Guide lines ................................................................................2-5
Making P rin t A djus tm ents .............................................................................................2-5
Defining the System S etup Pac ket ................................................................................2-5
Defining the S u pply Setup P ac ket .................................................................................2-7
Defining the P rin t Contr ol Pac ket ..................................................................................2-9
Defining the Monetary For m atting P ac ket .................................................................... 2-10
Defining the C ontr o l Char ac ters P ac ket ....................................................................... 2-11
Res etting C ontr ol Char ac ters ................................................................................... 2-12
Using Imm ediate C omm ands .................................................................................... 2-12
Enabling Imm ediate C om m ands ............................................................................... 2-12
Sending Imm ediate C om m ands ................................................................................ 2-12
Using the ACK/ NAK Pr otoc ol .................................................................................... 2-14
Uploading R F ID Data .................................................................................................. 2-15
Defining the C om m unic ation S ettings Pac ket ............................................................... 2-16
Defining the B ac kfee d C ontrol P ac ket ......................................................................... 2-17
Spec ial Cons ider ations W hen Us ing Bac kfeed .......................................................... 2-18
Defining the Mem ory C onfigurat i on Pac ket .................................................................. 2-19
Chec king Cur rent B uffer Siz es ................................................................................. 2-20
Classification: Avery Dennison – Public Table of Contents i
Page 4
About Mem ory Buf fers ................................................................................................ 2-20
Buffer Al loc ation Cons ider ations .............................................................................. 2-21
Memor y Cons iderat io ns wit h Dow nloaded Tr ueTy pe Fonts ......................................... 2-21
About Flas h Memory ................................................................................................... 2-21
Form atting F las h Memory......................................................................................... 2-21
Chec king Availab le F las h Mem ory ............................................................................ 2-21
Flas h Memor y Guidelines ......................................................................................... 2-22
Clearing P ac kets from Memory.................................................................................... 2-22
Defining the Tim e/ Date P ac ket .................................................................................... 2-23
Using the Font P ac ket ................................................................................................ 2-24
Uploading For m at Header Inform ation ......................................................................... 2-27
Defining a Netw ork Cons ole P ac ket ............................................................................. 2-28
Defining the R F ID Set up Pac ket .................................................................................. 2-29
Perfor m anc e Consider ations wit h RFID..................................................................... 2-31
DEF IN ING F IE LD S ...................................................................................................... 3-1
Defining the For m at Header ..........................................................................................3-1
Defining Text Fields .....................................................................................................3-2
Defining B ar C ode Fie lds ..............................................................................................3-7
Defining Non-Printable Text Fields .............................................................................. 3-22
Defining C ons tant Text Fields ..................................................................................... 3-23
Defining Li ne F iel ds .................................................................................................... 3-27
Line Types .............................................................................................................. 3-27
Defining B ox F ields .................................................................................................... 3-29
Defining the R F ID D ata Fiel d ...................................................................................... 3-31
DEF IN ING F IE LD OP T IO NS ........................................................................................ 4-1
Applying F ield O ptions..................................................................................................4-1
Com bining Field O ptions ............................................................................................4-1
Classification: Avery Dennison – Public Table of Contents vii
Page 10
viii Packet Reference Manual Classification: Avery Dennison – Public
Page 11
GETTING STARTED
1
This m anual provides the nec es s ar y inform ation t o des ign, wr ite and pr int a
Monarc h® Printer Control Language II (MPCLII) form at on t he Avery D ennis on® Monarch®
Tabletop Pr inter 2 (ADTP2). R eview the pr inter inf orm ation in the O perator’s Handbook and
System Administrator’s Guide. This manual als o inc ludes basic infor m ation for the Avery
Dennis on® Monarch® Ec oC ut™ Tabletop P rinter 2. For detailed infor m ation about the E c oCut
printer, refer to the EcoCut Operating Instructions on our W eb s ite.
About This Ma nual
You do not need t o be a progr am m er to use this m anual, but you m us t be familiar w ith c reat ing
text files and us ing bas ic com m ands . This c hapter des c ribes how to
♦ cr eate and dow nload a s am ple MPCLII pac ket.
♦ design an MPCL II pac ket w ith or w ithout an R FID field.
See “D efining Text Fields” in Chapt er 3 for a lis t of available fonts for the printer . S ee Chapter 4,
“Defining Field O ptions,” for a lis t of available options for the printer.
Befor e You B e gin
1. Connec t the pr inter to t he hos t. R efer t o the System Administrator’s Guide for m ore
information.
2. Load s upplies in the print er. Refer to the Oper ator’s H andbook for more information.
3. Turn on the pr inter.
4. Set the c om m unic at ion par am eters and c onfigur e the pr inter. The c om m unic at ion parameters
at the print er m us t matc h those at the hos t . See C hapter 2, “C onfiguring the P rinter
information.
5. Design the f orm at. S ee “Des igning a F orm at” for m or e inform at ion.
6. Download the for m at to the pr inter. S ee Chapter 6, “ Printing,” for more information.
,” for m ore
Cr eat ing an MPC LII Form at Packet
A form at defines whic h f ields appear and w here the fields ar e printed on t he label. The pr inter
requires this inf orm ation in a s pec ial f orm , us ing Monarch® Print er C ontrol Language II ( MPCL).
This section describes how to create a sample MPCLII format packet.
MPCLII formats designed for another MPCLII printer s uc h as the 9855® or 9825® printer c an be
printed on this printer .
For detailed information about the form at header, text, cons tant text, and bar code fields, see
Chapter 3, "D efining Fields." For inform at ion about batc h pac kets , s ee Chapter 6, “ Printing
1. Type the following form at header in any text editor:
{F,25,A,R,E,200,200,"FMT-25" |
2. Type the following c onstant text field:
.”
C,140,40,0,1,2,1,W, C, 0 ,0, " S AM P LE FOR MA T " ,0 |
3. Type the follow ing bar code field:
B,1,12,F,85,40,1,2,40,5,L,0 |
4. Type the following text field:
T,2,18,V,5 0, 50 ,1 ,1 ,1 ,1 ,B, L ,0 ,0 ,1 | }
This is an MPCLII for m at pac ket. Next, create a batc h pac ket befor e printing the for m at.
Classification: Avery Dennison – Public Getting Start ed 1-1
Page 12
5. Type the following batch header, after t he t ext field line:
{B,25,N ,1 |
6. Type the following bar c ode dat a:
1," 02802 8 11111 " |
7. Type the following text field data:
2,"TEXT FIELD" | }
8. Save the fil e as SAMPLE.FMT.
9. Type MOD E C O M1:9600,N,8,1 at the Command prompt when us ing s er ial c om m unic ations .
This sets the communication parameters at the hos t. Thes e c om m unic at ion param eter s m us t
match those at the printer . See “ Setting Serial Communication Parameters
the host’s doc um entation for m ore infor m ation.
10. Type C OP Y SAMP LE.FMT C O M1. The follow ing 2 inc h by 2 inch
label prints :
{F ,25,A ,R , E ,200, 200, " F m t 25" |
C,140,40,0,1,2,1,W, C, 0 ,0, " S AM P LE FOR MA T " ,0 |
B,1,12,F,85,40,1,2,40,5,L,0 |
T,2,18,V,5 0, 50 ,1 ,3 ,1 ,1 ,B, L ,0 ,0 ,0 | }
Before des igning a form at, ans w er thes e ques t ions . How large is the s upply, w hic h fonts should
be used, s hould a bar c ode be included, what about a graphic ? Ther e are s ever al s teps to
designing a custom format:
Determine the label s iz e. Labels are available fr om Avery Dennison in a w ide variety of s iz es .
The application and the am ount of printed dat a determ ine the s upply s iz e. Contac t your Ac c ount
Manager or Tec hnic al Suppor t for m ore inform ation.
1. Draw a r ough s ketc h of the label. Note any areas that are preprinted on the label, suc h as a
logo.
2. Identify the field types that appear on the label. See “About Field Types
information.
3. Dec ide w hic h fonts to us e. W hen wor king with f onts, there are thr ee c ons iderat ions : font
appearanc e, font s iz e (sc alable or bitm apped) , and font s pac ing (m onos pac ed or
proportional) . The Tr ueType® s c alable font , EFF Sw is s B old™ ( font 50) is s tandard on the
printers . See Appendix B, “Fonts
At this point, send the des ign t o the printer . To do this :
4. Create a form at pac ket. S ee Chapt er 3, “ Defining F ields
5. Download the format packet to the printer . See C hapter 6, “Printing,” f or m ore inf orm ation.
Keep backup copies of the for m at, batc h data, c hec k digit, and gr aphic pac kets .
,” for sam ples of each f ont.
,” for m ore infor m ation.
” for m or e
1-2 Packet Reference Manual Classification: Av ery Dennison – Public
Page 13
RFID Format Design Tips
Di e C ut
Aperture
Black M ar k
Measure this
Do not print
Measure this
Measure this
This s ec tion provides s om e tips about des igning f orm ats on large-gap R FID s upplies .
Printing over t he RFID inlay may cause printing irregularity.
Do not use skip index wit h RFID supplies. Unexpected res ult s may occ ur .
1. Determine the label length. Measure the supply according to the supply type:
♦ Die c ut s upplies :♦ Measur e from the leading edge of one label to the leading
edge of the next label accounting for the die cut gap in the
form at header .
♦ Blac k m ark s upplies :♦ Measur e from t he top of one blac k m ark to the top of t he
next blac k m ark.
♦ Aperture s upplies: ♦ Measure f rom the top of one aper ture hole to the top of the
next aperture hole.
The leading edge is t he edge of the label that exits the pr inter fir s t; r egardles s of how the for m at
is des igned on the label.
Us e the Monarch® R FID Print er Set up Utility t o c onfigure the printer (r ead and wr ite power,
position settings, etc.) for t he RF ID supplies . F ind this W eb-based utility at
2. Enter the label length for parameter f6. length in the for m at header. See “D efining the
Form at Header” for more information.
3. Determine the label width. Measure t he w idth of the printable area of the supply. Do not
include the liner (bac king paper ) in this dim ens ion.
4. Enter t he label w idth for par am eter f7. width in the for m at header. S ee “
Header” for more inf orm ation.
Classification: Avery Dennison – Public Getting Start ed 1-3
Defining t he Form at
Page 14
Determining the Print Area
Unit of
Max. Supply
Max. Print Area
Min. Supply
Min. Print Area
English
432 x 1750
409 x 1600
75 x 32
75 x 32
Dots (300)
1296 x 3750
1248 x 3600
225 x 96
225 x 96
The “bottom ” (or leading edge) is t he edge that exits t he printer firs t . The 0,0 point is at the
bottom left corner of the label. The print area is center jus t ified.
Measure
Metric 1080 x 4445 1038 x 4064 191 x 81 191 x 81
Dots (203) 877 x 3553 832 x 3248 152 x 65 152 x 65
Longer im ages can be c reated by reallocating memory to increase the im age buffer . S ee
"D efining the Memory Configuration Packet
(Wid x Len)
(Wid x Len)
" in Chapter 2 for m or e inform at ion.
(Wid x Len)
(Wid x Len)
Non-Print Zones
The following non-print zones are recommended
Left and R ight 0.025 inc hes ( 0.6m m or 5 dots) on either edge of the label.
Top and Bott om 0.025 inc hes ( 0.6m m or 5 dots) on the leading and trailing edge of the label.
The leading edge is t he edge of the label that exits the pr inter fir s t; the t railing edge is the edge
of the label that exits the print er las t; regardles s of how the f orm at is des igned on t he label.
Use the following form ulas to convert inches to dots and m etric:
Dots = inches x 203 (or 300 dot s per i n c h )
Metr i c ( 1/ 10m m ) = i n ch es x 254
En gl i sh ( 1/ 100 i n ch ) = 100 x (dot s/203 ) or (dot s/300 )
Dots = Metric (1/ 10 m m) x 799/1000 (or 1181/100 0 )
300 dpi depends on the printer.
Using Supply Layout Grids
A s upply layout grid c ontains m eas urem ent markers .
Thes e m arkers help ac c ur ately pos ition infor m ation
on the label.
Dec ide w hether to des ign for m ats using Englis h, Metric ,
or Dot m eas urem ents . Choos e from the following gr ids :
English The Englis h gr id is m eas ured in 1/100 inc hes .
Metric The Metr ic grid is m eas ured in 1/10 m illim eters
(mm).
Graphic The printer us es dots to print im ages on a label.
The printhead has 203 dots per inc h (dpi) or an
optional 300 dots per inc h printhead.
Choos e Englis h or Metric units w hen des igning for m ats
to us e with differ ent pr inters . E nglis h or Metric units
allow m or e direct us e of for m ats on printers wit h
different dens ity printheads .
Supply layout gr ids are in Appendix D , “
Tools.”
Format Design
1-4 Packet Reference Manual Classification: Av ery Dennison – Public
Page 15
About Field Types
Field Type
Description
Examples
Decide what infor m ation to pr int on the for m at fr om the follow ing c ategor ies .
Text Contains lett ers , num ber s , or sym bols . item num ber , item des c ri ption,
departm ent num ber , pric e, dat e
NonPrintable
Text
Bar C ode Used for print ing bar c odes that c an be
Constant
Text
Line or Box Highlights or separates items. line mar king out the regular pric e,
Graphic Contains a bitm ap im age or a
RFID Contains the R FID data to pr ogram into
All of the above field types except graphic s are disc uss ed in Chapter 3. See Chapter 5,
“Creating Graphic s
Holds data for us e later, such as for
mer ging into another field. The pr inter
does not print non-pr intable text fields .
scanned.
Prints f ixed c harac ter s t hat do not
change.
compliance label overlay.
the RFID inlay.
” for inf orm ation on inc luding gr aphic s in the format.
cit y, s tate, and z ip c ode to be
included in a bar c ode
item or s erial num ber s , zip c odes ,
information not visible to c us t om ers
com pany nam e, com pany addres s
border ar ound the s upply
logos
EPC Class 1 Gen2 data
Classification: Avery Dennison – Public Getting Start ed 1-5
Page 16
1-6Packet Reference ManualClassification: Av ery Dennison – Public
Page 17
CONFIGURING THE PRINTER
2
This c hapter dis c us s es how to
♦ set communication parameters.
♦ upload the print ers c onfigur ation or f ont inform at ion.
♦ conf igure the printer us ing online configur ation packets .
♦ use im m ediat e c om m ands t o cont rol the pr inters oper ation at any tim e.
Setting Serial Communication Parameters
For s erial c om m unic at ions , the communication settings at the printer m ust m atc h those at the
host. Us e t he Communication Settings Packet to s et these parameters.
Us e th e MOD E c om m and (from the C om m and prompt) to set communication values on the PC.
For exam ple
MODE COM1:9600,N,8,1
This command sets the host to thes e c om m unic ation values: 9600 baud, no par ity, an 8 bit w ord
length, 1 s top bit.
About the ACK/NAK Protocol
Using vers ion 1.10 or greater firm w are, t he printer s upports the ACK/NAK pr otoc ol. S ee
“Sending Imm ediate C om m ands
” for more information.
Using M PCLII Convent ion s
Here are some guidelines to follow when using MPCLII.
MPCLII Punctuation
Use the follow ing s ym bols when cr eating MPCLII pac kets :
Default
Character
{ (left brac ket) 123 st art of header
} (r ight brac ket) 125 end of header
| (ver tic al bar) 124 field s eparator*
, (comma) 044 param eter s epar ator
"ABC" (quotation
marks)
‘comment’
(s ingle quotation
marks)
* The field s epar ator is the s plit ver tic al bar ( |). The dec im al value is 124. T o enter this
char ac ter, use the Shift key plus the S plit Vertic al Bar key on the computer’s keyboard.
Depending on the text edit or, it may appear as a solid ver tic al bar or as a split verti c al bar.
Decimal
Value
034 Quotation marks enclose character s tr ings . Empty quotes ( " ")
039 Grave accents enclose comments. Any data enclosed in grave
Description
identify null st rings or unused f ields .
acc ent s is ignored. D o not em bed c om m ents within a quoted
st ring. Grave ac c ents are als o us ed to rejec t m ainf ram e data.
Classification: Avery Dennison – Public Configuri ng the Pr inter 2-1
Page 18
Standard Syntax Guidelines
When creating MPCLII packets:
♦ Begin eac h pac ket w ith a star t of he ader ({).
♦ End eac h pac ket wit h an end of header (}).
♦ Define no more than 1000 fields in a form at . Eac h | indic ates one field. However, opt ions are
not c ounted as fields. T he ac tual num ber of fields a f orm at c an have m ay be les s , becaus e the
number of fields is lim ited by the available m em ory.
♦ The field num ber ( 0 to 999) m us t be unique. Start at 1, ins t ead of 0.
♦ Do not us e a field num ber m ore than onc e per form at.
♦ Define all f ields in the or der to im age/pr int them . The printer does not pr int in field num ber
order.
♦ Separate all par am eters w ith a Parameter Separator (,).
♦ End eac h field with a Fie ld S e parator (|).
♦ Enter all inform ation in CAPITAL letter s, except wor ds or phr ases wit hin quotation marks .
♦ Include all param eters for a field unless docum ented as optional.
♦ Define non-print able text fields before the field to whic h they apply.
♦ Define options im m ediately aft er the f ield to w hic h they apply.
♦ Multiple opt ions c an be us ed with m os t fields. O ptions can be us ed in any c om bination exc ept
as not ed with eac h definition. Options ar e proc es s ed in the or der they ar e rec eived.
♦ Keep in m ind that pr oportionally s pac ed fonts need w ider fields t han m onos pac ed fonts. For
variable field data, us e a letter W to determine the maxim um field siz e.
♦ Do not plac e a new line ( retur n) or any ot her non-printing char acter within a field definition.
However, a car riage r eturn or line break af ter eac h | m akes form ats easier to read.
♦ Spac es are ignored, exc ept w ithin c harac ter s trings .
♦ Indenting options improves readability of form ats.
T,1,18,V,30,30,1,1,1,1,B,C,0,0,0 |
R,42,1 |
♦ Use a tilde ( ~) follow ed by a 3-digit ASCII c ode in a quot ed s tring t o s end func tion c odes or
extended c harac ter s or send the 8-bit ASCII code.
Modify for mats and fields with the optional entry m ethod. See “Optional E ntry Method
” in C hapter
6 for m ore inf orm ation.
2-2Packet Reference ManualClassification: Av ery Dennison – Public
Page 19
Using Onl ine Configur ation Pac ke ts
{
I,
Configur ation Header
1 - 10 optional r ec ords
A, par am et er 1 .. .p arameter 5 |
System Setup
B, par am et er 1... p arameter 6 |
C, par am et er 1... p arameter 7 |
Print C ontr ol
D, par am et er 1 .. .p arameter 3 |
Monetary Formatting
E, parameter 1...parameter 9 |
F, parameter 1...parameter 5 |
Communication Settings
G , par am et er 1...paramet er 3 |
M, parameter 1...parameter 3 |
Memor y Configur ation
T, parameter 1...parameter 5 |
Y, parameter 1 parameter 5 |
RFID Setup
}
End of Header
Use online c onfigur ation pac kets to change the print er’s s et tings . Send an individual
conf iguration pac ket or a s ingle pac ket c ontaining all the configur ation packets . Supply all
param eters for eac h pac ket. Leave the par am eters blank t hat do not need to c hange. For
example,
{I,A,,,,1 | }
prints a slashed zero and uses the last sent online System Setup parameters.
Make a c opy of the online c onfigur ation w orks heet in Appendix D , “Format Design Tools
save the or iginal. All online configur ation packets are lis t ed on the w orks heet.
When turning off the printer, all the inform ation in the online configur ation packets is saved and
used w hen the pr inter is t urned bac k on. After c hanging the printer’s c onfigur ation, r es end the
form at, bat c h, or gr aphic to the pr inter befor e the changes take effec t.
,” and
Configuration Packet Header
Always inc lude an I, immediat ely after t he left br ac ket { and before the pac ket ident ifier (A, B, C ,
etc.). The I param eter identifies the data stream as a configur ation packet.
Note:Include the I param eter w ith eac h pac ket if s ending t hem individually. Include it only at
the beginning of a data s tr eam if s ending m ultiple pac kets .
Us e this s yntax to create online c onfiguration pac kets:
Syntax
Start of Header
Supply Setup
Contr ol Char ac ters
Bac kfeed Cont rol
Time/Date
Syntax for single pac ket
{Start of Header
I, Configur ation Header
A, par am et er 1 .. .p arameter 5 | System Setup
} End of Header
Add a c onfiguration to R AM or s pec ify units for s upply, pr int, m ar gin, and c ut positions . If us ing
the optional param eter s with the I packet, any online configur ation packets f ollowing the split
vertic al bar (|) mus t s pecify dis tanc es using the s el ec ted units . However, the tes t labels dis play
the units in dots , even if entered in Englis h or Metrics units .
Classification: Avery Dennison – Public Configuri ng the Pr inter 2-3
Page 20
Syntax {header,ID#,action,device | }
1. header Constant I.
2. ID# ID . Us e 0.
3. ac tion Action. O ptions:
A Add configuration.
U Upload Us er C onfigurat ion.
4. dev ic e Storage D evic e. Use R (Volatile RAM).
5. units Units. ( O ptional param eter .) O ptions :
E English
M Metric
G Dots
Example {I,0,A,R,E |
C,0,25,0,0,0 | }
Adds a c onfigurat ion to volatile RAM and s pec if ies English units . It also uses the default c ontras t,
moves print 0.25 inc hes clos er to the bottom of t he s upply and does not c hange the m ar gin
adjust ment, prints at the default print speed, and uses the default pr inthead width.
If optional param eters are not used, the s yntax for the online c onfigurat ion pac kets does not
change. For exam ple,
{I,C,0,50,0 ,0 ,0 | }
uses the default contras t, m oves pr int 50 dots (0.25) inc hes c loser to the bottom of the supply
and does not change the mar gin adjustm ent, prints at the default print s peed, and uses the
default printhead w idth.
Example {I,0,U,R | }
Uploads the printer c onfiguration from volatile RAM and retur ns t he following to the hos t.
The param eter s for eac h pac ket ( A-Y) ar e dis played. In the firs t line that begins w ith M, 30715 is
the total volatile memory available, 23995 is the mem ory available in volatile R AM. There is no
non-volatile RAM available. The remaining lines beginning with M lis t the buffer s iz es in 1/10K for
the Image, Downloadable Fonts, and Formats Buffers.
2-4 Packet Reference Manual Classification: Av ery Dennison – Public
Page 21
Configuration Syntax Guidelines
W hen cr eating a printer c onfiguration packet:
♦ Follow the S tandard S yntax Guidelines lis ted at the beginning of this m anual.
♦ The firs t c har ac ter after the start of header ({) is the configuration he ade r (I).
♦ Dow nload m ultiple c onfigur ation pac kets w ithin one pac ket or dow nload a s ingle c onf iguration
packet.
♦ If changing any of the online c onfiguration pac kets , res end the for m at pac ket to the pr inter, s o
the configuration changes take effect.
♦ Include the firs t five ANSI c odes, at a m inimum , in the contr ol charac ters packet.
♦ Send c onfigurat ion pac kets onc e per s es s ion (each t im e the printer is tur ned off and then bac k
on), not w ith every f orm at or batc h pac ket.
♦ The printer us es the s ettings from the print er c onfigur ation pac kets until a new c onfigurat ion
packet is s ent ; or a s ett ing is adjusted thr ough the print er’s m enu.
Making Pr int Adjustme nts
Horizontal and ver tical adjustm ents c an be made by adjusting the supply, pr int, or mar gin
posit ions. However, keep in m ind the following:
♦ Supply adjus tments acr oss the width of the supply, s uc h as the m ar gin pos ition, ar e bas ed in
dots- either 203 dpi or 300 dpi, depending on the printhead dens ity.
♦ Supply adjus tments for the length of the s upply, s uc h as s upply pos ition or print adjus tm ent ,
are always m eas ur ed in 1/203 of an inc h, regardles s of the printhead dens ity.
Defini ng the S ystem Setup Packet
Use the s ys tem setup pac ket ( A) t o s elec t the pow er up m ode, dis play language, pr int s eparat ors
between batches, print a slashed zero, and select the symbol set.
A1. A System Setup Packet
A2. powup_mode Pr inter ’s power up m ode. 0 is the def ault. O ptions :
0 online m ode. P rinter is ready to r ec eive data and pr int.
1of fline mode. Oper ator c an s elec t a form at and enter data t o print.
A3. language Dis play Language. 0 (English) is the default. Options
0 E nglis h
1 Français 8 Español-MX
2 Deutsch 9 Dansk
3 Español-ES 10 Nederlands
4 ニホンゴ13 Polski
5 Português 14 Türkçe
6 Italiano 15 简体中文
7 Svenska 16 Français-CA
A4. s ep_onBatc h Separ ators . 0 is the default. Do not us e batch s epar ators
with c ontinuous ( non-indexed) supply.Options:
0 D oes not print a separ ator
1 P rints a s epar ator
2 Double-length s eparator – print 2 tags
Classification: Avery Dennison – Public Configuri ng the Pr inter 2-5
Page 22
A5. s las h_zeroSlas h Zero. 0 is the default. Options: 0P rint a s t andard zero
1P rint a z er o wit h a s las h through it A6. s y m bol_s etSymbol S et. 0 is the default. Options: 0Internal
1 ANSI
2 C ode Page 437 ( Latin U.S.)
3 C ode Page 850 ( Latin 1)
4 C ode Page 1250 ( Latin 2)
5 C ode Page 1251 ( Cyrillic )
6 C ode Page 1252 ( Latin 1)
7 C ode Page 1253 ( Greek)
8 C ode Page 1254 ( Turkis h)
9 C ode Page 1255 ( Hebrew)
10 C ode Page 1256 ( Arabic)
11 C ode Page 1257 ( Baltic )
12 C ode Page 1258 ( Vietnames e)
13 D OS Code Page 852 (Latin 2)
14 D OS Code Page 855 (R us s ian)
15 D OS Code Page 857 (IBM T urkis h)
16 D OS Code Page 860 (P ortugues e)
17 Wingdings
18 Macintosh
19 Unicode
20 BIG5
21 GB2312
22 SJIS to SJIS (C P 932, Japanes e)
23 GB2312 to GB2312 ( CP 936, Sim plified C hines e)
24 BIG5 t o BIG5 (C P 950, T raditional C hines e)
25 KSC5601
26 Unicode UTF-8
The Standar d, R educ ed, Bold, O C RA and HR fonts only s uppor t
the Internal S ymbol S et (0) . The C G Trium virate™ typefac es only
suppor t the ANSI (1) and D O S Code Page 437 (2) and 850 (3)
Sym bol Sets . T he s c alable font (f ont#50) does not s upport C ode
Page 1256 Arabic (10) . C ode pages 13-16 and 4-12 ar e for
downloaded Tr ueType fonts or the s c alable font . Code pages 1926 r equire a downloaded International TrueType font. Tr ueType
fonts are des igned t o be regionally s pec ific ; therefor e, all c ode
pages m ay not be s uppor ted in a given font. See Appendix C ,
“Symbol Sets/ Code Pages
” for mor e inform ation.
Example {I,A,0,0,1,1,0 | }
Power s up the print er in the online m ode, dis plays pr om pts in English, pr ints a s eparator after
each bat c h, prints z er os with slas hes through them , and us es the internal s ym bol set.
2-6Packet Reference ManualClassification: Av ery Dennison – Public
Page 23
Defining the Supply Setup Packet
Use the supply setup packet (B) to sel ect supply type, ribbon, feed mode, su pply position, cut
position, skip index mode, and cut mode.
feed 1.5 inches of suppl y when calibrating or whenever Fe ed
is pressed.
3 Center Aperture
4 Reserved
5 Tag Edge Aperture (c ommonly with RFID)
6 Center Tag Edge
7 Edge Black Mark
8 Center Die Cut
Use continuous supply in continuous mode.
If the supply has black marks, always use black mark sensing
whether or not the supply has attacher holes.
B3. ribbon Ribbon. 1 is the default. Options: 0 Ribbon not installed
1 Ribbon installed
2 High Energy Ribbon. Use a print speed of 2.5 IPS with the
high energy ribbon. Serial bar codes cannot be printed with
the high energy ri bbon.
Settings for ribbon and supply type must match the supplies
loaded in the printer; otherwise, an error occurs. To clear the
error, change the configuration packet and resend it.
Classification: Avery Dennison – Public Configuring the Printer 2-7
Page 24
B4. feed_m ode Feed Mode. 0 is the default. Options:
0 Continuous oper ation (not rec om m ended for Ec oC ut).
1 On-dem and m ode. Thi s is the default for E c oCut printers .
2 Liner take-up
B5. s upply _pos nS upply Position. Adjusts the position of the s upply relative to
the index m ar ks in the feed direc t ion. Range: -300 to 300 in
1/203 inc h. 0 is t he default. Incr eas e the s upply pos ition t o
move pr int up, dec r eas e to m ove print dow n on the label. This
adjustment accounts for mechanical tolerances from machine
to m ac hine. The s upply pos ition adjus tm ent only needs to be
made on t he initial m ac hine s etup.
The s upply pos ition c annot be c hanged w hile the pr inter is
act ive. Changing t he s upply pos ition effects the pr int pos ition,
dispens e pos it ion, and bac kfeed dis tanc e. Onc e the supply
posit ion is set, us e the pr int c ontr ol pac ket and bac kfeed
cont rol pac ket to adjus t printing and the dis pens e pos it ion.
B6. c ut_pos nCut pos it ion. Range: -300 to 300 in 1/ 203 inc h. 0 is the
default. Adjust s wher e the tag is c ut. The printer adjusts the
cut pos ition ac c ording to t he index marks on the supply.
Aperture s upplies m ay need adjustments. Incr eas e to m ove
the c ut up, dec r eas e to move the c ut down.
B7. skip_indexSkip index m ode. 0 is t he default. Options: 0 Disable s kip index m ode
1 Enable s kip index m ode. Allows the pr inter to s kip (ignor e)
a sense mark and pr int an im age over m ultiple labels .
Note: D o not us e s kip index w ith R FID supplies . Unexpected r es ults m ay oc c ur!
B8. cut_modeE nables or dis ables the opt ional c utter . 0 (does not c ut) is the
default. We do not recommend cutting die cut label supply.
Options:
0 Does not cut.
1 Cuts each tag. This is the default for EcoCut printers.
2 Cuts in strips, not each tag. We do not recommend this
m ode w ith Ec oC ut printers .
B9. non_index _len Spec ifies the feed length for EcoCut continuous/non-indexed
(no index marks for sensing) supplies. When this par am eter is
a non-zer o value, the printer uses it, ins tead of the length in the
form at header . R ange: 1218 to 3248 in 1/203 inc h f or 203 dpi
or 1800 to 4800 in 1/300 inc h for 300 dpi. The default is 1218
(6.0 inches at 203 dpi) , 1800 (6.0 inc hes at 300 dpi ), or the las t
used for m at length. 0 indicates the value is not set (the printer
uses the length in the format header). This value is ignored on
non-Ec oCut pr inters .
Example {I,B,0,0,1,10,50,0,1,0 | }
Indicates blac k m ark and therm al dir ec t s toc k has been loaded, c aus es the printer to oper ate in
on-demand m ode, f eeds the s upply approxim ately .05 inc hes up befor e printing the f orm at on
each label (10/203 inc hes), feeds the supply .25 inches (50/203 inc hes) before c utting, disables
skip index m ode and c ut s each tag. No value is s et for non-indexed length.
Example {I,B,2,0,2,0,0,0,1,609 | }
Using the E c oCut™ printer, c ontinuous ther m al direc t E c oCut supply is loaded; the pr inter
operates in liner take-up m ode; values ar e not s et for s upply or c ut pos ition or s kip index m ode.
The Ec oC ut printer c uts after eac h tag and eac h tag is 3. 0 inc hes long (609 dots ) .
2-8Packet Reference ManualClassification: Av ery Dennison – Public
Page 25
Defini ng the P r int Cont r ol P ack et
Print Speed
Printhead Density
Minimum Bar Code Narrow E lement
2.5 ips
203/300 dpi
Less than 3 dots
4.0 ips
203 dpi
3 dots
Use the pr int c ontrol pac ket ( C) to set the c ont ras t, print, and m ar gin adjus tm ent, pr int s peed,
and im age rotation.
C1. C Print Cont rol Packet
C2. c ontr as t Print C ontr as t. R ange: -699 to 699. 0 is the default. Us ing 399 or
higher dis plays a warning mes sage and trac ks high ener gy
inches. S olid blac k print c annot exc eed 30% of any given s quar e
inch of the s upply.
C3. pr int_adjPrint adjus tm ent (pos it ion). Adjus ts the im age’s pos ition on t he
supply in t he feed direc t ion. Range: -450 to 450 in 1/ 203 inc h for
203 dpi or 1/300 inc h f or 300 dpi. 0 is the default . Increas e the
print pos ition t o m ove print up, dec r eas e to m ove print dow n.
C4. m ar gin_adj Margin adjust m ent (pos iti on). Adjusts w here the f orm at pr ints
side t o s ide on the s upply. Range: -99 to 99 in 1/203 inc h or
1/300 inc h for 300 dpi pr inters ) . 0 is t he default. Increas e the
mar gin pos ition to m ove pr int to the r ight, dec r eas e to m ove print
to the left. Margin and pr int pos ition ar e for m at adjustm ents .
They do not af fec t the s upply pos ition, dis pens e pos ition, or
backfeed dis tance.
C5. s peed_adjPrint Speed in inc hes per s ec ond (ips). 0 is the default. The
maxim um print s peed us ing TuffMark® s upply is 2. 5 ips. Options:
0pr int at 6. 0 ips , form at s with s er ial bar c odes print at 2.5 ips
25 2.5 ips ( us e for high ener gy ribbon)
40 4.0 ips ( rec om m ended for supply lengt hs les s than 1.2”)
60 6.0 ips
80 8.0 ips
The R FID s ettings in t he Eas y Setup Menu and t he RFID P rinter
Setup Utility are bas ed on enc oding 96-bits of EPC data w ith a
lock c ode. If your R FID data is m ore com plex than 96-bits of
EPC data w ith a loc k c ode, you m ay need to dec reas e the
printer’s s peed in non-s top enc ode m ode. S ee “
RFID Data” for m or e inform at ion about us ing a loc k c ode.
Serial bar code printing information:
Creat ing Gen2
6.0 ips or great er 203 dpi 4 dots or m ore
Serial bar c odes with an 8-dot narrow elem ent do not
C6. ph_width W idt h of the print head in dots . Use 0.
C7. bat_v olt Battery voltage. Use 0.
Classification: Avery Dennison – Public Configuri ng the Pr inter 2-9
autom atic ally print at 2.5 ips . S erial bar c odes printed at s peeds
greater t han 2.5 ips may not scan properly.
Page 26
C8. r otate_im g Image r otation. R otates the pr inted im age 180° . Design formats
as needed, s o image rotation is not r equired. 0 is the default.
Options:
0 No rotat ion
1 180° rotat ion
Note: The im age length and width must exactly match the loaded
supply or the rot ated im age does not pr int c orr ec tly.
Example {I,C,0,-20,-10,0,0,0,1 | }
Uses the default c ontr as t, moves print 0. 1 inc h c los er to the bottom of the s upply ( 20/203 inc hes )
and .05 inc h to the lef t on the s upply ( 10/203 inc hes ), prints at s ix inc hes per s ec ond, uses the
default printhead w idth, the battery voltage is ignored, and r otates the im age 180° .
Def ini ng t he M onetary Form atting Packet
The m onetary for m atting pac ket ( D) s elec ts the m onetar y sym bols to print for a pric e field. Use
the m onetary for m atting pac ket to s elec t prim ary and s ec ondary monetar y s ymbols , and
designat e the num ber of digits to appear at the r ight of a dec im al.
Syntax {I,D,cur_sym,secondary,decimals | }
D1. D Monetary F orm atti ng Pac ket
D2. c ur _s y m Cur renc y Sym bol. 1 is t he default. Selec t the internal s ymbol
set to us e t hes e s ymbols . Options:
0 No s ymbol 9F inland ( , Markka)
1 USA ($, D ollar) 10 Austria ( , Shilling)
2 UK ( £, Pound) 11 India (Rs, Rupee)
3 Japan ( ¥, Yen) 12 Russian ( , Ruble)
4 Germ any ( , Deuts c he Mark)
5 F ranc e (F , Franc ) 13 K orean ( , Won)
6 Spain (P, Peseta) 14 Thai ( , Baht)
7 Italy ( L., Lir a) 15 Chines e ( ¥, Yuan)
8 S weden ( Kr , Kr ona) 16 E uro ()
D3. s ec ondar y Sec ondary Sign. Sec ondary sym bols only pr int if at least one
decim al plac e is used. 0 is the default. Options:
0 No s ec ondary s ign
1 P rint s ec ondar y s ign
D4. dec im als Number of digits to t he right of the dec im al. 2 is the def ault.
Options:
0 No digits
1 O ne digit
2 T wo digits
3 T hree digits
Example {I,D,1,1,2 | }
Prints t he dollar s ign, us es a sec ondar y sym bol, and plac es t wo digits t o the right of the dec im al.
2-10Packet Reference ManualClassification: Avery Dennison – Public
Page 27
Defini ng the Contr ol Characters Packet
Code
Description
Character
~123
Start of header
{ ( left bracket)
~044
~034
~124
~125
End of header
} (r ight brac ket)
~126
defined
Immediat e comm and
^ ( c aret ~ 094) is
Up to any 3 c har ac ters in the 0 to 255 decimal range. The
Use the c ontr ol c harac ter s packet (E ) to c hange the MPCLII c ontr ol c harac ter s , enable and
disable the im m ediat e c om m ands , and change the default ter m inator c har ac ter f or job reques t s
and ENQs .
Changes take eff ec t wit h the firs t c harac ter following t he end of header c harac ter of the
conf iguration pac ket. Eac h c ontr ol c harac ter must be unique and c annot appear anywhere els e in
a pac ket, except within quotation m arks. Customize the trailer c haracters to w ork with the host.
Note:W ait two s ec onds for the new c harac t ers to take eff ec t before s ending pac kets using the
new c harac t ers .
If us ing s ym bol s et 110 (Unic ode UTF-8) to pr int International char ac ters , set the MPCL c ontrol
characters (start of header, etc .) to dec im al values between 0 and 128; otherw is e, err ors m ay
occ ur with the Unicode dat a entered.
Use the follow ing s yntax for the c ontr ol c harac ter s packet. Notice all but t he firs t par am eter is
within quotat ion marks .
Syntax {I,E,"ANSI_cd","string1","str ing2" | }
E1. E Control Characters Packet
E2. “A NS I_c d”
Parameter separator , (comma)
Quoted s t rings “ (quotes)
Field s eparator* | vertic al bar
Data es c ape character
(optional)
character
character must be defined before this c om m and can be us ed.
The field s eparator is the s plit vert ic al bar ( |). The dec im al value
is 124. To enter this c harac ter , use the Shif t key plus the Split
Vertical B ar key on the computers keyboard. Depending on the
text editor, it m ay appear as a solid ver tic al bar or as a split
vertic al bar.
E3. “s t ring 1"Term inat or for s tatus requests and E NQ reques ts . Up to any 3
characters in the 0 to 255 decimal range. The default is “013".
Sending "" dis ables this s equenc e.
E4. “s t ring 2"Term inat or for job reques ts and data uploads . Up to any 3
characters in the 0 to 255 decimal range. The default is none.
Sending "" dis ables this s equenc e.
After changing thes e par am eters , all pac kets , inc luding any future c onfigur ation pac kets , m us t
use t he new c ontr ol c harac ter s . Use the tilde and ASCII char acter code sequenc e when s ending
this pac ket m ultiple tim es . Also, s et the pac ket delim iter s to c harac t ers within the 21 hex to 7E
hex range.
character (optional).
~~ (double tilde)
norm ally used
Send the c ontrol c har ac ters packet to enable t he im m ediate c om m ands . An im m ediate com m and
executes imm ediately, even if it is embedded within quotation m arks, and all data following the
com m and in the st ring is ignored.
Classification: Avery Dennison – Public Configuri ng the Pr inter 2-11
Page 28
Example {I,E,"~123~063~034~124~125~126~094" | }
Changes the par am eter s epar ator c har ac ter fr om , to ?. T he other c ont rol c harac t ers remain
unchanged. It als o enables the im m ediate c om m ands by defining the ^ s ym bol as the c om m and
identifier.
Resetting Control Characters
Change the c harac ter s in the previous exam ple bac k to their original s ett ings by downloading this
packet:
{I?E?"~123~044~034~124~125~126~094" | }
Notice that the param et er s eparat or is ? in this pac ket. T his is the param eter s eparator that w as
set before this pac ket. O nc e the packet is received by the pr inter, the new param et er s eparat or
(a comma, in this case) is valid.
Be c areful w hen us ing this feat ure. If you forget what the c ontrol c har ac ters were c hanged to,
print a test label. (The test label lists the c urrent c ontrol c haracter s.) See “Pr inting a T es t Label
in Chapter 8 for m or e inform at ion.
,”
Using Immediate Commands
Immediat e comm ands effec t printer operation as soon as t he printer rec eives them , even if they
are inc luded w ithin a pac ket or us ed ins ide quotat ion marks .
Us e im m ediate c om m ands to change im m ediate c om m and or stat us polling c ontrol c har ac ters ,
res et the pr inter, or c anc el and repeat bat c hes .
Enabling Immediate Commands
W hen the print er is firs t turned on, t hes e c om m ands ar e not available. To us e thes e c om m ands ,
send t he c ontrol c har ac ters packet and def ine the im m ediate c om m and contr ol c harac ter . The
imm ediat e c om m and c ont rol c harac t er is saved in non-volatile RAM s o it is not los t after turning
off the pr inter. O nc e the imm ediate c om m and contr ol c harac ter is defined, the im m ediate
commands are enabled.
Sending Immediate Commands
Immediate commands consist of a three- or f our-c harac ter s equenc e sent in a pac ket or
embedded in an application. Each command must be sent separately.
Syntax control character_immediate command
The printer c an ac c ept only one im m ediate com m and at a time. S ending a c om m and before the
previous one is c om pleted res ult s in an err or.
Example ^CB
Immediat ely c anc els the batch c urr ently printi ng unles s an error exis ts in the printer . This
example as s um es that the defined im m ediate com m and control c har ac ter is the c ar et (^).
2-12Packet Reference ManualClassification: Avery Dennison – Public
Page 29
The table repr es ents the defined im m ediate c om m and contr ol c harac ter as ^ and the defined
Command
Description
^CA
^CB
Canc els only the c ur rent batch being pr inted unles s an er ror exis ts .
^CT
Cut c om m and.
^DD or
^EA
Aborts an er ror c ondition. This c om m and is the s am e as pr es s ing ENTER to
^ER
Resets the error. This command is the same as pressing ENTER to
^FD
Feeds a label when pr inter is idle. S im ulates the operat ion of pres s ing FEED
^FF1
Formats flash memory
^FF2
Retur ns the am ount (in bytes ) of the available flas h m em or y.
^ID or
^LCx
^LE
^MC
^MD
^MI
Retur ns the c ustom er ID or RPQ revision level to t he hos t. ( 00 to 99)
^MM
Returns the m odel num ber to the hos t . M49 = ADTP2
^MP
^MR
Retur ns the r evision number to the host. (00 to 99)
^MV
Retur ns the vers ion num ber t o the hos t. ( 00 to 99)
^NR
Perfor m s a network fac tory r es et.
^PR
Res ets the printer. This c om m and takes five s ec onds to com plet e and then the
status polling control character as d. Thes e c har ac ters can be redef ined i f nec es s ary.
To us e the im m ediate c om m and control c har ac ter or the s tatus polling c har ac ter w ithin data, us e
the tilde s equenc e.
Canc els all the batc hes in t he printer 's queue unles s an er ror exist s on the
printer. This does not c anc el batches in the pr inter' s rec eive buffer .
Dis ables the MPCL data esc ape c harac ter (the tilde) and inhibits MPCL from
^DCd
act ing on ANY data es c ape sequenc e fr om the hos t. Sets the MPCL data
esc ape char ac ter to t he ASCII value given by the d param eter. The value can
be any ASC II c harac ter .
clear an error. May need to be sent multiple tim es. Use ^R B to reprint bat ch.
CAUTION: This c om m and caus es the curr ent batc h to s t op and the c ondition
that c aus ed the error to r em ain uncorrected.
acknow ledge an error. Norm al operation res umes .
^ICd
and dispens es the next label if printer is in the on-dem and m ode. The printer
ignores this c om m and if printing.
Disables the Immediate Command featur e by turning off the Immediat e
Command escape character. Sets the Immediate Command escape character
to the ASCII value given by the d par am eter. T he value c an be any ASCII
char ac ter. Use ^IE to enable im m ediate c om m ands .
Adjusts the LCD contrast. X range is 1 to 9; the default is 3. Must us e Version
1.9 or gr eater fir m war e.
Uploads the las t s uc c es s f ul E PC encoded data in ASCII Hex form at to the las t-
used communication port/channel.
Note: If the c om m and is s ent before pr inting is c om plete, the previous E PC
data (if any) is returned
Retur ns the c us tom er ID or RP Q version to t he hos t. (00 t o 99)
Retur ns the pr inthead dot density to the host. 00 = 203 dpi 01 = 300 dpi
Retur ns the protot ype num ber to the hos t. (00 to 99)
printer is ready t o rec eive data. It has the s am e effect as tur ning off and then
turning on the printer. This command should be used only when the pr inter is
not printing.
Classification: Avery Dennison – Public Configur ing the Pr inter 2-13
Page 30
Command
Parameter
^RB
Repeats the las t printed bat c h, printing the s am e number of labels as
spec if ied in the original batc h. This c om m and does not wor k if us ing batc h
^RM
Chec ks the RFID har dwar e vers ion.
^RS
Res ync hroniz es supply w hen s upply roll is c hanged. The pr inter ignores this
^SD or
Dis ables the status polling feature by turning off the stat us polling c ontrol
^SFa
Loads s c r ipt with hos t response.
^SFb
^SFc
^SFd
Disables script.
^SFe
^SFf
Deletes s c r ipt.
^SFg
^SFh
^SFi
Turns on im m ediate c om m ands before it reac hes the sc r ipt.
^SFj
Turns off im m ediat e c om m ands bef ore it r eac hes the sc ript.
^TC
^TP
Prints a t es t label. The pr inter ignor es this c om m and if print ing.
^UPD
^UPE
^VLC
Only clears the data that has been uploaded, not all the logged data. D ata is
^VLU
Uploads the log f ile to the las t port that rec eived hos t data ( s erial, USB, or
be clear ed after it has been uploaded.
separators. The printer ignor es this c om m and if print ing.
command if printing.
^SCd
char ac ter. Sets the s tat us polling c ontrol c har ac ter to the ASCII value given by
the d param eter . The value of d c an be any ASCII c harac t er.
Loads s c r ipt without hos t r es pons e.
Enables s c ript.
Uploads script version information.
Turns on ENQ s tatus polling befor e it r eac hes the sc ript.
Turns off E NQ s tatus polling befor e it r eac hes the sc ript.
Prints a s er ies of three tes t labels : pr inter, MNet2, and MPCL.
Disables ACK/NA K protocol.
Enables ACK/NAK pr otoc ol.
clear ed wit h this c om m and after a suc c es s f ul upload. Clear the log f ile after
uploading.
Ethernet ). R epeat this c om m and until data is s uc c es s fully uploaded. D ata c an
Using the ACK/NAK Protocol
Enable ACK/NAK with the ^UPE com mand.
The pr inter sends the log message (saved in RAM) to the hos t and waits for an ACK character
(hex 06) before the message is removed. Upon rec eipt of the ACK , the pr inter r eturns t he next
pending log mes sage, with the above sequenc e repeating until no m ore mess ages exist.
ACK/NAK E rror Handling
If five consecutive messages have been kept in RAM without rec eiving an ACK r es pons e, the
printer stops with the err or m es s age “Waiting for Hos t”. The operator c annot c lear this er ror and
no printer buttons are ac tive.
2-14Packet Reference ManualClassification: Avery Dennison – Public
Page 31
ACK/NAK E rror Recover y (“Waiting for Host” Message)
Depending on the hos t’s condition, the hos t m us t s end either an ACK or a NAK (hex 15) t o clear
the printer’s “Waiting for Hos t” mes sage and r estart the ACK/NAK proc ess . Once the printer
rec eives an ACK or a NAK, it autom atic ally pr oc es s es any pending print jobs . If no
unacknow ledged log m es s ages are saved, t he printer res ponds with a NAK t o any hos t ACK or
NAK m essage.
Uploading RFID Data
W hen the printer encodes an RFID inlay, the enc oded data is temporar ily s tored in the printer
until the next RFID inlay is encoded.
To upload the R FID EPC encoded data, s end im m ediat e c om m and ^LE.
Retrieving EPC Encoded Data
After the print er rec eives the im m ediat e c om m and, ^LE, the last successful EPC encoded data is
returned in ASCII Hex form at to the last-used communication port/channel.
The ^LE com m and mus t be s ent after a s uc c es s f ul enc ode and pr int. If the c om m and is s ent
before pr inting is c om plete, the previous EP C data ( if any) is r eturned.
Classification: Avery Dennison – Public Configuri ng the Pr inter 2-15
Page 32
Def ini ng t he C om muni cation S etting s Packet
Use the c om m unic ation sett ings pac ket (F) to s et the baud r ate, w ord lengt h, s top bits , parity,
and flow c ont rol for s erial c om m unic ations . Changing the communication settings takes
approxim ately tw o s ec onds . Comm unic ations sent during this inter val will be los t. The hos t
communication values must matc h the values on the pr inter. The hos t m us t be capable of
communicating at the selected printer speed.
Do not add any c har ac ters , s uc h as a c arr iage retur n/line feed, in the communication settings
packet or c om m unic ations errors may oc c ur.
F1. F Communication Settings Packet
F2. baud Baud Rat e. Options:
0 1200 2 4800 4 19200 6 57600
1 2400 3 9600 (def ault) 5 38400 7 115200
F3. word_length Word Length. Options:
0 7-bit w ord length
1 8-bit wor d length (default)
F4. s top_bits Stop Bits . Opt ions :
0 1-s top bit (def ault)
1 2-s top bits
F5. parity Parity. Options:
0 None (default )
1 ODD parity
2 E VEN parity
F6. flow _c ontrol Flow C ontr ol. If us ing t he CO PY c om m and to download f orm ats ,
set Flow Control to DTR (not XON/XOFF).Options:
0None 2 (CTS)
1DTR (default) 3 XON/XOFF
Example {I,F,3,1,0,0 ,1 | }
Uses 9600 baud, an 8-bit w ord length, one st op bit, no parity, and the DTR mode.
2-16Packet Reference ManualClassification: Avery Dennison – Public
Page 33
Def ini ng t he B ackfeed Cont ro l P acket
Use the bac kfeed c ontr ol pac ket (G) t o enable or dis able t he bac kfeed option, s et the dispens e
posit ion and the bac kfeed dis tanc e. Bac kfeed wor ks by advanc ing eac h pr inted label to the
desir ed dis pens e pos ition. O nc e that label is rem oved, the next label t o be printed is backed up
underneath the pr inthead.
In c ontinuous m ode, only the las t label in the batc h is advanced to t he dis pens e pos ition. Adjust
the dis pens e pos ition to allow labels to be r em oved, die c ut labels to be r em oved easily, or to
prevent them from falling off. W hile the print er is ac tive, t he bac kfeed dis tance cannot be
changed.
Do not us e bac kfeed w ith s upplies les s than 0. 75 inc hes . Use 0.5-inch gap s uppl ies in peel m ode
when backfeed is disabled.
The dis pens e pos ition and bac kfeed distanc e are opt ional param eters that do not have to be
spec if ied. However, t hey allow for great er prec is ion w hen pos itioning t he s upply.
Syntax {
Example {I,G,1,50,20 | }
Enables bac kfeed and s ets the dis pens e pos it ion to 0.25 inc hes ( 50/203) and t he backfeed
dist anc e to 0.10 inc hes (20/203).
I,G,action,dis_pos,bkfd_dis | }
G1. G B ac kfeed Contr ol Pac ket
G2. ac t ion Action. If us ing one-inc h R FID s upplies , do not us e bac kfeed.
Options:
0 dis able bac kfeed ( default)
1 enable bac kfeed
G3. dis _pos Dis pense Position. Adjusts the stopping point of the label.
Range: 50 to 200 dots (default 65 dots).
G4. bk f d_dis Backfeed D is tanc e. Amount t o m ove label bac kw ards . 10 to 200
dots (default 65 dots ). This dis tanc e c annot be gr eater t han the
dispens e pos it ion.
The bac kfeed dis tanc e s hould equal the dis pens e position.
W hen tearing s upplies ( ins tead of peeling) , the bac kfeed
dist anc e m us t be 30 dots (.150 inc hes ) less than the dis pens e
position. The 30-dot diff erenc e ac c ounts for im proper t earing of
butt c ut supplies to prevent exposed adhes ive under the
printhead. However, that adds a 30 dot non-pr int zone on the
supply.
Classification: Avery Dennison – Public Configuri ng the Pr inter 2-17
Page 34
Special Considerations When Using Backfeed
Make a note of the following items :
♦ Be c areful w hen tear ing s upplies , bec aus e the adhes ive c an adher e to the pr inthead or platen
roller.
♦ Bac kfeed affec ts eac h label in the on-dem and m ode or t he firs t and l as t label of the batc h in
cont inuous m ode.
♦ W hen backfeed is enabled and m ultiple bat c hes are s ent, t he printer m ay not bac kfeed
between each batch.
♦ Bac kfeed s hould only be us ed to advanc e labels to the des ir ed dis pens e point.
♦ Bac kfeed does not inter fere w ith the set s upply, print, or m argin pos itions .
♦ If the supply inter-label gap is not bet ween .07 inc h t o .15 inc h (14 to 30 dot s ), adjus t t he
dispens e pos it ion and bac kfeed dis tanc e accordingly.
See the follow ing gr aphic for a r epres entation of the f ollowing adjus t m ents : dis pens e position,
backfeed dis tance, supply pos ition, print position, and m argin posit ion.
2-18Packet Reference ManualClassification: Avery Dennison – Public
Page 35
Def ini ng t he M emor y Configuration Packet
To reallocate (in K)
Enter this amount
229.5
2295
Use the memory configuration packet (M) to c ustom ize the size of the printer’s buffers.
Memor y m us t be allocated in 1/2K inc rem ents . The mem ory configuration pac ket does not ac c ept
decimals, so enter whole num ber s . Multiply the am ount to r ealloc ate (in K ) by 10. For example,
2.5 25
153 1530
Eac h buffer ’s alloc at ed m em ory remains in effect until that buff er is reallocat ed. For this reas on,
realloc ate all the buffers when realloc ating any buffer. Reallocating more memory than what is
available causes an err or.
Syntax {I,M,buff er,device,buff er_size | }
M1. M Memor y Configur ation Packet
M2. buffer Buf fer type. O ptions :
D D ownloadable Fonts
F Format
I Image
M3. dev ic eStor age type. Use R for volatile RAM. Packets stored in volatile
RAM ar e delet ed when the printer is turned of f.
M4. buffer s izeBuffer s iz e in 1/10K ranges. T he following table lists the
conf igured buff er s iz es and min-m ax values for the printer . The
printer’s c onf iguration i s st ored in non-volatile R AM and saved
when the pr inter is t urned off .
The m aximum value for eac h buffer is lis ted; however, the sum of
all the buffer s c annot exc eed the m axim um available m em ory of
Note:The printer has a tr ans m it, receive, and s c alable font s buffer that
are s et to the m axim um amount. T hes e buffers c annot be
changed.
Example {I,M,I,R, 15 3 0 | }
Stores the im age buffer in volatile R AM and alloc ates 153K for it .
Classification: Avery Dennison – Public Configuri ng the Pr inter 2-19
Page 36
Checking Current Buffer Sizes
Send a c onfigur ation upload pac ket to c hec k the s iz es of the buf fers . S ee “Configur ation Packet
Header” for m ore infor m ation. After c hec king t he c urrent buffer s iz es , begin realloc ating mem ory.
To inc r eas e the im age buffer and not use downloaded fonts , add that m em ory into the image
buffer.
Example
{I,D,R,80 | Downloa da ble fonts buffer8K
M,I,R,4400 | } Image buffe r 440K
Make s ur e m em ory is available before adding m em or y to a buffer . In the above exam ple, if t he
image buffer (M,I,R,4400) was defined before the downloadable fonts (M,D,R ,80) buffer, an er ror
would have oc c urr ed.
About Me m or y Buffer s
Image Buf fe r
Format Buffe r
Used to im age the c ur rent f orm at. T he printer s upports two 4-inc h by 8-inch
buffers. Images up t o 16 inc hes long can be defined without reallocating
memory. The im age buffer is c lear ed after a printer res et.
Use the for m ula below t o c alc ulate the appr oximat e im age buffer s iz e.
21K x Lengt h ( for 203 dp i ) OR
46K x Lengt h ( for 300 dp i )
Length is the length of the label in inc hes.
203 DPI Example
21K x 25 = 525
(Multiply by 10 and r ound up to t he next whole num ber if nec es s ar y)
525K x 10 = 5250
Enter 5250 for the Image buffer.
300 DPI Example
46K x 26.75 = 1230.5
(Multiply by 10 and r ound up to the next w hole num ber if nec es s ar y)
1230.5 x 10 = 12305
Enter 12305 for the Image buffer.
Used to store form ats, batch data, and graphic s. Us e the following form ula to
calc ulat e the requir ed form at buffer s iz e:
Li n ecoun t x 50/ 1024
Linecount is the num ber of lines in the form at pac ket inc luding the for m at
header and all the options.
The res ult of the above c alc ulat ion is in kilobytes . For m ats remain in m em ory
when the print er is tur ned off.
Downloadable
Fonts Buffe r
2-20 Packet Reference Manual Classification: Avery Dennison – Public
Us ed to s tor e downloaded ( bitm apped or T rueType) font s . To deter m ine the
size of the downloadable font s , s end a font pac ket. For TrueT ype fonts , the f ile
siz e, in bytes , is the m inim um amount needed in this buf fer. S ee “
Font Pac ket” for m or e inform ation. Fonts s tored in t his buffer ar e deleted
when the pr inter is t urned off . Store downloaded fonts into flash memory.
Using the
Page 37
Buffer Allocation Considerations
Keep thes e item s in m ind w hen alloc ating m em or y.
♦ Do not alloc ate m or e memor y than what is available.
♦ Free m em ory from one buffer befor e adding it t o another buf fer.
♦ Realloc ate all t he buffer s if realloc ating any buffer.
♦ Send all buffer (r e)alloc ations in one pac ket. T he printer evaluates eac h individual buffer
allocation separ ately. If one buffer allocation is invalid, the entir e pac ket is invalid. If a
defined buf fer siz e exceeds the maxim um value, an error occ urs. However, no inform ation is
lost.
♦ W henever the pr inter ac c ept s a memor y configuration pac ket, it takes effec t im m ediately,
caus ing a pr inter r es et. Any inf orm ation c ontained in t he buffers is los t . Res end the formats,
batc hes , graphic s , or fonts to t he printer .
♦ When remapping the im age buf fer, m ake s ure t he length and w idth s pec ified in the format
header are not too large for the c urr ent im age buffer . For exam ple, r em apping for a
4 x 4 inc h label and then pr inting a 4 x 6 inc h label causes an er ror, until the form at header is
changed or the im age buff er is increased.
Memory Considerations with Downloaded TrueType Fonts
Save the fonts t o flas h m em ory for optim al perfor m anc e with downloaded f onts . No m em ory
conf iguration pac kets ar e nec es s ary sinc e flash m em ory cannot be r ealloc ated.
About Flash M em ory
Items s tored in flas h m em or y are s aved when t he printer is turned off . Flash memory cannot be
reallocated.
Flas h m em ory can c ontain form at s , fonts, gr aphic s , ADK s c ript s , and chec k digits . Stor e form at s
in flas h to us e the pr inter of fline (not c onnec ted to a hos t) . W hen form ats , graphics , and chec k
digits are s aved in flas h ( a c opy is automatic ally plac ed in R AM). Any of the packets saved in
flas h c annot exc eed the m em ory available in R AM. For this reas on, store fonts or ADK scripts in flash memory. (Font s and ADK s c ripts saved in flas h ar e not c opied into R AM.)
Before s ending packets to flash memory, it must be formatted.
Formatting Flash Memory
Form atting f las h m em ory is required once during initial printer setup. From the Main Menu,
selec t S etup, Flash Memory, then For mat Flash. The process takes a few m inutes .
Note:When form atting f las h m em ory, all packets (formats, fonts, graphics, etc.) stored in flash
mem or y are deleted and m us t be resent to t he printer .
Checking Available Flash Memory
To c hec k the am ount of available flas h m em ory in the pr inter, from the Main Menu, S elec t Setup,
Flas h Memor y, then Unus ed Flas h. The num ber ( in bytes ) of available flas h m em or y is shown.
Divide this num ber by 1024 to get the num ber of available kilobytes and m ake s ur e the font or
ADK s c ript files do not exceed this am ount . For exam ple, if t he printer dis plays “Unused Flas h
10223616,” ther e is 9984K ( 9.75 Meg) of available flas h m em ory for fonts or ADK s c ript files.
Flas h m em ory cannot be realloc at ed.
Classification: Avery Dennison – Public Configuri ng the Pr inter 2-21
Page 38
Flash Memory Guidelines
Use thes e bas ic guidelines for s tor ing files in the pr inter ’s flas h m em ory.
♦ The printer has volatile R AM (pac kets delet ed when t he printer is turned off ) and flas h
mem or y (packets s aved when the pr inter is tur ned off) . Flash memory cannot be reallocated.
♦ Flas h m em ory mus t be formatt ed before any pac kets can be s aved. S ee “For m atting Flas h
Memor y” for m ore infor m ation.
♦ Form ats , graphic s , and c hec k digits c an be s aved in flas h (a c opy is autom at ic ally placed in
RAM). Any of thes e pac kets s aved in flas h c annot exc eed the m em or y available in R AM.
♦ Pac kets with the s am e number s hould not be added to f las h m em ory. If t wo packets w ith the
sam e number are s tor ed in flas h, only the las t pac ket s ent c an be us ed. For example, if you
send t he following pac kets to f las h m em ory, only the Textiles f orm at c an be us ed.
♦ There is not a 1-to-1 ratio betw een the RAM memory (formats, graphics, and check digits) in
the printer and the mem ory in the PC . For example, a file that is 5K in W indow s may require
15-20K to store in the printer.
♦ When using graphics, use the lowest-res olution gr aphic pos s ible. If the print er us es a 203 dpi
printhead, the gr aphics res olution should be 150 t o 200 dpi. 96 dpi m ay w ork. C reate t he
smallest file size possible.
♦ Use tem porar y s torage for graphic s that are only us ed onc e or twic e. However, for a logo that
is us ed on m ult iple form at s , save the graphic in flas h. Create the s m alles t file siz e pos s ible.
♦ Eac h line in a pac ket requir es the s am e amount of m em or y. The s m aller the form at, the les s
mem or y required t o s ave it.
Clearing Packet s f r om Memory
Remove pac kets from the printer to inc r eas e m em ory storage c apac ity or if the for m ats /font s ar e
no longer needed. In s ome cas es, turning the pr inter off may clear the packets from mem ory. If
not, send a format clear packet.
Syntax {header,packet#,action,device | }
1. header Identifies the pac ket. O ptions :
A Chec k Digit Sc hem e
F Format
G Graphic
W Font
2. pac k et#Identific ation num ber of the pac ket to c lear (1 to 999) or font
number (0 to 9999) . 0 is for all fonts .
3. ac tion Action. Ent er C to c lear t he pac ket.
4. dev ic e Storage devic e. O ptions :
F Flash
R Volatile RAM
Example {F,1,C,R | }
Clears Form at #1 fr om volatile RAM.
2-22Packet Reference ManualClassification: Avery Dennison – Public
Page 39
Def ini ng t he Ti m e/D ate Packet
Use the tim e/ date pac ket (T) to s et the printer ’s tim e and date. T he printer m us t contain the
optional c loc k. The print er keeps tr ac k of the date and t im e even when the pr inter is turned off.
The c loc k operates on 24-hour t im e. For exam ple, 4:00 pm is 16:00 hours .
See “Us ing O ption 7 Pr int Tim e/D ate” in Chapter 4 to print the c urrent date and time in a form at.
Syntax {I,T,hour,min,day,month,year | }
T1. T T im e/Dat e Pac ket
T2. hour Hour in 24-hour tim e. Range: 0 to 23.
T3. min Minutes. Range: 0 to 59.
T4. day D ay of the m onth. R ange: 1 to 31.
T5. m onth Month of the year. O ptions :
1 January 7 July
2 February 8 August
3 March 9 September
4 April 10 October
5 May 11 November
6 June 12 December
T6. y ear Year (as tw o-digit). Range: 0 to 99. 15 is 2015.
Example {I,T,18,15,12,06,15 | }
Sets the pr inter’s c loc k to 6:15 pm June 12, 2015.
Classification: Avery Dennison – Public Configuri ng the Pr inter 2-23
Page 40
Using the Font P a cket
Use a font pac ket t o add or c lear downloaded f onts from m em or y, upload the font buf fer, or
upload the c ell s ize inform ation for a partic ular font. T he font pac ket is us eful w hen dow nloading
fonts . If us ing dow nloaded fonts , t he font num ber and the num ber of bytes eac h dow nloaded font
uses is listed.
This pac ket does not lis t the num ber of bytes the s t andard print er font s use.
Use the MONARC H® MPCL Toolbox Font Utility (available on our Web s it e) to c r eate the font
header and data. R efer t o the online help f or m ore inf orm ation.
Note:The CG Trium vir ate™ t ypefac es ar e trademarks of Monotype Imaging, Inc.
Fonts 21-27 are only for the MLI™ printer.
Fonts 510, 511, 512, and 513 are t he s am e as fonts 15, 16, 17, and 18.
Spacing
Type
Baseline
Cell Width
Cell Height
Nominal Width
Nominal He ight
Inter-Character Gap
Printhead Density
Monospac ed ( 0) or proport ional (1).
Bitm apped (0) or s c alable ( 1).
Bottom of t he font.
Horizontal num ber of dots to c ontain the w ides t c har ac ter.
Vertical num ber of dots to c ont ain the talles t c har ac ter.
Average w idth for lower -case letters.
Average height for lower -case letters.
Default s pacing between c haracter s in monos paced fonts.
Dis plays whet her a 203 ( 0) dpi or 300 ( 1) dpi pr inthead is us ed. The
sc alable f ont (font 50) does not dis play w hic h printhead ( 203 dpi or
300 dpi) is us ed.
2-26Packet Reference ManualClassification: Avery Dennison – Public
Page 43
Uploading For m at Hea der Informati on
Upload format header inform ation from the form ats in mem ory to chec k the supply length and
width for eac h format . Form at s stored in flas h memor y are loaded into RAM w hen the printer
boots . However, the for m ats remain in f lash memory when the pr inter is t urned off .
Syntax {header,format#,action,device | }
F1. header For m at Header
F2. format# Format number from 0 to 999. 0 is for all form at s in m em ory.
F3. ac tion Action. O ptions:
A Adds t he s pec ified form at
C Clears the specified format
H Uploads for m at header inf orm ation
F4. dev ic e D evic e. O ptions :
F Flash
R Volatile RAM
Z All devic es (us e for upload)
Example {F,0,H,Z | }
Selec ts all for m ats in mem ory and retur ns the follow ing:
Dis plays the for m at num ber, s upply length and s upply w idth ( in dots ) for eac h form at in m em ory.
Example {F,1,H,Z | }
Selects format1 and returns the following t o the host:
{F,1,H,Z |
Fmt _1,406, 4 06 | }
Dis plays the s upply length and s upply w idth ( in dots ) for form at 1.
Classification: Avery Dennison – Public Configuri ng the Pr inter 2-27
Page 44
Def ini ng a Network C onsol e Packe t
Use the netw ork c ons ole pac ket to s end c ons ole c om m ands direc tly to the wireless module via
the printer ’s s er ial port. If the wireless module does not appear to be c om m unic ating with the
printer, us e the netw ork c ons ole pac ket to c hange t he printer’s SSID, IP Addres s , etc .
Syntax {N,number,act ion ,d ev i ce, " n a me" |
C," con_comds" | }
N1. N Networ k Cons ole P ac ket.
N2. num ber Number f rom 0 to 999 to identify the netw ork c ons ole packet. 1 is
the default.
N3. ac tion Action. Enter A to add a netw ork c ons ole pac ket.
N4. dev ic e St orage devic e. Ent er T to pas s the packet through the printer
and st ore the pac ket in t he wireless module.
N5. “name”Pac ket nam e, 0 to 8 characters , enc lose within quot ation marks .
“” is the default.
C1. C Command field.
C2. “ c on_c om ds ” Cons ole c om m ands . Mus t be enc los ed wit hin quotation m arks.
“” is the default. E ac h c om m and m us t be on a s epar ate line. T he
maximum number of characters per command is 100. Refer to the
list of c ons ole c om m ands in the MonarchNet2 Operating
Instructions for m ore infor m ation.
Note:The maxim um number of c om m ands per packet is twenty five
(25).
Example {N,1,A,T,"m y sto re" |
C,"set ip me static" |
C, "i nit" |
C,"exit" | }
Sends the netw ork c ons ole packet m ys tor e directly to the wireless module (T) and sets the IP
met hod to s tatic for determ ining the IP Addres s es . The Init and E xit c om m ands m us t be us ed to
save c hanges and initializ e the wireless module.
2-28Packet Reference ManualClassification: Avery Dennison – Public
Page 45
Def ini ng t he R FID Set up Packet
The printer s upports EPC Clas s -1 Generation-2 UHF (C1Gen2) prot oc ol enc oding.
Use the R FID s etup pac ket (Y) to s et the enc ode mode, singulate m ode, wr ite power , read pow er ,
tag saver, firs t TID pos ition, star t enc ode position, enc ode z one, enc ode pos ition, tag verify, tag
verify pos ition, and retry enc ode. R efer to t he System Administrator’ s Guide for more detail
about eac h of thes e par am eters .
We recommend using the printer’s Easy Setup Menu to c onfigure RFID s ettings or the Monarch®
RFID Pr inter S etup Utility. Find t his W eb-based utility at
Y1. Y RFID Setup P ac ket.
Y2. stop_to_encode Stop-to-Enc ode m ode. T he printer operates in S top-to-Encode
mode or Non-s top enc ode m ode. Stop-to-enc ode m ode m us t be
used f or s erializ ed E PC data. S ee “
EPC Data)” for m or e inform ation. Options:
0No. The pr inter oper ates in non-stop enc ode m ode
(default). The printer does not paus e ( or s top) while
enc oding the R FID inlay.
1Yes . The pr inter oper ates in s top-to-enc ode mode. The
pr inter paus es (or s tops ) while enc oding the R FID inlay.
Y3. singulateSingulate mode. R ead and us e the TID field to only pr ogram that
specific inlay. Enabling s ingulate m ode dec reas es throughput
but m ay prevent adjac enc y is s ues . If enabled, set first_TID_pos.
Singulate m ode m us t be enabled to upload TID data. See “
Option 6 (Upload Field Data)” for m or e inform ation. Options:
0D is abled (def ault)
1Enabled
Y4. write_powerThe am ount of power to w rite ( program ) an RF ID inlay. Use the
RFID Pr inter S etup Utility to determ ine t his value. The range is
-15 to 23 and the default is -15.
Y5. read_powerThe am ount of pow er to r ead an R FID inlay. Use the R FID
Printer Setup Utility to determ ine t his value. The range is
-15 to 23 and the default is -15.
Y6. tag_s av er Tag saver (us e only in non-s top enc ode m ode) . Enabling t ag
saver moves the supply bac kw ards before enc oding the fir s t inlay
in a batc h, w hic h prevents w as te. Options :
0dis able tag s aver (default). The print er does not m ove the
f irs t tag in the bat c h bac kwards before enc oding.
1enable t ag saver. The printer m oves the first tag in the
bat c h bac kwards to the proper position bef ore encoding.
Y7. first_TID_posFirst TID Position (us e only in non-s t op enc ode m ode with
singulat e m ode enabled). The firs t TID pos ition moves the
‘hots pot’ of the firs t inlay over the antenna so the TID order c an
be calc ulat ed. Use t he RFID P rinter Setup Utility to determine
this value. The range is 0 to 2000 in 1/203 inch. 0 is t he default.
Using O ption 65 (Serializ ed
Using
Classification: Avery Dennison – Public Configuri ng the Pr inter 2-29
Page 46
Y8.start_enc_pos Start enc oding pos ition (us e only in non-s top enc ode m ode) . The
printer us es this initial st arting position to look for the RFID inlay
to program w hile m oving the s upply to pr int. Measure fr om the
leading edge of the s upply to the beginning of t he RF ID inlay
encoding ar ea in 0.01 inches . Use t he RF ID Printer Setup Utility
to deter m ine this value. The range is 10 to 2000 in 1/203 inc h.
100 is the default.
Y9. enc ode_zone Enc ode z one (us e only in non-s top enc ode m ode) . The enc ode
zone is t he area w here the ant enna and inlay c ommunicate with
each other during program ming as the inlay m oves over the
antenna. It is the lengt h in dots of the pr ogram m ing zone ( area).
Use the R FID Print er Set up Utility t o determ ine this value. The
range is 50 to 2000 in 1/203 inc h. 200 is the default.
Y10. encode_pos Encode Position (us e only in s top-to-encode m ode) . Measure
from the leading edge of the supply to the best program ming
posit ion within the inlay. The Enc ode Pos ition is different for
each t ype of inlay. Use the R FID Pr inter S etup Utility to
determ ine this value. The r ange is 0 to 2000 in 1/203 inc h. 0 is
the default.
When using a 0 enc ode pos ition, the print er enc odes w hen the
label is at the defined top-of-form pos it ion – no extra s upply
movement is required.
When using a non-zero encode pos ition, t he printer
autom atic ally bac kfeeds betw een labels , ther eby decreasing throughput.
Y11.tag_verifyTag verify. The printer confirm s the read value mat ches the
program med value after writing the RFID data. Options :
0D isabled (default). The pr inter does not verify the
programmed value.
1Internal. Confirms the read EPC data matches the
programmed E PC data us ing the inter nal antenna.
2External. Confirms the read EPC data matches the
pr ogram m ed EPC dat a us ing the optional exter nal verifier.
R equires s et ting the tag ver ify pos ition tag verify pos ition.
3B oth. Confirms the read EPC data matches the programmed EPC data us ing the internal antenna and
opt ional external verifier. R equires s etting t he tag verify
position.
Note:Enabling internal or both may decreas e throughput .
Y12. tag_verify_pos Tag verify pos ition ( us e only when verify is 2 - exter nal or
3 - both). Sets the position for when the label’s leading edge
reac hes t he external verifier . Use the RFID Pr inter S etup Utility
to deter m ine this value. The range is 10 to 2000 in 1/203 inc h.
100 is the default.
2-30 Packet Reference Manual Classification: Avery Dennison – Public
Page 47
Y13.retry_encode The printer tries t o reprint and progr am a label wher e a s upply
Stop-to-encode mode
Non-stop e ncode mode
error occurred. The printer uses the same EPC data from the
error ed label on t he next label. Options :
0Disabled. T he printer does not r eprint or re-progr am the
EPC data. Once EPC data is already programmed into an
inlay, the pr inter w ill not pr ogram the same EPC data.
1E nabled (default). The printer reprints and r e-programs the
E PC data from a label when a supply err or oc c urs .
Retry_enc mus t be used with inc r em enting batc hes . If dis abled,
the printer does not r eprint a label us ing the E PC data from the
label with a s upply er ror . For exam ple, pr inting a batc h of 100
labels pr ints 99 labels ( or les s ) if a s upply error oc c urs .
Y14. v erif y _powerThe am ount of pow er to r ead an RF ID inlay. Use the R FID
Printer Setup Utility to determ ine t his value. The range is
-15 to 23 and the default is -15.
Example {I,Y,0,1,18,12,1,0,120,220,0,1,0,1,12 | }
Uses the default non-s top enc ode m ode, enables singulate mode (1), sets the wr ite power to 18,
the read power to 12, enables tag s aver (1), does not s et a TID pos ition ( 0), s et s the s tart encode
posit ion to 120, s et s the encode z one to 220, does not set an enc ode pos ition (0) , uses the
internal r eader ( 1) to verif y the R FID data, does not s et a t ag verify pos ition (0) , enables retry
encode ( 1), and s ets the verify pow er to 12.
Performance Considerations with RFID
Using the pr inter’s inter nal or both R FID verific at ion s etting m ay dec reas e throughput.
Improving data ac c urac y may also dec r eas e throughput. To im prove data ac c ur ac y:
♦ enable TID singulation.
♦ use a Lock Code for the EPC data. See “C reating Gen2 R FID Data” for more inf orm ation.
♦ selec t external for t he RFID tag v er ify.
The printer has tw o RFID m odes of operation: stop-to-encode and non-stop encode:
♦ The printer pauses (or stops) while
encoding the R FID inlay.
♦ The am ount of pr ogram m able EPC data,
user memory, access password, and
lock c ode data varies by R FID c hip.
♦ The printer error s if it cannot program
all the RFID data within the allot ted
time.
♦ Stop-to-encode m ode m us t be us ed for
ser ializ ed EP C data. See “
Using O ption
65 (Serialized EPC Data)” for m or e
information.
♦ The printer does not paus e (or s t op)
while enc oding the R FID inlay.
♦ Some RFID chips encode faster than
others.
♦ The fas ter t he print s peed, the les s time
the printer has to enc ode data.
♦ The am ount of pr ogram m able EPC
data, user memory, access password,
and loc k code dat a varies by print speed and R FID c hip.
♦ The printer error s if it c annot program
all the RFID data while the inlay is
within t he enc ode z one.
Classification: Avery Dennison – Public Configuri ng the Pr inter 2-31
Page 48
2-32Packet Reference ManualClassification: Avery Dennison – Public
Page 49
DEFINING FIELDS
3
This c hapter pr ovides a r eferenc e for defining
♦ the form at headerbar c ode fields
♦ text and c ons tant text fields line and box fields
♦ non-printable text fields RF ID fields
F8. “nam e”Format name (optional), 0 to 8 characters, enclose within
quotation m arks. “” is the default. The range is 1 to 256
characters for the X ML -enabled printer.
” in C hapter 2
RFID
Example {F,1,A,R,E, 30 0 ,2 00," TEXTI LES " |
Adds Form at 1 (“TEXTILES” ) to the pr inter. It us es a three inc h long by tw o inc h wide label.
Classification: Avery Dennison – Public Defining Fields 3-1
Page 50
Defini ng Text Fi elds
Creat e a s eparate def inition for eac h text field. If t ext falls on tw o lines , eac h line of text r equires
a separ ate definition.
Syntax T,field #,# of char,f i x/var,row,c ol u m n ,gap,font,hgt ma g, wid mag,color , a l i gn m ent ,cha r
rot,f ield rot,sym set |
T1. T Text Field.
T2. field# Unique number from 1 to 999 to identif y t his field. 1 is the
default.
T3. # of c har Maximum num ber of printed c har ac ters (0 to 2710) in t he field.
30 is t he default.
T4. fix/var Fixed or variable lengt h field. V is the default. Options:
F Fixed length
V Variable length
T5. rowRow location – dis tanc e f rom the bott om of print ar ea to the pivot
point.
10 is the default . For m onos pac ed fonts , dis tanc e f rom bottom of
print area to the pivot point. The pivot point varies depending on
how text is justified..
For propor tionally s pac ed fonts , dis tanc e from bottom of pr int
3-2 Packet Reference Manual Classification: Av ery Dennison – Public
Page 51
T7. gap Number of dots between characters in 203 dpi (or 300 dpi).
For m onos pac ed fonts , t he additional s pac ing is added to the
Any number other than 0 affects the field width. Default spacing:
Standard 3 dots
Note:HR1 and HR2 ar e only us ed wit h the UPC bar c ode fam ily and
T8. font Style of font. 1 is t he default. Options: 1 Standard 10 CG Trium vir ate™ Typefac e Bold
Or a valid downloaded f ont selec tor num ber.
T9. hgt m ag Height magnifier, 1 to 7 times ( 4 to 255 points for
T10. wid m ag W idth m agnifier , 1 to 7 times (4 to 255 points f or
Range: 0 to 99. 0 is the default.
existing int er-c har ac ter gap. Thi s is als o true for propor tionally
spaced fonts; however, the inter-c harac t er gap varies w ith
character combinations.
Reduced 1 dot
Bold 3 dots
OCRA-like 3 dots
HR1 3 dots
HR2 3 dots
CG Trium vir ate™ Typefac e B old varies w ith each letter
CG Trium vir ate™ Typefac e varies with each letter
EFF Swiss Bold varies with each letter
must be numeric.
2 Reduced 11 CG Tr ium virate™ T ypefac e
3 Bold 15 7 pt. C G Trium virat e™ Typefac e
4 OCRA-like 16 9 pt. CG Tr ium virate™ T ypefac e
5 HR1 17 11 pt. C G Trium virat e™ Typefac e
6 HR2 18 15 pt. C G Trium virat e™ Typefac e
50EFF S wis s Bold (Tr ueType® S c alable)
56PaxarSymbols
Fonts 5 and 6 are f or num eric dat a only. The CG Tr ium virate™
typefac es s upport only the ANSI and DO S Code Page 437 and
850 Sym bol Sets . The s c alable font does not s uppor t C ode Page
1256 (Arabic ). S ee Appendix C
sc alable/downloaded Tr ueType fonts). 1 is t he default. Use a
magnif ier of 1 w ith pr oportionally s pac ed fonts , bec aus e
characters lose smoothness at higher m agnific at ions . See
Appendix B, “ Fonts
sc alable/downloaded Tr ueType fonts). 1 is the
default.Pr oportional ly s pac ed fonts do not have a s et w idth. To
est im ate the s iz e of the f ield, us e the lett er “ W ” for the w ides t
field or an “ L” for an average w idth field. Find the s elec ted font
and the des ired w idth in Appendix B , “Fonts
,” for m ore infor m ation about font s .
for more information.
.”
Classification: Avery Dennison – Public Defining Fields 3-3
Page 52
Line field
Line field
T11. c olor Field c olor overlay attributes . B is the default . TransparentT he overlay field (text or c ons tant text) does not
bloc k out ( or “erase”) existing fields .
OpaqueThe overlay field blocks out (or “erases”) existing
fields.
Options f or s tandar d printer fonts :
BO paque, Norm al, B lac k, Norm al
D/R/W O paque, Norm al, White, Normal
O Trans parent, Normal , Blac k, Norm al
Options f or s c alable fonts :
AO paque, Norm al, B lac k, Bold
B Opaque, Normal, B lac k, Normal
E O paque, Italics , B lac k, Bold
F O paque, Italic s , Blac k, Norm al
N Transparent, Norm al, Blac k, B old
O Transparent, Norm al, B lac k, Norm al
S Transparent, Italics , Blac k, B old
T Transparent, Italics , B lac k, Normal
blocked out
by opaque
field using
attribute B
not blocked
out by
transparent
field using
attribute O
Field plac em ent in the pac ket is an im portant c ons ideration w hen
using field color attributes. If a line field is def ined before the
overlay (text or cons tant text) field, the line field is blocked out
by the overlay field, depending on the overlay field’s c olor
attribute. If a line field is defined after the overlay field, the line
field is not bloc ked out by the overlay field, regardles s of the
overlay field’s color attribute.
Note:Solid blac k pr int s hould not exc eed 30% on a given s quar e inc h
of the label, or the printhead life m ay be decr eased.
T12. alignm entAlignm ent of text in the field. L is t he default. Options: LAlign on left s ide of f ield
C C enter text w ithin field ( monospaced fonts only)
R Align on r ight s ide of field ( m onos pac ed fonts only)
B Align at m idpoint of field
E Align at endpoint of the f ield
Use L, B, or E for any font.
The red dot indicates the field origin and the line indicates the
column position for eac h field in the following graphic .
3-4 Packet Reference Manual Classification: Av ery Dennison – Public
Page 53
T13. c har r ot C harac ter rotation. 0 is the def ault. The field or s upply does not
rotate, only the c har ac ters do. Options :
0 Top of c harac t er points to top of field
1 Top of c harac t er points to left of field
2 Top of c harac t er points to bottom of field
3 Top of c harac ter points to right of field
Note: Font 50 and dow nloaded TrueT ype fonts do not s uppor t c harac ter
rotation.
T14. field r otField rotation. 0 is t he default. Field rotation rotates the whole
field, not jus t the c harac ter s . Rotation is affec ted by t he pivot
point, w hic h varies depending on how text is justified. Lower left
cor ner of f ield is the pivot point. O ptions :
0 Top of field point s to top of s upply
1 Top of field point s to left of s upply
2 Top of field point s to bottom of s upply
3 Top of field point s to right of s upply
Classification: Avery Dennison – Public Defining Fields 3-5
Page 54
T1 5 . sym set Sym bol s et. 0 is t he default (Internal Sym bol Set) .
For s c alable or T rueType® fonts , us e:
1ANSI Sym bol S et
100 Macintosh
101 Wingdings
102 Unicode ( user input) for particular mapping
103 BIG5 (us er input ) for Unicode m apping
104 GB2312 (us er input) for Unicode m apping
105 SJIS (us er input ) for Unicode m apping (CP 932, Japanese)
106 GB2312 (us er input) for GB2312 mapping (CP 936,
Sim plified Chines e)
107BIG5 (user input) for BIG5 mapping (CP 950, Traditional
Chinese)
108 KSC (us er input) f or KS C mapping ( CP 5601 Korean)
110 Unicode UTF-8
437 DO S Code Page 437 (D om es tic )
850 DO S Code Page 850 (International)
852 DOS Code Page 852 (Latin 2)
855 DO S Code Page 855 (R us s ian)
857 DO S Code Page 857 (IBM Tur kis h)
860 DO S Code Page 860 (MS-D O S Por tugues e)
1250 Code P age 1250 (Lat in 2)
1251 Code P age 1251 (C yrillic )
1252 Code P age 1252 (Lat in 1)
1253 Code P age 1253 (Greek)
1254 Code Page 1254 ( Turkis h)
1255 Code P age 1255 (Hebrew )
1256 Code P age 1256 (Arabic )
1257 Code P age 1257 (B altic )
1258 Code P age 1258 (Vietnam )
The Standar d, R educ ed, Bold, O C RA and HR fonts only s uppor t
the Internal S ymbol S et (0) . The C G Trium virate™ typefac es only
suppor t the ANSI (1) and D O S Code Page 437 (2) and 850 (3)
Sym bol Sets . T he s c alable font (f ont#50) does not s upport C ode
Page 1256 Arabic (10).
Code pages 852-860 and 1250-1258 are for downloaded
TrueType font s or the s c alable font . C ode pages 102-110 require
a downloaded International Tr ueType font. TrueType fonts ar e
designed to be r egionally spec if ic ; therefore, all c ode pages m ay
not be s upported in a given font. See Appendix C , “
Code Pages” for m ore informat ion.
If us ing s ym bol s et 110 (Unic ode UTF-8), s et the MPCL c ontrol
char ac ters (s tart of header, etc . ) to dec im al values betw een 0
and 128; ot herw is e, err ors m ay occ ur with the Unicode data
entered. S ee Chapt er 2, "C onfiguring the Printer" for m or e
Defines a text field ( field #2) w ith a variable length of up to 10 c har ac ters . The field begins at
row 250, c olum n 80. There is no additional gap betw een c har ac ters , and t he Standar d font is
used w ithout any addit ional magnif ic ation. The pr inting is blac k on w hite and c enter ed. No field
or c harac ter rotation is us ed. The inter nal sym bol set is us ed.
3-6Packet Reference ManualClassification: Av ery Dennison – Public
Page 55
Defini ng Bar Code Fields
Eac h bar c ode field r equires a s eparat e definition.
The printer c an s hift s om e bar code f ields to avoid bad dots on t he printhead.
Shiftable bar c odes inc lude: C odabar ( NW7) , Code 128, Code 39 ( w/ or w/o C D ) or MOD43,
Code 93, E AN13, EAN13+Pric e C D, Interleaved 2 of 5/Interleaved 2 of 5 wit h Barr ier B ar, MSI,
UPCA, UPCA+Price CD, and UPCE.
The printer cannot shift the follow ing bar c odes : Aztec , Code 16K, Data Matrix, EAN13+2,
EAN13+5, EAN8+2, EAN8+5, GS1 DataB ar, Intelligent Mail, MaxiCode, PDF417, POSTNET,
Quick Response (QR Code), UPCA+2, UPC A+5, UPCE +2, or UPC+ 5.
Syntax B,field#,# of char,fix/var,row,column,font,density,height, text,alignment,field
rot,type,sep_height,segment |
B1. B Bar C ode Field.
B2. field# Unique number from 1 to 999 to identify this field. 1 is the
default.
B3. # of c harMaximum num ber of c harac ter s . If the bar c ode uses a c hec k
digit, allow an extra char acter for the chec k digit. T he actual
maxim um number of c harac ter s is lim ited by the siz e of the label
and bar c ode dens ity. R ange: 0 to 2710. 30 is the default.
Classification: Avery Dennison – Public Defining Fields 3-7
13
Page 56
Bar Code
Number of Characters
Intelligent Mail
MaxiCode*
MSI
PDF417
GS1 DataBar Bar Code Type (B13)
1 - GS1 D ataBar 14 13 - no check digit input
2 - GS1 D ataBar 14 Trunc ated 13 - no c heck digit input
3 - GS1 D ataBar 14 Stac ked 13 - no c heck digit input
4 - GS1 D ataBar 14 Stac ked O m ni
directional
5 - GS1 D ataBar Lim ited 13 - no c heck digit input
6 - GS1 Dat aBar Expanded Refer t o the GS1 General Specification for
7 - UPCA 11 - no c heck digit input
8 - UPCE 10 - no c heck digit input
9 - EAN13 12 - no c heck digit input
10 - EAN8 7 - no c heck digit input
11 - UCC/EAN 128 and CC A/B If not enough charac ters are enter ed, the bar
12 - UCC/EAN 128 and CC C
13 - no c heck digit input
mor e inform at ion.
code pads t o the left w ith z er os . If too m any
char acters are entered, unpredic table res ults
may oc c ur .
If FNC1 ( func tion 1) is s uppor ted, us e the pound s ign ( #) in the bat c h data to invoke it.
31
Refer to the USPS® Intelligent Mail® Specification for more information.
Interleaved 2 of 5 or
Interleaved I 2 of 5 with Barrier Bar
POSTNET™
Quick Response (QR) Code Data
Type
Numeric D ata 1167 2710
Alphanumeric data 707 2710
8-byte data 486 2710
Kanji data 299 1817
0 - 2710
0 to 93 (alphanumeric)
0 to 128 (numeric)
0 – 14
0 – 2710
9 or 11
Model 1 Model 2
Note: T he m aximum number of c harac ter s depends on the s elec ted level of er ror
cor rec tion. When increasing the error correction level, the maximum number of
characters decreases. See “Entering B atc h D ata for Q R Code
data for t he QR Code.
3-8Packet Reference ManualClassification: Av ery Dennison – Public
” in C hapter 6 to ent er
Page 57
Bar Code Number of Characters
Bar Code
Fixed or Variable
Bar Code
Fixed or Variable
Aztec*
Fixed or Variable
Intelligent Mail®*
Fixed
or MOD43
Code 128
Fixed or Variable
POSTNET™
Fixed
Data Matrix*
Variable
Quick Response*
Variable
EAN8+2
Fixed
UPCA+2
Fixed
EAN8+5
Fixed
UPCA+5
Fixed
EAN13
Fixed
UPCA+Price CD
Fixed
EAN13+Pric e C D
Fixed
UPCE+5
Fixed
GS1 DataBar
Fixed or Variable
UPCA
UPCA+2
UPCA+5
UPCA+Price CD
UPCE
UPCE+2
UPCE+5
B4. fix/v arFixed (F) or var iable (V) length field.
Codabar (NW7) Fixed or V ariable Interleaved 2 of 5 or
Code 16K Variable MaxiCode* Fixed or Variable
Code 39 (w/ or w/o CD)
Fixed or Variable MSI Fixed or Variable
12
14
17
12
7
9
12
Fixed or Variable
Interleaved I 2 of 5
with Ba rrier Bar
Allow a m inim um of 1/10 inc h betw een the s c an
edge of bar c ode and label edges or other data.
B7. font Bar c ode. 4 is t he default. Options:
UPCA
Code 39 ( no c hec k digit)
Code 128
UP CA + 2
UP CA + 5
E AN8 + 2
POSTNET
Intelligent Mail
Code 16K
Data Matrix ( EC C-200)
Code 39 ( MOD 43 c hec k digit)
EAN13 & Price CD
B8. dens ity Bar c ode dens it y. The default varies by bar c ode type. Us e the
following tables.
3-10 Packet Reference Manual Classification: Avery Dennison – Public
Page 59
203 DPI Bar Code Densities
Bar Code
Density
Density
Narrow
Narrow
Data
Appearance
Char
2
UPCE+2/+5
2
76%
2/9.9
N/A
6 or 7
1, 5, 6, 7 or
0 to 9
EAN8+2/+5
2
76%
2/9.9
N/A
7 or 8
1, 5, 6, 7 or
0 to 9
EAN13+2/+5
2
76%
2/9.9
N/A
12 or 13
1, 5, 6, 7 or
0 to 9
Interleaved2
1
1.1
21/103.4
1:3.0
0 to 2710
8
0 to 9
Code 128 or
20
3.5/7.0
5/24.6
N/A
0 to 2710
8
00H to
Type
UPCA +2/+5
Pric e C D
Pric e C D
of 5or
I2of5with
Barr ier Bar
Selector
4
4
4
4
2
3
4
5
6
7
8
9
10
11
12
13
(% or cpi)
76%
114%
114%
114%
114%
2.1
3.2
4.2
5.6
6.3
7.5
8.8
9.6
11.2
11.0
12.7
14.5
Element
(dots/mils)
2/9.9
3/14.8
3/14.8
3/14.8
3/14.8
12/59.1
7/34.5
6/29.6
4/19.7
4/19.7
3/14.8
3/14.8
3/14.8
2/9.9
2/9.9
2/9.9
2/9.9
to Wide
Length
Ratio
N/A 11 or 12
14/17
9/12
10/13
15/18
1:2.5
1:3.0
1:2.5
1:3.0
1:2.5
1:3.0
1:2.3
1:2.0
1:3.0
1:3.0
1:2.5
1:2.0
Codes
Set
1, 5, 6, 7 or 8 0 to 9
8
8
8
(Code 39 or
MOD43
(Extended
Code 39)
1
2
3
4
6
7
11
12
20
Codabar
(NW7)
2
3
4
5
7
8
9
Code 16K
4
6
8
Note: The start (*) and stop (+) characters are automatically added for Code 39. Code 93,
densi ty 12, produc es a one-dot narrow bar. This dens it y is int ended for s peci al U.S .P. S.
ACT-t ag appl icat ions only . Synt heti c s upplies are rec ommended t o produce s cannable bar
codes.
0 - 486 (8-bit) ; 0 - 299 (Kanji)
Model 2: 0 - 2710 Numeric , Alphanumeric and 8-bit;
0 - 1817 Kanji
Ratio
1:1
1:2
1:3
1:1
1:2
1:3
1:1
1:2
1:3
Length
0 to 2709 8 00H
Codes
toFFH
3-12 Packet Reference Manual Classification: Avery Dennison – Public
Page 61
203/300 DPI Bar Code Densities
Bar Code
Size
Density
Max. Data Le ngth
Appearance
Char
Data Matrix
10 x 10
1
6 x 3
8
00H to
0 default (bar code siz e autom atically determined by data)
Bar Code
Size
Density
Max. Data Le ngth
Appearance
Char
8
0 default (bar code siz e autom atically determined by data)
Square
symbols
Row x Col.
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
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
Codes
Set
FFH
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
The printer s s upport pr inting a Data Matrix s ym bol w ith an X-
Selector
25
26
27
28
29
30
dimens ion of 13 m ils or greater ( 3 dots @203 dpi). If using a
denser bar c ode, m ake s ur e the bar c ode sc ans in that particular
applicat ion. Avery Dennison “pr em ium ” supplies and inc reas i ng
the print contrast are recommended for denser bar codes.
Depending on the applic ation, addit ional dens ities are available.
Num. X Alphanum.
10 x 6
20 x 13
32 x 22
44 x 31
64 x 46
98 x 72
Codes
Set
00H to
FFH
Classification: Avery Dennison – Public Defining Fields 3-13
Page 62
203 DPI Bar Code Densities
Bar Code Ty pe
Density
Narrow Ele ment
Data
Char Set
GS1 DataB ar
2
2/9.9
0 to 2710
00H to FFH
2
Selector
Aztec
3
4
5
6
7
8
3
4
5
6
7
8
9
10
11
12
13
14
15
Note: Values in bold indic ate the def ault.
(dots/mils)
3/14.8
4/19.7
5/24.6
6/29.6
7/34.5
8/39.4
0.0099
0.0148
0.0197
0.0247
0.0296
0.0345
0.0394
0.0444
0.0493
0.0542
0.0592
0.0641
0.0690
0.0740
Length
0 to 2710 00H to FFH
3-14 Packet Reference Manual Classification: Avery Dennison – Public
Page 63
300 DPI Bar Code Densities
Bar Code
Density
Density
Narrow
Narrow
Data
Appearance
Char
2
UPCE+2/+5
2
77%
3/10
N/A
6 or 7
1, 5, 6, 7 or
0 to 9
EAN8+2/+5
2
77%
3/10
N/A
7 or 8
1, 5, 6, 7 or
0 to 9
EAN13+2/+5
2
77%
3/10
N/A
12 or 13
1, 5, 6, 7 or
0 to 9
Interleaved2
1
1.1
31/103.4
1:3.0
0 to 2710
8
0 to 9
Code 128 or
4
4.5
6/20.0
N/A
0 to 2710
8
00H to
Type
UPCA +2/+5
Pric e C D
Pric e C D
of 5 or I2of5
with B arrier
Bar
Selector
4
4
4
4
2
3
4
5
6
7
8
9
10
11
12
13
(% or cpi)
77%
103%
103%
103%
103%
2.1
3.3
4.2
5.6
6.2
8.3
9.4
9.9
11.1
11.1
13.0
14.3
Element
(dots/mils)
3/10
4/13.3
4/13.3
4/13.3
4/13.3
18/60.1
10/33.4
9/30.0
6/20.0
6/20.0
4/13.3
4/13.3
4/13.3
3/10
3/10
3/10
3/10
to Wide
Ratio
N/A 11 or 12
1:2.5
1:3.0
1:2.4
1:3.0
1:2.5
1:3.0
1:2.5
1:2.3
1:3.0
1:3.0
1:2.3
1:2.0
Length
14/17
9/12
10/13
15/18
Codes
1, 5, 6, 7 or 8 0 to 9
8
8
8
Set
(Code 39 or
MOD43
(Extended
Code 39)
Codabar
(NW7)
Code 16K
1
2
3
4
6
7
11
12
20
2
3
4
5
7
8
9
6
8
20
1.4
1.7
3.4
4.7
6.2
7.1
3.8
11.5
3.1
2.3
3.4
5.0
5.6
9.1
10.4
11.1
6.8
9.1
3.9
Note:The star t (* ) and s top ( +) charac ter s are automatic ally added
for C ode 39. C ode 93, densit y 12, produc es a one-dot nar row
bar. This dens ity is intended f or s pec ial U.S.P .S. ACT-tag
applicat ions only. Synthet ic s upplies are rec om m ended to
produc e s c annable bar c odes .
3-16 Packet Reference Manual Classification: Avery Dennison – Public
Page 65
300 DPI Bar Code Densities
Bar Code Ty pe
Density
Narrow Ele ment
Data Le ngth
Char Set
2
Aztec
2
0.0100
0 to 2710
00H to FFH
GS1 DataB ar
Selector
3
4
5
6
7
8
3
4
5
6
7
8
9
10
11
12
13
14
15
(dots/mils)
3/9.8
4/13.1
5/16.4
7/23
8/26.2
10/32.8
11/36.1
0.0133
0.0167
0.0233
0.0266
0.0333
0.0366
0.0433
0.0466
0.0533
0.0566
0.0633
0.0666
0.0733
0 to 2710 00H to FFH
Note:Values in bold indicate the default.
Classification: Avery Dennison – Public Defining Fields 3-17
Page 66
B9. height Bar c ode height, in 1/ 100 inc hes , 1/10 m m , or dots . Minimum
Height
Bar Code Ty pe
Description
0
Thes e bar c odes have a fixed height. Use 0.
0
Data Matrix
The printer determ ines t he s iz e of the s ym bol, but the
0
GS1 DataB ar
The printer determ ines t he height of t he s ymbol bas ed
20
Code 93
20 is t he default for C ode 93.
40
40 is the default for UPCA/UPCE/EAN, I 2of5,
values:
English 19
Metric 48
203 Dots 38
300 Dots 57
Aztec
Code 16K
Intelligent Mail
PDF417
PostNet
MaxiCode
QR Code
EAN/UPCA/UPCE
I 2of5
Codabar
Code 39
Code 128
MSI
user’s scanner determines the functional size
(m inim um height) of the s ym bol. Sm all D ata Matrix
and QR Codes may not be s c annable. The Dat a
Matrix and QR Code’s height depends on the number
entered for this param et er. For exam ple, 80 means
the s ymbol c ould be s m aller than 0.80," but it will not
be greater than the am ount s pec ified in this
param eter. The s ym bol arranges t he data ac c ording
to row s and c olum ns within the s pec ified height.
on the dens ity. Use 0 f or all GS1 D ataBar types.
Codabar, Code 39, Code 128, and MSI.
3-18 Packet Reference Manual Classification: Avery Dennison – Public
Page 67
B10. tex t Appearanc e of t ext with bar c ode. O ptions :
0
1
2
3
Text Bar Code Ty pe Description Sample
5
6
MaxiCode
QR Code
EAN/UPC
Code 39
EAN/UPC
QR Code
MaxiCode
QR Code
MaxiCode MaxiCode Mode 3 (Alphanumeric Postal
EAN/UPC Number s yst em at bottom, no c hec k digit
EAN/UPC Chec k digit at bott om , no num ber s ys tem
MaxiCode Mode 0 (obsolete)
QR Code Model 2
default
No c hec k digit or num ber s ys tem
No c hec k digit or num ber s ys tem
QR Code Model 1
MaxiCode Mode 2 ( Numeric P os tal C ode)
QR Code Model 2
Code)
7
8
EAN/UPC Chec k digit and num ber s ys tem at bottom
MaxiCode
All other bar codes
(default)
MaxiCode ( auto detec t m odes 0, 2, 3, or
for compressed data) default
No text, bar c ode only (default)
Classification: Avery Dennison – Public Defining Fields 3-19
Page 68
B11. alignm entChoose L, R, C, B or E to align the bar code data corr ectly in t he
Alignment
Bar Code Ty pe
Description
L
C
Code 39, C odabar,
Center within f ield.
R
Code 39, C odabar,
Align on right s ide of field.
B
All except wher e not ed.
Align at m idpoint of f ield; centers variable
E
All except wher e not ed.
Align at endpoint of the f ield; r ight justifies
field. L is the default .
All
Aztec , D ata Matrix,
GS1 DataB ar, Intelligent
Mail, MaxiCode,
QR Code (Quick
Response)
I 2of5, MSI
I 2of5, MSI
The red dot indicates the field origin and the line indicates the
colum n pos ition for each field in the following graphic .
Align on left s ide of f ield.
Must us e L for t hes e bar c odes .
width bar c odes , which m ay not allow padcharacter centering.
variable-width bar codes .
3-20 Packet Reference Manual Classification: Avery Dennison – Public
Page 69
B12. field r ot Field r otation. Field rotation r otates the whole field, not just the
char ac ters . Rotation is af fec ted by the pivot point, w hic h varies
depending on how text is justif ied. Low er left c or ner of field is
the pivot point. 0 is the default. Options:
0 T op of field point s to top of s upply (use for MaxiCode)
1 T op of field point s to left of s upply
2 T op of field point s to bottom of s upply
3 T op of field point s to right of s upply
Note: Serial bar c odes with an 8-dot nar row elem ent do not
autom atic ally print at 2.5 IPS. S erial bar c odes printed at s peeds
greater than 2. 5 IPS m ay not s c an properly.
B13. ty pe S elec t fr om the bar c ode fam ily. T his param eter only applies to
the GS 1 Dat aBar bar c ode. 1 is t he default.For other bar
codes , do not inc lude this par am eter. O ptions :
1GS1 D ataB ar 14
2 GS1 D ataB ar 14 Tr unc ated
3 GS1 D ataB ar 14 S tac ked
4 GS1 D ataB ar 14 Stacked Omni directional
5 GS1 D ataB ar Lim ited
6 GS1 D ataB ar Expanded
7 UPCA
8 UPCE
9 EAN13
10 EAN8
11 UCC/EAN128 and CC A/B
12 UCC/EAN128 and CC C
B14. s ep_heightHeight of the s epar ator betw een the linear bar c ode and 2D bar
code. This param et er only applies to t he GS 1 Dat aBar bar c ode.
For other bar c odes , do not inc lude this param et er. The value is
1 or 2. 1 is t he default.
B15. s egm ent Width of the s egm ent. This param eter only applies to the G S1
DataB ar bar c ode. For other bar c odes , do not inc lude this
parameter. The range is even num ber s from 2 to 22. 22 is the
default.
Example B,3,12,V ,5 0, 40 ,1 ,2 ,8 0 ,7 ,L,0 |
Defines a bar c ode field (f ield #3) w ith 12 c har ac ters of variable length s tar ting at r ow 150,
colum n 40. A UPCA bar c ode w ith a dens ity of 2 and a height of 80 is us ed. The c hec k digit and
number s ys tem are s how n at the bott om. The bar c ode is left aligned w ithout any field rotation.
Classification: Avery Dennison – Public Defining Fields 3-21
Defines a bar c ode field (f ield #3) w ith up to 30 c har ac ters of var iable length s tar ting at r ow 5,
column 5. The GS1 D ataBar uses a dens it y of 4. No t ext is shown w ith the bar c ode. The bar
code is lef t-aligned with no field rotation.
Defini ng Non-Print abl e Text Fi elds
Non-pr intable text fields hold entered data w ithout pr inting it in it s entered f orm . Typically, nonprintable fields hold dat a that later c om bines with other fields t o form a merged f ield. D efine nonprintable text fields before defining the field w here the infor m ation pr ints .
When copying this field int o another field, the m axim um number of c har ac ters for the final field is
2710. Allow only as m any c harac ter s as needed, because extra characters use up space. A lso,
if c opying into a bar c ode f ield, the m axim um number of char acters in the destination bar code is
determ ined by the bar c ode s pec ific ation ( UPCA-12, EAN-13, etc.). Apply field opt ions to
manipulat e the text entered in this field. C opying data from this field into another field is an
example. See “Using O ption 4 C opy Dat a” in C hapter 4 f or m ore inf orm ation.
In the following example, data is entered into four non-printable fields and m erged to for m field 5,
and is then printed as a bar c ode. See “ Merging Fields
Field Data Field Type
1 20374 Non-printable
2 339 Non-printable
3 8 Non-printable
4 15 Non-printable
5 20374339815 Bar C ode
” in C hapter 4 for m ore infor m ation.
Eac h non-printable text f ield requires a separate definition.
Syntax D,field#, # of cha r |
D1. D Non-Pr intable Text Field.
D2. field# Unique number from 0 to 999 assigned t o this field. 1 is the
default.
D3. # of c har Maxim um num ber of c harac t ers in this fiel d: 0 to 2710. 30 is the
default.
Example D,4,20 |
Defines a non-print able text field ( field #4) w ith a m axim um of 20 c har ac ters .
3-22Packet Reference ManualClassification: Avery Dennison – Public
Page 71
Defini ng Cons tant Text Fi elds
A c ons tant text f ield is a s et of fixed c har ac ters that prints on all labels . Def ine eac h c ons tant
text field s epar ately. This field is not as s igned a field num ber , but is c ounted as a field ( keep this
in mind, as the print er allow s a m aximum of 1000 fields per for m at). The c harac ter s in t his field
cannot be c hanged by batc h data. F ield options do not apply to c ons tant text fields . Mark the
pivot point of the field, w hich varies depending on the fields ’ justification.
Syntax C,row,c olumn , ga p ,font ,h gt m ag,wi d mag,color , a l i gn m ent ,cha r rot,f i eld rot ,
"fix ed char",sym set |
C1. C Const ant Text Field.
C2. r ow Row location – dis tanc e f rom the bott om of
print area to the pivot point. 10 is t he default.
For m onos pac ed fonts, dis t anc e from bottom
2of print area to the pivot point.
For propor tionally s pac ed fonts , dis tanc e from
bottom of print area to bas eline of c har ac ters
in the field. ( Bott om exits the printer fir s t.)
English 0 – 1599
Metric 0 – 4063
203 Dots 0 – 3247
300 Dots 0 – 3599
C3. c olum nC olum n loc ation - dis tance from the left edge
C4. gapNumber of dot s between c har ac ters (203 dots per inc h) . Range:
0 to 99. 0 is the default.
Any number other than 0 affects the field width.
Default s pacing:
Standard 3 dots
Reduced 1 dot
Bold 3 dots
OCRA-like 3 dots
HR1 3 dots
HR2 3 dots
CG Trium vir ate™ Typefac e B old varies w ith each letter
CG Trium vir ate™ Typefac e varies with each letter
EFF Swiss Bold varies with each letter
Note:HR1 and HR2 ar e only us ed wit h the UPC bar c ode fam ily and
must be numeric.
C5. font Style of font. 1 is t he default. Options:
1 Standard 10 CG Trium virate™ Typeface B old
2 Reduced 11 CG Tr ium virate™ T ypefac e
3 Bold 15 7 pt. C G Trium virat e™ Typefac e
4 OCRA-like 16 9 pt. CG Tr ium virate™ T ypefac e
5 HR1 17 11 pt. C G Trium virat e™ Typefac e
6 HR2 18 15 pt. C G Trium virat e™ Typefac e
50EFF S wis s Bold (Tr ueType® S c alable)
56PaxarSymbols
Classification: Avery Dennison – Public Defining Fields 3-23
Page 72
Or a valid downloaded font s elector number .
Line field
Line field
Fonts 5 and 6 are f or num eric dat a only. The CG Trium vir ate™
typefac es s upport only the ANSI and DO S Code Page 437 and
850 Sym bol Sets . The s c alable font does not s uppor t C ode Page
1256 (Arabic ). See Appendix C for more information.
C6. hgt m agHeight magnifier, 1 to 7 ti mes (4 to 255 points f or
sc alable/downloaded TrueType fonts). 1 is the default. Us e a
magnif ier of 1 w ith pr oportionally s pac ed fonts , bec aus e
char ac ters lose s m oothnes s at higher m agnific ations . See
Appendix B, “ Fonts
,” for m ore infor m ation about font s .
C7. wid m agW idth m agnif ier, 1 to 7 times ( 4 to 255 points for
sc alable/downloaded Tr ueType fonts). 1 is t he default.
Proportionally s pac ed fonts do not have a s et w idth. To es tim at e
the s iz e of the field, use the letter “W” for the wides t field or an
“L” for an average w idth field. Find the s elec ted font and the
desir ed widt h in Appendix B , “Fonts
.”
C8. color Ther e are t wo types of f ield c olor overlay attr ibutes . B is the
default.
TransparentT he overlay field (text or c ons tant text) does not
bloc k out ( or “er as e”) exist ing fields .
OpaqueThe overlay field blocks out (or “erases”) existing
fields.
Options f or s tandar d printer fonts :
BO paque, Norm al, B lac k, Norm al
D/R/W Opaque, Normal, White, Norma
O Trans parent, Normal , Blac k, Norm al
Options f or s c alable fonts :
AO paque, Norm al, B lac k, Bold
B O paque, Norm al, B lac k, Norm al
E O paque, Italics , B lac k, Bold
F O paque, Italic s , Blac k, Norm al
N Transparent, Norm al, Blac k, B old
O Transparent, Norm al, B lac k, Norm al
S Transparent, Italics , Blac k, B old
T Transparent, Italics, Black, Normal
blocked out
by opaque
field using
attribute B
Field plac em ent in the pac ket is an im por tant c ons ider ation w hen
using f ield c olor att ributes . If a line field is defined before the
overlay (text or cons tant text) field, the line field is blocked out
by the overlay field, depending on the overlay field’s c olor
attribute. If a line field is defined after the overlay field, the line
field is not bloc ked out by the overlay field, regardles s of the
overlay field’s color attribute.
Note:Solid blac k pr int s hould not exc eed 30% on a given s quare inc h
of the label, or the printhead life m ay be dec reased
3-24 Packet Reference Manual Classification: Avery Dennison – Public
not blocked
out by
transparent
field using
attribute O
Page 73
C9. alignmentAlignment of cons tant text in the field. L is the default . Options: LAlign on left s ide of f ield (default )
C C enter text w ithin field ( m onos pac ed fonts only)
R Align on right s ide of f ield (m onos pac ed fonts only)
B Align at m idpoint of field
E Align at endpoint of the f ield
Use L, B, or E for any font.
The red dot indicates the field origin and the line indicates the
colum n pos ition for each field in the following graphic.
C10. c har rotChar ac ter r otation. 0 is the def ault. The field or s upply does not
rotate, only the c har ac ters do. Options :
0T op of c harac t er points to top of fi eld
1 T op of c harac t er points to left of field
2 T op of c harac t er points to bott om of field
3 T op of c harac t er points to r ight of field
Note: Font 50 and dow nloaded TrueT ype fonts do not s uppor t c harac ter
rotation.
C11. field rotField r otation. 0 is the default. Field r otation r otates the w hole
field, not jus t the c harac ter s . Rotation is affec ted by t he pivot
point, w hic h varies depending on how text is justified. Lower left
cor ner of f ield is the pivot point. O ptions :
0 T op of field point s to top of s upply
1 T op of field point s to left of s upply
2 T op of field point s to bottom of s upply
3 T op of field point s to right of s upply
Classification: Avery Dennison – Public Defining Fields 3-25
Page 74
C12. “ fix ed c har”Fixed c harac ter s to appear in the field. Maximum 2710
characters. “” is the default. Enclos e in quotation m arks.
C1 3. sym set Symbol s et . Use 0 for the Internal Sym bol Set. 0 is the default .
For s c alable or T rueType® fonts , us e:
1ANSI Sym bol S et
100 Macintosh
101 Wingdings
102 Unicode ( user input) for particular mapping
103 BIG5 (us er input ) for Unicode m apping
104 GB2312 (user input) for Unicode m apping
105 SJIS (us er input ) for Unicode m apping (CP 932, Japanese)
106 GB2312 (us er input) for GB2312 mapping (CP 936,
Simplified Chinese)
107BIG5 (user input) for BIG5 mapping (CP 950, Traditional
Chinese)
108 KSC (us er input) f or KS C mapping ( CP 5601 Korean)
110 Unicode UTF-8
437 DO S Code Page 437 (D om es tic )
850 DO S Code Page 850 (International)
852 DO S Code Page 852 (Latin 2)
855 DO S Code Page 855 (R us s ian)
857 DOS Code Page 857 (IBM T urkis h)
860 DO S Code Page 860 (MS-D O S Por tugues e)
1250 Code P age 1250 (Lat in 2)
1251 Code P age 1251 (C yrillic )
1252 Code P age 1252 (Lat in 1)
1253 Code P age 1253 (Greek)
1254 Code P age 1254 (T urkis h)
1255 Code P age 1255 (Hebrew )
1256 Code P age 1256 (Arabic)
1257 Code P age 1257 (B altic )
1258 Code P age 1258 (Vietnam )
The Standar d, R educ ed, Bold, O C RA and HR fonts only s uppor t
the Internal S ymbol S et (0) . The C G Trium virate™ typefac es only
suppor t the ANSI (1) and D O S Code Page 437 (2) and 850 (3)
Sym bol Sets . T he s c alable font (f ont#50) does not s upport C ode
Page 1256 Arabic (10) . C ode pages 852-860 and
1250-1258 are for downloaded TrueType fonts or the s c alable
font. Code pages 102-110 require a dow nloaded International
TrueType font. TrueType font s are des igned to be r egionally
spec if ic ; therefore, all c ode pages m ay not be s uppor ted in a
given font. See Appendix C , “Symbol Sets/ Code Pages
information.
” for more
If us ing s ym bol s et 110 (Unic ode UTF-8) , set the MPCL c ontrol
char ac ters (s tart of header, etc . ) to dec im al values betw een 0
and 128; otherw is e, er rors m ay occ ur with the Unicode data
entered. See Chapter 2, "C onfiguring the Printer
inform ation about the MPCL c ontrol charac ters.
Example C,30,10,0 ,1 ,1 ,1 ,B , L,0 ,0 ," M AD E IN US A" ,0 |
Defines a c ons tant text field s tar ting at r ow 30, c olum n 10. It does not have any additional inter char acter gap. The Standard f ont is us ed without any additional m agnific at ion. The pr inting is
black on w hite and lef t jus tified. No field or c harac ter rotation is used. “ MADE IN USA” is printed
in this field. T he internal s ym bol s et is us ed.
3-26Packet Reference ManualClassification: Avery Dennison – Public
" for m ore
Page 75
Defini ng Line Fi elds
Use lines to for m borders and m ar k out original pr ic es . D efine eac h line s eparat ely. This field is
not assigned a field number , but is counted as a field (keep this in m ind, as the printer allow s a
maximum of 1000 fields per form at ). Define any line length and a t hic kness up t o 99 dots , as
long as the s olid blac k print does not exceed 30 per c ent of any given s quare inch of the label.
Line Types
Create horiz ont al and vertic al lines . There ar e tw o ways to define lines .
Segments Select the starting point and ending point.
Vectors Select the st arting point, the angle, and the length of the line.
L5. angle If Using Segments:
/end row Row location of ending point. Meas ure from bottom
of print area. O n horizontal lines , t his value m us t
match item L3. 100 is t he default.
English 0 – 1599
Metric 0 – 4063
203 Dots 0 – 3247
300 Dots 0 – 3599
If Using Vectors:
Angle of line. O ptions : 0, 90, 180, or 270.
0 is the default.
Classification: Avery Dennison – Public Defining Fields 3-27
Page 76
L6. length/ end If Using Segments:
col Colum n loc ation of end point. Measure f rom
left edge of print area. O n vertic al lines ,
this value must match
parameter L4. 100 is the default.
English 0 – 409
Metric 0 – 1039
203 Dots 0 – 831
300 Dots 0 – 1247
If Us in g Vectors:
Length of the line in s elec t ed units . 10 is the default .
L7. thic k nes s Using the c har t below for r eferenc e, w rite t he line thic knes s
(1 to 99) in box L7. 2 is the default . Line thickness fills upward
on horiz ontal lines , or to the r ight on vert ic al lines . Measured in
dots.
L8. “patter n”Line pattern. E nter "".
Example L,S,110,30,110,150,10,"" |
Defines a hor iz ontal line field as a s egment start ing at row 110, colum n 30 and ending at row
110, c olum n 150. The line t hic kness is 10 dots .
3-28Packet Reference ManualClassification: Avery Dennison – Public
Page 77
Defini ng Box Fi elds
Use boxes to for m borders or highlight item s of interest . D efine eac h box field s epar ately. This
field is not as s igned a field number, but is c ounted as a field (keep this in m ind, as the printer
allows a m axim um of 1000 fields per for m at). Define any line length and a thicknes s up to 99
dots , as long as the s olid blac k print does not exc eed 30 perc ent of any given s quare inc h of the
label.
Classification: Avery Dennison – Public Defining Fields 3-29
Page 78
Q6. t hic k nes s Usi ng the c hart below for refer enc e, w rite the des ir ed line
thickness (1 to 99) in box Q 6. 2 is the def ault. Boxes fill inward,
so m ake s ur e boxes do not over wr ite other fields . Measured in
dots.
Q7. “ patter n” Line patt ern. Enter "".
Example Q,240,30,270,150,3,"" |
Defines a box field s tar ting at r ow 240, c olum n 30. It ends at row 270, c olum n 150. It has a
thickness of 3 dots.
3-30Packet Reference ManualClassification: Avery Dennison – Public
Page 79
Defining the RFID Data Field
The RFID D ata Field contains the information pr ogramm ed into the RFID inlay. The s yntax of t he
RFID Dat a Field is s im ilar to the s tandar d non-printable text field form at.
Note: Printing over t he RFID inlay (or tr ans ponder) c aus es pr inting irr egularity.
Do not use skip index wit h RFID supplies. Unexpected res ult s may occ ur .
Syntax X,field#,# of char,data_type |
X1. XRFID Dat a Field.
X2. field#Unique number from 0 to 999 as s igned to this f ield. 1 is the
default.
X3. # of c harThis num ber m us t be equal to or greater than the tot al num ber of
char ac ters in the RFID D ata Field. R ange: 0 to 2710. 30 is t he
default. The am ount varies ac c or ding to the RF ID dat a, protoc ol,
and m odule type. For example, C1Gen2 c an be up to 496 bit s ,
plus the access password, lock code, etc.
Note: An error 715 occ urs if the printer does not rec eive the correct
amount of data. Pad data to ensure the c or rec t amount of bit s .
See “Us ing O ption 30
Using O ption 65 ( Serialized EPC Data), t he num ber of c har ac ters
spec if ied here s hould m atc h the number of c harac t ers entered for
the batc h data ( inc luding the 38-bit s erial number ). P ad data
with z er os to ensure the c or rec t amount of bits .
X4. data_typeDat a type. Use 0 (ASCII Hex - ASCII repres entation of Hex),
which uses characters A to F and 0 to 9. F or exam ple, the let ter
A in ASCII Hex has a value of 41 and is repr es ented in MPCL
batch data as “414141414141414141414141".
,” in C hapter 4 f or m or e information.
Note:Do not us e the ASC II fil e s eparator c harac ter (1C) in R FID batc h
data.
Example X ,5,24, 0 |
Defines an R FID Dat a Field (f ield #5) w ith exac tly 24 ASCII Hex char ac ters for a 96-bit RFID
inlay.
Classification: Avery Dennison – Public Defining Fields 3-31
Page 80
3-32Packet Reference ManualClassification: Avery Dennison – Public
Page 81
DEFINING FIELD OPTIONS
4
This c hapter pr ovides a r eferenc e for defining
♦ field options in formats
♦ check digit packets.
When using multiple options in a form at, opt ions are pr oc es s ed in the order they are r ec eived.
A pp ly in g F ie ld Op t ion s
Field options fur ther def ine text, bar c ode, and non-printable text fields . The text, constant text,
or bar c ode field m us t be pr evious ly defined before applying any field option to it.
Note: Define field options im m ediately after the field to w hic h they apply.
Combining Field Options
Multiple opt ions c an be us ed with m os t fields. O ptions can be us ed in any c om bination exc ept as
noted with each definition. Options are proc ess ed in the order they are received.
For exam ple, us e Option 4 to c opy data fr om another field, and then us e Option 30 to pad the
field. When using m ultiple options for the s am e field, plac e the opt ions in the order to apply them
in the format.
Restrictions
Som e options c annot be us ed toget her. F or exam ple, inc r em enting (O ption 60) and pric e field
(O ption 42) options c annot be applied to t he s am e field. See eac h O ption’s s ec tion for s pecific
com binat ions to avoid.
Option 4 (c opy a field) is the only option that can be r epeated for a s ingle field.
Syntax R,option#,parameter...parameter |
R1. R Indicates field option header.
R2. option# O ption num ber :
1 D efine fixed c harac t ers
2 D ata type r es tric t ions
3 D ata entr y tem plate
4 Copy dat a from previous field
5 D efine data entry s ources
6 Upload field data
7 P rint Time/Date
20 D efine data entry prom pts
21 Define extended field names (XML-enabled printer)
30 Pad dat a to left or right w ith s pec ified c har ac ter
31 Generate c hec k digit
42 For m at as a price field
50 D efine bar c ode dens it ies
51 D efine s ec urity and t runc ation of P DF417 bar c odes
52 D efine widt h or length of P DF 417 bar c odes
53 Define opt ional set tings for Az tec bar c odes
60 D efine inc rem enting or dec rem enting field
61 R eim age fields
65 Ser ialized EPC data
R3. par am eter( s ) Varies per option. See the following option des cript ions.
Classification: Avery Dennison – Public Defining Field O ptions 4-1
Page 82
Using Option 1 (Fixed Data)
Fixed data is inform ation (a com pany name or stor e number ) to print on all labels. Define fixed
char ac ters for an entire field or for par t of a field.
Syntax R,1,"fixed char" |
R1. R Option Header.
R2. 1 Option 1.
R3. “ fix ed c har” C haracter s to insert. Enc lose in quot ation marks . If defining fixed
characters for part of a field, plac e unders c or es (_) in non-fixed
posit ions . Any s pac es in the phr as e are fixed characters. Range:
0 to 2710. Undersc ore c har ac ters are s tripped out and the data
is c om pr es s ed if no data is s upplied by the batc h and t he field
length is variable.
Example R,1,"_ _ _%$_ _ _ _ _" |
Uses fixed c harac t ers (%$) in pos itions 4 and 5. T he other pos it ions are variable.
Example R,1,"MONAR CH " |
“MONARCH” appears as a fi xed f ield in this exam ple.
To fill in the non-fixed port ion of the field, see “D efining B atc h Dat a Fields
alternative, apply O ption 4 to c opy data into the non-fixed c har ac ter pos itions .
” in Chapt er 6. As an
Using Opt ion 2 (D ata Type Rest r ictio ns)
This opt ion restric ts the data t ype for a par tic ular f ield. Use O ptions 2 or 3 only onc e per f ield. D o
not us e with O ption 3 ( Data E ntry Tem plat es ). If bat ch data is entered in the batch pac ket, do not
apply O ptions 2 and 3. O nly us e thes e options for offline batc h entry.
Note:Use a keyboard or s c anner for offline data entr y.
Syntax R,2,ch a r _cod e |
R1. R Option Header.
R2. 2 Option 2.
R3. c har c ode Charac ter type for the f ield. 1 is t he default. Options:
1 Num eric only ( 0..9)
2 Letters only (A..Z,a..z)
3 S ymbols only (printable character s other than letters or
numbers)
4 Letters and numbers only
5 Num bers and s ym bols only
6 Letters and symbols only
Spac es are permit ted in all c ategor ies . Us e a c om bination of any
two (letter, numbers, or symbols) character types.
Example R,2,2 |
Res trict s t he field data to let ters only ( A-Z o r a -z).
4-2Packet Reference ManualClassification: Av ery Dennison – Public
Page 83
Using Opt ion 3 (Dat a Entr y Te m plat es)
This option provides m or e s pec ific restr ic tions than O ption 2. T his option c an be us ed to s elec t
cer tain letter s (s uc h as A t hrough F or the num bers 1 through 4) f rom a c harac t er set. Us e t his
option to c reat e a tem plate of allow able c har ac ters for a field. Do not us e w ith O ption 2 (Data
Type Res trictions) .
On ly us e this option for offline batc h entr y. Define a tem plat e up to 30 c harac t ers long, but t he
printer only dis plays 16 c harac t ers at a time. T he c harac ter template m us t contain the s am e
number of characters as the field.
Note: Use a keyboard or s c anner for offline data entr y.
Syntax R,3,code,chars |
R1. R Option Header.
R2. 3 Option 3.
R3. c ode Data types . T is t he default. Options
SDefines a s pec ific set of c har ac ters for the entire f ield. The
s t ring length does not have to m atc h the field lengt h.
Maximum is 30 characters.
TC reates a tem plat e of allowable data t ypes by plac ing
character indicators in each character position. The number
of characters in the string must match the length of the
field. For exam ple, a patient rec ord containing blood type.
Ac c eptable c harac t ers would be A, B , O , +, or -.
R4. c har s C harac ter s to include in a field or a specific template. “” is the
default. Must be enc losed within quotation m arks. Indicators can
be
* any printable c haracter
# any digit 0-9
@ any letter a-z, A-Z
- no us er input for this pos ition ( for fixed dat a or c opied data)
Example R,3,S,"ABC1234567890" |
Res tr ic ts the field dat a to letter s A, B , and C , and all digits .
Example R,3,T ,"***#_ _ _ _" |
Creat es a tem plate that allow s any printable c harac t er in positions 1, 2, and 3; digits in pos it ion
4; and res er ves positions 5 t hrough 8 f or fixed or c opied data.
Classification: Avery Dennison – Public Defining Field O ptions 4-3
Page 84
Using Opt ion 4 (Copy D a ta)
Value
Description
Note: Make s ur e the
is in bits.
Use option 4 to c r eate a field that us es data from anot her field. This creates merged fields or
sub-fields . Copy the inf orm ation fr om m ultiple fields int o one field by applying the c opy procedur e
mor e than onc e. C opy data is the only option that can be applied to a field more than once.
The m aximum number of c harac ter s defined in T3 (# of c har) or B3 (# of c har ) m us t allow for the
total number of c harac t ers that will be plac ed in the field, including pric e, c hec k digit, or f ixed
char ac ters inser ted by the print er. T he m aximum number of c harac ter s in the field c annot exc eed
2710 or the m axim um number of c haracters permitted by the bar code.
Option 4 c an be applied t o an RF ID Data Field. With Vers ion 1.8 or greater fir m war e, the print er
supports copying ASCII Hex dat a and c onverting it to ASCII Decimal data.
Note:W hen copying fr om m ore than one field, copy into the destination f ield from left to right.
Syntax R,4,src f ld ,src start,# to copy,dest start,copy code |
R1. R Option Header.
R2. 4 Option 4.
R3. src fld Field num ber fr om which data is c opied. R ange: 0 to 999. 1 is the
default.
R4. src st artP os ition num ber in the s our c e field of t he firs t c har ac ter to be
copied. Char ac ter pos itions ar e num bered 1 to 2710, s tarting
from the left. 1 is the def ault.
R5. # to c opy Number of c har ac ters to copy. R ange: 1 to 2710. 1 is the
default. For copy codes 5 and 6 (ASCII hex sour ce), this value is
in bits.
R6. des t s t artPos it ion num ber w here c opied c harac t ers are to begin printing in
the des tination field. R ange: 1 to 2710.
R7. copy code Copy Method. 1 is the default.
1
2
Special methods for RFID Data:
Value Source Field Destination Field Formatting
5 ASCII hex ASCII decimal w ith for m atting
6 ASCII hex ASCII decimal no for m atting
Example R,4,3,1,3,1,1|
Copies data fr om field #3, s t arting at the f irs t pos ition and c opying three charac ters . In the
dest ination field, the infor m ation is plac ed in pos ition 1 and c opied as form atted data.
Copy field w ith for m atting ( inc luding pric e s ym bols , pad
characters, check digits, etc.).
Copy unform at ted data ( without pric e c har ac ters , pad
characters, etc.).
# to c opy
4-4 Packet Reference Manual Classification: Av ery Dennison – Public
Page 85
RFID AS CII H ex D ata Convert to ASCII Decimal Example
{F,20,A,R,E,200,270,"EPC-DEC"|
X,1,24|
R,60|
T,2,40,V,20,10,0,50,8,8,B,L,0,0|
R,1,"SG TIN96 EPC : ___________ _____________"|
R,4,1,1,25,15,1|
T,3,30,V,40,10,0,50,8,8,B,L,0,0|
R,1,"MFG ID # : ___________________"|
R,4,1,15,2 4 ,1 2,5| `Conv er t MFG ID to ASCII Decimal`
T,4,30,V,60,10,0,50,8,8,B,L,0,0|
R,1,"ITEM ID # : __________________"|
R,4,1,39,2 0 ,1 3,5| `Conv er t ITE M ID to ASCII Decim a l`
T,5,30,V,80,10,0,50,8,8,B,L,0,0|
R,1,"SERIAL # : ___________________"|
R,4,1,59,3 8 ,1 2,5| `Conv er t S ER # to ASCII Decima l `}
{B,20,N,5|
1,"30340FFFFF7777C98DF3EA6D"|}
This example pr oduc es the follow ing 5 labels .
The MFG ID#,ITEM ID#, and SERIAL# are converted from ASCII Hex data
(30340FFFFF7777C98DF3EA6D) to ASCII D ec im al data then printed.
Fifth printed label
First printed label
Classification: Avery Dennison – Public Defining Field O ptions 4-5
Page 86
Merging Fields
Copy data to m erge the c ont ents of fields . Us e the c opy data option as m any tim es as neces s ary
to c opy all the appropr iate fields int o the m erged field. RF ID D ata Fields c an be m er ged.
In the following example, two text and two non-printable fields ar e s hown. D ata fr om these fields
is m er ged to for m field 5, and is then pr inted as a bar c ode.
Field Data Field Type
1 203 Non-printable
2 339 Non-printable
3 8 Text
4 BLUE Text
5 2033398BLUE Bar Code
To c reate this s equenc e:
1. Define f ields 1, 2, 3, and 4.
2. Define field 5 as a bar code. Allow enough char acters in the bar code field to hold all the
copied c har ac ters .
3. Apply Option 4 t o field 5 onc e for every s ourc e field.
Sub-Fields
Copy a s egm ent of data fr om one field into a new loc ation, c alled a s ub-field. For exam ple,
extrac t part of the data in a bar c ode and dis play it in text f orm in a s ub-field. Then, us e the c opy
data option.
Using Opt ion 5 (D efi ne D ata E nt r y Sources)
Defines how data is enter ed into a field. O ption 5 is required for of fline data entry. If the field
holds all fixed c har ac ters or c opied data only, elim inate the oper ator pr om pt. Use O ption 5 only
once per field. Us e a keyboard or s c anner for offline data entry.
Use this option t o read pr e-program m ed data in t he RF ID chip em bedded w ithin the s upply. Us ing
Option 5 s tops the printer w hile reading eac h label; regar dles s of the pr int s peed. If us ing a batch
quantity greater than one, the data is read from eac h label.
W hen reading data, m ake s ure the m axim um number of c har ac ters in the field is equal to or
greater t han the number of char acters being read. If not, the data may be incom plete.
Use option 6 ( Upload F ield Dat a) w ith O ption 5 to upload t he data fr om the RF ID chip to a hos t.
Note:Option 5 r e-images each label in t he batc h.
Syntax R,5,code |
R1. R Option Header.
R2. 5 Option 5.
R3. c ode Input c ode for the data in t he field. Options:
K Keypad
R RFID (read dat a from the R FID c hip). This is ignored on
Reads the pre-programmed data from the R FID chip and saves that data into the text field.
4-6Packet Reference ManualClassification: Av ery Dennison – Public
Page 87
Using Opt ion 6 (Upl oad Fiel d Data)
Upload data from any field us ing O ption 6. When uploading m ultiple fields of data, the data is
comma separated.
Apply O ption 6 to an R FID field to upload E PC data and t he TID (tag identifier) data. To upload
TID data, enable s ingulate m ode; otherw is e, an er ror 737 oc c ur s . See “
Packet” for m or e inform at ion.
Note:When uploading bot h EPC and TID data, the TID data is always first , f ollowed by a
com m a, t hen the EP C data; regardles s of Opt ion 6 order ing wit hin the for m at.
Data is uploaded t o the las t por t that r ec eived hos t data ( s erial, USB, or Ether net) at the end of
the batc h or label, as follows:
Uploading Data
Batch Qt y Option 6 Option 60 Result
Defining t he RFID Set up
1 Yes
R,6,H|
R,6,H,T|
>1 Yes No Uploads the las t data or uploads t he data preceded
>1 Yes
R,6,H|
R,6,H,T|
>1 Yes
R,6,H|
R,6,H,T|
Note: Option 60 ( R,6,I,0|) c an be used anyw here in the for m at.If a print ing or enc oding error occurs, the uploaded string begins w ith “ERROR xxx ”
before the dat a. This uploaded s t ring, ERROR 7503034257BF400B78000A00111 indicates
the printhead is overheated and inc ludes the EPC data.
In s ingulate mode, if an errors oc curs while reading the TID, no TID dat a is uploaded.
Uploading the label or batch’s data oc curs when a label is suc ces sfully printed (or ther e
is an er ror ).
No
Yes
(R,60,I,1|)
Yes
(R,60,I,0|)
EPC data is uploaded at t he end of the batc h.
TID data is uploaded at the end of the batch.
by an er ror message.
EPC data is uploaded aft er eac h label.
TID dat a is uploaded after eac h label.
EPC data is uploaded aft er eac h label.
TID dat a is uploaded after eac h label.
Note: NO incr em enting is perfor m ed.
Syntax R,6,device,type |
R1. R Option Header.
R2. 6 Option 6.
R3. dev ic e Las t por t that r ec eived host data. Use H (host). To upload E PC
data, apply this option to an RFID field.
R4. ty pe Type of data to upload. Us e T to upload t he TID (tag identifier).
Configur e the R FID Setup P ac ket to enable s ingulate m ode f irs t.
Copies data fr om field 5 ( RFID D ata Field) to field 6 (Text field). Uploads the dat a to the lastused por t.
Sample Upload Packet
Example X,2,24,0|
R,60,I,1| increments EPC dat a by 1
R,6,H| upload EPC data
R,6,H,T| upload TID data
Returns the following TID and EPC data separ ated by a c omma. TID data is always fir s t, then
the EPC data; r egardles s of O ption 6 or dering w ithin the f orm at:
Retur ns the f ollowing pre-programmed EPC data in the R FID c hip in the upload pac ket:
313233343536373839303132
Example B,3,12,F,50,50,1,2,60,7,L,0 |
R,6,H |
Retur ns the f ollowing UPCA bar code data entered from the batc h in the upload packet:
123456789012
4-8 Packet Reference Manual Classification: Av ery Dennison – Public
Page 89
Using Opt ion 7 Pri nt Time/Date
The printer m us t contain the opt ional real t im e c loc k. Use this option to pr int the pr inter’s c ur rent
tim e and date in a for m at. To s et the print er’s c urr ent tim e and date, s ee “
Packet” in Chapt er 2.
Use wit h text, c ons tant text or bar c ode fields . To us e O ption 7 w ith a bar c ode f ield, the bar c ode
must support the full ASCII set of characters.
Syntax R ,7 , param,fo rmat |
R1. R Option Header.
R2. 7 O ption 7.
R3. par am P aram eter to print. Use 1 for real t im e c loc k.
R4. for m at Tim e and Date f orm ats . 1 is the default. Options:
1 D ate as 06/09/2014
2 D ate and tim e as 06/09/2014 18:15
3 D ate and t im e as 06/09/2014
4 T im e as 18:15
5 Time as 18:15:05
Example R,7,1,2 |
Prints t he date and tim e in t he form at as 06/09/2014 18: 15.
Defining the Tim e/ Date
Using Opt ion 20 (Defi ne Data Ent r y Prom pt s)
This option defines the oper ator pr om pt and it is not r ec om m ended on fields filled ent irely by
fixed char ac ters or c opied data. This opt ion m us t be defined befor e O ption 5, or the prom pt does
not display during data entry. Use a keyboard or s c anner for offline data entry.
Syntax R,20,"p romp t " |
R1. R Option Header.
R2. 20 Option 20.
R3. “prompt” Displays t he exact phras e to pr om pt the oper ator. Must be
enclos ed w ithin quotat ions . The prompt must be 15 characters or
less.
Example R,20,"Order Number" |
Dis plays the prom pt Or der Number for the operator w hen this field is im aged.
Classification: Avery Dennison – Public Defining Field O ptions 4-9
Page 90
Using Option 21 (Define Extended Field Names)
This opt ion defines names for eac h field in a format, whic h can be longer than eight charac ters .
This option is only available on the XML-enabled printer.
Syntax R,21,"field _n a m e " |
R1. R Option Header.
R2. 21 Option 21.
R3. “ field_nam e” Spec ifies the fiel d nam e. Must be enc los ed wit hin quotations .
The nam e c an be
1 to 256 characters, excluding non-pr intable c ontrol c har ac ters
and the quotation mark (“). “” is the default . This nam e m us t
mat c h the one s pec ified in the var iable name attribute.
Defines the nam e for text field 2 as “ SALEPR ICE_FIELD.”
Using Opt ion 30 (P ad Data)
Add c harac ter s to one s ide of a field t o “pad” the field. P adding fills in the rem aining s pac es when
entered data does not fill an entire field. If a variable length field is not com pletel y filled with
batc h data, this opt ion fills the r em aining pos itions in the f ield wit h the c harac t er designated by
Option 30.
Note:Option 30 c an be applied t o an RF ID Data Field.
Syntax R,30,L/R,"character" |
R1. R Option Header.
R2. 30 Option 30.
R3. L/R Indicates type of padding. R is the default.
L Pad field on lef t s ide
R Pad f ield on right s ide
R4. “ c harac ter ”Pad character must be within the 0 to 255 dec im al range and
enclos ed ins ide quot ation m arks . “0” is the default. The pad
character must be in ASCII Hex format. Do not use on fixed
length fields .
Example R,30,L,"X " |
Pads data w ith an “X” on the lef t s ide of the f ield.
Example X ,2, 24,0 |
R,30,R,"0" |
Pads the data in t he RF ID Data Field w ith a “ 0” on the r ight s ide of t he data. This exam ple us es
a 96-bit RFID inlay.
Sample Use for Pad ding
Use pad c harac t ers to m ake a variable lengt h bar c ode oc c upy a fixed am ount of space on the
supply. If t he m aximum number of c harac ter s in the bar c ode is 15, but t he batc h pac ket only has
10 char ac ters , the padding option f ills the rem ainder of the f ield wit h pad c harac ter s .
4-10Packet Reference ManualClassification: Avery Dennison – Public
Page 91
Using Opt ion 31 (Calcul ate Check D igi t)
The printer generates a check digit when O ption 31 is applied to the field. Do not us e this option
if the field c ont ains a UPC, E AN, or C ode 39 (w ith the MOD43 c hec k digit) bar c ode.
Syntax R,31,gen/ ver , c h e c k d i gi t # |
R1. R Option Header.
R2. 31 Option 31.
R3. gen/v er Enter G t o generate a c hec k digit.
R4. c hec k digit # Spec if ies a c hec k digit s c hem e. Enter a num ber that identifies a
chec k digit s c hem e that has been defined. F or m ore inf orm ation,
see “ Using C hec k Digits
Example R,31,G,5 |
Generates a c heck digit using the previously defined c heck digit sc heme 5.
.” R ange: 1 to 10. 1 is the default.
Using Opt ion 42 (P r ice Field)
Apply options to aut om atic ally ins ert m onetar y s ymbols . Do not us e this opt ion wit h O ption 31
(define a c hec k digit) or O ption 60 ( inc rem ent or dec rem ent a field). This opti on is not
rec om m ended for bar c odes . W hen determ ining the m axim um number of c har ac ters , add the
maxim um number of digits and the m onetar y s ymbols .
Syntax R,42,app ear _cod e |
R1. R Option Header.
R2. 42 Option 42.
R3. appear _code Enter 1 to pr int the pric e field in s tandar d notation, as defined by
the countr y setting.
Use the m onetar y form att ing pac ket to s elec t monetar y notations
and sym bols by count ry setting. S ee “ Defining the Monetary
Formatting Pac ket” for m or e inform at ion. See Appendix C , “ Symbol
Sets /C ode Pages ,” to make sure the monetary symbol is printable
in the font s elec t ed for this field. For m onetar y s ymbols other than
the dollar sign, us e the internal s ymbol set.
Example R,42,1 |
Uses a pric e field that prints the m onetar y s ymbol and not ations as defined in t he m onetary
form atting pac ket.
Classification: Avery Dennison – Public Defining Field O ptions 4-11
Page 92
Custom Densit y
Default Density
I 2of5
Using Opt ion 50 (Bar Code Densi ty)
Apply this opt ion to bar c ode f ields to c reat e c us tom dens it ies . Thi s option overr ides the dens ity
value in the bar c ode field. To use this option, set the density param eter in the bar code field to the default value. Only us e this opt ion onc e for eac h bar c ode field. Bar codes produced
using O ption 50 m ay not be s c annable. Synthet ic s upplies are rec om m ended to produc e
scannable bar c odes .
The additional c harac ter gap, narr ow s pac e, and wide space parameters (R5, R6, R7) only need
to be s pec ified with
♦ Code 39♦ I 2of5
♦ Codabar♦ MSI
If thes e param eter s are s pec ified f or any other bar c odes , they w ill be ignor ed by the print er. D o
not us e Opt ion 50 wit h fixed dens ity bar codes, such as POSTNET or Intelligent Mail.
Option 50 c an also be us ed w ith O ption 52 to f urther c us tom iz e the dimens ions of a PD F417 bar
code. Opt ion 52 allows c us t om iz ation of the num ber of c olum ns or number of row s for t he bar
code.
Syntax R,50,narrow,wide,gap,nar_spa ce,w i d e_ sp a ce |
R1. R Field O ption Header.
R2. 50 Option 50.
R3. nar row Dot w idth of the nar row elem ent. R ange: 1 to 99. 1 is the
default.
R4. wide D ot w idth of the w ide elem ent. R ange: 1 to 99. 1 is the default.
R5. gap Additional dot spac e between c haracters . Enter a value of 1 to
99. (C ode 39, Codabar, I 2of5, MSI only.) 1 is the default.
R6. nar _s pac eAdditional dot widt h of the nar row bar c ode/bar width space.
(Code 39, Codabar, I 2of5, P DF417, MSI only). R ange: 1 to 99. 1 is the default.
R7. wide_spaceAdditional dot w idth of the w ide bar c ode s pac e/ height of eac h
individual s tac ked bar c ode. (Code 39, Codabar, I 2of5, PD F417,
MSI only). Range: 1 to 99. 1 is the def ault.
Example B,3,12,V,25,40,3,12,80,8,L,0 |
R,50,4,8,8,8 ,8 |
Creat es a c us tom bar code dens ity for an I 2of5 w ith a narr ow
element of 4 dots , a w ide elem ent of 8 dots , a gap of 8 dots,
8 additional dot w idths for the narr ow bar c ode s pac e and the
wide bar code space.
The sam e I 2of5 bar code is
shown with the default density
for 300 dpi. This sam ple does not
use O ption 50.
B,4,12,V,125,40,3,12,80,8,L,0 |
4-12 Packet Reference Manual Classification: Avery Dennison – Public
Page 93
Custom Densit y
Default Density
Example B,5,12,V,25,40 ,4 ,7 ,8 0 ,1 ,L,0 |
R,50,4,8,8,8 ,8 |
Creat es a c us tom bar code dens ity for a Code 39 w ith a narr ow elem ent of 4 dots , a w ide elem ent
of 8 dots , a gap of 8 dots , 8 addit ional dot widt hs for the nar row bar c ode s pac e and the w ide bar
code s pac e.
The sam e Code 39 bar c ode is
shown with the default density
for 300 dpi. This sam ple does not
use O ption 50.
B,6,12,V,125,40,4,7,80,1,L,0 |
Example B,1,40,V,100,100,32,1,0,8,L,0 |
R,50,2, 1 0 |
Creat es a c us tom PDF417 bar c ode dens ity for 203 dpi printer s . The nar row elem ent w idth is 2
dots and the height is 10 dot s .
Example B,1,40,V,100,100,32,1,0,8,L,0 |
50,3,15 |
Creat es a c us tom PDF417 bar c ode dens ity f or 300 dpi pr inters . T he narr ow elem ent w idth is 3
dots and the height is 15 dot s .
Classification: Avery Dennison – Public Defining Field O ptions 4-13
Page 94
Using Option 51 (PDF417 Security/Truncation)
Define a s ec urity level and c hoos e w hether or not to t runc ate a P DF417 bar c ode. Higher s ec urity
levels add dat a to a bar c ode, im pr oving s c an reliability. Som e damaged bar c odes may st ill be
sc annable if the s ec urit y level is high enough. Use this option to cr eate s tandard P DF 417 bar
codes or us e the tr unc ated option to c r eate a narr ower bar c ode. This option c an appear only
once per PD F417 field, in any or der, f ollowing t he bar c ode field.
As the security level is increased, so is the size of the PD F417 bar c ode. For eac h level
incr eas ed, the bar c ode doubles in s iz e.
Syntax R,51,security,stand/default |
R1. R Option Header.
R2. 51 Indicates Option 51.
R3. s ec ur ity S ec urity level r anges from 0 to 8. 0 is the def ault.
Higher s ec ur ity levels add data to a bar c ode, im pr oving sc an
reliability. Som e dam aged bar c odes may stil l be s c annable if the
sec ur ity level is high enough.
R4. s tand/ def Tr unc ation s elec tor. S is the default. Valid values:
Sa standar d PDF 417 bar c ode
Ttruncated
Example R,51,2,S |
Defines a s ec ur ity level of 2 for a s tandard P DF417 bar c ode.
Using Option 52 (PDF417 Width/Length)
This option defines the im age w idth or lengt h of a P DF417 bar c ode. If def ining a f ixed num ber of
columns (width), the bar c ode expands in length. If defining a f ixed number of rows (length) , the
bar c ode expands in widt h. Colum n value does not inc lude s tar t/s top or left/r ight indic ator
columns. If this option does not im m ediat ely follow t he PD F417 bar c ode f ield, the def ault
set tings are us ed. Use this opt ion onc e per P DF417 bar c ode field.
Syntax R,52,row/column,dimension |
R1. R Option Header.
R2. 52 Indicates Option 52.
R3. r ow/column Indicates the num ber of row s or c olum ns . If rows are specified,
the bar c ode expands in c olum ns , or vice ver s a.
RRow
CColumn
R4. dim ens ion The num ber of row s or colum ns defined for the bar c ode. Valid
values:
3-90 for row s . 3 is t he default for rows.
1-30 for c olum ns . 1 is the default for c olum ns .
Example R,52,C,10 |
Defines the c olum n w idth of 10, whic h expands the P DF 417 bar c ode length by 10.
4-14Packet Reference ManualClassification: Avery Dennison – Public
Page 95
Using Option 53 (Option al Settings for Aztec)
Us e Opt ion 53 to s et the er ror c ontrol level, enable E CI data, enable a m enu sym bol, and add
appended data to an Az tec bar c ode. Typic ally, thes e s et tings are not us ed. W hen us ing O ption
53, the printer m ay take longer to image the bar c ode and r equire m or e tim e to print the for m at.
R3. er ror_c t rl E rr or c ontr ol level. Som e dam aged bar codes may s till be
sc annable if the err or c ontr ol level is high enough. 0 is the
default. Options:
0 Default level
1-99
101-104
201-232
300
R4. ECI Sets the EC I Data flag. 0 is the default. Options:
0 Disable
1 Enable
R5. m enu_s y m Sets the Menu Symbol flag. 0 is the default. Options:
0 Disable
1 Enable
R6. s tr _append St ruc tur ed append inform at ion. Range: 1 to 26. 1 is t he default.
R7. “ s tring” S tring to append. Range: 0 to 24. “” is the def ault. Must be
enclos ed in quot ation m arks .
Example R,53,0,0,0,1 ," " |
Uses option 53 to s et the err or c ontr ol t o 0, dis ables the E CI data and m enu sym bol fl ags , and
does not append any data to t he bar c ode.
Classification: Avery Dennison – Public Defining Field O ptions 4-15
Page 96
Using Opt ion 60 (I ncrementing/Decrementing Fiel ds)
RFI D Data F i e l d
Incrementing Option
RFID Data Field Batch
Applications such as s er ial num bers require a num eric field to incr ement ( increas e in value) or
decrement (dec reas e in value) on s uc c es s ive labels wit hin a s ingle batc h. Incr em enting or
decr em enting c an be applied to numeric data only. If a field includes letters and digit s, apply
incr em enting or dec r em enting to only t he portion of the field t hat c ontains digits . D o not us e with
Option 42 (price field).
W hen using O ption 60 wit h RFID D ata Fields or EPC data:
♦ Use c aution w hen inc rem enting an R FID field if data is com ing direc tly fr om a hos t bec aus e
the field m us t be inc rem ented in ASC II Hex.
♦ The dat a inc rem ents by one as follows : 0 to F ( 0123456789ABCDE F), then bac k to 0.
♦ Increm enting is the only valid option for RFID Data.
♦ Option 60 allow s data to be uploaded us ing O ption 6. See “Us ing O ption 6 (Upload Field
Data” for m or e inform ation.
♦ Using vers ion 3.0 or greater firm w are, option 60 c an be applied m ultiple tim es to one R FID
field.
Syntax R,60,I/ D, a m ou nt,l p os,r pos |
R1. R Option Header.
R2. 60 Option 60.
R3. I/D Incr em ent or dec r em ent. I is the default .
Iinc rem enting field
Ddec rem ent ing field (not valid for R FID)
R4. am ount Amount to inc r eas e or dec r eas e. Range: 0 to 999.
1 is the default.
R5. l pos Leftmos t pos ition in incrementing/decrementing portion of field. If
this value is not entered, the default value is used.
Range: 0 to 2710. 1 is the default.
R6. r pos Rightmost position in incrementing/decrementing port ion of field.
If this value is not us ed, t he entire field length is used as the
default. Range: 0 to 2710. 2710 is the default .
Example R,60,I,5,1 ,6 |
Increm ents a field by 5 eac h t im e the field is pr inted. The f ield inc rem ents beginning w ith the fir s t
left pos ition and ending with the sixth position.
Example R,60,D,2 |
Decrements a field by 2 each t im e the field is pr inted.
4-16Packet Reference ManualClassification: Avery Dennison – Public
Page 97
This example us es option 60 to inc rem ent the EP C RFID data by one.
Re-Im age ON
Re-Im age OFF
Fixing the First Number in the Incrementing Sequence
There are tw o w ays to enter the f irs t num ber in the inc rem ent ing s equenc e. Us e batc h data or
Option 1 to def ine the fir s t num ber as a fixed c har ac ter. The fir s t number in the s equenc e m us t
cont ain the s am e amount of digits as the highes t num ber to be c ount ed. For exam ple, to c ount
the num bers 1 to 999, the f irs t num ber in the s equenc e m us t be enter ed as 001.
Using Option 61 (Re-im age Fie ld )
This option redraws (reimages) a constant field when a constant field is next to a var iable field. It
can be us ed on t ext, c ons tant t ext, bar c ode, li ne, or box fields .
Thes e printer s do not redr aw an ar ea if the f ield data does not c hange. W hen a field c hanges ,
that area is c lear ed and the new field data is imaged. However, the new field data may r equire a
larger ar ea t han the pr evious field did. In s ome cas es, neighboring fields that do not change
(c onstant fields) may be covered with white s pace from the changing field’s ( variable fields ) area.
Use this option t o reim age the c ons t ant field, or it m ay appear br oken.
Note:The most common use for this option is with incrementing fields on a label, because they
may c over a c ons t ant field.
Syntax R,61 |
R1. R Option Header.
R2. 61 Option 61.
Example R,61 |
Reim ages the cons tant field that appear s next to a variable field.
In t his example, O ption 61 is applied to t he bar c ode field t o keep the inc rem enting f ield (B ox #)
from bloc king out the bar code field.
Classification: Avery Dennison – Public Defining Field O ptions 4-17
Page 98
Using Opt ion 65 (S er ial ized EP C Data)
Using Vers ion 1.7 or gr eater fir m war e, the printer s uppor ts s erializ ed E PC data, w hic h combi nes
EPC data w ith a unique s erial num ber . The unique s er ial num ber is alw ays 38 bit s of data. The
EPC data c an c ontain a Global Trade Item Num ber (GTIN), but it is not lim ited only to GTIN data.
W hen ser ializing EPC data, the RFID data entered in the batc h data is modified bef ore encoding.
The printer c alc ulates the s er ial num ber and ins ert s the s erial num ber into the low er 38 bit s
before enc oding. T he original dat a in thos e low er 38 bits ( if ther e was any) is r eplac ed. We
rec om m end padding the R FID data wit h z eros to use as placeholders for thos e 38 bits .
The m inim um EPC length is 48 bits ( 10 bits of E PC data, plus the 38-bit s er ial num ber) ; the
maxim um EPC length is 496 bits (458 bit s of EP C data, plus the 38-bit s erial num ber ).
Note:Set the R FID printer for s top-to-encode m ode for s erializ ed EPC data. Non-s top enc ode
mode is not supported.
Syntax R,65,serial |
R1. R Option Header.
R2. 65 Option 65.
R3. serial Enter 1 to create serialized EPC data from the RFID data field.
Example R,65,1 |
Enables s erializ ed E PC data for t he RF ID data field.
Example X ,5, 24 |
R,65,1 |
Enables s erializ ed E PC data for t he RFID data field #5 that contains 24 ASCII Hex characters ,
whic h is a 96-bit R FID inlay (58 bits of E PC data with the las t 38 bit s as the unique serial
number).
The RFID data f ield inc ludes z eroes so the field' s m axim um number of c har ac ters is 96 bits of
data (24 ASCII Hex c har ac ters ) . The encoded R FID data c ontains the f irs t 58 bits of provided
EPC data and 38 bits of the c alc ulated s er ial num ber.
4-18Packet Reference ManualClassification: Avery Dennison – Public
Page 99
Using Check Digits
Chec k digits are t ypically us ed to ens ur e that a text or bar c ode f ield s c ans c or rec tl y. The printer
calculates a check digit when O ption 31 is applied. A check digit scheme determines how the
printer calculates a check digit. When defining a check digit scheme, assign a number to identify
it. This num ber is lat er enter ed in R4 (check digit #) w hen applying Option 31 to a field. Use
chec k digits w ith text or bar c ode fields . C hec k digit c alc ulations ar e perfor m ed on num eric data
only.
Do not us e c hec k digits w ith pric e f ields . Do not define a c hec k digit s c hem e for UPC, E AN, Code
39 (wit h the MOD43 c hec k digit), and C ode 93 bar c odes , bec aus e they have predef ined check
digits.
A1. A Chec k Digit Header.
A2. s elec tor Ass i gn a number from 1 to 10 to t his c hec k digit form ula. 1 is the
default.
A3. ac tion The ac tion to per form . Enter A to add the chec k digit s chem e.
A4. dev ic e Form at s tor age devic e. R is the def ault . Options:
F Flas h (m us t be form atted fir s t. See “ Form at ting Flas h
“Flas h Memory Guidelines” in C hapter 2 for m ore
information.)
RVolatile RAM
” and
Note:Check digits s t ored in flas h ar e s aved when the pr inter is turned
off.
A5. m odulus Number from 2 to 11. T he modul us is used t o divide the s um of
products or the sum of digits.
A6. fld_lengthThe m axim um number of c harac ter s the field w ill c ontain.
Range: 0 to 2710. 2710 is the default. A7. D/PAlgorithm . T he algorithm det erm ines how the c hec k digit is
calculated. Options:
D sum of digits
P sum of products
A8. “weights”String of digits us ed f or c alc ulation. A weight s t ring is a group of
two or m ore num bers that is applied to a field. The num ber of
digits in this s tr ing s hould equal the num ber in fld_lengt h.
Enclose in quotation marks. Range: 0 to 2710. “” is the default.
Example {A,1,A,R,10,5,P,"65432" | }
Adds c hec k digit s c hem e number 1 to t he printer ’s m em ory. The modulus is 10, t he m aximum
number of c harac t ers in the field is 5. T he c hec k digit is c alc ulated by us ing the S um of Produc ts
and the s tring of digits us ed in the c alc ulat ion is “65432.”
Classification: Avery Dennison – Public Defining Field O ptions 4-19
Page 100
Sum of Products Calculation
This is an example of how t he printer us es Sum of P roduc ts to calc ulate a c hec k digit f or this
data:
5 2 3 2 4 5 2 1 9
1. Weights are applied t o eac h digit, s tar ting w ith the las t digit in the w eight s tr ing. They are
applied right to left, beginning at the right-m os t position of the f ield. R em em ber, a weight
st ring m us t contain at leas t t wo diff erent num ber s . This exam ple has a weight s tring of
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
2.Eac h digit in the field is m ult iplied by the w eight as s igned to it: