LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Make a print out of a printscreen

Hi there,

 

I want to make the following function:

I have a program that is running.

In that program I want to make a button for printscreen and a button for print.

When pushed on the printscreen button, I want to save a printscreen.

And when pushed on the print button, I want to print the screen on the printer.

 

Greetz,

 

Kenny

0 Kudos
Message 1 of 11
(3,173 Views)

OK.... So what are you having problems with? The VI Server has the Print:Panel to Printer method that you can use.

0 Kudos
Message 2 of 11
(3,168 Views)

Hi smercurio_fc,

 

I found that function.

But when I want to print by pushing the print button, I get the file that you can see in the attachment.

 

Regards,

 

Kenny

0 Kudos
Message 3 of 11
(3,147 Views)

Were you using a PDF printer driver? Have you tried printing to an actual printer? Some PDF printer drivers do not render graphics very well.

0 Kudos
Message 4 of 11
(3,126 Views)

I first tried to print it on paper.

But when I saw that it went wrong, I switched to printing with PDF to save paper.

0 Kudos
Message 5 of 11
(3,120 Views)

What exactly "went wrong"?

0 Kudos
Message 6 of 11
(3,113 Views)

It didn't print the page.

The attachment in my previous post was what also the printer did.

 

So that went wrong.

Do you got any idea what the problem can be?

0 Kudos
Message 7 of 11
(3,110 Views)

Can you post your VI (the actual VI, not an image of it)? Do you have some sort of graphic on the front panel?

0 Kudos
Message 8 of 11
(3,106 Views)

Hi,

 

This is the VI that I am using.

I don't know if you can Run it because it has some things build in for our scada-system.

But you can give it a try, and maybe you can find the problem.

 

The part that I build in to print the page is almost at the right.

Remember, I just want to print a screenshot of the page.

I don't want to print all the block diagram etc. etc.

 

Regard,

 

Kenny

0 Kudos
Message 9 of 11
(3,083 Views)

Oh yeah, what I forgot to tell.

I want to make a print of a Graph, don't know if that gives any problems?

0 Kudos
Message 10 of 11
(3,081 Views)