Export or Print your multi-page Grapher document to a single-page PDF using the instructions below.
- Click File | Export Multiple Pages. If your project does not contain multiple pages, this command will be greyed out.
- Select PDF as the file type, choose a filename, and click Save.
- Choose pages to export. The page names are as they appear in the project file. At least one page must be checked for OK button to be active.
- Choose whether or not to use the same export options for all pages. If this box is checked, just one Export Options dialog appears. If this box is unchecked, one Export Options dialog appears for each export.
- Click OK to export the file.
If you are using Grapher 15 or older, you can export multiple pages to a single PDF using automation:
- Copy this script to your clipboard:
Sub Main 'Create Grapher as an Object Dim Grapher As Object Set Grapher = CreateObject("Grapher.Application") Grapher.Visible = True '====================================== 'User-defined variables '====================================== 'Path and Name of the project file to open and export filepath = "C:\Users\L\Desktop\" filename = "MultiPage.gpj" 'Number of pages in the project numpages = 5 '====================================== 'Open file Set Plot1 = Grapher.Documents.Open(filepath+filename) 'Export objects to specified file For i=1 To numpages Plot1.SetActivePage(i) Plot1.Export2(filepath+"Export"+Str(i)+".pdf",False,"FitPage=0",True,"pdfv") Next End Sub
- Open Grapher and turn on the Script Manager by clicking View | Display | Script Manager.
- Press Ctrl+A to select all of the existing lines in the Script Manager and then press DELETE.
- Press Ctrl+V to paste the contents of your clipboard into the Script Manager.
- Update the filename, filepath, and numpages in the User-defined variables section to be appropriate for your needs.
- Click the Start/Resume icon () in the Script Manager.
- Once the file has completed running, you should have one PDF for each page. You can combine them into one in Adobe Acrobat Pro DC or some free online PDF merge/join software.
A sample file (MultiPage.gpj) is attached for testing purposes.
To add your vote to our suggestion file for a way to export multiple pages to a single PDF, please contact email@example.com.
Updated March 2020