Take A Test print issues

vershaji-1853 1 Reputation point

I'm using the Take A Test API ( https://learn.microsoft.com/en-us/windows/uwp/apps-for-education/take-a-test-api#setCapability ) and trying to enable print using SecureBrowser.security.setCapability("printing","true") on one page, and then on another page within the app I want to disable it as using SecureBrowser.security.setCapability("printing", "false") but cant seem to get it to be disable, the Printer logo is still visible and print enabled. Also is it possible to be able to using a custom button to bring up the print menu ? On Mac window.print() works buts in take a test , print by default is disabled so the button doesnt work.

Universal Windows Platform (UWP)
{count} votes