Workflow: Print via SSH

Otto the Automator MascotSince I’ve already posted one script today, here’s another for good measure. This Automator workflow prints PDFs to a remote printer via ssh. I use it to print to the department printserver without using the VPN.

Click here to download the workflow.

To install this workflow:

  1. Edit the script to set your username, SSH hostname, and the printer name
  2. If it doesn’t already exist, create the folder: ~/Library/PDF services
  3. Copy the workflow to this folder

To use this script:

  1. Start to print your document as usual
  2. In the print dialog, click the PDF button (look in the lower left of the dialog)
  3. Select Print via SSH

Note: You must have SSH public key support to be able to run this script.

If you do not know how to set up public key support, tools like SSH Agent or Secure Shell Helper can help.

Feel free to leave me questions in the comments.