From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

printing an image

Hi,

I've tried several ways to print an Image (either IMAQ or LV picture) but so far I'm not satisfied with the results.

I'm looking for a simple way to print an image directly to a printer. There are no borders allowed, no page numbers etc. Just the picture !

The best result I achieved so far is by using the print at completion feature of the VI, but somehow this uses the default printer settings stored in the VI. This is quite useless unless I program a dozen VI's that comply to all different settings of my printer I guess.

Is there a better way to perform a simple task like this ?

regards,
Marcel
0 Kudos
Message 1 of 4
(2,336 Views)
I already found a way to do it.
The page orientation and margins are available through the VI properties.

Regards,
Marcel
0 Kudos
Message 2 of 4
(2,331 Views)
Unfortunately the VI properties present only part of the printer settings.
It seems that paper size and other properties can not be changed.

I guess I'm missing something since locking printer settings in a VI is totally wrong. This would make VI's lock to one specific system.

What am I missing ?

Regards,
Marcel
0 Kudos
Message 3 of 4
(2,330 Views)

Hi Marcel,

You can use the Labvie wfunctions from the Report Generation Palette.

Best regards,

Bas

0 Kudos
Message 4 of 4
(2,255 Views)