从SVG模板生成PDF格式的打印和剪切编号票据
bonito的Python项目详细描述
Bonito是一个非常简单的工具来生成计算票证(例如,用于团结活动) 可以打印、剪切和剪切,从SVG模板开始。在
这样做的目的是将连续的票做成“书”,这样:
^{1}$它需要Inkscape和Ghostscript。在
如何使用它
将您的票证设计为SVG,标记号码的占位符 作为XXX[1]。以design)为例。在
然后运行传递的连续票证数夹在一起和文件数 产生。例如:
bonito mayores.svg --group_by=5 --documents=2
这将生成2个文档,mayores-001-015.pdf 和mayores-016-030.pdf。在
有关详细信息,请参阅original blog post from 2010(西班牙语)。在
[1] | You could use as many Xs as digit you want in the mark, and pass ^{tt2}$ in the command line. For example, to print numbers from 0001, you could use ^{tt3}$ as the mark and pass –mark=XXXX |
- 项目
标签: