From: Opera Rat on
How do I have a button print a pdf file from a cd-rom or harddrive? I never need to display this file. I just need to point to it and print it.
From: Sean Wilson on
You can use Buddy API (of course) - baPrintFile()

If you ever need to display a PDF on your stage try Impressario:
<http://www.inm.com>
From: Andrew Morton on
Opera Rat wrote:
> So something like this as a movie script that gets called:
>
> on printMusic
> set prntMusic = baPrintFile("theFile.pdf")
> prntMusic
> end
>
> Well I tried this and indeed it does print. BUT somehow there is an
> error. My director movie does not have a window box - it fills the
> entire screen and there is no task bar showing in windows. So when
> acrobat reader opens the taskbar appears a script error alert box
> opens and the file prints. I never see the acrobat window, which is
> ok. I just want the file to print out. What am I doing wrong?

Take out the line that says only "prntMusic" or check its value to see if
baPrintFile executed without error.

Andrew


From: Opera Rat on
So something like this as a movie script that gets called:

on printMusic
set prntMusic = baPrintFile("theFile.pdf")
prntMusic
end

Well I tried this and indeed it does print. BUT somehow there is an error.
My director movie does not have a window box - it fills the entire screen and
there is no task bar showing in windows. So when acrobat reader opens the
taskbar appears a script error alert box opens and the file prints. I never
see the acrobat window, which is ok. I just want the file to print out. What
am I doing wrong?

From: Opera Rat on
Now it works without and error. The taskbar still pops up but that's o.k. I
guess the user needs to know that another program has opened. Once the user
clicks back on the move the taskbar disapperars.