LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to print preview LabVIEW standard report

how to print preview LabVIEW standard report
0 Kudos
Message 1 of 5
(5,031 Views)
There really isn't a print preview feature. Something I have done in the past is install a PDF "printer" and used it's output as my preview function. A good one is PDF Creator.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 5
(5,029 Views)

Thank you very much for this information. But how to integrate PDF Creator with LabVIEW code?

LabVIEW has "Print Report.vi". This vi uses an NIReports.Report ActiveX control's method "Printout" to print the Standard report to printer. But how to print the Standard report to file for preview?

0 Kudos
Message 3 of 5
(5,015 Views)
I believe there is a "printer name" input on the VI that actually generates the printout. Set that to "PDFCreator" or whatever the PDF printer on your system is called. Otherwise, by default the printout will go to the computer's default printer. Alternatively, you can define PDF Creator as the default printer. In fact on my laptop system I typically have PDF Creator as the default printer because it gives me a quick and easy way of generating documents without having to worry about file compatibility.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 4 of 5
(5,010 Views)
I have a project where a datasheet is saved as a pdf using pdfCreator.  I thought it would be very usefull to use the activeX interface to pdfCreator via LV.  I can communicate with the top level commands, but none of the lower level commands (cOptions) do not seem to get written to the application.  The code is emulated after a VB example.  Anyone want to take a shot at getting the options to write to the application?
Message Edited by JoeC on 12-02-2008 01:19 PM
0 Kudos
Message 5 of 5
(4,582 Views)