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 October 8, 2018

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


Please sign in to leave a comment.