Windows System Printing Submit dialog box and automatic printing.

Unfortunately, Chrome does not have pure silent printing (Firefox is not an option), so when you add -kiosk-print to Chrome, an annoying screen appears in 1 second. I have an idea if we add this parameter: --disable-print-preview in Chrome and the system print dialog - is there any tool that can work in the background and click the "Print" button for you so fast why don't you see him?

+8
google-chrome printing handle
source share
1 answer

I do not know a single tool that can solve the problem, but I think it will be easy to develop a small software product that will do this.

If you are on Windows, I would recommend using the UI Automation framework to determine the event when the print dialog opens, and click the Print button.

There are also several free tools that can help you during development:

  • Inspect (Inspect.exe) is a Windows-based tool that allows you to select any user interface element and view the element's accessibility data. You can view Microsoft UI Automation Properties and Management Templates, as well as Microsoft Active Accessibility Properties. Inspection also allows you to check the navigation structure of automation elements in the Automation Tree user interface and available objects in the Microsoft Active Accessibility Hierarchy.

  • The Affordable Event Monitoring Tool (AccEvent) allows developers and testers to verify that the Microsoft UI Automation and Microsoft Active Accessibility Events user interface elements are changed when the user interface changes. Changes in the user interface can occur with changes in focus or when a user interface element is invoked, selected, or has a state or property change.

  • The AccScope tool allows developers and testers to evaluate the availability of their application during application development and design, rather than in the later stages of testing the application development cycle. Testing may even begin in the early stages of the prototype. AccScope can visualize how a screen reader provides information about the user interface automation that the application provides and can show areas where you can add information or support for your application to improve its availability.

I just used Inspect to detect the print dialog and its Print button after it pops up. Using these tools, you can also find out what event to listen to when a dialog box appears, and then you are set to develop your program, which clicks on Print.

+1
source share

All Articles