I have to do this very often with display screens that need to provide a print capability. What I do is pass a reference to the original graph to the subVI that will be printing its front panel. From this reference I can get all the graph configuration information I need to make the plot on the printed screen match the plot on the GUI screen--including the Y- and X-axis ranges. Rather than trying to set each parameter individually, I just select the axis range:all elements property and wire that to the cooresponding property on the target graph, and everything just works... Just be sure that you have autoscaling turned off on the target graph as you want it to match the other graph.
As an added benefit, because the print vi now has property nodes on its diagr
am, LV will update its front panel without it needing to be open.
Mike...