PrintOut, Checking if PrintQue to printer is done 
Author Message
 PrintOut, Checking if PrintQue to printer is done

Hi,

From Access i'm printing documents and closing them.
However the Network here is not so fast and while Word is still making an
PrintFile for the Network, i'm already closing Word.
Of Course an error is displayed (Still printing, stopping Word now meens
prints are lost (ore something like that because over here it is in
Dutch)), but how can i trap it so the user wouldn't see it, and i can let
access wait for an wile (say 5 Seconds)?

Nothing found yet, in the help files.

Greetings,

Olav ENgelen



Tue, 18 May 2004 23:15:09 GMT  
 PrintOut, Checking if PrintQue to printer is done
Hi Olav

Set the background parameter of the Printout method to False

WordApp.ActiveDocument.PrintOut Background:=False

When you do this, the next line of code is not executed until the whole file
has been sent to the print queue.

--
Regards
Jonathan West - Word MVP
MultiLinker - Automated generation of hyperlinks in Word
Conversion to PDF & HTML
http://www.multilinker.com
Word FAQs at http://www.multilinker.com/wordfaq
Please post any follow-up in the newsgroup. I do not reply to Word questions
by email


Quote:
> Hi,

> From Access i'm printing documents and closing them.
> However the Network here is not so fast and while Word is still making an
> PrintFile for the Network, i'm already closing Word.
> Of Course an error is displayed (Still printing, stopping Word now meens
> prints are lost (ore something like that because over here it is in
> Dutch)), but how can i trap it so the user wouldn't see it, and i can let
> access wait for an wile (say 5 Seconds)?

> Nothing found yet, in the help files.

> Greetings,

> Olav ENgelen



Wed, 19 May 2004 00:16:00 GMT  
 PrintOut, Checking if PrintQue to printer is done
Thanks i'm going to try this code

Olav



Quote:
> Hi Olav

> Set the background parameter of the Printout method to False

> WordApp.ActiveDocument.PrintOut Background:=False

> When you do this, the next line of code is not executed until the whole
file
> has been sent to the print queue.

> --
> Regards
> Jonathan West - Word MVP
> MultiLinker - Automated generation of hyperlinks in Word
> Conversion to PDF & HTML
> http://www.multilinker.com
> Word FAQs at http://www.multilinker.com/wordfaq
> Please post any follow-up in the newsgroup. I do not reply to Word
questions
> by email



> > Hi,

> > From Access i'm printing documents and closing them.
> > However the Network here is not so fast and while Word is still making
an
> > PrintFile for the Network, i'm already closing Word.
> > Of Course an error is displayed (Still printing, stopping Word now
meens
> > prints are lost (ore something like that because over here it is in
> > Dutch)), but how can i trap it so the user wouldn't see it, and i can
let
> > access wait for an wile (say 5 Seconds)?

> > Nothing found yet, in the help files.

> > Greetings,

> > Olav ENgelen



Fri, 21 May 2004 15:03:06 GMT  
 PrintOut, Checking if PrintQue to printer is done

Looking better at the helpfiles now (with your help) gives me a clearer
look.
Probable fixed on one thing, and not clearly looking at the other options.

Olav



Quote:
> Hi Olav

> Set the background parameter of the Printout method to False

> WordApp.ActiveDocument.PrintOut Background:=False

> When you do this, the next line of code is not executed until the whole
file
> has been sent to the print queue.

> --
> Regards
> Jonathan West - Word MVP
> MultiLinker - Automated generation of hyperlinks in Word
> Conversion to PDF & HTML
> http://www.multilinker.com
> Word FAQs at http://www.multilinker.com/wordfaq
> Please post any follow-up in the newsgroup. I do not reply to Word
questions
> by email



> > Hi,

> > From Access i'm printing documents and closing them.
> > However the Network here is not so fast and while Word is still making
an
> > PrintFile for the Network, i'm already closing Word.
> > Of Course an error is displayed (Still printing, stopping Word now
meens
> > prints are lost (ore something like that because over here it is in
> > Dutch)), but how can i trap it so the user wouldn't see it, and i can
let
> > access wait for an wile (say 5 Seconds)?

> > Nothing found yet, in the help files.

> > Greetings,

> > Olav ENgelen



Fri, 21 May 2004 16:29:03 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Change Color mode of Printer for printout of a word document

2. how to use remote printer with DCOM printout

3. Printout is different on different printer

4. Report.PrintOut - Printer.Orientation is ignored

5. Direct printouts to different printers.

6. printout different on every printer?

7. Recordset: What am I doing wrong?

8. What am I doing wrong??

9. What am I doing wrong?

10. Help with syntax. What am I doing wrong

11. What am I doing wrong?

12. What am I doing wrong?

 

 
Powered by phpBB® Forum Software