@sensorfactdev/labelify
v1.3.0
Published
A service for writing labels
Downloads
145
Maintainers
Keywords
Readme
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/labelifyIf you do not want to install it globally (default with the -g option), point to a home folder by
npm set prefix ~/.node_modulesinstall with the above command, then add it to $PATH in .bashrc if you want: PATH=$PATH:~/.node_modules/bin.
Test if labelify was installed properly:
labelify -VInstall 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-printerExample if printer name is my-printer:
verify-printer my-printerPrint 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 8202Example for a label with version number on printer named my-printer:
labelify print 8202 1.0.0 -p my-printer