Skip to main content
February 15, 2011
Question

make pdf read-only

  • February 15, 2011
  • 1 reply
  • 2825 views

I've got a coldfusion 8 application that populates a pdf form.  I need to display a read-only version of the form to the

user.  Is there a way to make the form read-only, or copy it to a read-only document?

    This topic has been closed for replies.

    1 reply

    Inspiring
    February 15, 2011

    Flatten the form so input fields can no longer be modified.

    February 15, 2011

    The following tag did the trick:

    <cfpdf  action="write" source="my.pdf"
    destination="my2nd.pdf" overwrite="yes" flatten="yes">
    </cfpdf>

    Participating Frequently
    August 30, 2011

    How about images?

    Once I flatten the resulting pdf, images don't seem to 'survive'...

    Anyone?