When processing so many excel sheets.
Excel app scope visible = false
Sometimes this “printer setup” popup is appear.
The rpa process won’t continue until i click cancel or choose the printer in the popup.
How to disable this popup in windows 11 & windows 10? This is annoying.
- Open the “Control Panel” on your computer.
- Go to “Devices and Printers.”
- Find the printer that is causing the popup and right-click on it.
- Select “Printing Preferences” from the context menu.
- In the “Printing Preferences” window, look for an option like “Quick Print” or “Print directly to the printer” (the wording may vary depending on the printer model and manufacturer). Check this option if it is available.
- Click “Apply” and then “OK” to save the changes.
This setting should disable the “Printer Setup” popup for the selected printer, and your RPA process should no longer be interrupted by it.
Please note that the steps may vary slightly depending on the printer model and the printer driver software installed on your computer. If you can’t find the exact option mentioned above, look for any settings related to “Quick Print” or “Print directly to the printer” in the printer preferences.
Keep in mind that disabling this popup means that the print settings might not be applied when you print from other applications. However, since you are running the RPA process with Excel Application Scope’s visible property set to false, it suggests that the printing is not a part of the automation workflow, and therefore, disabling the popup should not affect the process.
Use a parallel activity and use the excel application scope is one branch and the activities to click on the pop up in the other branch. It will handle the pop up when it occurs.
Check the below to how to do the sequence.
Hope it helps!!
Open the Windows Control Panel:
- In Windows 11, right-click on the Start button and select “Settings” > “System” > “Printers & scanners.”
- In Windows 10, right-click on the Start button and select “Control Panel” > “Devices and Printers.”
Set a default printer:
- In the “Printers & scanners” or “Devices and Printers” window, find your preferred printer (the one you want to use as the default).
- Right-click on the printer and select “Set as default printer.”
Remove unwanted printers (optional):
- If there are any printers you don’t need, you can remove them from the list to reduce the chances of the “Printer Setup” popup appearing. Right-click on the printer and select “Remove device.”
Restart your UiPath robot:
- After making the changes, restart your UiPath robot to ensure that it recognizes the updated printer settings.
By setting a default printer, the “Printer Setup” popup should no longer appear when using the Excel Application Scope with visible set to false in UiPath. The robot will use the default printer settings and proceed with the automation without interruptions.
Hope it helps!!
My default printer in windows setting is “let windows manage my default printer” = ON
Now i change the default printer in windows setting to “microsoft xps document writer”, I don’t know if this will resolve it or not.
Try running the program and let me know if the pop-up opens or not.
Ugh this mean more delay for the rpa process.
Because element exist will wait quite long time when the popup not going to appear.
Check by running the Process
Will look into this first
Element exist will wait for 30 seconds only. That was not a bad time to wait.
The process will move parallel then there is not much delay.
It was better to handle the popup when triggering in between process.
Hope you understand!!
Ugh i have to test run & wait for the rpa process finish by hours due to hundreds of sheet processed hahah
30 seconds x 500ish worksheets
hmm i don’t know
Make try with it If it was taking much time then ignore that one. @wija
Test it for 3 or 4 Sheets in the excel.
Hope you understand!!
If you use modern activities then in excel process scope you have option to disable display alerts
As suggested by others default printer also might negate the issue but in all systems that is to be done…
Parallel activity willbe a good alternative and for that element exists is not needed…you can use a click with continue on error property checked…so if the pop up comes up it is handled in parallel else the remaining activity continues…there would not be any delay involved
Hope this helps
3 or 4 sheets is unlikely the popup will appear.
for the popup to appear have to process massive sheets.
Okay got it @wija
If any solutions nothing work, then try with my solution.
have to wait the popup appear first for me to be able to indicate the element.
after that i also have to consider the delay of element exist.
We have to indicate the element for element exist activity. If you are using modern activities then you can use the check app state activity.