Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Am currently work on an office intranet with open atrium.how do i disable the print icon on pdf generated on a page.
Comments
Comment #2
jcnventura CreditAttribution: jcnventura at Wunder commentedHi Mykangelo,
First of all, which PDF library are you using?
For instance, if using TCPDF, you can use SetProtection (http://www.tcpdf.org/doc/code/classTCPDF.html#a7ea250b2b4e3d7e55e657d527...)
You can use a theme('print_pdf_tcpdf_page') function to call that function from your Drupal code, see http://cgit.drupalcode.org/print/tree/print_pdf/lib_handlers/print_pdf_t...
Other libs may or may not allow this kind of PDF protection.
Comment #3
jcnventura CreditAttribution: jcnventura at Wunder commentedComment #4
jcnventura CreditAttribution: jcnventura at Wunder commentedNo further info in a long time. Closing the issue.