I've got the following situation.
I'm generating and printing a report in HTML in the Twebrowser.
I'm using Twebbrowser.ExecWB(OLECMDID_PRINT, OLECMDEXECOPT_DONTPROMPTUSER, 
vaIn, vaOut) to print the report.
My problem is that if i try and print a batch of reports let say 3 reports and 
the sizes of the print jobs are 500Kb, 1mb, 300Kb
What happens is that my last batch (300kb) gets printed first  then the 500kb 
and then the 1mb batch.  I think this has got to do with the spooling. The 
smaller files are spooled first so then they get pushed up in the print queue.

How will I solve this, I've tried getting the spooling status, but I got know 
idea where to start to look for this. I've tried looking at the EnumJobs api, 
but with no luck.

Regards,
__________________________________________________
Delphi-Talk mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi-talk

Reply via email to