View Single Post
danramos's Avatar
Posts: 4,672 | Thanked: 5,455 times | Joined on Jul 2008 @ Springfield, MA, USA
#14
May also want to throw in some compression in there...

cat $1 | ssh -C $2 '( lpr )'

Using -C will compress the stream in transit over SSH, it adds some more CPU use on the ITT during the time it sends, but it's likely to shorten the span of time dramatically for printing, since most printing jobs are ASCII heavy and aren't already compressed.