Example Code

Print a Web Page

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Software

  • LabVIEW

Code and Documents

Attachment

Download All

Overview:
Prints the Webpage using the default printer if present.

Description:
This code makes usage of invoke nodes to load a web page and print it on the default printer register on the PC. If the printer is not present a Warning is displayed.

Requirements:
LabVIEW 2012 (or compatible).

Steps to Implement or Execute Code:
1. Set the URL to the webpage.
2. Run the VI

Additional Information or References: 
Print Web Page - LV 2012 NI Verified.png
"**This document has been updated to meet the current required format for the NI Code Exchange.**".

Regards,
Dan King

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Comments
crazywalt77
Member
Member
on

Works up to (at least) LabVIEW 2018!

AustinManinTown
Active Participant
Active Participant
on

There is also VI in Programming >> Dialog & User Interface >> Help, called Open URL in Default Browser for opening a browser. Not sure when it was included with LabVIEW as it is difficult to find while browsing the palettes.

David C