Page 2
Each product and program carries a respective written warranty, the only warranty on which the customer can rely. Avery Dennison Corp. reserves the right to make changes in the product, the programs, and their availability at any time and without notice. Although Avery Dennison Corp.
T A B L E O F C O N T E N T S INTRODUCTION ..........................1-1 About the Printers ........................1-1 Creating a LNT File ........................1-1 Standard Syntax Guidelines ...................... 1-2 Using This Manual ........................1-2 Related Documentation ......................1-3 Supported File Types .......................
Page 4
DEFINING FIELD SETUP XML TAGS ....................3-1 Defining the Fields Container (Required) ..................3-1 Defining the TextField (Required) ................... 3-1 Defining the BoundingBox Tag (Required for non-barcode fields) ..........3-2 Defining the Data Tag (Required) ..................3-2 Defining the Volatile Tag (Required) ..................3-3 Defining the Rotation Tag (Optional) ..................
Page 5
DEFINING BAR CODE OPTIONS ....................4-1 Scannable Bar Codes vs. Printable Bar Codes ................4-1 Defining the Codabar Options Tag (Optional) ................4-2 Defining the Code 16K Options Tag (Optional) ................4-2 Defining the Code 39 Options Tag (Optional) ................4-3 Defining the Code 93 Options Tag (Optional) ................
I N T R O D U C T I O N This manual is for the developer who is creating and designing custom labels for the ♦ Pathfinder® 6057 printer. ♦ Pathfinder® 6140 printer. Note: You must develop an application that uses the files you create. A b o u t t h e P r i n t e r s The 6057 Software Development Kit (SDK) helps developers write applications for the 6057 printer.
S t a n d a r d S y n t a x G u i d e l i n e s Each LNT file must start with the XML declaration: <?xml version="1.0" encoding="UTF-8" ?> To add comments in an LNT file: start of comment <!-- end of comment...
R e l a t e d D o c u m e n t a t i o n The following table describes other documentation for the printer: Item Description Quick Reference Includes basic start-up information such as supply loading, cleaning and minor troubleshooting.
Page 10
Click Explore on the ActiveSync utility after it connects to the printer. A new window appears called Mobile Device. Open the destination folder for the data files on the Mobile Device (printer). Drag the files from your computer to the Mobile Device folder. To test a LNT file with fixed data, save it to the Mobile Device’s (printer’s) Temp\Print folder.
Page 11
These instructions are written for Windows® Mobile® Device Center: Open the folder with your data files on your computer. Turn on the printer and wait for the desktop to load. Connect the USB cable to your computer and printer. Windows® Mobile® Device Center automatically detects your printer. Click Connect without setting up your device to continue.
U s i n g F o n t s w i t h t h e 6 0 5 7 P r i n t e r This section is not applicable to the 6140 printer. See “Transferring Files to the 6140 Printer”...
Select the option you need: Clear Error (clears the error and continues to feed or print supplies), Abort Print Job (clears the error and cancels the current print job), or Do Nothing (does not clear the error or reprint the job). The example above, “Parser Error ID:BOX1,BoxField:LineThickness”...
L N T D e s i g n T i p s When creating LNT files, keep in mind the following: ♦ The printer uses standard Windows fonts; however, additional fonts can be downloaded to the printer. See “Installing Fonts”...
Example <LabelSize units="Inches" length="1.0" width="2.0" /> Defines the label size as 1.0 inch long by 2.0 inches wide. Defining the Energy Tag (Optional) The Energy tag defines the printhead energy level. You may need to adjust this value depending on the type of supplies you are using. For example, synthetic supplies require the High energy setting, but standard paper does not.
Defining the UseBlackMark Tag (Optional) The UseBlackMark tag specifies if the printer uses the black mark sensor to sense supplies. Valid values include: 0 (off) and 1 (on). The default is 1. Syntax <UseBlackMark>value</UseBlackMark> Example <UseBlackMark>1</UseBlackMark> The printer uses the black mark sensor to calibrate and feed labels. Defining the UseOnDemand Tag (Optional for 6057) The UseOnDemand tag specifies if the 6057 printer uses the optional on-demand sensor.
D e f i n i n g t h e I m a g e C o n t a i n e r ( R e q u i r e d ) The image tag is a container for all the image tags in the LNT file. It contains the following attributes: id and version.
Page 19
Note: Origin in millimeters is shown in Appendix B, “Design Tools.” Example <ImageSize units=”Inches” x=”0.10” y=”0.10” height=”1.50” width=”1.80” origin=”TopLeft” /> Uses inches for the measurements, sets the x and y axis to 0.10 inches, defines the image size as 1.50 inch long by 1.8 inches wide and sets the image’s origin to Top Left. Defining Printer Setup XML Tags 2-5...
A d j u s t i n g t h e S u p p l y P o s i t i o n A non-print zone exists on this printer of 0.20 inches on the leading edge of the supply. The leading edge is the edge that exits the printer first.
D E F I N I N G F I E L D S E T U P X M L T A G S This chapter provides a reference for defining the field setup XML tags, which is the label’s layout: ♦...
Defining the BoundingBox Tag (Required for non-barcode fields) The BoundingBox tag defines the area on the label where the field appears. Each non- barcode field on a label must fit inside a bounding box. The bounding box is represented by the dotted lines in the following graphic.
Example <Data>Sale!</Data> Prints the fixed data Sale! in the text field. Example <Data>~219 30 or $39.40</Data> Prints the fixed data € 30 or $39.40 in the text field. "> Defining the Volatile Tag (Required) The Volatile tag specifies whether the field’s data is set at creation or print time. For data set at print time, the user enters the data.
Defining the DrawMode Tag (Optional) The DrawMode tag specifies the transparency of the bounding box. Valid values include: Transparent, Opaque, and XOR. The default is Transparent. Transparent The bounding box does not block out (or “erase”) existing fields except where data appears in the bounding box.
Defining the Font Tag (Optional) The Font tag specifies the font to use for this text field. Valid values include: Any UNICODE string containing less than 256 characters. The default is Arial. See “International Font Sample” for a LNT file using an Asian font. It contains the following attributes: pointsizeheight, pointsizewidth, italics, wordwrap, underline, strikethrough, mpclstyle, intercharactergap, and weight.
Page 26
mpclstyle Boolean value describing if tilde sequences are replaced with their special character equivalents. The default is 0. See “Example Text Field with MPCLSTYLE” for more information. Options: 0 Do not replace tilde sequences 1 Replace tilde sequences codepage Code page/symbol set. The default is 0. Options: Internal Macintosh Wingdings...
Page 27
Example <Font pointsizeheight="11" pointsizewidth="8">comic</Font> Specifies Comic Sans MS font with a height of 11 points and a width of 8 points for this text field. Note: The Comic Sans MS font must be installed on the printer. See “Installing Fonts” for more information.
Defining the VerticalJustification Tag (Optional) The VertficalJustification tag describes how text fits vertically in the field. Valid values include: Top, Bottom, and Center. The default is Top. Syntax <VerticalJustification>value</VerticalJustification> Center Bottom Example <VerticalJustification>Bottom</VerticalJustification> Vertically justifies the text at the bottom of the field. Defining the HorizontalJustification Tag (Optional) The HorizontalJustification tag describes how text fits horizontally in the field.
Defining the ForegroundColor Tag (Optional) The ForegroundColor tag sets the text’s color in the field to black or white. Valid values include: Black, White, or hex encoded RGB value in the format #RRGGBB. The only valid hex values are #FFFFFF (white) and #000000 (black). The default is Black. Syntax <ForegroundColor>value</ForegroundColor>...
Defining the BarcodeField (Required) The BarcodeField tag specifies how the bar code field appears on the label. It contains the following attribute: id. Syntax <BarcodeField id=”value” > bar code field information </BarcodeField> The identifier (name) of the bar code field. Any applications using LNT should reference this data.
Defining the Origin Tag (Required) The Origin tag defines the corner of the bar code. It contains the following attributes: units, justification, x, and y. Syntax <Origin units=”value” justification=”value” x=”value” y=”value” /> units Unit of measure. Options: Inches Inches Millimeters Pixels Pixels (default) justification...
Defining the BarHeight Tag (Required) The BarHeight tag defines the bar code’s height (in selected units). Valid values include: An integer or float greater than zero and less than the <ImageHeight> minus the <Origin> value in selected units. It contains the following attribute: units. Syntax <BarHeight units=”value”>value</BarHeight>...
Defining the LineField Tag (Required) The LineField tag defines a line. Use lines to form borders and mark out original prices. Note: The solid black print can not exceed 30 percent of any given square inch of the label. It contains the following attribute: id. Syntax <LineField id=”value”...
Example <Offset1 units=”Inches” x=”0.25” y=”0.15” /> <Offset2 units=”Inches” x=”0.75” y=”0.15” /> Creates a 0.5-inch horizontal line beginning at 0.25 inches and ending at 0.75 inches on the y-axis at 0.15 inches. Defining the Thickness Tag (Required) The Thickness tag defines the line thickness. Valid values include: An integer or float (in selected units).
Defining the BoxField Tag (Required) The BoxField tag defines a box. Use boxes to form borders or highlight items of interest. Note: The solid black print can not exceed 30 percent of any given square inch of the label. It contains the following attribute: id. Syntax <BoxField id=”value”...
Defining the Line Thickness Tag (Required) The LineThickness tag defines the thickness of the box’s lines. Valid values include: An integer or float (in selected units). It contains the following attribute: units. Syntax <LineThickness units=”value”>value</LineThickness> units Unit of measure. Options: Inches Inches Millimeters...
Defining an EllipseField (Required) The EllipseField tag defines a circle or an oval. Use ellipses to form borders or highlight items of interest. It contains the following attribute: id. Syntax <EllipseField id=”value” > ellipse field information </EllipseField> The identifier (name) of the field. Any applications using LNT should reference this data.
Defining the Line Thickness Tag (Required) The Line Thickness tag defines the thickness of the ellipses’ lines. Valid values include: An integer or float (in selected units). It contains the following attribute: units. Syntax <LineThickness units=”value”>value</LineThickness> units Unit of measure. Options: Inches Inches Millimeters...
Defining a GraphicField (Required) The GraphicField tag defines a graphic. The following graphic file types are supported: BMP, GIF, JPG, and PNG. It contains the following attribute: id. Syntax <GraphicField id=”value” > graphic field information </GraphicField> The identifier (name) of the field. Any applications using LNT should reference this data.
Defining the Data Tag (Required) The Data tag contains the filename of the graphic. The following graphic file types are supported: BMP, GIF, JPG, and PNG. Save the graphic to the Temp\Install folder on the Mobile Device (printer). Note: Check the \Windows\Resources\Images folder on the Mobile Device (printer) to make sure the file installed correctly.
D E F I N I N G B A R C O D E O P T I O N S This chapter defines the unique set of bar code options for each bar code. Bar codes are separated into one-dimensional and two-dimensional categories. 1D Bar Codes 2D Bar Codes Codabar...
D e f i n i n g t h e C o d a b a r O p t i o n s T a g ( O p t i o n a l ) Use the Options tag to define Codabar-specific information. Valid values include: a 32-bit unsigned decimal number.
D e f i n i n g t h e C o d e 3 9 O p t i o n s T a g ( O p t i o n a l ) Use the Options tag to define Code 39-specific information. Valid values include: a 32-bit unsigned decimal number.
D e f i n i n g t h e C o d e 9 3 O p t i o n s T a g ( O p t i o n a l ) Use the Options tag to define Code 93-specific information. Valid values include: a 32-bit unsigned decimal number.
D e f i n i n g t h e I n t e r l e a v e d 2 o f 5 O p t i o n s T a g ( O p t i o n a l ) Use the Options tag to define Interleaved 2of5-specific information.
D e f i n i n g t h e M S I O p t i o n s T a g ( O p t i o n a l ) Use the Options tag to define MSI-specific information. Valid values include: a 32-bit unsigned decimal number.
D e f i n i n g t h e M a x i C o d e O p t i o n s T a g ( O p t i o n a l ) Use the Options tag to define MaxiCode-specific information. Valid values include: a 32-bit unsigned decimal number.
Page 50
AddressValidation Peform address validation? The default is “ “. Options: Y Yes N No StreetAddress Street address. The default is “ “. City City name. The default is “ “. State Two character state identifier The default is “ “. Example <Options mode=”3”...
D e f i n i n g t h e P D F 4 1 7 O p t i o n s T a g ( O p t i o n a l ) Use the Options tag to define PDF417-specific information. Valid values include: a 32-bit unsigned decimal number.
D e f i n i n g t h e Q u i c k R e s p o n s e O p t i o n s T a g ( O p t i o n a l ) Use the Options tag to define Quick Response-specific information.
Example <Options model=”2” mpclstyle=”0” security=”3” datamode=”1” /> Creates a Quick Response bar code using model 2, defines the bar code using XML, sets the security level to high reliability and uses the automatic data detection mode. Using MPCLSTYLE for the Quick Response Bar Code If mpclstyle=1, use the <Data>...
C R E A T I N G J O B D A T A Job data defines the data printed in each field on the supply. You can also specify printer configuration information to override any values set in the Job Packet. Field data is applied in numeric order or by the optional id.
D e f i n i n g P r i n t e r S e t u p X M L T a g s These Printer Setup tags can be defined in the <JobData> file for a single print job. Printer settings in the <JobData>...
Defining the PrintSpeed Tag (Optional) The PrintSpeed tag defines the print speed in inches per second (ips) for the job. Valid values include: a float in the range of 1.0 to 5.0. It contains the following attribute: fixed. Note: Serial bar codes, lines, and graphics print at 2.0 ips. Synthetic supplies and special supplies print at 1.5 ips.
S a m p l e J o b D a t a F i l e The following sample ♦ creates job data for the DailySpecials LNT file. ♦ defines unique printer setup information (print contrast, speed, etc.) only for this print job. ♦...
E R R O R M E S S A G E S This chapter provides explanations of your printer’s errors. The errors are listed in order. If you have trouble loading supplies or performing maintenance, refer to the Operator’s Handbook or Equipment Manual.
Page 60
Backfeed action is invalid. Backfeed position is invalid. Backfeed distance is invalid. Job request is invalid. Internal software failure. The printer’s memory is full. Invalid Batch or Graphic. Check digit could not generate. Failed to image. The field is positioned off the label. This error is only reported when enabled. See “Enabling the ‘Field Off Tag’...
Hard Printer Errors Call Technical Support if you receive any error messages greater than 900. Ram test failure. No configuration memory for Native layer. Power failure. Call Technical Support. No configuration memory for Application layer. Configuration memory did not identification check. Warm start.
Page 62
536877511 Scanner Error. Configuration failed. 536911873 Resource Manager Error. Error opening database. 536911874 Resource Manager Error. Unable to modify protected resource. 536911875 Resource Manager Error. Alias is not found. 536911876 Resource Manager Error. Application not found. 536911877 Resource Manager Error. Invalid Job. 536911878 Resource Manager Error.
Page 63
File is not found. Invalid handle. Out of memory. Out of memory. Not supported. Invalid parameter. Buffer overrun. Insufficient buffer. The file already exists. Error Messages 6-5...
S A M P L E L N T F I L E S This appendix contains sample LNT files. Sample LNT files are included in the \Windows\Resources\LNTs folder on the 6057 Mobile Device (printer). C o d e 3 9 B a r C o d e w i t h T e x t S a m p l e This sample contains a Code 39 bar code with a text field.
F i x e d F i e l d S a m p l e This sample defines all fixed fields (two text fields and a UPCA bar code field) and prints immediately when copied into the Mobile Device’s (printer’s) Temp\Print folder. <?xml version="1.0"...
T e x t F i e l d S a m p l e This sample contains four text fields. The application needs to call this LNT file before the user enters data at print time. <?xml version="1.0" ?> <Job>...
<VerticalJustification>Bottom</VerticalJustification> <HorizontalJustification>Left</HorizontalJustification> <Data max="20" min="0" /> </TextField> </Fields> </Image> </Job> I n t e r n a t i o n a l F o n t S a m p l e This sample defines two fixed text fields using the MingLiU™ font (trademark by DynaComware Corp.) and prints immediately when copied into the Mobile Device’s (printer’s) Temp\Print folder.
O r i g i n ( M i l l i m e t e r s ) <ImageSize units="Millimeters" x="1.3" y="0.000000" height="19.000" width="50.800" origin="BottomLeft" /> B-2 LNT Programmer’s Manual...
C O D E P A G E S This appendix contains a listing of the code pages the printer supports. Code pages 102 – 112 contain thousands of characters, which are not represented in this manual. Refer to the Internet for a listing of the characters in each code page. Search on a particular code page, such as “codepage 936”...
I N D E X Backfeed Data Matrix ........4-7 enabling ........2-6 Defining Bar Code background color tag ..... 3-8 Codabar ........3-11, 4-1 bar height tag ....... 3-11 Code 128 ......3-11, 4-1 barcode field ........ 3-10 Code 16K ......3-11, 4-1 bounding box tag ......
Page 76
Eliminate Limitations Non-Print Zone ......2-6 Wordwrap ........3-5 Ellipse field Line field defining ........3-17 defining ........3-13 Enable list of data errors ......6-1 Backfeed ........2-6 Energy Tag ........5-2 errors MaxiCode ......... 4-9 data ..........6-1 Micro PDF417 .........
Page 77
Sample LNT Files ......A-1 Special characters Example ......3-3, 3-7, A-4 Strikethrough Attribute ........3-5 Supply Position set to negative value ...... 2-6 symbol sets ........3-6 syntax ..........1-2 Text field defining ......... 3-1 Underline Attribute ........3-5 UPCA/UPCE/EAN ......
Need help?
Do you have a question about the Pathfinder6057 and is the answer not in the manual?
Questions and answers