Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,155 of 9,155 pages
About the help in other languages
All help pages

The PDF export

For administrators and records staff - what Exponential's PDF export (Setup > PDF export) produces from a node or a tree, generated once or on the fly, the fact that stored PDFs are public by address, fonts for any…

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/government/records-and-archiving/pdf-export.md

On this page

The PDF export

This page is for administrators and records staff. Setup > PDF export (/pdf/list, policy pdf/edit) makes one PDF document from a source node, or from a tree of nodes of chosen classes (PDF exports, PDF export).

Warning

.htaccess slows down every request. When .htaccess files are enabled (AllowOverride anything but None), let alone used, Apache looks for them and reads and evaluates them on every request, in every directory of the path, and page loading times go up drastically (measured). The only real fix is to switch the feature off for the virtual host: AllowOverride None in the HTTPS virtual host, and the rules in the virtual host's own configuration as mod_rewrite rules. That is far faster in production speed tests and well worth the time it takes to optimize a production configuration. Switch over right away: copy the rules of the example HTTPS virtual host into your virtual host (with the static cache, also staticcache_offload.conf), set AllowOverride None, run apachectl configtest, reload Apache and test the site. The same rules for other servers: nginx, LiteSpeed, Caddy, IIS, Velocity (built in); where virtual host rules go in a control panel: Plesk, cPanel, DirectAdmin, ISPConfig. On LiteSpeed or OpenLiteSpeed, the server's own page cache can also answer anonymous visitors and crawlers without PHP: Page caching with LiteSpeed and OpenLiteSpeed.

PDF exports: exports of parts of the content tree, stored or made for each download
PDF exports: exports of parts of the content tree, stored or made for each download

Contents

  1. Two kinds of export
  2. Creating one
  3. Public by address
  4. Use and limits for records
  5. Related pages

Two kinds of export

KindWhen the PDF is madeShowsAccess
Generated oncewhen the export is saved, and on Regeneratethe content as it was thenthe stored file is public at var/<site>/storage/pdf/<file name>
Generated on the flyat every downloadalways currentonly through /pdf/edit/<id>/generate, with pdf/edit

Creating one

  1. New PDF export: a title (for the list only).
  2. Content: the source node with Browse; Node or Tree; for a tree tick the classes, including the folders that hold them (a node of an unticked class is left out with everything below it).
  3. Optional Frontpage text and Footer text.
  4. Export type and File name (letters, digits, ., _, -).
  5. OK: errors are listed at the top with links to their fields.

For languages beyond Latin script, a TrueType font must be configured in settings/override/pdf.ini.append.php (PDF export: Print any language).

Public by address

A stored PDF is served by the web server to anybody who knows its address, signed in or not: the shipped .htaccess_root has a rule for var/<site>/storage/pdf/. Do not give an export a file name you would not want guessed, and use an export generated on the fly for content that is not for everybody.

Use and limits for records

  • Useful as a dated, human-readable snapshot of a part of the site, for example the notices of a year, generated once and filed in your records system with the date.
  • The export prints the node's name as the first heading and then its attributes; it is not a pixel copy of the web page.
  • The repository documents no tagging, PDF/UA or PDF/A support for this export: treat its output as an untagged PDF; if your archive requires PDF/A, convert and validate with a tool your archive accepts.
  • Generated-once files are replaced on Regenerate: keep the copy you filed, not the live file.

Become an Exponential Partner

Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x