Revealing Hidden PDF Services in Mac OS X 10.2.4
cspiff writes "In Mac OS X 10.2.4, Apple quietly added the ability for users and developers to enhance the standard Print dialog with custom PDF-handling options. To enable it, just create a folder '~/Library/PDF Services' and populate it with aliases to applications, scripts, Unix tools, or other folders. Those items then show up in the Print dialog as optional handlers for Mac OS X's built-in 'Save as PDF' feature. Drop a renamed alias to your mail client in there, and you've added convenient 'Send PDF as Email' functionality to every application."
... is it just me, or does OSX frickin' rock or what?
.DLL monkeybusiness? Registry hacking?
... 'something has gone wrong with the USB driver updates'.
What would you have to do to do something like this in Windows land? Some sort of
Man, am I ever glad I switched. Friend of mine just came to my office to report yet *another* full re-install of WinXP is required on his test machine because
Can he figure it out? No. Is he stupid? No. Does Microsoft suck at designing OS's that make sense? Yes.
; -- the corruption of government starts with its secrets. a truly free people keep no secrets. --
http://www.macosxhints.com/article.php?story=20030 214080306398&query=pdf
;-)
OS X makes many things comfortable. Could not believe a 9 times reboot to update win2000 to the latest service packs and progs. But furtunately I am running in only for testing reasons in virtual pc so my work does not stop during rebooting in a OS X window
Really, is it a surprise that Apple continues to survive in the MS-dominated world? Look at the "innovations" from Microsoft - Media Center, DRM, Windows Update (damn, you need IE for that), ... nothing really to make most users say "geez, that IS useful. cool!"
Now look at Apple - "you mean I can now automatically do basically anything with this PDF I'm about to print? Damn, that sounds really useful. I'll be able to get this done way quicker and have more time for X" (see here)
BTW, MS has VBA, which can be used to do all sorts of shit on your PC, like Outlook viruses, Word viruses, etc, but Apple's AppleScript seems to be relatively secure whilst still providing enough functionality (see the bottom of this). Although perhaps it's because Apple's marketshare isn't seen as big enough for virus-writers to really take notice - I don't know.
Okay, that's not exactly a rock-solid proof, but I think it does illustrate the orthogonal directions Apple and MS seem to be taking - MS wants more and more control of what you do with your computer (eg, WM8 or 9 or whatever they're up to), while Apple introduces features like the aforementioned that are actually somewhat useful. They also make changes when their users whinge (eg, some of the stuff they put in Jaguar to satisfy old-skool Mac fans).
Perhaps this is just part of Apple and Steve Jobs being 'cool', but it sure makes sense in the OS industry. I'm almost at the stage where I'd consider going MacOSX (with X11) when I next upgrade (at least a year from now, though)
This sig intentionally left bla... dammit!
Who's got the whiteout?
For more info on all sorts of techy Mac OS X stuff, just read www.macosxhints.com, where this hint came from. All free and sensible, with daily updates.
Current stories include:
Hiding information from nmap
Accessing the 6BONE with OS X 10.2
Automate screen captures via Grab and GUI Scripting
Large image previews in column view
Hear new Mail messages announced by customized voices
Network proxies and internet access via AirPort
Cocktail - A collection of mini-utilties in one app
Restore Aqua look and feel in NetBeans 3.4 with Java 1.4.1
Temporarily silence the startup sound
Another USB to network printer conversion
it's not about the karma, it's about the whuffie
People might want to check out the Services menu as well (it's a submenu of the application menu). It contains services offered by other applications that any application can take advantage of. Among other things, it includes a menu item to send the current document in an email.
I think the Services menu is one of the most underrated and underutilized features in Mac OS X.
irb(main):001:0>
This isn't the same thing as setting up Distiller or PDF Writer as a print driver. First off, that sort of capability is built in to the OS and is available from every standard print dialog.
Secondly, this allows you to write AppleScripts, Perl scripts, target folders, target applications to post-process the PDF once it is created.
Follow the links in the post or this one and you'll see that it is quite extensive.
Secondly, you know how some applications in Windows have "Send Link By Email" commands under the File menu? Well, on OS X that is a system wide function. All an application has to to is consume services in order to be able to use them (and all but legacy applications do). Any application can also produce services.
mbbac
I think it's awesome that Apple is always innovating and improving the awesome OS X. The ability to automatically generate PDFs and use different scripts to regulate their behavior is a great testament to Apple's undying commitment to making user's lives easier. Publishing PDfs for on-line useage will probably become more efficient as the user writes more scripts. However, this seems like it would not be very helpful for those involved in offset printing.
At most pre-press shops around the world, PDFs are becoming integrated into the workflow more and more. But most prfessional design programs already have their own print dialogs and methods for exporting PDFs. Take Adobe InDesign, for instance. I can already export a PDF from the File menu (though I cannot see how to regulate it with all those cool Applescripts). And why would I want to do that anyway? If I send anything to a pre-press dept. at a print shop, it will most likely be a fully separated PDF, or (in most cases) a Postscript file. Many pre-press shops cannot deal with composite PDFs yet. A lot of them are not equipped with a fully PDF workflow. That would make trapping and imposition from a composite PDF quite difficult.
Other software titles that professionals use like Quark, PageMaker, etc. already have their own print dialogs. A high-res PDF of a four-color print job would be too large to attach to most e-mails anyway.
I like the idea for every other usage. This new option is great for titles like Word which use the Apple print dialog. This can have many advantages. Students will most likely benefit from this as they will be able to publish their PDFs on-line to professors and teachers.
Mr. Bond, they have a saying in Chicago: Once is happenstance. Twice is coincidence. The third time is enemy action.
Prepress designers know that the Quark/Distiller combo is basically how you get stuff done, for the most part, in recent years. However, Quark is muchos late with their application, and Adobe has yet to mention Distiller for OS X, even though they've ported pretty much everything else.
The rumour mill has it that Adobe is holding back - or possibly has cancelled - Distiller for OS X, just to give InDesign a shot in the arm (which has Distiller-like capabilities built in of course).
Also, it's possible that Adobe is still miffed by any of the following:
- the knifing of Adobe Premiere by Final Cut
- the competition for photo-management via iPhoto (notice no Adobe Album for OS X. Too bad, looks nice.)
- the non-licensing of Display PostScript for OS X (which I believe has been nothing but a good decision for Apple; Quartz is a milestone in 2D graphics display systems, and has many advantages over old-school DP, not the least of which is support for true transparency)
Makes you wonder if Apple is stepping up yet again to fill the void *cough*safari*cough*
If Jesus wants me it knows where to find me.
You can give it to all users on the machine by putting it in /Library instead of ~/Library
It only works if there is a ~/Library/PDF Services.
that seems to be true, contrary to the apple doc.
however, while you do have to create the folder, you don't have to put anything in it. if you want all users to see all pdf services, put the stuff in the shared folder, and leave the user's empty.
Everything should be made as simple as possible, but not simpler. -- A.E.
I have written an AppleScript which saves the current page into my ~/Documents/Recipts folder. One of the things it does is prompt you to name the PDF before it is saved into the receipts folder.
-> Capt Cosmic <-