Skip to content

Template gallery

Each starter has a v1 source and synthetic sample data. The previews show the first page. PressJet beta.5 generated the gallery images using the fonts built into the engine.

Starter Preview Source and data Expected PDF
Invoice Invoice preview Template · Data Two A5 pages, repeating invoice reference, total on the last page
Dispatch slips Dispatch slips preview Template · Data Two labels, one on each page

Copy a template and its sample data into a new directory. Use the same files with pressjet template check TEMPLATE.json DATA.json and pressjet template render TEMPLATE.json DATA.json output.pdf. Then open them with pressjet dev TEMPLATE.json --data DATA.json.

Run PRESSJET_BINARY=/path/to/pressjet scripts/build-template-gallery.sh target/template-gallery to build the gallery from a candidate. Each manifest names the renderer version, expected page count, licenses and SHA-256 digests for the source, sample data, thumbnail and downloadable PDF. The release workflow builds the same bundle with the packaged executable. The sample data is synthetic. The source and preview images are distributed under the repository's license.

Template guide · Browser examples