by David Sparks

 

RSS Sponsor:

Search
« Audioengine A5 Review | Main | Memory Optimization and iFreeMem »
10:54PM

Keyboard Shortcut for "Save as PDF..." in OS X

PDF_red.1.jpg


Here is one thing that has been driving me crazy for some time. I constantly find myself saving from Safari to PDF. Whether it is a utility bill or legal research, I have a fetish for saving PDF copies. The problem is that in order to do so you must click print, then the PDF button, then the "Save as PDF" button. Each step requires me to get the mouse in the right place and read the menu. Granted this is probably less than 10 seconds but I do it a lot and it makes me just a little bit nuts.

So I've been thinking about this and wondering if there is an Automator action or perhaps an Applescript that can simplify this. Well tonight I stumbled upon an excellent hint at MacOSXHints that address this very problem very easily through with a keyboard shorcut.

Here is the walkthrough.

Open your Keyboard Shortcuts tab in the Keyboard & Mouse system preference pane.

Picture 1.png


Click the "+" sign to add a new shortcut for all applications.

Picture 2.png


Then a box pops up asking for the command.

Save as PDF 3.png


Type in the Command exactly as it appears: "Save as PDF..." For the ellipses, use the combination: option + semicolon. Don't ask me why because I have no clue. Just do it.

Save as PDF 4.png


For the keyboard shortcut use: command + P (I know this sounds like a conflict with the print shortcut, but trust me)

Now you are done.

Picture 5.png


Now go to your favorite webpage and hold down the command key and press "P" twice.

Bingo. "Save as PDF..." lickity split.

References (1)

References allow you to track sources for this article, as well as articles that were written in response to this article.
  • Response
    Response: bingo webcams
    MacSparky - Blog - Keyboard Shortcut for "Save as PDF..." in OS X

Reader Comments (48)

this is the most useful thing i have read in the last few months. customizing those keyboard shortcuts is way overlooked!

great tip

March 19, 2008 | Unregistered Commentergabe

Great tip. Another good one that I think I picked up at MacOSXHints (I think in a comment to a tip) is a way to add a button to the browser bookmark bar that, when clicked, automatically opens an email with a link to the page you are viewing so you can send it to someone. You do it by creating a bookmark with the following address

javascript:location.href='mailto:?SUBJECT='+document.title+'&BODY='+escape(location.href)

and then naming it something like "sendlink" and then putting the bookmark in the bookmark bar.

March 19, 2008 | Unregistered CommenterAnthony

Excellent!

Regarding Anthony's comment: Omniweb has that feature built in to it.

March 19, 2008 | Unregistered CommenterChris Scott

OmniWeb is one of those applications I've been meaning to kick the tires on, but never quite got around to it.

March 19, 2008 | Unregistered CommenterMacSparky

I managed to get it down to one keystroke (⌘⌥P) with an AppleScript but ⌘P twice sounds easy enough :)

March 26, 2008 | Unregistered CommenterJono

Finally added this one, David. Nice!

March 28, 2008 | Unregistered Commentermarieboyer

Thanks, David. This is just so useful!

March 31, 2008 | Unregistered CommenterAlex

Yahoo!!
I've have been looking for something like this forever!!
Thanks!

April 9, 2008 | Unregistered CommenterAlex

Great tip, thanks. Can this be modified to save as PDF to a specific folder? I see a workflow in the pull-down menu that says "Save PDF to iPhoto" It would be nice to be able to add the pull-down menu or simply have the PDF directed to a folder.

April 11, 2008 | Unregistered Commenterbernie

Doesn't work for me. It prints the page same as I type ⌘P and enter

April 23, 2009 | Unregistered Commenterdroidas

Be sure to not capitalize "as"; Entering Save As PDF... will not work, but Save as PDF... does work.

May 6, 2009 | Unregistered CommenterAndyfromTucson

I have been looking for this for HOURS. By far the best method. THANKS.

June 4, 2009 | Unregistered CommenterJonathan

THANK YOU! THANK YOU! THANK YOU! THANK YOU! Wish I knew this months ago.

June 13, 2009 | Unregistered CommenterSarah W.

My problem is that I want to save only pages 3-500 not 1-500 but I can't change those options via this method.

August 29, 2009 | Unregistered CommenterIPv6Freely

Tiger 2009-09-01

Did not work, command + P twice doesn't work. Followed intruct exactly. is this Leo only?

September 1, 2009 | Unregistered Commenterpeter

Brilliant!!!

Make sure you write it EXACTLY the same. 'Save' - with capital 'S' and 'as' with small letters. Or just copy&paste from this page.

(Didn't work the first time for me because I wrote 'As' instead of 'as'.)

Using 10.5

October 21, 2009 | Unregistered CommenterTed

Thanks David, I have been wanting this feature for years. Why has this not been documented somewhere previously?

Does this still work in Snow Leopard ?

January 16, 2010 | Unregistered CommenterPeter Atkinson

@Peter

Yup .. still works in 10.6

January 16, 2010 | Registered CommenterDavid Sparks

you made my day buddy!!!
I have been looking for this forever!!!!

THANK YOU VERY MUCH!!!!

March 4, 2010 | Unregistered CommenterPatrix

This has been bugging me for ever. I was so close, too. Thanks for sharing this. Awesome.

May 15, 2010 | Unregistered CommenterD. Clark

Absolutely fantastic tip. The only unfortunate side effect is it seems to kill the Shift--I command for "Mail Link to This Page", but manually adding into Keyboard Shortcuts brings it back.

July 22, 2010 | Unregistered CommenterCurtis

I read about this when first posted, and wanted forever to set up. Finally did. Beautiful. Thanks. - H

August 15, 2010 | Unregistered CommenterHarry

Found this very helpful. Thanks for finding the time to track this down and post.

September 7, 2010 | Unregistered Commentereddie

I listen to to every episod of Mac Power Users, but I've neglected your blog. This post just took it to my list of Feeds. Great job, David!

October 7, 2010 | Unregistered Commenteradrian boioglu

This is AWESOME! Thanks so much for posting.

October 8, 2010 | Unregistered Commentersfmitch

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>