Skip to content

Generates print-ready PDF tickets from HTML artwork layouts using NodeJS and SpinDrift

License

Notifications You must be signed in to change notification settings

Intuity/TktrGen

Repository files navigation

TktrGen

To execute this script requires:

What do various files do:

  • 'index.js' - This sets up which ticket templates should be used, images required, and parameters such as the size of each ticket and the colour of the Aztec code. This is a good example of how to generate double sided tickets

  • 'digital_tickets.js' - This sets up a single-sided template for producing digital tickets to email out.

  • 'interactive.js' - Provides an interactive environment for building tickets, allowing the user to select between the printed or digital formats and specify a relative path to the input CSV file.

  • 'lib/ticket_gen.js' - This library is what actually generates tickets. It requires you to define templates, and provide any required data/images by calling various functions. Then when you call 'render_template' it combines the data, templates and images to build out all of the required tickets.

About

Generates print-ready PDF tickets from HTML artwork layouts using NodeJS and SpinDrift

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published