Prints the specified graph using a new window and the built-in print dialog.

This function should be called from within the document with the graph.