34

XML Printing: Solutions for Bar Code and RFID Printing

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: XML Printing: Solutions for Bar Code and RFID Printing
Page 2: XML Printing: Solutions for Bar Code and RFID Printing

Lars EnokssonLars EnokssonIntermecIntermec

Product StrategistProduct StrategistPrinter Networking & Software SolutionsPrinter Networking & Software Solutions

XML Printing Solutions for Bar Code & RFID PrintingXML Printing Solutions for Bar Code & RFID PrintingSession 9-1Session 9-1

Page 3: XML Printing: Solutions for Bar Code and RFID Printing

XML Printing - Agenda

• Summary• Traditional Printing Method• XML Printing Method• Standard solution• Supported functions• Supported systems• Under the hood• The Software Tools• Example 1 – bar code• Example 2 – RFID• Custom solutions• What about Gen 2• IFAB• Questions

Page 4: XML Printing: Solutions for Bar Code and RFID Printing

XML Printing - Summary• XML Printing will provide

• Simple interface to host systems• Easy to implement• Easy to maintain

• A bar code and RFID printing solution

• A highly scalable solution• From a single printer to 100’s of printers

Page 5: XML Printing: Solutions for Bar Code and RFID Printing

Traditional Printing Method• Label Printing contains two main elements

• Label format• The label layout defining the label element properties

– Text, Lines, Graphics, Bar codes» Fixed data» Placeholders for variable data

• Layout is using a proprietary command language– IPL, Direct Protocol, Fingerprint, ESim– ZPL, DPL ….

<STX>H0;o387,29;f3;c61;h17;w17;d3,To:;<ETX><STX>D1;<ETX><STX>H1;o309,36;f3;c61;h17;w17;d0,42;<ETX><STX>H2;o267,36;f3;c61;h17;w17;d0,52;<ETX><STX>H3;o216,36;f3;c61;h17;w17;d0,22;<ETX><STX>H4;o160,36;f3;c61;h17;w17;d0,12;<ETX><STX>H5;o159,235;f3;c61;h17;w17;d0,12;<ETX>

DIR 1:PP 28,386:FT "Swiss 721 BT",12PT "To:"PP 35,308:NI:PT VAR1$PP 35,266:NI:PT VAR2$PP 35,214:NI:PT VAR3$PP 35,159:NI:PT VAR4$PP 234,158:NI:PT VAR5$ Direct Protocol

IPL

Page 6: XML Printing: Solutions for Bar Code and RFID Printing

Traditional Printing Method• Variable data

• Traditional systems sends data in a proprietary way– Sample (IPL/Direct Protocol)

<STX><ESC>E*<CAN><ETX><STX><ESC>F1<DEL>Intermec Technologies Corporation<ETX><STX><ESC>F2<DEL>6001 36th Avenue West<ETX><STX><ESC>F3<DEL>Everett<ETX><STX><ESC>F4<DEL>98203-126<ETX><STX><ESC>F5<DEL>WA<ETX><STX><RS>1<US>1<ETB><ETX> LAYOUT RUN "tmp:LABEL.LAY"

INPUT ON^Intermec Technologies Corporation<CR>6001 36th Avenue West<CR>Everett<CR>98203-126<CR>WA<CR>|PF Direct Protocol

IPL

Page 7: XML Printing: Solutions for Bar Code and RFID Printing

XML Printing Method• Variable data for XML printing

• Structured - XML file• Familiar method• Easy to implement

<?xml version="1.0" standalone="no"?><!DOCTYPE labels SYSTEM "label.dtd"><labels _FORMAT="XML Mail.lbx" _QUANTITY="1"><label><variable name="Company">Intermec Technologies Corporation</variable><variable name="Street">6001 36th Avenue West</variable><variable name="City">Everett</variable><variable name="Zip">98203-126</variable><variable name="State">WA</variable></label></labels>

Page 8: XML Printing: Solutions for Bar Code and RFID Printing

XML Printing Method• Label Layout

• LBX file is a Direct Protocol layout file– Variables are enclosed by “/”

• Variables names– Can contain space characters (FP v.8.61 required)

– Are case sensitive– Formulas or concatenated strings can be created

» E.g. PT /Zip/+”, ”+/State/

DIR 1:PP 28,370:FT "Swiss 721 Bold Condensed BT",7,0,160:PT "To:"PP 35,315:FT "Swiss 721 Bold Condensed BT",14,0,103:PT /Company/PP 35,268:PT /Street/PP 35,217:PT /City/PP 35,161:PT /Zip/+”, ” +/State/PP 31,92:DIR 1:BT "CODE128":BM 3:BH 65:PB /Zip/

Page 9: XML Printing: Solutions for Bar Code and RFID Printing

XML Printing Method - Merging• Label layout is pre-stored in printer• Host sends XML data• Printer merges data from the XML file and prints the label(s)

XM

L data

Layout

<?xml version="1.0" standalone="no"?><!DOCTYPE labels SYSTEM "label.dtd"><labels _FORMAT="XML Mail.lbx" _QUANTITY="1"><label><variable name="Company">Intermec Technologies Corporation</variable><variable name="Street">6001 36th Avenue West</variable><variable name="City">Everett</variable><variable name="Zip">98203-126</variable><variable name="State">WA</variable></label></labels>

DIR 1:PP 28,370:FT "Swiss 721 Bold Condensed BT",7,0,160:PT "To:"PP 35,315:FT "Swiss 721 Bold Condensed BT",14,0,103:PT /Company/PP 35,268:PT /Street/PP 35,217:PT /City/PP 35,161:PT /Zip/PP 234,160:PT /State/PP 31,92:DIR 1:BT "CODE128":BM 3:BH 65:PB /Zip/

Page 10: XML Printing: Solutions for Bar Code and RFID Printing

XML Printing Method• Supported XML structures

• Oracle MSCA/WMS and Oracle Edge Server• SAP Auto-ID Infrastructure (AII)• Others require custom Fingerprint application

Page 11: XML Printing: Solutions for Bar Code and RFID Printing

XML Printing – Under the hood• The XML file - Oracle style

• Labels_FORMAT– Name of label format– _QUANTITY

» Number of identical labels to be printed• Variable name

– List of variables with corresponding data

<?xml version="1.0" standalone="no"?><!DOCTYPE labels SYSTEM "label.dtd"><labels _FORMAT="XML Mail.lbx" _QUANTITY="1"><label><variable name="Company">Intermec Technologies Corporation</variable><variable name="Street">6001 36th Avenue West</variable><variable name="City">Everett</variable><variable name="Zip">98203-126</variable><variable name="State">WA</variable></label></labels>

Page 12: XML Printing: Solutions for Bar Code and RFID Printing

XML Printing – Under the hood• The XML file - SAP AII style

• FieldList format– Label format name– Quantity

• Field name– List of variables with corresponding data

<?xml version="1.0"?><Command xmlns:xsi="http://www.w3.org/2001/XMLSchema- instance"xsi:noNamespaceSchemaLocation="Command.xsd"><WriteTagData readerId="Writer_Device"><Item><FieldList format="XML Mail.lbx" quantity="1"><Field name="Company"> Intermec Technologies Corporation</Field><Field name="Street">6001 36th Avenue West</Field><Field name="City">Everett</Field><Field name="Zip">98203-126</Field><Field name="State">WA</Field></FieldList></Item></WriteTagData></Command>

Page 13: XML Printing: Solutions for Bar Code and RFID Printing

XML Printing – Loading vs. Printing

• XML data and Layout on different channels• Layout can be loaded even if printer is busy

• Layout Loading thru FTPX

ML data

Layout

Page 14: XML Printing: Solutions for Bar Code and RFID Printing

XML Printing – Used Ports• Standard printing on Port 9100 (configurable)• Layout (LBX file)

• Sent to printer by FTP (port 21)• TCP printing

• XML data sent on Port 9200 (fixed)• HTTP POST (port 80) to the URL "/xml/pv"

• with Content-Length set or chunked Transfer-Encoding used F

TP

-21

TC

P-9200

HT

TP

-80

Print -9100

Page 15: XML Printing: Solutions for Bar Code and RFID Printing

XMLLabel – Software tool• Printers are XMLReady™ out of the box

• No additional software or tools are required

But … to make it simpler we offer XMLLabel™ software tool

• XMLabel creates• XMLReady Label Layout• XML test files

• XMLLabel also provides• Download tool for layouts• Test Print tool

Page 16: XML Printing: Solutions for Bar Code and RFID Printing

XML Printing – Requirements• XMLReady™ Printers

• EasyCoder PF2i, PF4i, PF4ci, PM4i, PX4i and PX6i

• Fingerprint firmware required (8.61 or later)

Page 17: XML Printing: Solutions for Bar Code and RFID Printing

XMLLabel™ Solution

XML

data

Oracle MSCA/WMS

Or SAP AII System

Intermec XMLReady™ Printer

Page 18: XML Printing: Solutions for Bar Code and RFID Printing

XMLLabel• Printing Solution for

• Oracle MSCA/WMS• v. 11i9 or later• Synchronous PL/SQL (11i9)• Synchronous TCP/IP (11i10)

• Oracle Edge Server• SAP Auto-ID Infrastructure (AII)• Other systems with compatible XML output data

Page 19: XML Printing: Solutions for Bar Code and RFID Printing

Step 1: Create a Label in LabelShop® PRO

.LAB file

Page 20: XML Printing: Solutions for Bar Code and RFID Printing

Step 2 – Run the XMLWizard

XMLWizard

.LAB Translator Module .LBX

Page 21: XML Printing: Solutions for Bar Code and RFID Printing

Step 3 – Load the Label formats with Label Loader

Label Loader

Network

Searching the network..........................

Page 22: XML Printing: Solutions for Bar Code and RFID Printing

Step 3 – Label Loader

Label Loader

Network

.LBX.LBX

.LBX .LBX .LBX

Page 23: XML Printing: Solutions for Bar Code and RFID Printing

Ready

Label Loader

Network

Host System

XML

Page 24: XML Printing: Solutions for Bar Code and RFID Printing

• Cost Effective• XMLReady™ printers by factory default – no charge

• EasyCoder PM4i – Mid-Performance• EasyCoder PF Series – Compact Mid-Performance• EasyCoder PX Series – High Performance

• Easy to use XML Printer Applications• Simple design tool - LabelShop PRO• XMLLabel application extension

• XMLWizard for XML format creation• Powerful label format downloader – Label Loader

– Discover all Intermec XMLReady printers– Distribute all label formats to all printers in a single operation

XMLLabel – Key Advantages

Page 25: XML Printing: Solutions for Bar Code and RFID Printing

Example 1 – Simple bar code label• The task

• Design the label below• Fixed data• Variable text data• Variable bar code data

• Download the label• Make a test print

Page 26: XML Printing: Solutions for Bar Code and RFID Printing

Example 1 – Simple bar code label• Load the label

• Use the Label Loader• Scan the network for available printers• Select a single printer or a group of printers

Page 27: XML Printing: Solutions for Bar Code and RFID Printing

Example 1 – Simple bar code label• Print Methods

• Print using TCP• Print using HTTP Post

Page 28: XML Printing: Solutions for Bar Code and RFID Printing

Example 1 – Simple bar code label• Print using TCP

• Use the XML file created by XMLLabel• Use XMLLabel Print to simulate a TCP

print<?xml version="1.0"?><!DOCTYPE labels SYSTEM "label.dtd"><FieldList format="Sample1.lbx" quantity="1"><Field name="Barcode">003401166100000000011</Field><Field name="PartNumber">9-888777-88</Field></FieldList>

Page 29: XML Printing: Solutions for Bar Code and RFID Printing

Example 1 – Simple bar code label• Print using HTTP Post

• Use modified XML file for HTTP Post

POST /xml/pv HTTP/1.1Content-Length: 226

<?xml version="1.0"?><!DOCTYPE labels SYSTEM "label.dtd"><FieldList format="Sample1.lbx" quantity="1"><Field name="Barcode">003401166100000000011</Field><Field name="PartNumber">9-888777-88</Field></FieldList>

Page 30: XML Printing: Solutions for Bar Code and RFID Printing

Example 2 – RFID label• The task

• Add RFID data to the label• Download the label• Make a test print

Page 31: XML Printing: Solutions for Bar Code and RFID Printing

XML Custom Printing Solutions• Custom XML Smart Printing

applications can be developed• Use Fingerprint and IFAB

• Full flexibility• Host connection for XML data

streams• Operator interaction – if application

requires so

Page 32: XML Printing: Solutions for Bar Code and RFID Printing

What about Gen 2?• What happens when RFID goes

Gen 2• Solution supports Gen 2

–No change in XML data stream–LabelShop supports basic write

functions for Gen 2–For full Gen 2 support RFID interface

will be updated

Page 33: XML Printing: Solutions for Bar Code and RFID Printing

Development tools for Custom Solutions

• What is IFAB?• Most sophisticated printer programming tool on the

market• ”Visual BASIC” for printers• Enables rapid application development• Includes tools for installation and deployment

• For professional software programmers

Press to view the Introduction video

Press to view the Introduction video

Page 34: XML Printing: Solutions for Bar Code and RFID Printing

Questions

???????????????????????????????????????