07-21-2011, 09:41 PM
Hi.
Thank you for the log file. I've gone through it and surprisingly, in it there is no evidence of it printing 2595 pages! From what I've seen, it's not even considering exporting as many as 2595 pages! Now, it's turning into a Forensic Research case.
Here are the details:
1. 1st Run (21st July 7:53:47):
a. The utility identified that no pages were printed by the application and exited with Error Code = -99.
Now, your script must have recorded the failure of this checkpoint with the message: "No pages were printed by the application."
Did you notice this in the Results window?
2. 2nd Run (21st July 7:55:11):
a. "Untitled Page" in Section4 of OneNote_RecycleBin of Personal notebook exported because it was newer (2011-07-21 10:25:15).
b. Created the final PDF file @ C:\Documents and Settings\username\Local Settings\Temp\3\TempResults_1\PdfDocs\OneNote2.pdf
The log is absolutely normal and records the publishing of just one page, which was most likely the one printed by your application.
Did you notice the pdf opening in this case? Did it have more than one page in it?
3. 3rd Run (21st July 8:19:17):
a. "Untitled Page" in Section4 of OneNote_RecycleBin of Personal notebook exported because it was newer (2011-07-21 10:49:20).
b. Created the final PDF file @ C:\Documents and Settings\username\Local Settings\Temp\3\TempResults_1\PdfDocs\OneNote2.pdf
Again, the log is very normal and records the publishing of just one page, which was most likely the one printed by your application.
Did Adobe Reader open this pdf with only one page for you?
In a nutshell, here are my observations:
1. It should have recorded failure of the checkpoint with the message: "No pages were printed by the application" for the first run.
2. It should have shown you a pdf with just one page in both the second and the third instances.
Now, we need to figure out where is the divide.
Prachi,
1. Can you go look at the path: C:\DOCUME~1\username\LOCALS~1\Temp\3\TempResults_1\PdfDocs and locate OneNote2.pdf in there?
2. I understand that you're using the temporary results path so it may be overwriting everything inside with every run. Can you try using a more permanent path while running the script so we could examine those PDFs later?
3. How did you figure out that the pdf had 2595 pages?
4. Did the pdf that opens automatically have those many pages? Were there any blank pages?
5. How many times did the PDF open automatically?
6. Which instance showed you 2595 pages in the pdf? The first, the second or the third?
7. Never did you receive a SUCCESS result for the checkpoint? Did you ever get a FAILURE as indicated by the log for the first run?
8. Also, do you know how the pages landed up in Recycle bin?
9. The timestamps on the newer pages are around 2.5 hours in future in relation to when you're running the script. How is this possible! Do you have some idea? Are there different timezones in play?
Overall, looking at the log, I'm satisfied with the job the utility has done. I couldn't spot any aberration from what I was expecting from the executable. So, we need to figure out what happens incorrectly after the control leaves the executable or the way things are getting printed.
Can you please answer my questions above? Excuse me for firing a volley of questions. I'm just too curious.
Cheers,
Light.
Thank you for the log file. I've gone through it and surprisingly, in it there is no evidence of it printing 2595 pages! From what I've seen, it's not even considering exporting as many as 2595 pages! Now, it's turning into a Forensic Research case.
Here are the details:
1. 1st Run (21st July 7:53:47):
a. The utility identified that no pages were printed by the application and exited with Error Code = -99.
Now, your script must have recorded the failure of this checkpoint with the message: "No pages were printed by the application."
Did you notice this in the Results window?
2. 2nd Run (21st July 7:55:11):
a. "Untitled Page" in Section4 of OneNote_RecycleBin of Personal notebook exported because it was newer (2011-07-21 10:25:15).
b. Created the final PDF file @ C:\Documents and Settings\username\Local Settings\Temp\3\TempResults_1\PdfDocs\OneNote2.pdf
The log is absolutely normal and records the publishing of just one page, which was most likely the one printed by your application.
Did you notice the pdf opening in this case? Did it have more than one page in it?
3. 3rd Run (21st July 8:19:17):
a. "Untitled Page" in Section4 of OneNote_RecycleBin of Personal notebook exported because it was newer (2011-07-21 10:49:20).
b. Created the final PDF file @ C:\Documents and Settings\username\Local Settings\Temp\3\TempResults_1\PdfDocs\OneNote2.pdf
Again, the log is very normal and records the publishing of just one page, which was most likely the one printed by your application.
Did Adobe Reader open this pdf with only one page for you?
In a nutshell, here are my observations:
1. It should have recorded failure of the checkpoint with the message: "No pages were printed by the application" for the first run.
2. It should have shown you a pdf with just one page in both the second and the third instances.
Now, we need to figure out where is the divide.
Prachi,
1. Can you go look at the path: C:\DOCUME~1\username\LOCALS~1\Temp\3\TempResults_1\PdfDocs and locate OneNote2.pdf in there?
2. I understand that you're using the temporary results path so it may be overwriting everything inside with every run. Can you try using a more permanent path while running the script so we could examine those PDFs later?
3. How did you figure out that the pdf had 2595 pages?
4. Did the pdf that opens automatically have those many pages? Were there any blank pages?
5. How many times did the PDF open automatically?
6. Which instance showed you 2595 pages in the pdf? The first, the second or the third?
7. Never did you receive a SUCCESS result for the checkpoint? Did you ever get a FAILURE as indicated by the log for the first run?
8. Also, do you know how the pages landed up in Recycle bin?
9. The timestamps on the newer pages are around 2.5 hours in future in relation to when you're running the script. How is this possible! Do you have some idea? Are there different timezones in play?
Overall, looking at the log, I'm satisfied with the job the utility has done. I couldn't spot any aberration from what I was expecting from the executable. So, we need to figure out what happens incorrectly after the control leaves the executable or the way things are getting printed.
Can you please answer my questions above? Excuse me for firing a volley of questions. I'm just too curious.
Cheers,
Light.