|
|
|
Printing Acrobat files with Buddy API
Added on 4/3/2001
|
|
Compatibilities:
Required Xtras:
Buddy API
|
This item has not yet been rated
|
How do I print PDF documents with BuddyAPI?
With BuddyAPI you can print PDF documents - you will need to have Acrobat Reader installed on the system as well (or on the CD).
I have found two ways to print a PDF file. One way gives the user the print dialog box, the other just prints in the background. The two commands are shown below.
-- prints without dialog
vResult = baPrintFile(vFile)
-- prints with standard printer dialog
vResult = baRunProgram(baShortFileName(baFindApp("pdf") && "/p" && baShortFileName(vFile)), "Minimised", false)
|
|