Skip to content

TicketPrintHTML

Compatibility OTOBO ≥ 11.0.x

Overview

The TicketPrintHTML plugin provides OTOBO with a modern printing function that outputs tickets, including their articles, in the original HTML layout. Images, inline formatting, and custom logos are preserved.

Prerequisites

  • Headless Chrome: A running Google Chrome or Chromium process in headless mode.
  • Docker Setup (optional): If OTOBO is running in Docker, the provided seccomp_profile.json must be present in the docker-compose path.

Installation

  1. Package Manager
  • In the admin area under System Administration → Package Management, search for TicketPrintHTML and install it.
  1. Manual Installation
  • Unpack the plugin archive into Kernel/Config/Files/.
  • Under System Administration → Update, reload the file system.

Setup (Docker)

If OTOBO is operated via Docker:

  • Copy scripts/docker-compose/seccomp_profile.json to your docker-compose directory.
  • In the service section of otobo-base.yml, add the following lines under command: web:
yaml
security_opt:
  - seccomp:seccomp_profile.json
healthcheck:
test: curl -s -f http://localhost:5000/robots.txt
  • Restart the containers: docker-compose restart

Configuration (SysConfig)

All settings can be found under Admin → System Administration → SysConfig → Frontend → Agent → View → TicketPrint:

KeyDescription
PrintLogoFileBase64-encoded logo (700×100 px) in the page header
GoogleChrome::BinPath to the Chrome/Chromium binary, if necessary
DynamicFieldWidgetDynamicFieldGroupsGroups for dynamic field widgets during printing
Widgets###0100-TicketInformationConfiguration of the ticket info widget
Widgets###0200-CustomerInformationConfiguration of the customer info widget

Usage

  1. Open a ticket in the agent interface.
  2. Click on Print (HTML) in the menu or use the shortcut.
  3. The plugin generates an HTML page that you can print directly or save as a PDF.

Support & Contact