XML Monitor

Running the EASYLABEL XML Monitor will place an icon in the Windows notification area. Right clicking on the icon will bring up the following options:

  • Properties

    Displays the monitor properties. Double clicking on the icon will also open the properties.

  • About

    Displays the version and copyright info.

  • Exit

    Stops and closes the monitor.

Properties

  1. Delete XML Files After Processing

    If this is enabled then XML files added to the monitored folder are deleted after they are processed.

  2. Ignore Field Name Errors

    If this is enabled then variable data is ignored when there is no field in the format with the same name. If it is disabled then the label is not printed and an error is recorded in the event log.

  3. Timeout

    The timeout to use for tcp connections. If the time since the last byte received exceeds this then the XML content received up to that point is processed.

  4. Monitored Port

    The tcp port being monitored. Any XML files sent to this port are processed. The monitor only supports a single tcp connection. Files sent over tcp are written to the monitored path with a random filename.

  5. Monitored Path

    The path to the folder being monitored. Any XML files added to this folder are processed.

  6. Printers

    The printers that are configured for printing. Three (3) printer ‘seats’ are included with EASYLABEL Platinum with additional seats available for purchase. The XML monitor supports up to 255 printer seats per system.

  7. Show Event Viewer

    Opens the Windows Event Viewer. The monitor adds events to the “Application and Services Logs” under the name EASYLABEL.

  8. Configure

    Opens the setup wizard. Follow the instructions in this wizard to change the xml monitor properties.

XML Structure

The EASYLABEL XML Monitor can process XML from Oracle WMS/MSCA, SAP, or other systems. The XML structure must meet one of the following specifications:

  • Oracle WMS/MSCA Label Printing Integration Kit

  • SAP Smart Forms XSF

It is recommended that the Oracle specification is used for systems or applications that are not Oracle WMS/MSCA or SAP.

Sample XML

The following is an example of an XML file using the Oracle specification. It prints the format C:\xml_Sample.fmt with 3 batches and 2 copies for each batch. The job in EASYLABEL is sent the the printer named “Tharo H-427+” and is given the description “Sample Description”. The when printed field named “PageNum” is given a value of 1.

<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE labels SYSTEM "label.dtd">
<labels>
  <label _FORMAT="C:\xml_sample.fmt" _QUANTITY="3" _DUPLICATES="2"
         _JOBNAME="Sample Description" _PRINTERNAME="Tharo H-427+">
    <variable name="PageNum">1</variable>
  </label>
</labels>

XML Document Type Definition (DTD)

Below is an XML Document Type Definition (DTD) which defines the elements and attributes used in the Oracle specification.

<!ELEMENT labels (label)*>
<!ATTLIST labels _FORMAT CDATA #IMPLIED>
<!ATTLIST labels _JOBNAME CDATA #IMPLIED>
<!ATTLIST labels _QUANTITY CDATA #IMPLIED>
<!ATTLIST labels _DUPLICATES CDATA #IMPLIED>
<!ATTLIST labels _PAGES CDATA #IMPLIED>
<!ATTLIST labels _PRINTERNUMBER CDATA #IMPLIED>
<!ATTLIST labels _PRINTERNAME CDATA #IMPLIED>
<!ELEMENT label (variable)*>
<!ATTLIST label _FORMAT CDATA #IMPLIED>
<!ATTLIST label _JOBNAME CDATA #IMPLIED>
<!ATTLIST label _QUANTITY CDATA #IMPLIED>
<!ATTLIST label _DUPLICATES CDATA #IMPLIED>
<!ATTLIST label _PAGES CDATA #IMPLIED>
<!ATTLIST label _PRINTERNUMBER CDATA #IMPLIED>
<!ATTLIST label _PRINTERNAME CDATA #IMPLIED>
<!ELEMENT variable (#PCDATA)>
<!ATTLIST variable name CDATA #IMPLIED>

XML Generator

The EASYLABEL XML Generator can be used to create XML files for printing with the EASYLABEL XML Monitor. The generator shows a wizard for creating the xml file. XML files created by the generator use the Oracle format.