(abbreviation for Portable Document Format
) is a file format developed by the Adobe
company. It can be used for storage of documents independently on software and hardware where the document originated. The PDF
file type may contain both text and images while the format secures identical viewing of such document on any device. The PDF
documents can be cretaed in commercial software Acrobat
, but also in other programs (often only as export to PDF
There are many free PDF viewers available for various platforms, but the best known is the viewer Adobe Reader. Some active type content (for example interactive forms, 3D graphics, video, audio, etc.) may not be supperted by many PDF viewers. The PDF format files have the .pdf suffix. PDF is an open standard that is easily portable (viewing is independent on used software and hardware) and therefore very popular.
1. View file
Examples of opening Document.pdf
The example of PmWebDir object viewer opening:
Opens Web browser and displays the Document.pdf
file, that is offered by the PmWebDir
pMe.PmPanel.OpenView("/Web/WebDir", "target:_blank;", "file:Document.pdf");
2. Print into file
In the PROMOTIC application it is possible to print by sending the data to a virtual printer (OS Windows 10
contains "Microsoft Print to PDF"
) that does not print on a paper but into a digital file. In OS Windows 8, 7
and older systems it is necessary to install another third party software.
Printing panel with printer selection:
3. Save as PDF filewkhtmltopdf
is open source (LGPLv3
) command line tool for rendering HTML pages into PDF using the Qt WebKit
rendering engine. This run entirely "headless" (no GUI). This software tool can be used for saving the content of PROMOTIC SCADA application HTML pages into PDF.
: This software tool so far cannot save the content of trend viewer (curves).
Saving graphic panel with open source (LGPLv3) tool wkhtmltopdf as PDF:
Command line command example: