About this task
To create a new device from a
device:
Procedure
- From the tree in the application rules side
panel, choose System Administration > Devices. The Device Setup
window displays.
- In the Device Setup window, select the relevant
Device Type and Device Sub Type whose Device is to be copied.
- The list of Devices displays. Select the
Device to be copied to create a new device.
- Choose the Save As... icon. The
Device pop-up window displays.
- Enter information in the applicable fields.
.
- Choose the Save icon.
Results
The list of standard device type, sub type
and individual devices that is supported is provided. 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'. 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 on including this variable,
see the Organization and participant modeling
concepts.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.
For additional information about overriding properties using the
customer_overrides.properties file,
see the
Configuring property files.
- PrinterAlias - The printer alias as configured
in the Loftware printer setup.
Note: While setting
up a Printer device, ensure that the Printer Alias is exactly the
same as that specified in the Loftware printer setup.
Note: In instances where a network printer is used, ensure
that the Printer Alias 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.
For additional information about overriding properties using the
customer_overrides.properties file,
see the
Configuring property files.
The list of attributes that control communication
to a weighing scale are:
- ClassName
- PortId
- BaudRate
- DataBits
- StopBits
- Parity
- FlowIn
- FlowOut
For more information about creation of the
appropriate attributes, see "Setting Up a Device Attribute".
Note: The ClassName for the Mettler Toledo Weighing Scale
is com.yantra.ycp.ui.io.YCPToledoPSImpl. For specifications
pertaining to the other attributes, please refer the weighing scale
user manual.