"We have a confidential survey. However, I realized today that there is a vulnerability because users could simply print the completed sessions from the Windows Client. 

Is there a way we could disable printing of sessions via script code?"


Use the "BeforePrint" event handler in the VB.NET form script to cancel printing from the Windows Client.


<MiCode(FormScriptEventType.BeforePrint)> _ 
Public Sub Form_BeforePrint(ByVal e As BeforePrintEventArgs)
        e.Cancel = True 
End Sub