Forum Discussion

jkrolczy's avatar
jkrolczy
Regular Contributor
2 years ago

Enabling Default Print Dialog in MS Edge \ Chrome

I am just posting this info for others to be able to be able to use.

 

As I have been automating lately against the MS Edge and Chrome browser, when it comes to handling

the print window that the browsers displays, ObjectSpy cannot work with it easily or at all?.

 

I just needed a Print window to deal with easily, so I looked up how to use the System Default Print Dialog

like IE presented.

 

I have provided the the Windows Registry settings for both MS Edge and Chrome:

 

Enable Default Print Dialog in MS Edge:
-----------

\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge

Add UseSystemPrintDialog - REG_DWORD (32-bit) Value with value 1


Enable Default Print Dialog in Chrome:
-----------

\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome.
Add DisablePrintPreview - REG_DWORD (32-bit) with value 1

 

No RepliesBe the first to reply