beautypg.com

Avery Dennison Monarch 9906 XML User Manual

Page 2

background image

2 Quick Reference

D e f i n i n g t h e F o r m a t H e a d e r

A Format Header begins a format file.

Syntax

{F,format#,action,device,measure,length, width,"name"

¦

F1. F

Format Header.

F2. format#

Number from 1-999 to identify the format.

F3. action

Enter A to add a new format to the printer.

F4. device

Format storage device. Use F (Flash).

F5. measure

Unit of measure: E (English), M (Metric), or
G (Graphic Dots).

Printer

Unit of Measure

Length

Width

9906

English (1/100 inch)
Metric (1/10 mm)
203 dpi Dots
300 dpi Dots

150-1600
127-4064
101-3248
150-3600

75-410
191-1041
152-832
225-1230

Refer to the 9906 Packet Reference Manual for more information.

F6. length

Image length in selected units.

F7. width

Image width, from left to right, in selected units.

F8. "name"

Format name, 1-256 characters, enclose within quotation marks. The name can
contain special characters, excluding non-printable control characters and the
quotation mark (").

Example {F,1,A,F,E,300,200,"XML_FORMAT_ONE"¦

Defines the name for format 1 as XML_FORMAT_ONE.

U s i n g O p t i o n 2 1 ( D e f i n e E x t e n d e d F i e l d N a m e s )

Option 21 defines names for each field in a format.

Syntax

R,21,"field_name"¦

R1. R Option

Header.

R2. 21 Option

21.

R3. field_name

Specifies the field name. Must be enclosed within quotations. The name can be
up to 256 characters, excluding non-printable control characters and the
quotation mark ("). This name must match the one specified in the variable
name
or Field name attribute.

Example T,2,10,V,250,50,0,1,1,1,B,C,0,0,0¦

R,21,"SALEPRICE_FIELD"¦

Defines the name for text field 2 as “SALEPRICE_FIELD.”

E r r o r M e s s a g e s

You may receive this error when using XML supported tags.

002

The Format Name must be between 1 to 8 characters inside quotes. Extended Format
Names and Option 21 names can be between 1 and 256 characters excluding non-
printable control characters and the quotation mark (").