Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

make pdf read-only

Explorer ,
Feb 15, 2011 Feb 15, 2011

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?

2.8K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Valorous Hero ,
Feb 15, 2011 Feb 15, 2011

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Feb 15, 2011 Feb 15, 2011

The following tag did the trick:

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Aug 30, 2011 Aug 30, 2011
LATEST

How about images?

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

Anyone?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources