Page 1 of 1

Printing with ShellExecute_()

Posted: Thu Jul 08, 2004 8:26 pm
by Karbon

Code: Select all

ShellExecute_(0,"print",my_file.s,NULL,my_directory.s,0)
That will trigger a print of what ever file I specify - I'm printing PDF files. The problem comes when I try to loop that. There doesn't seem to be any set number where it start to fail, all I know is that when I try to loop this more than 3-4 times it doesn't print all the documents and almost never prints them in order.

Does anyone else have any idea about how I can print a list of PDf files?