The .concat() card printing software.
npm installYou can create new templates by adding a template.hbs and style.css inside a new
directory within templates. The options.json defines print format and several other
options (Read more).
Example:
templates
└── letter
├── options.json
├── style.css
├── template.hbs
└── template.html- credit-card
List available printers. Use either name or ID for print jobs.
Example:
./index.js printerOutput:
╔════╤═══════════════════════════╗
║ ID │ Name ║
╟────┼───────────────────────────╢
║ 0 │ FollowMe ║
╟────┼───────────────────────────╢
║ 1 │ HP_LaserJet_M102w_A4FE28_ ║
╟────┼───────────────────────────╢
║ 2 │ ZEBRA_CARD_PRINTER_ZXP32 ║
╚════╧═══════════════════════════╝List of available printers
Arguments:
- --printer|p Printer ID
- --output|o File path
- template Template name
- name Name to print
Example:
./index.js print 2 "credit-card" "The name"Print name. You can select printer and template.
Arguments:
- --printer|p Printer ID
- --output|o File path
- template Template name
- name Name to print
Example:
./index.js print 2 "credit-card" "The name"