W
Wilson Pye
Hi,
How do you print more than one envelope?
I have a cursor with a few records and I want to print them. I have been
using the "oDocument.Envelope.Printout(.T., , ,.F., oWord.UserAddress)" and
it works for one record.
How do you stop the program from running with "oDocument.Envelope.Printout"?
With documents I have been using:
oMergedDocument = oWord.ActiveDocument
WITH oMergedDocument
.PrintOut(.F., , wdPrintAllDocument)
ENDWITH
Cindy M said in a reply for another posting:
"You need to set the BackgroundPrinting option (part of the
Application.Options collection) to FALSE. This way, your VFP code will wait
with execution (closing everything) until the print job has completed
spooling."
What does the code look like to set the
Application.Options.BackgroundPrinting to FALSE?
Wilson
How do you print more than one envelope?
I have a cursor with a few records and I want to print them. I have been
using the "oDocument.Envelope.Printout(.T., , ,.F., oWord.UserAddress)" and
it works for one record.
How do you stop the program from running with "oDocument.Envelope.Printout"?
With documents I have been using:
oMergedDocument = oWord.ActiveDocument
WITH oMergedDocument
.PrintOut(.F., , wdPrintAllDocument)
ENDWITH
Cindy M said in a reply for another posting:
"You need to set the BackgroundPrinting option (part of the
Application.Options collection) to FALSE. This way, your VFP code will wait
with execution (closing everything) until the print job has completed
spooling."
What does the code look like to set the
Application.Options.BackgroundPrinting to FALSE?
Wilson