Creating a device overview

Sterling Order Management System Software supplies a list of standard device type, sub type and individual devices that is supported. The definition of a new device type, sub type and resultant device requires the creation of the appropriate attributes that define the communication with the device.

The list of attributes that control communication to a printer are:

  • DropDirectory - The directory where the print files are ‘dropped' by the Sterling Order Management System Software Server. The Loftware Print Server keeps polling this directory to pick up print requests.
    When mentioning the directory structure you can use the full path name or replace the path name with a variable. For more information about including this variable, see see Extending the condition builder.
    Note: The DropDirectory attribute appears in the Applications Manager only if the yfs.loftware.tcpip.sockets property is set to N in the <INSTALL_DIR>/properties/customer_overrides.properties file.
  • PrinterAlias - The printer alias as configured in the Loftware printer setup.
    Note: While setting up a Printer device in Sterling Order Management System Software, ensure that the Printer Alias is exactly the same as specified in the Loftware printer setup.
    Note: In instances where a network printer is used, ensure that the Printer Alias on Sterling Order Management System Software does NOT contain the prefix "\\". However, Loftware may require the printer to be defined by prefixing "\\".
  • PrinterServerHostName - The host name for the Loftware Print Server. While IP Address may be sufficient, the use of host name is recommended for ease of maintenance.
  • PrintServerPort - The port on which Loftware Print Server listens for print requests. By default, the print server port for Loftware Print Server is 2723.
    Note: The PrinterServerHostName and PrintServerPort attributes appear in the Applications Manager only if the yfs.loftware.tcpip.sockets property is set to Y in the <INSTALL_DIR>/properties/customer_overrides.properties file.

The list of attributes that control communication to a weighing scale are:

  • ClassName
  • PortId
  • BaudRate
  • DataBits
  • StopBits
  • Parity
  • FlowIn
  • FlowOut
    Note: The ClassName for the Mettler Toledo Weighing Scale is com.yantra.ycp.ui.io.YCPToledoPSImpl. For specifications pertaining to the other attributes, see the weighing scale user manual.