Control of print

Control of print

Forum member · Aug 11, 2010
We would like to purchase and embed DynamicPDF viewer into our web application to view pdf files. One question, can we control the print function of pdf files? Something like the following: For a file A.pdf, when the user click “print” through DynamicPDF viewer, we could add a check, If this user has the privilege, then it’s fine to print; otherwise, there would be dialog showing something like “no privileges to do so…”

Re: Control of print

Support · Aug 11, 2010
Hello, It is not possible to check the privileges when clicking on the print button on the viewer control. However you can disable the print button present in the viewer and add a new button to your web form which can print the PDF document. On this button click you can check for privileges and proceed for printing. You can use the ShowToolbarButton method to disable the buttons. The Viewer product license is based on number of users, are you using it in a public website or an internal application where number of users is fixed? You can contact our [^a|mailto:Sales@cete.com|Sales Team^] for more details on the licensing of Viewer in a web application. Thanks, ceTe Software Support Team.