Advanced Options for PDF Devices
If the Family selected is Family Driver and the Model selected is PDF, the Advanced tab displays the following options.
Note: PDFs created through a Loftware Enterprise SP PDF device driver are read-only and cannot be edited in other applications.
Advanced Troubleshooting
Option | Description | Values |
---|---|---|
Image All Text Fields |
Whether to convert text to images when generating PDFs. This can help printed or previewed labels more precisely match the view in Design (WYSIWYG). |
|
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. |
|
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. |