Explainer
Printing a Comfort Panel audit trail CSV as a PDF
Short answer
A Comfort Panel has no function for printing the audit trail's CSV file, so a conversion script is not something to build on. Configure a report with the audit report control and start it with the PrintReport system function to the panel's PDF printer for a complete printout; render the CSV in the browser or an I/O-field table and use Printscreen when a capture of the visible screen is enough.

On this page
A SIMATIC Comfort Panel cannot print the audit trail's CSV file: WinCC (TIA Portal) offers no function and no application on the panel for printing text-based files, so a conversion script is not something to build on. Two supported routes do produce a PDF on the panel. For a complete, structured audit printout, configure a report that contains the audit report control and start it with the PrintReport system function to the panel's PDF printer. For a record of what the operator actually saw, render the CSV in the HTML browser or in a scripted I/O-field table and capture that screen with the Printscreen system function. This article sets out both routes, the PDF printer setup both depend on, and the decision for each case.
Why the CSV never prints on its own #
The audit trail records what runtime users do — logons, tag changes, other runtime actions — and the panel keeps it as CSV text. Printing on the panel runs through printer drivers that accept rendered output from the runtime, so no documented function or application prints a text-based file, and no script can hand the CSV to a printer by name. An undocumented conversion routine would have to be proven on a bench panel before it belongs in a record process. Where the file sits, and how it reaches an SD card or a server instead, is its own subject; where HMI audit trail data goes: SD card and server logging covers it.
The two routes at a glance #
Both routes end at the panel's PDF printer; they differ in what the PDF contains, and that difference should pick the route.
| Route | What produces the PDF | What the PDF contains |
|---|---|---|
| Capture route | A rendered screen plus the Printscreen system function | The records visible on that screen at the moment of capture |
| Report route | A report containing the audit report control, started with the PrintReport system function | The complete trail in the report layout, paginated |
Capture route: render the trail, then Printscreen #
The HTML browser can display the CSV file, and a script with I/O fields can lay the records out as a table on a screen you design; do not expect the panel's Office viewer to open the file — why the TP1200 Comfort Excel viewer will not open a CSV event log explains that dead end. The printout comes from the Printscreen system function, which sends the current screen to the panel's PDF printer. The limit is built in: the PDF contains the screen as displayed, nothing beyond it. Design the screen for the capture — a fixed row range, no scrolling, timestamp and panel identification visible — so the printed page identifies itself. If a print entry in the panel's viewer looks disabled, that restriction belongs to the viewer, not to a missing driver, as the disabled print option in the Comfort Panel viewer shows. This route fits when an image of one screen satisfies the record: a spot check, a single shift page, a look at recent activity.
Report route: the audit report control and PrintReport #
Reports are the panel's supported way to print structured runtime data, and WinCC Audit contributes a control for printing audit reports. Place that control in a report in your WinCC project, start the printout with the PrintReport system function, and the report goes to the panel's PDF creator through a print command — the path Siemens' Audit Trail-Filter example documents. The result is the document the CSV can never be on its own: every logged event in a fixed layout, paginated, independent of whatever is on screen. When the printout must cover one user or one period instead of everything, filter what the report picks up before it prints. Make this the default route for audit printing; it is the only one of the two that produces a complete record.
Set up the panel's PDF printer #
Set the printer up first, because both routes end there. The printer drivers are delivered with Siemens' Printing with SIMATIC Comfort Panels application example, support entry 58205602, and are transferred to the panel with ProSave. On the panel, open the Control Panel, start the Printer application and, in the Printer Properties dialog, select the PDF entry under Printer Language: the TIA documentation for Comfort Panels names PDF V1.3 there, while the Audit Trail-Filter example requires Printer Driver PDF V1.4 — select the version your documentation names for the panel generation you run. Then prove the chain before relying on it: fire one PrintReport run or one Printscreen capture, move the result to a PC, and confirm it opens as a valid PDF rather than a raw print stream.
Worked example: how much of the trail each route captures #
The difference is a completeness problem, and numbers show its size. Illustrative figures: a trail of 1,200 records since the last archive, a scripted table screen that displays 18 rows, a report layout that fits 45 records on a page. Capture route: the Printscreen PDF holds 18 records — 18 ÷ 1,200 = 0.015, or 1.5% of the trail — and omits 1,200 − 18 = 1,182 records outright. Report route: 1,200 ÷ 45 = 26.67, so the printout runs to 27 pages; 26 full pages carry 26 × 45 = 1,170 records and the last page carries the remaining 1,200 − 1,170 = 30, which puts all 1,200 records in the document. The report is complete by construction; the capture is complete only when the whole trail fits one screen, which at 18 rows on a screen means a trail of 18 records.
The decision for each case #
Decide by what the PDF has to prove. For the whole trail — end-of-shift records, quality documentation, a GMP record — take the report route: audit report control in a report, PrintReport, the panel's PDF printer; in regulated work that is the only route of the two that qualifies, because a screen capture is partial by construction. For proof of what the operator saw at a moment, take the capture route and design the screen so the page identifies itself. If the deliverable can be the file itself, skip the printer and read the CSV on a PC, the way why a TP700 Comfort CSV log needs a computer to print sets out. If nothing prints at all, verify in order: driver transferred with ProSave, PDF entry selected under Printer Language in the Printer application, then the route's system function.
Questions asked
How does the PDF printer driver get onto the Comfort Panel?
The drivers are delivered with the Printing with SIMATIC Comfort Panels application example and transferred to the panel with ProSave. ProSave installs by default together with WinCC (TIA Portal), so it is normally already on the engineering station. Once the transfer is done, the PDF driver is selectable in the Printer application in the panel's Control Panel.
Can I read the audit CSV without printing it?
Yes. Copy the CSV to an engineering PC and open it in a spreadsheet, or use the SIMATIC Audit Viewer delivered with WinCC Advanced — the V14 documentation places it in the Support folder of the installation medium. The viewer presents the trail in its logged structure, which is easier to work with than the raw file.
Does Printscreen include audit rows that are scrolled off the screen?
No. The Printscreen system function builds the PDF from what the screen displays at the moment of capture, so rows you would reach by scrolling are absent. When the printout must cover the whole trail, use the report with the audit report control and PrintReport, which prints every logged event regardless of screen size.
Can the operator start the printout from a button?
Yes. Assign the system function to a button event on a runtime screen: PrintReport for the report route, Printscreen for the capture route, and the operator prints without touching configuration. The WinCC documentation for archiving audit trails shows the same pattern, with the functions list assigned to a Print event button so the trail can be archived at any time.


