Files
ptouch_label/samples/README.md
knb 3f2eb464aa docs(samples): add QR/barcode merge template and CLI example
Add code.svg/code.yml placeholders for data-kb-placeholder qr/barcode.
Extend samples README with ptouch-label command using these files.

Made-with: Cursor
2026-04-19 10:07:27 +09:00

679 B
Raw Permalink Blame History

samples

試験・デモ用のサンプル画像PNG/SVGや差込印刷データJSON/YAMLを置くディレクトリです。リポジトリに含める場合はライセンス・著作権に注意してください。

例(ドライラン):

./build/ptouch-print -n -f samples/your.png

差込印刷の例Ruby CLI:

ruby -I ruby/lib ruby/exe/ptouch-label -n --template samples/merge_template.svg --data samples/merge_data.yml
ruby -I ruby/lib ruby/exe/ptouch-label -n --template samples/merge_template.svg --data samples/merge_data.json
ruby -I ruby/lib ruby/exe/ptouch-label -n --template samples/code.svg --data samples/code.yml