How can I choose a different printer when printing from a Grapher script?

When printing from a script, the default Windows printer is used. You can change the printer that Grapher is using by setting the Printer property of the AutoPageSetup object before printing. For example:


Set Plot1 = Grapher.Documents.Open(filename)
Plot1.PageSetup.printer = "Adobe PDF" Plot1.PrintOut(grfPrintTruncate

Updated December 18, 2017

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request


Please sign in to leave a comment.