Short Name: Print.VI To Printer
Requires: Base Development System
Class: VI Methods
To Use: Create a method.
Prints the VI information to a printer.
If you use this method in a stand-alone application or shared library, LabVIEW prints only the front panel. This method is similar to the Printer option on the Destination page of the Print dialog box.
Data type | Name | Required | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Format | No | Specifies which VI information to print and the format of the printout. You can select from Custom, Standard, Using Panel, Using SubVI, and Complete.
If this input is not Custom, LabVIEW ignores all custom format properties in the Application printing property class.
| |||||||||||
Scale Panel? | No | Specifies whether LabVIEW scales the front panel to fit the page. The default is TRUE. | |||||||||||
Scale Diagram? | No | Specifies whether LabVIEW scales the block diagram to fit the page. The default is TRUE. | |||||||||||
Page Headers? | No | Specifies whether LabVIEW prints page headers (which include the page number, VI name, and last modification date). The default is TRUE. | |||||||||||
page Breaks? | No | Specifies whether LabVIEW inserts page breaks between the following sections: connector icon and description, front panel, list of front panel control details, block diagram, block diagram details, VI hierarchy, and list of subVIs. The default is FALSE. | |||||||||||
Section Headers? | No | Specifies whether to print headers for each section listed above. If Format is Custom, Standard, or Complete, the default is TRUE. Otherwise, the default is FALSE. |
The following table lists the characteristics of this method.
Data type | No return value |
Available in Run-Time Engine | Yes (Read/Write) |
Available in Real-Time Operating System | Yes |
Settable when the VI is running | Yes |
Loads the front panel into memory | Yes |
Need to authenticate before use | No |
Loads the block diagram into memory | No |
Remote access allowed | Yes |
Must wait until user interface is idle | Yes |
Available with control VIs | Yes |
Available with global VIs | Yes |
Available with strict type definitions | No |
Available with polymorphic VIs | Yes |