Print dialog 2 times after closing
Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan
-
- User
- Posts: 83
- Joined: Wed Mar 25, 2015 10:15 am
Print dialog 2 times after closing
When i use this code:
AX_TRACKERPDF>>GetActiveDocument(liFILEID)
AX_TRACKERPDF>>PrintDocument(liFILEID)
And I close the print dialog it appears for the second time. How do I solve this?
AX_TRACKERPDF>>GetActiveDocument(liFILEID)
AX_TRACKERPDF>>PrintDocument(liFILEID)
And I close the print dialog it appears for the second time. How do I solve this?
-
- User
- Posts: 5522
- Joined: Fri Nov 21, 2014 8:27 am
Re: Print dialog 2 times after closing
Hello Tom,
Please provide us a working sample that illustrates your problem. Also, please provide the information about the SDK versionthat you are using. Don't forget NOT to post a valid license key with your sample project.
Cheers,
Alex
Please provide us a working sample that illustrates your problem. Also, please provide the information about the SDK versionthat you are using. Don't forget NOT to post a valid license key with your sample project.
Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
-
- User
- Posts: 83
- Joined: Wed Mar 25, 2015 10:15 am
Re: Print dialog 2 times after closing
if you use the PrintDocument function from the active x viewer
a printdialog window opens. If you close this window without printing the print dialog reappears.
I am using version 2.5 build 318.1
a printdialog window opens. If you close this window without printing the print dialog reappears.
I am using version 2.5 build 318.1
-
- User
- Posts: 5522
- Joined: Fri Nov 21, 2014 8:27 am
Re: Print dialog 2 times after closing
Hello Tom,
Please post in the correspondent topic thread. This is the Editor Core SDK thread and you are referring to the old Viewer Active X.
Cheers,
Alex
Please post in the correspondent topic thread. This is the Editor Core SDK thread and you are referring to the old Viewer Active X.
Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
-
- User
- Posts: 83
- Joined: Wed Mar 25, 2015 10:15 am
Print dialog 2 times after closing
if you use the PrintDocument function from the active x viewer
a printdialog window opens. If you close this window without printing the print dialog reappears.
I am using version 2.5 build 318.1
a printdialog window opens. If you close this window without printing the print dialog reappears.
I am using version 2.5 build 318.1
-
- Site Admin
- Posts: 17960
- Joined: Mon Jan 12, 2009 8:07 am
- Location: London
Re: Print dialog 2 times after closing
Hello Tom,
I am now going to merge your above post with the previous topic that existed on the subject:
https://forum.pdf-xchange.com/ ... 36&t=27683
Cheers,
Stefan
I am now going to merge your above post with the previous topic that existed on the subject:
https://forum.pdf-xchange.com/ ... 36&t=27683
Cheers,
Stefan
-
- User
- Posts: 83
- Joined: Wed Mar 25, 2015 10:15 am
Re: Print dialog 2 times after closing
i needed to post it in the correct forum. thats why i created a new post.
Anyway could you look into it?
Anyway could you look into it?
-
- Site Admin
- Posts: 17960
- Joined: Mon Jan 12, 2009 8:07 am
- Location: London
Re: Print dialog 2 times after closing
Hi Tom,
I already moved the other topic in the correct forum. To keep things clear I am just merging this (as it's one discussion) in the same place
Cheers,
Stefan
I already moved the other topic in the correct forum. To keep things clear I am just merging this (as it's one discussion) in the same place
Cheers,
Stefan
-
- User
- Posts: 83
- Joined: Wed Mar 25, 2015 10:15 am
Re: Print dialog 2 times after closing
And did you find the problem?
-
- Site Admin
- Posts: 17960
- Joined: Mon Jan 12, 2009 8:07 am
- Location: London
Re: Print dialog 2 times after closing
Hi Tom,
Sasha asked for a sample project that illustrates the problem. I can not see attachments here in the topic - so have you e.g. sent those as e-mail attachments?
Regards,
Stefan
Sasha asked for a sample project that illustrates the problem. I can not see attachments here in the topic - so have you e.g. sent those as e-mail attachments?
Regards,
Stefan
-
- User
- Posts: 83
- Joined: Wed Mar 25, 2015 10:15 am
Re: Print dialog 2 times after closing
i send the code that is causing the problem:
>>Printdialog(0)
this opens the print dialog screen. And if you close this screen with the X on top right. It closes the window but the same print window reappears.
so you do not have this problem?
>>Printdialog(0)
this opens the print dialog screen. And if you close this screen with the X on top right. It closes the window but the same print window reappears.
so you do not have this problem?
-
- Site Admin
- Posts: 17960
- Joined: Mon Jan 12, 2009 8:07 am
- Location: London
Re: Print dialog 2 times after closing
Hello Tom,
No we do not have such problems, that is why we are asking you for a whole sample project and not just a line of code.
Most likely you do call the print routine twice without it being obvious, and that's why we need to see a compilable project before we can assist further.
Regards,
Stefan
No we do not have such problems, that is why we are asking you for a whole sample project and not just a line of code.
Most likely you do call the print routine twice without it being obvious, and that's why we need to see a compilable project before we can assist further.
Regards,
Stefan