Skip to main content

Generate a print & cut numerated tickets in PDF from a SVG template

Project description

Bonito is a very simple tool to generate numerated tickets (for instance, for solidarity events) ready to be printed, clipped and cut, starting from a SVG template.

The idea is to make “books” of consecutive tickets, in this way:

http://mgaitan.github.io/images/bonito-8305a.png

It requires Inkscape and Ghostscript.

How to use it

Design your tickets as SVG marking the placeholder for the number as XXX [1]. See this design) as an example.

Then run passing the number of consecutive tickets to clip together and the number of documents to generate. For example:

bonito mayores.svg --group_by=5 --documents=2

This produces 2 documents, mayores-001-015.pdf and mayores-016-030.pdf .

See the original blog post from 2010 (in spanish) for further details.

[1]You could use as many Xs as digit you want in the mark, and pass --mark in the command line. For example, to print numbers from 0001, you could use XXXX as the mark and pass –mark=XXXX

Project details


Release history Release notifications

This version

0.2

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for bonito, version 0.2
Filename, size File type Python version Upload date Hashes
Filename, size bonito-0.2-py3-none-any.whl (3.3 kB) File type Wheel Python version py3 Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page