Is there a way to restrict the content that can be printed? For example is there a way to ensure only the first 10 pages of a 50 page document can be printed?
Not directly, the user is supposed to have full control over anything that happens on thier system, so you can't setup a PDF to not print certain pages. But there are a couple of partial solutions:
1. you can put a print button on the PDF that only prints certain pages. 2. You can use OCGs, or some other visibility mechanism, to blank out pages you don't want printed. 3. You can split the PDF into two documents and then wrap them in a Portofolio.
Thom Parker The source for PDF Scripting Info [url=http://www.pdfScripting.com]pdfscripting.com[/url]
The Acrobat JavaScript Reference, Use it Early and Often [url=http://www.adobe.com/devnet/acrobat/]http://www.adobe.com/devnet/acrobat/[/url]
1. you can put a print button on the PDF that only prints certain pages.
2. You can use OCGs, or some other visibility mechanism, to blank out pages you don't want printed.
3. You can split the PDF into two documents and then wrap them in a Portofolio.
Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]
The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/]http://www.adobe.com/devnet/acrobat/[/url]
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script