logo top-img
blank

Support Overview

Knowledge Base
Search Site
Request a Feature
Report a Bug
Remote Support
 
NEW!
Database Connectivity Demo
OPC/PLC Connectivity Demo
 

Contact Support

E-Mail Support
Call 1-800-407-0458
left
   
 

Synopsis

Loftware Labeling is a label printing application. It accepts commands via TCP/IP sockets instructing what label to print and what printer to use. The Ethernet/Serial DataLink can be configured to instruct Loftware Labeling how and what to print. There are a few steps that must be followed to setup both Loftware Labeling and the Ethernet/Serial DataLink for communication.

Discussion

Loftware Labeling Configuration:

  1. Locate the Loftware Labeling folder.
  2. Open the folder and double-click on DSIConfig.exe.
  3. Check Enable Direct Socket Interface. Note the Listening Port as this will be used when configuring the Ethernet/Serial DataLink.
  4. Click OK.
  5. Restart the Print Server via the LPS Configuration Utility.

I/Gear Ethernet/Serial Configuration:

  1. Create a new Ethernet/Serial DataLink in the DTU.
  2. On the Specify the Communications Hardware screen, select Ethernet as the Hardware Type and TCP(Stream Socket) as the Software Protocol.
  3. On the Specify the Ethernet Settings screen, enter the IP Address of the Print Server and the Port defined in DSIConfig.exe.
  4. Create a new Output Command. This will be used to make the connection to the server and send the configuration file.
  5. The data to send should be entered in the Specify the Transmission screen. The data should be in XML and should look like the following:

<?xml version="1.0" standalone="no"?>
<labels _FORMAT="Tutorial.lwl" _JOBNAME="SampleJob001" _QUANTITY="1" _PRINTERNUMBER="1">
	<label>
		<variable name="PartNumber">99999</variable>
		<variable name="Quantity">2</variable>
	</label>
</labels>

The FORMAT tag corresponds to the label created in Loftware. The JOBNAME tag is optional and is used to link the job with the command that sent it. The QUANTITY tag tells Loftware how many copies of the label to print and the PRINTERNUMBER relates to the printers that are setup in Loftware. The variable elements correspond to the variables defined when creating the label in Loftware.

Note that there needs to be a carriage return and a line feed at the end of the transmission stream to avoid any errors when it is sent to Loftware Labeling. This can be done by simply typing [CR][LF] at the end of the stream.

Additional Information

The format of the transmission stream to send to Loftware Labeling can be found in the XML DataLink Tutorial – Building an XML String. Contact I/Gear Software Technical Support at 502-423-0999 or at Support@IGearOnline.com to request this document or if problems continue after following these procedures.

Posted: 12/22/2008