LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Printing TIF ( picture ) file, how ?

Hi,

I need to write a LabView application that take TIF picture file from
a disk and print it using the default printer which is connecting to
the computer.

Any idea how to do something like this ?

Thank you,

Noam.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
0 Kudos
Message 1 of 3
(2,878 Views)
There are a number of ways to do this. I would suggest using a run-line command with an executable that is capable of handling TIF images. LabVIEW with IMAQ can handle it, but I can't think of an easy way to get the image into LabVIEW for printing (IMAQ is usually concerned with display and file I/O, not printing.)

The runline command is going to be difficult to figure out. This is the same things as putting a command in the "Run" function on your start menu in Windows.

Another option is to use ActiveX. However; that means controlling an application that is able to print tif images. I can offer even less help on this solution.

There is a way to do it in LabVIEW, but I can't find any TIF image functions outside of IMAQ, which means somehow convert
ing it to BMP, JPG or PNG, formats supported outside of IMAQ.

You could also put in a support request to NI at ni.com/ask. They should be able to offer solutions.

Good luck
0 Kudos
Message 2 of 3
(2,878 Views)
Thank you very much, you gave me some good and importent points that i
can check now, it's really help me, thanks again !

Best regards,

Noam.


Labviewguru wrote in message news:<5065000000050000001E640000-1012609683000@exchange.ni.com>...
> There are a number of ways to do this. I would suggest using a
> run-line command with an executable that is capable of handling TIF
> images. LabVIEW with IMAQ can handle it, but I can't think of an easy
> way to get the image into LabVIEW for printing (IMAQ is usually
> concerned with display and file I/O, not printing.)
>
> The runline command is going to be difficult to figure out. This is
> the same things as putting a command in the "Run" function on your
> start menu in Windows.
>
> Another optio
n is to use ActiveX. However; that means controlling an
> application that is able to print tif images. I can offer even less
> help on this solution.
>
> There is a way to do it in LabVIEW, but I can't find any TIF image
> functions outside of IMAQ, which means somehow converting it to BMP,
> JPG or PNG, formats supported outside of IMAQ.
>
> You could also put in a support request to NI at ni.com/ask. They
> should be able to offer solutions.
>
> Good luck
0 Kudos
Message 3 of 3
(2,878 Views)