I am submitting an OLE print job from a Delphi application to automatically print .PDF acrobat file(s). The problem is this is supposed to be a completely automated process such as can be achieved using Ms Word, Write etc however .... when the OLE function is excuted, acrobat Reader always pops up a print options dialogue which means a user needs to be around to hit the OK button before the print job starts !!
The application uses a standard ShellExecute function (which works Ok for word (.DOC) files etc) with the call ....
ShellExecute (windowsHandle, 'print', 'FilePath + PDFFileName, '', '', 0);
Does anyone know of a way to prevent this print options dialogue from being presented by program OR command line ??? I Would be grateful for any ideas. [sig][/sig]
The application uses a standard ShellExecute function (which works Ok for word (.DOC) files etc) with the call ....
ShellExecute (windowsHandle, 'print', 'FilePath + PDFFileName, '', '', 0);
Does anyone know of a way to prevent this print options dialogue from being presented by program OR command line ??? I Would be grateful for any ideas. [sig][/sig]