Skip to content

The .concat() card printing software.

Notifications You must be signed in to change notification settings

conc-at/plastic

Repository files navigation

plastic

The .concat() card printing software.

Setup

npm install

Templates

You 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

Available templates

  • credit-card

Run

print <printer> <template> <name>

List available printers. Use either name or ID for print jobs.

Example:

./index.js printer

Output:

╔════╤═══════════════════════════╗
║ ID │ Name                      ║
╟────┼───────────────────────────╢
║ 0  │ FollowMe                  ║
╟────┼───────────────────────────╢
║ 1  │ HP_LaserJet_M102w_A4FE28_ ║
╟────┼───────────────────────────╢
║ 2  │ ZEBRA_CARD_PRINTER_ZXP32  ║
╚════╧═══════════════════════════╝

printers|ps <printer> <template> <name>

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|p <printer> <template> <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"

About

The .concat() card printing software.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published