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

PDF and print exports

How a library or archive turns part of its catalog into a PDF with Exponential's PDF export - what an export contains, generated once or on the fly, which stored PDFs are public, footers and fonts for any language, and…

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/businesses/libraries/pdf-and-print-exports.md

On this page

PDF and print exports

This page is for library and archive staff who want a printable or downloadable version of part of the catalog: a list of new acquisitions, a guide to a collection, a reading list. It explains what Exponential's PDF export does, the one choice that matters most (stored or on the fly), and what becomes public. The full guide for administrators is PDF exports.

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.

Contents

  1. What a PDF export is
  2. Good uses in a library
  3. Generated once or on the fly
  4. What is public
  5. Making an export
  6. Footer, front page and fonts
  7. When the PDF is empty or wrong
  8. Other ways to print
  9. Export checklist

What a PDF export is

"A PDF export makes one PDF of a source node: its name as the first heading, then its attributes. A tree export adds the nodes below it, at every level, but only those of the classes you tick" (PDF exports, In short). The pages are Setup > PDF export (/pdf/list, policy pdf/edit) (PDF export).

Good uses in a library

UseSource nodeClasses to tick
A collection guideThe collection (a container)The collection class and the record classes
A list of this month's acquisitionsA folder that holds them, or a monthly folderFolder and record classes
A reading listA folder of related recordsFolder and record classes
A handbook for volunteers or staffA documentation folderFolder and documentation page classes

"A node of an unticked class is left out with everything below it, so tick the folders that hold the content as well as the articles" (PDF exports, Creating or editing an export).

Generated once or on the fly

Generated onceGenerated on the fly
When the PDF is madeWhen the export is saved, and again with RegenerateAnew for every download
ContentAs it was thenAlways current
SpeedFast to downloadA large tree takes a while every time
Stored filevar/<site>/storage/pdf/<file name>None
Who can downloadAnybody with the public addressUsers with the pdf/edit policy, through /pdf/edit/<id>/generate

Source: PDF exports, In short and Opening the page.

What is public

Warning

"A stored PDF is public: the web server serves var/<site>/storage/pdf/<file name> to anybody, signed in or not." Use an export generated on the fly "for content that is not for everybody", and "do not give an export a file name you would not want guessed" (PDF exports).

So a stored PDF suits a public acquisitions list; a list that includes restricted records should be generated on the fly, or should not include those records. The public path is opened by one rewrite rule in the shipped .htaccess files; a server that keeps its rules elsewhere needs the same path there (same page). Nothing else in storage becomes public: other uploads stay behind content/download and its permissions.

Making an export

  1. Setup > PDF export > New PDF export.
  2. Title: the name in the list (not printed in the PDF).
  3. Content: choose the source node with Browse; choose Node or Tree, and for a tree tick the classes.
  4. Frontpage: an optional first page with a large and a smaller line of text.
  5. Footer text: the line beside the page number.
  6. Export type and File name: generate once or on the fly; letters, digits, ., _ and -.
  7. OK, then Download from the list to check the result.

Source: PDF exports, Creating or editing an export. For a monthly list generated once, press Regenerate after the month's records are published, or schedule that as a routine task for a named person.

  • Footer: tick Show footer and type your wording, for example the library's name; every page carries it instead of "Exponential PDF export" (PDF export).
  • Any language: "The bundled fonts hold one single-byte character set. For Unicode text, point Font at a .ttf file" (PDF export, Print any language). A catalog with titles in several scripts needs this setting.

When the PDF is empty or wrong

SymptomLikely cause
The PDF has only the first page of contentA tree without classes, or the folders between the source and the records not ticked
Records are missingTheir folder's class was not ticked, so the folder was skipped with everything below it
A warning "Source missing"The source node was removed; choose another
Wrong charactersNo TrueType font configured for Unicode text
Old contentA stored export not regenerated since the change: press Regenerate, or switch to on the fly
A large tree times out on the flySwitch it to generate once and regenerate it outside busy hours

Sources: the warnings of the list in PDF exports, The list and its Problems section.

Other ways to print

  • Readers can print any page from their browser; a print stylesheet in your design controls how it looks (Stylesheets and scripts).
  • Documents written in Writer can be exported back to Writer with ezodf (ezodf).
  • A feed of new records serves readers who prefer a feed reader (Feeds for new acquisitions).

Export checklist

  • To do: Each export has a clear title, source node and, for a tree, the right classes ticked (folders included).
  • To do: Stored exports contain only public material and have file names you are happy to be guessed.
  • To do: Restricted material only in exports generated on the fly, or not at all.
  • To do: Footer wording set; a TrueType font configured if titles use non-Latin scripts.
  • To do: A named person regenerates stored exports on a schedule.
  • To do: The public PDF address tested while logged out.

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