@sensorfactdev/labelify

1.2.1 • Public • Published

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

Name Required Description Format Default value
printerName no Printer installation name. Can be found in Printers&Scanners. string dymo

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

Name Required Description Format Default value
bridgeId yes Id for the bridge. hexadecimal
firmwareVersion no Bridge firmware version. Don't use a v or V prefix. semantic version
printerName no Printer installation name. Can be found in Printers&Scanners. string dymo

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

Readme

Keywords

none

Package Sidebar

Install

npm i @sensorfactdev/labelify

Weekly Downloads

10

Version

1.2.1

License

MIT

Unpacked Size

90 kB

Total Files

10

Last publish

Collaborators

  • iskren_sensorfact
  • merlinde.wobben
  • wellett-sensorfact
  • kiliangrashoff
  • karimcitoh
  • zoiderberg_nl
  • sabina.tursunkhanova
  • hector.sensorfact
  • manonww
  • avladd
  • rodrigo_ss
  • silikerbil
  • thomas.molina.sensorfact
  • rui.loureiro
  • chung225
  • tinakuzmenko_sensorfact
  • daniel.sensorfact
  • sfdgamboa
  • davidmoller
  • ruau
  • gabriellapascha
  • katharina.nejdl
  • tbardoel
  • floris.jonkman
  • bestusername
  • dennisramondt
  • robinwr_sf