The scripts have access to these through the two function arguments: Your input can influence the development of future scripting features.Īll print job hooks have access to job, printer and user information and can perform a variety of actions that affect the job processing. pre-authentication), explain your requirements to the support team. If you have the need for another hook (e.g. Limitations:Can’t influence account selection popup behavior or selected results (because it’s already been completed)Can’t influence popup authentication behavior Suitability: Only use when the result of the account selection is required. Point of Call: Immediately after account selection popup displays (or would display if enabled). This hook should only be used to perform actions that use the result of the account selection popup (i.e. PrintJobAfterAccountSelectionHook(inputs, actions) Limitations:Can’t influence popup authentication behaviorEnd-user account selection information is not available Suitability: Most situations as all print job inputs and most actions are available. Point of Call: Immediately before account selection popup displays. This is the main multi-purpose hook and is suitable for most situations. The available print hooks are: Print workflow hooks Hook Go to the Enabling Print Scripting and Device Scripting fKB article for more information. IMPORTANT If you are using version 19.2.6, 20.1.5, 21.2.9, or 22.0.0 and later, you must enable Print Scripting. PaperCut MF also offers Device scripting for implementing copy, scan, and fax policies (such as limiting color copying) that will change user’s behavior at the MFD. NOTE Print scripting can be used only for print jobs. For more information, see the Mozilla Developer Center here. A good JavaScript reference will assist with making use of and formatting these objects. Many of these inputs and functions reference JavaScript objects (e.g. NOTE This API reference describing all the properties and functions available to print scripts. In most cases the generic main hook satisfies most requirements. For example, a hook early in the workflow has the ability to influence behavior later in the flow, while scripts late will correspondingly have access to additional information that would not be available earlier. A number of print hooks (entry points) are available and each differ by the point in the print workflow when they are called. It is also commonly referred to as an entry point or method. A hook is a JavaScript function that is defined by you, the script writer. The script is defined using the concept of a “hook”. Print scripts are segments of code that are run whenever a new print job arrives. PRODUCTS FEATURED Print script API reference
0 Comments
Leave a Reply. |