Skip to content

Instantly share code, notes, and snippets.

@lagondo
Created December 5, 2014 18:14
Show Gist options
  • Save lagondo/ed212c4153bc1a19b676 to your computer and use it in GitHub Desktop.
Save lagondo/ed212c4153bc1a19b676 to your computer and use it in GitHub Desktop.
Using Dymo LabelWriter 450 Turbo from CLI
Install drivers from http://www.dymo.com/en-US/dymo-user-guides
Plug the dymo into your USB port.
# Show printers
$ lpstat -p
printer DYMO_LabelWriter_450_Turbo is idle. enabled since Fri Dec 5 20:04:19 2014
Ready to print.
# Set Dymo as default printer
$ lpoptions -d DYMO_LabelWriter_450_Turbo
copies=1 device-uri=usb://DYMO/LabelWriter%20450%20Turbo?serial=14051408085339 finishings=3 job-hold-until=no-hold job-priority=50 job-sheets=none,none marker-change-time=0 number-up=1 printer-commands=none printer-info='DYMO LabelWriter 450 Turbo' printer-is-accepting-jobs=true printer-is-shared=false printer-location=Giorgio printer-make-and-model='DYMO LabelWriter 450 Turbo' printer-state=3 printer-state-change-time=1417802659 printer-state-reasons=none printer-type=2150468 printer-uri-supported=ipp://localhost:631/printers/DYMO_LabelWriter_450_Turbo
# Print text on Dymo LW Large Address Labels (36 mm x 89 mm), portrait mode
$ cat bacon.txt | lpr -o landscape -o media=Custom.36x89mm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment