Created
January 19, 2012 18:18
-
-
Save AlexeyMK/1641629 to your computer and use it in GitHub Desktop.
Seasprint (free printing from the command line on eniac)
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
# Put in .bashrc | |
# By Matt Croop, but originally by Jon McCaffrey or Ryan Gormley or something. | |
# Usage: seasprint foo.pdf | |
function seasprint() { | |
cat "$1" | ssh [email protected] lpr -P169 | |
} | |
#Usage: listprinters | |
function listprinters() { | |
ssh [email protected] lpstat -o -p -d | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment