Last active
September 1, 2016 19:31
-
-
Save souvik1997/3c7192b28f66150166fd to your computer and use it in GitHub Desktop.
This file contains 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
#!/usr/bin/env sh | |
# Usage: ./print-gdc.sh fileToPrint.pdf | |
# To specify a printer: ./print-gdc.sh fileToPrint.pdf lw301 | |
CSID="yourcsid" | |
ssh "$CSID"@altoids.cs.utexas.edu "lpr -P ${2:-lw301}" < "$1" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment