Panel printing

Discussion about recent product features & solutions!
6 posts • Page 1 of 1
raghupavan
Posts:10
Joined: Tue May 20, 2014 1:08 pm

Panel printing

Post by raghupavan »

Hello support team,

We are currently using WinCC OA 3.12.

Please let us know is there any way to print the contents of the panel. We do not want to use printPanel function. We had designed some template in the panel. We want to print the template(some part of the panel) as it is or we want to print it as a pdf file and schedule it to send a mail.

Please suggest us a solution. Thanks in advance.

leoknipp
Posts:2928
Joined: Tue Aug 24, 2010 7:28 pm

Re: Panel printing

Post by leoknipp »

Hello,

printing a panel is only possible using the printPanel() function. There is no function available to print only specific parts of a panel.
If you want to save it as a pdf-file you can install a pdf-writer as printer.

Best Regards
Leopold Knipp
Senior Support Specialist

Gertjan van Schijndel
Posts:634
Joined: Mon Aug 02, 2010 10:37 am

Re: Panel printing

Post by Gertjan van Schijndel »

Perhaps one of the other topics regarding printing panels helps you to save a screenshot to file.

To hide some parts of your panel, you could switch off a layer containing the parts which should not be present in the file.

raghupavan
Posts:10
Joined: Tue May 20, 2014 1:08 pm

Re: Panel printing

Post by raghupavan »

Thank u Gertjan. We will try that.

mkoller
Posts:741
Joined: Fri Sep 17, 2010 9:03 am

Re: Panel printing

Post by mkoller »

Actually the UI can directly create a PDF file: In the printer selection dialog select "print to PDF file".
If you want to do it without the dialog, then define the target file in the corresponding UI internal datapoint, e.g.:
_Ui_x.Print.PrinterName set it so something like "file:///path/file.pdf"

raghupavan
Posts:10
Joined: Tue May 20, 2014 1:08 pm

Re: Panel printing

Post by raghupavan »

Thanks Martin. I got success with your suggestion.

6 posts • Page 1 of 1