LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

The best way to print a picture control from LabVIEW

Hello
I need to print the Picture control (B&W) in the high resolution (300 dpi). I need to create a picture so it fits 300 dpi without any resizing. I calculated it like follows. My picture shell have 10 inches x 7 inches. With a 300 dpi it gives dimensions: 3000x2100 pixels.
The problem is that when I make this kind of picture I can not print the front pannel (or I can but at 4 pages), even though I asked it to fit the front pannel. That means that the actual plot is not 300 dpi. How to make it 300?

So, what is the best way to print a picture control in a high quality?

thanks in advance
Pawel
0 Kudos
Message 1 of 7
(4,202 Views)
Another way to do this is to get a reference for the control, then use an invoke node to "get image". This output then can go into the flatten pixmap function under the graphics format palette. At this point you can use the other functions in the palette to save as a bmp or jpeg, etc. This will basically take a screenshot of the control containing the control and text or values. Hope this helps."
BJD1613

Lead Test Tools Development Engineer

Philips Respironics

Certified LV Architect / Instructor
0 Kudos
Message 2 of 7
(4,202 Views)
Hello

The problem is still how to print 300dpi picture fomr LV,
regards
Pawel
0 Kudos
Message 3 of 7
(4,202 Views)
The picture can be cut into smaller portions so they can be printed one at a time.

If you want to print the image after it is captured, then save the image into a file or several smaller files (png is preferred over jpg, if the picture is very uniform or not complex, gif is prferred), and insert the image(s) into a report file, finally use the print report.vi to print the file.

Joe
0 Kudos
Message 4 of 7
(4,202 Views)
> So, what is the best way to print a picture control in a high quality?
>

I think you are on the right track, but I believe there is a limit on
the Scale to Fit option in printing. It will only scale the image by
4x, to 288 dpi. For now, try making your picture something smaller,
like 280x10 x 280x7 and try that out. If that solves it, you might want
to make a formal request to have the heuristic number increased.

Greg McKaskle
Message 5 of 7
(4,202 Views)
Hello Greg

thank you for the answer. Can I ask you also to go back to our last conversation and read my answer. Or better I enclose it here:

"Hi Greg again
I hope you will rad this message, though it is written after some time we have finished our converstion.
In previous post, you write that the polar plot will render my plot depending on the device it is sending the plot to. You give an example that if my device is a printer, the polar will render plot with 600dpi resolution.
That would work for me very well, but I need to ask you how make my printer the device that polar plot will write to.
For now I can print my polar on screen and then print the front pannel (good resolution), or save the picture to graphic file and print fron report or etc (poo
r resolution).
In case I could render the image directly on the printer I would obtain the best quality what so ever, but I do not know how to make my printer a output device for a polar plot.

kind regards
Pawel"
0 Kudos
Message 6 of 7
(4,202 Views)
Hello Greg again

The method you proposed works perfect. There is no need for better resolution. The one I have now is extreamly good.

thank you very much

kind regards

Pawel
0 Kudos
Message 7 of 7
(4,202 Views)