Home Mastodon
Email Me
If you find this useful, consider supporting me with the links below.
Donate with PayPal Amazon Wish List Donate with Venmo Donate with Dogecoin Donate with Bitcoin

Command line printing to a raw USB printer

Linux

[3624781.843957] usb 1-3: new full-speed USB device number 125 using xhci_hcd
[3624781.985112] usb 1-3: New USB device found, idVendor=0922, idProduct=001a
[3624781.985114] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[3624781.985116] usb 1-3: Product: DYMO LabelWriter 400  Turbo
[3624781.985117] usb 1-3: Manufacturer: DYMO
[3624781.985118] usb 1-3: SerialNumber: 08031916310441
[3624781.986614] usblp 1-3:1.0: usblp0: USB Bidirectional printer dev 125 if 0 alt 0 proto 2 vid 0x0922 pid 0x001A
ls /dev/usb
stat /dev/usb/lp0
./random2dymo > /dev/usb/lp0

Windows 10

net view \\localhost
random2dymo.exe > \\localhost\dymo-raw
Last Updated: 2020-02-01