Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Check Print Job Complete

Status
Not open for further replies.

bryhall2

Programmer
Jul 5, 2006
5
US
Hello,

I have searched extensively and have been unable to find an answer.

I currently have a macro in Word that changes some text in an text file, sends the current document to the printer, and sets the text file back to the original state(I am changing an .ini file). The problem is that I do not wish to set the INI file back to the original text until the print job is complete.

Anyone have any ideas how I would do this? I was thinking just making a loop that checks to see if print job is complete. If print job is complete then set INI file otherwise check print status.

Keep in mind I do not want to check printer status, for I am printing to PDF. I am interested only in print job being complete.

Thanks for the help!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top