PrintVIToPrinter Method
Installed With: Base Package
Class: VI Methods (ActiveX)
Prints the VI information to a printer. If you use this method in a stand-alone application or DLL, LabVIEW prints only the front panel.
Syntax
object.PrintVIToPrinter([format], [scalePanel], [scaleDiagram], [pageHeaders], [pageBreaks], [sectionHeaders])
Parameters
Name | Type | Description |
---|---|---|
format | PrintFormatEnum | Specifies which VI information to print and the format of the printout. You can select from eCustom, eStandard, eUsingPanel, eUsingSubVI, or eComplete. |
scalePanel | Boolean | Specifies whether the front panel will be scaled to fit the page. The default is TRUE. |
scaleDiagram | Boolean | Specifies whether the block diagram will be scaled to fit the page. The default is TRUE. |
pageHeaders | Boolean | Specifies whether page headers (which include the page number, VI name, and last modification data) will be printed. The default is TRUE. |
pageBreaks | Boolean | Specifies whether page breaks will be inserted 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. |
sectionHeaders | Boolean | Specifies whether to print headers for each section listed above. If format is eCustom, eStandard, or eComplete, the default is TRUE. Otherwise, the default is FALSE. |
Return Value
none