1.2.1 • Published 5 years ago

@sensorfactdev/labelify v1.2.1

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
5 years ago

Labelify

This package can be used to print labels for bridges.

The labels are printed onto DYMO stickers of type 11354.

Prerequisites

  • node (> 8.0)
  • npm

Installation

Install labelify

To install labelify, run the following command:

npm install -g @sensorfactdev/labelify

Test if labelify was installed properly:

labelify -V

Install the DYMO printer

MacOS

  • Connect the printer to your device.
  • Add the printer in "Printers & Scanners". NOTE: User experience is best if you set the name of the printer to dymo when adding the printer
  • Select the correct driver (DYMO Labelwriter 450). If this is not available, install the DYMO Label software.

Fedora

  • Install drivers using sudo dnf install dymo-cups-drivers
  • Connect the printer to your device.
  • Add the printer in "Printers". NOTE: User experience is best if you set the name of the printer to dymo when adding the printer
  • After selecting the dymo printer, search for available drivers.

Usage

Verify printer status

verify-printer [printerName]

Arguments

NameRequiredDescriptionFormatDefault value
printerNamenoPrinter installation name. Can be found in Printers&Scanners.stringdymo

Examples

Example if printer name is dymo:

verify-printer

Example if printer name is my-printer:

verify-printer my-printer

Print a bridge label

print <bridgeId> [firmwareVersion] -p [printerName]

Arguments

NameRequiredDescriptionFormatDefault value
bridgeIdyesId for the bridge.hexadecimal
firmwareVersionnoBridge firmware version. Don't use a v or V prefix.semantic version
printerNamenoPrinter installation name. Can be found in Printers&Scanners.stringdymo

Examples

Example for a label without version number on printer named dymo:

labelify print 8202

Example for a label with version number on printer named my-printer:

labelify print 8202 1.0.0 -p my-printer
1.2.1

5 years ago

1.1.0

5 years ago

1.0.0

5 years ago

0.1.1

6 years ago

0.1.0

6 years ago