DevicesAdvanced Options for Loftware Devices

If the Family selected is Server and the Model selected is Loftware for the Loftware NiceLabel driver, then the Advanced tab displays the following options.

Important: To ensure that your device settings are applied when printing and that all users have the same device settings, you must define the settings for the device on the Windows Server where the Loftware driver is installed. For more information, see Define Default Printer Settings

Advanced Options

Option Description Values

Print Label As Image

Whether Loftware Enterprise SP should render the entire label as an image or generate each field individually.

If individually, the field is rendered natively by the device if possible. If the device does not support native rendering of the field, then Loftware Enterprise SP generates an image for the field.

: Render fields individually. (Default if supported for device)

: Render entire label as an image.

Store Variant

Passed down when using the store or recall requests.

Device dependent

Advanced Troubleshooting

Option Description Values
Advanced Troubleshooting

Whether to display advanced troubleshooting options, including options for print stream scripting.

Disabled: Do not display advanced troubleshooting options, and do not run a print stream script for this device connection. (Default)

Enabled: Display advanced troubleshooting options.

Print Stream Scripting

This section is displayed only if the Advanced Troubleshooting option is enabled.

Tip: For assistance with print stream scripting, contact Loftware's Professional Services Group.

Option Description Values

Script Name

The name of the print stream script.

Tip: This name may be included in log files, which may assist you if troubleshooting problems with the script.

Apply Script

Whether to run the print stream script. A print stream script is run just prior to sending data to a device. The effects of print stream scripting are reflected only in the print stream, not in the data map.

Note: Regardless of whether Apply Script was selected, if the Advanced Troubleshooting option is disabled then the script is not run.

Cleared: Do not run the script. (Default)

Selected: Run the script.

Script

A print stream script written in JavaScript.

Loftware Enterprise™ SP uses the Rhino JavaScript engine for Script data sources and supports both the Rhino and Nashorn JavaScript engines for use in scripts in business rules. Rhino is an open source JavaScript engine maintained by the Mozilla Foundation, and Nashorn is an open source JavaScript engine maintained by Oracle. These engines enable you to parse, compile, and run JavaScript statements.

Note: JavaScript versions 1.3 and later conform to the Standard ECMA-262 ECMAScript Language Specification. For more about this specification, see "Scripting, Java, and XML" in External Links.