hi all...
I have a code that changes the printer to a pdf writer...creates the pdf file...then e-mails this file to a person. problem is that it prints the file to pdf writer but tries to send the file before the file is actually created. i dont want to just put a generic pause in place in case for some reason the pdf writer takes longer for one output than the other (that would cause the person to get incorrect information)
so...there are two ways i can think about getting around this...but im not sure how to do them.
1. tell the code to pause UNTIL the printing is completed. but i am very unclear how to go about this...
or
2. somehow get the date(time) of the pdf file. if i can do this then i can compare to the date before the file was created to see if it is the correct file.
any suggustions on how i do that?..
thanks
eric
I have a code that changes the printer to a pdf writer...creates the pdf file...then e-mails this file to a person. problem is that it prints the file to pdf writer but tries to send the file before the file is actually created. i dont want to just put a generic pause in place in case for some reason the pdf writer takes longer for one output than the other (that would cause the person to get incorrect information)
so...there are two ways i can think about getting around this...but im not sure how to do them.
1. tell the code to pause UNTIL the printing is completed. but i am very unclear how to go about this...
or
2. somehow get the date(time) of the pdf file. if i can do this then i can compare to the date before the file was created to see if it is the correct file.
any suggustions on how i do that?..
thanks
eric