We are working on a VTScada application where the customer needs to print SCADA page.
Currently, we are using the Print Screen button on the VTScada toolbar. However, the printed snapshot only occupies approximately half of the A4 page, leaving the remaining area blank.
We understand that the Print Screen function is designed to capture a snapshot of the current VTScada page and send it to the default Windows printer.
Changing the printer orientation (Portrait/Landscape) does not resolve the issue.
My questions:
Is there any way to scale or stretch the captured VTScada page to fit the full A4 printable area?
Does VTScada provide any built-in printing configuration or alternative method to achieve full-page printing?
Are there any recommended solutions or workarounds?
The customer prefers not to purchase additional third-party software.
Any suggestions or recommendations would be greatly appreciated.
Print Screen is a bitmap snapshot of the window, so its physical print size depends on image DPI/scaling, not just paper orientation. Check whether your VTScada version has a page/report print function that renders to a printable page instead of capturing the screen; if so, set A4 and fit-to-page there. If you must use Print Screen, use the printer driver’s “Fit to page”/“Scale to fit” option, or resize the VTScada window to the A4 aspect ratio before capture and set the image DPI so 1240×1754 maps to A4.
What happens if you set your printer’s default to landscape? Windows settings > Printers and Scanners > manage your printer and set its default to landscape?
If the printout is specifically for the grid in shown in the screenshot on this data entry page, another option to consider is a small report in the Report Studio if the system is running VTScada 12.3.
With a report in place, once the operator has filled and submitted the form, they can trigger a report using the Run Report button. The report can also be triggered to run trigged based on a tag value, or time schedule. The report can then be sent to a printer, and show a table similar to the one shown in the screenshot, plus the “Total operating time” and “Total Operating Hrs” shown at the top of the page if required.
Thanks Peter. But for report studio, I think it cannot create same format like customer need. And to link with the tag, we can do tag query only. String entry input or Numeric entry input cannot in my opinion.
If my understanding is wrong, can guide me.
The data entry form on the left writes to the tags shown.
In the Report Studio, create a report with a table, linked to a tag query data set. In the tag query data set, use the “Raw Data” data field to show the values as logged to the tags (rather than as averages), and customise the header to remove the (%[DataColumn]) suffix to make the table headers show only the tag name.
Once that’s created it can be linked to a report tag, and a run report button. In order to show this I’ve set the report tag to output to PDF rather than sending it to the printer, and I turned on the landscape option.
I doubt you’ll get any printer to physically distort the screen to fit the A4 page. I even tried a more advanced PDF printer called PDF Xchange which lets you scale the output at the driver-level, and though it stretched VTScada output and filled the A4 page’s width, it just can’t stretch the image to get rid of white space. Maybe you could make your page a popup and make its dimensions proportional to an A4, or use the report studio.