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.
Panel printing
- leoknipp
- Posts:2928
- Joined: Tue Aug 24, 2010 7:28 pm
Re: Panel printing
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
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
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.
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
Thank u Gertjan. We will try that.
- mkoller
- Posts:741
- Joined: Fri Sep 17, 2010 9:03 am
Re: Panel printing
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"
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
Thanks Martin. I got success with your suggestion.