Created
June 7, 2019 08:18
-
-
Save junquera/c611aa7ffc1a4eca4079a62086b6983d to your computer and use it in GitHub Desktop.
Imprimir mensaje en impresora de red
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
PRINTER_IP="$1" | |
MESSAGE="$2" | |
echo $MESSAGE | nc $PRINTER_IP 9100 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment