Description
Description-Separate-1Introduction
There exist solutions to print an image file (e.g., https://decibel.ni.com/content/docs/DOC-33239), or a front panel object (https://decibel.ni.com/content/docs/DOC-33277).
Instead of printing the whole front panel object, the attached Print Image.vi grabs the image from an intensity graph/chart (or an x,y Graph/Chart) and prints it to the default printer. It combines the functionality of the following VIs published elsewhere:
- Acquire and Print Image.vi by unknown, [removed] (using a slightly modified version of the print front panel object image.vi by the same author), and
- Image to Clipboard 2009.vi by Eric_R, see https://decibel.ni.com/content/docs/DOC-6740)
Steps to complete
Implement the VI as shown in the Print Intensity Graph.vi:
Create a "Get Image" invoke node of the front panel object. Set the image depth and wire the image Data to the Print image.vi. The VI prints to the default printer. To print to a different printer, wire up the terminal "input printer name (default)".
Description-Separate-2