Printing with ShellExecute_()

Windows specific forum
Karbon
PureBasic Expert
PureBasic Expert
Posts: 2010
Joined: Mon Jun 02, 2003 1:42 am
Location: Ashland, KY
Contact:

Printing with ShellExecute_()

Post 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?
-Mitchell
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net