(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 the PmaWebDir object viewer opening:
Opens Web browser and displays the Document.pdf
file, that is offered by the PmaWebDir
Pm.CreateView(pMe.PmPanel, "/Web/WebDir", "file:Document.pdf", "target:_blank;").Open();
2. Print into the 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 the file. In OS Windows 8, 7
and older systems it is necessary to install another third party software.
Print panel with printer selection:
3. Saving into the 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 the trend viewer (curves).
Saving graphic panel by means of open source (LGPLv3) tool wkhtmltopdf as PDF:
Command line command example: