>Hi all
>
>I have previously created PDF file which I want to send to the printer. So I used the command COPY FILE mypdf.pdf TO PRN but all I got was junk.
>
>Is there anyway to use automation of adobe acrobat reader to print the file without opening the file first in Adobe and then clicking the print button?
How about ShellExecute?
DECLARE INTEGER ShellExecute IN SHELL32.DLL INTEGER nWinHandle,;
STRING cOperation,;
STRING cFileName,;
STRING cParameters,;
STRING cDirectory,;
INTEGER nShowWindow
ShellExecute(0, 'print', [MyPDFFile.PDF], '', '', 1)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.