DevicesAdvanced Options for Image Devices

If the Family selected is Family Driver and the Model selected is Image, the Advanced tab displays the following options.

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.