-
1 Attachment(s)
Help!! Printing Problem
Hi,
Me again! right my program open's a word document based upon which form is selected. it then fill the bookmarks with the data from a dataset then prints.
this all works up to the printing point.
it sends the job to the printer and then it just waits the printer doesn't print.
when i click around the screen it suddenly starts printing this only seems to be a problem with word 2000 as when i used the program on word xp it print straight away.
can anyone confirm this or is there some code i can use?
i attach my code
-
Word2000 has a setting in the Print tab of the Options dialog (Tools\Options) that enables/disables Background Printing. What is this set to on your installation of Word? Does changing it help at all?
-
it works for one but as this loops throught a dataset it fails after the second print.
does anyone have another idea.
i'm in a bit of a fix as the manager won't buy office xp or above now
-
Can't you set the option from code on each iteration of the loop?
-
i've tried that what is wrong is the code is working to fast for word so it try's to open it again while it is still open. with background printing on a can keep check on when it has finished printing so that when it has it sends the next one to print untill it's finished. but i cant do that if the background printing is off.