Amyuni Converter - 2.50f
We are finding that having the ConvertHyperlinks option enabled causes some print jobs to not properly issue the DOCUMENTEVENT_ENDDOCPOST event.
The flags we are using with SetFileNameOptions are as follows:
NoPrompt + UseFileName + BroadcastMessages + ConvertHyperlinks
The issue appears in some applications and not others, and in some print jobs and not in others. I have a sample encapsulated html file (.mht file) that when printed from Internet Explorer causes the issue.
Flipping ConvertHyperlinks off and on makes the lost event come back, then go away again, so I'm pretty certain that this is what is causing the problem.
- K
ConvertHyperlinks option causes some print jobs to fail
-
- Posts: 60
- Joined: Mon Jul 28 2003
-
- Posts: 60
- Joined: Mon Jul 28 2003
So this is expected behavior??? That is not at all described in the SDK documentation (and makes the EndDocPost event pretty much unusable).
Are you certain this is not a bug?
- K
Are you certain this is not a bug?
- K
Joan wrote:Hello,
ConvertHyperlinks is a post processing feature. It is processed after printing end.
Depending on the application and on how it handles printing EndDocPost event may be generated when printing the document ends or not.
This issue might happen if the caller is resetting the printer options before printing has really ended, e.g. by calling FileNameOptions = 0. Otherwise if the hyperlinks are created in the document, then the EndDocPost event is fired right afterwards.
We would need to have more details to debug this issue.
1 - The version number of PDF Converter that you are using.
2 - Sample code showing how you are initializing the printer, printing the document and what happens after printing is over.
We would need to have more details to debug this issue.
1 - The version number of PDF Converter that you are using.
2 - Sample code showing how you are initializing the printer, printing the document and what happens after printing is over.
Amyuni Development Team
Efficient and accurate conversion to PDF, XPS, PDF/A and more. Free trials at - https://www.amyuni.com
Efficient and accurate conversion to PDF, XPS, PDF/A and more. Free trials at - https://www.amyuni.com
-
- Posts: 60
- Joined: Mon Jul 28 2003
OK - per my original post, this is 2.50f
Why don't I email you the .mht file and you can print it from Internet Explorer yourself with 'create hyperlinks' turned on? The EndDocPost event will not be fired.
Our code does nothing with the file until we receive the EndDocPost event (which is why this is such a hassle for us).
- K
Why don't I email you the .mht file and you can print it from Internet Explorer yourself with 'create hyperlinks' turned on? The EndDocPost event will not be fired.
Our code does nothing with the file until we receive the EndDocPost event (which is why this is such a hassle for us).
- K
Devteam wrote:This issue might happen if the caller is resetting the printer options before printing has really ended, e.g. by calling FileNameOptions = 0. Otherwise if the hyperlinks are created in the document, then the EndDocPost event is fired right afterwards.
We would need to have more details to debug this issue.
1 - The version number of PDF Converter that you are using.
2 - Sample code showing how you are initializing the printer, printing the document and what happens after printing is over.
Hello,
You can send an e-mail to support@amyuni.com explaining the situation and our Engineers will take a closer look at this.
Thanks.
You can send an e-mail to support@amyuni.com explaining the situation and our Engineers will take a closer look at this.
Thanks.