Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Still seeing Print dialog' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Still seeing Print dialog
Authored by: sudama on Apr 19, '04 12:19:06PM

I had a situation where I wanted to be able to print to PDF without having to go through the Print dialog.

This is fantastic and useful, but when printing MS Word documents, I still have to approve the Print dialog. Am I missing something?

[ Reply to This | # ]
Still seeing Print dialog
Authored by: yoc on Jul 02, '04 12:10:10PM
What I've done to bypass the print dialog is an AppleScript saved as an Application. Just write this code :

on open (theItems)
	repeat with aFile in theItems
		tell application "Finder"
			set fileRef to (a reference to file aFile)
			tell application "Microsoft Word"
				open fileRef
				do Visual Basic "ActiveDocument.PrintOut"
				close last document
			end tell
		end tell
	end repeat
end open

Save it as an application, and all you have to do is to drag and drop a Word document on the resulting application to make a PDF without prompt.


[ Reply to This | # ]