Last active
June 20, 2018 11:29
-
-
Save tjunussov/9fac7e70a17fbd5cd4a3593e215b1016 to your computer and use it in GitHub Desktop.
listen on port and pass data to printer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
chmod 666 /dev/usb/lp0 | |
nc -lvk 9100 > /dev/usb/lp0 | |
# l listen | |
# k liten forever | |
# v verbose |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment