Home Back E-mail



Printing Adobe Acrobat (*.PDF) files from FileMaker Pro (Win)


Any PDF file can be printed from within FileMaker Pro as long as the full pathname is present in a text field in the following syntax:

file://c:/folder/subfolder/filename.pdf

e.g.

file://c:/my documents/letters/letter_1.pdf

You also need a 2 line script:

Open URL [file://c:/folder/subfolder/filename.pdf]
Send Message ["pdfprint.exe", "aevt", "odoc"]
The file 'pdfprint.exe" (50 K) is a compiled version of an AutoIt macro "pdfprint.aut" (the filenames are arbitrarily chosen). AutoIt is a freeware macro program for Windows.

The textfile "pdfprint.aut" goes as follows (case sensitive!):

WinWait, Acrobat Reader -
WinActivate, Acrobat Reader -
Send, ^p
WinWait, Print, OK,
Send, {ENTER}
WinActivate, Acrobat Reader -
WinClose, Acrobat Reader -
To generate a PDF file for free or with a very low budget you should have a look at www.pdf995.com.

Good luck!

Back to the list of my FileMaker Pro trouvailles

Home Back to Christoph Bouthillier Top

© 1997...