Monday, September 13, 2010

Mac Remote Printing?

I'm still delving/experimenting with printing in OS X.  I've not messed with the OS X configuration much regarding printing, but apparently the printing service (CUPS) is enabled:

macbook:~ rsinclair$  telnet 192.168.1.109 631
Trying 192.168.1.109...
Connected to imac.home.
Escape character is '^]'.

Connection closed by foreign host.
I also found that I can print docs that are local to me at a remote computer by using the following command:

cat filename.pdf | ssh unixfool@192.168.1.109 lpr *

It asks for a password (for logging into the remote machine so that it can execute the 'lpr' command against the file output.  The resulting printout gets the job done but its not particularly pretty.

* Gleaned from http://hints.macworld.com/article.php?story=20061203204459481.

No comments: