Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ShellExecute print silent

116 views
Skip to first unread message

zabut...@gmail.com

unread,
Jan 15, 2009, 5:38:19 PM1/15/09
to zabut...@gmail.com
Hi,

I need to convert word, excel and other files to .tiff in batch silent
mode.
I defined "Microsoft Office Document Image Writer" as my default
printer
and try to use
ShellExecute(0, 'print', 'c:\book1.xls', '', nil, nil);
it opens the save dialog and asking me where I want to save the .tiff
file.
Is there a way to specify the output file for ShellExecute
programatically?
Or maybe there is different way to convert files to .tiff ??

Thanks,
Maxim.

0 new messages