Print Report VI

Owning Palette: Report Generation VIs

Requires: Base Development System

Prints a report to a designated printer or to the default printer on the computer.

If you use this VI to print an HTML report, the computer printing the report must have Internet Explorer installed.

Note  If you use this VI to print a Microsoft Word report and you assign a printer to the printer name input other than the default system printer, Microsoft Word resets the default system printer to the printer you assigned to the printer name input.

 Add to the block diagram  Find on the palette
report in is a reference to the report whose appearance, data, and printing you want to control. Use the Create Report VI to generate this LabVIEW class object.
printer name is the name of the printer to which you want to print the report. If you wire a printer name, that printer must be configured for use with the computer from which you want to print the report. If you do not wire a printer name, the VI uses the default printer for the computer. The computer from which you want to print must have a default printer.

If you print an HTML report, the VI ignores this input and uses the default printer for Internet Explorer.
number of copies specifies how many copies of the report you want to print. If you do not specify a number, LabVIEW prints one copy.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
report out is a reference to the report whose appearance, data, and printing you want to control. You can wire this output to other Report Generation VIs.
error out contains error information. This output provides standard error out functionality.