Are you receiving multiple print script popups per print job? From time to time sys admins will reach out to us about a strange quirk of print scripting, where the same pop-up will appear multiple times causing confusion for the end user.
This can occur if the print script requires user action for the job to be printed. The printjobhook runs multiple times during the hold release process. When prompting a dialogue from the printjobhook to users (e.g. prompOK) and the text of the pop-up may change after one iteration of the printjobhook, such as using an inconsistent variable or new timestamp, a pop-up can repeat. The default method of identifying an already invoked pop-up is by it’s contents. If these change then the script will start up another pop-up. This is by design as some scripts require multiple pop-ups with different questions or information.
Workaround To workaround this, you will need to add an identifier (questionId) to the pop-up so that PaperCut will know that either the user has responded or that the pop-up already exists and is waiting for a response.
To do this use Client Prompt Standard Options, documented in Information about Client Prompt Standard Options and questionID.
Example usage:
var dialogOptions = {”questionID”:”incorrectPageSize”};
actions.client.promptOK(“This page size is not allowed.”, dialogOptions);
Articles in this section
- PaperCut Mf - SSL Certificates - Windows
- papercut-mf-ssl-certificates-macos
- PaperCut Mf - SSL Certificates - Windows
- macOS Rosetta transition (end of life)
- User details missing from copy jobs on Toshiba devices in the Administrator interface Job Log
- Performing a Laptop Test for Device and Server Testing
- Restoring deleted printers when upgrading macOS
- Scan, Device Functions or other buttons are missing from PaperCut MFD app
- Printer pulls job from local client deprecation
- Devices End-of-life Policy
Comments
0 comments
Please sign in to leave a comment.