Virus scan in progress. Please wait to download attachments.
This example shows a quick way to provide the user a list of print available and set a default one.
Description Printing a document from LabVIEW doesn't particularly offer many options, and it's notably hard to select one printer, or to even have a listing of the available printers. Some functions in windows provide a such listing, and enable a user to select a default printer.
The attached VI searches for all the available printers, and outputs a listing of those letters. The index command allows the user to select which printer has to be the default one (index =0 => default printer = first one to be listed).
LabVIEW 2012 (or compatible)
Steps to Implement or Execute Code
Select the printer number as the default one.
Run the program
Additional Information or References VI Snippet
**This document has been updated to meet the current required format for the NI Code Exchange.**
Eric M. - Senior Software Engineer Certified LabVIEW Architect - Certified LabVIEW Embedded Systems Developer - Certified LabWindows™/CVI Developer Neosoft Technologies inc.
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.