Print standalone - Geoportail-Luxembourg/geoportailv3 GitHub Wiki

The documentation

Get Jasper Studio

Startup Guide

Get on example (config.yaml, requestData.json and *.jrxml), i.e.: verboseExample

Tree important parts in the config.yaml:

  • The attributes: describe what we should give the the print.
  • The processors: describe what the mapfish print should do.
  • The reportTemplate: the report used with Jasper Report to do the final print.

Full procedure to run it standalone:

wget https://oss.sonatype.org/content/repositories/snapshots/org/mapfish/print/print-cli/3.3-SNAPSHOT/print-cli-3.3-SNAPSHOT-zip.zip
unzip print-cli-3.3-SNAPSHOT-zip.zip
core-3.3-SNAPSHOT/bin/print -verbose 2 -config print/print-apps/demo/config.yaml -spec print/print-apps/demo/sampleRequest.json -output ../output.pdf