The function is used to disable any printing from application. Only preview will be available.
Parameters: