15 Replies Latest reply: Dec 30, 2013 12:37 PM by Bumin Kösesoy RSS

How to print individual sheets to separate PDFs with a script?

Brooks Rimes

I've been working with script, for the first time, trying to print 20 separate sheets as PDFs in an automated way (or maybe to write one large PDF).  I have not (as yet) defined reports for these sheets.  At this time I just want to print them as sheets.


1. What is the script equivilent to menu: File, Print Sheet? (its not Print Report, PrintDocReport or PrintReportEx)


2. If I decided to use doc1.PrintAllSheets, how can I pass in the name of the PDF printer and the PDF file name I wish to write to?