Changing the default printer to the PDF printer driver

This Forum is for the use of Clarion For Windows - Software Developers requiring help and assistance for Tracker Software's PDF-XChange Printer Drivers SDK (only) - Please use the PDF-Tools SDK Forum for Library DLL assistance.

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Sean - Tracker, Chris - Tracker Supp, Tracker Supp-Stefan, Ivan - Tracker Software, Tracker - Clarion Support, John - Tracker Supp, Support Staff, moderators

Post Reply
DonSchwirtlich
User
Posts: 49
Joined: Sun Aug 27, 2006 11:44 am
Location: Corpus Christi, Texas

Changing the default printer to the PDF printer driver

Post by DonSchwirtlich » Tue Nov 28, 2006 11:15 pm

We are having the default printer being switched to the PDF printer automatically - upon using the software - is anyone having that happen?

Thanks
Don

John - Tracker Supp
Site Admin
Posts: 8202
Joined: Tue Jun 29, 2004 10:34 am
Location: Vancouver Island - Canada
Contact:

Post by John - Tracker Supp » Wed Nov 29, 2006 9:17 am

Hi Don,

this is not within the functionality of PDF-XChange - so I suspect it is in your code somewhere - maybe you have used one of our example app's as a base for your application and within that is some code which perfoms this altering of the default printer perhaps ?

Otherwise I have no explanation and there is no default functionality such as this built into the driver.

HTH
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.

Best regards
Tracker Support
http://www.tracker-software.com

DonSchwirtlich
User
Posts: 49
Joined: Sun Aug 27, 2006 11:44 am
Location: Corpus Christi, Texas

Post by DonSchwirtlich » Wed Nov 29, 2006 8:32 pm

>> not within the functionality of PDF-XChange - so I suspect it is in your code somewhere -<<

Whatever.
Don

John - Tracker Supp
Site Admin
Posts: 8202
Joined: Tue Jun 29, 2004 10:34 am
Location: Vancouver Island - Canada
Contact:

Post by John - Tracker Supp » Thu Nov 30, 2006 8:00 am

My answer did not appear to satisfy you Don,

Feel free to send us a sample app dispalying the described behaviour and we would be pleased to test here.

I was not not trying to be obtuse - but the fact it is we do not set PDF-XChange to be the default printer anywhere within the driver mechanism - if it is happening - it is not directly within the driver.
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.

Best regards
Tracker Support
http://www.tracker-software.com

DonSchwirtlich
User
Posts: 49
Joined: Sun Aug 27, 2006 11:44 am
Location: Corpus Christi, Texas

Post by DonSchwirtlich » Fri Dec 01, 2006 4:00 am

I have a procedure that uses the procedure I copied out of the examples set - this is a procedure that uses the new Office Inside interface on the template. As soon as that procedure starts up, the default printer switches from whatever I had to the PDF xchange printer. This was one of the items I had asked to be looked at when you guys did the work back and forth with CapeSoft, you had solved the bigger issues that I needed then and I just went on by. Now I have 'solved' this issue but using a function from vuFileTools to capture the default printer before that pdf xchange procedure is called - and then resets the default printer - after that procedure is exited. Hopefully I will have time soon to put an example together and send you but right now I don't.
Don

John - Tracker Supp
Site Admin
Posts: 8202
Joined: Tue Jun 29, 2004 10:34 am
Location: Vancouver Island - Canada
Contact:

Post by John - Tracker Supp » Fri Dec 01, 2006 11:58 am

Thanks for the extra info Don,

I will ask Craig to look at this ASAP.
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.

Best regards
Tracker Support
http://www.tracker-software.com

DonSchwirtlich
User
Posts: 49
Joined: Sun Aug 27, 2006 11:44 am
Location: Corpus Christi, Texas

Post by DonSchwirtlich » Fri Dec 01, 2006 2:14 pm

>>Thanks for the extra info Don,
I will ask Craig to look at this ASAP.<<

I very much appreciate it.
Don

John - Tracker Supp
Site Admin
Posts: 8202
Joined: Tue Jun 29, 2004 10:34 am
Location: Vancouver Island - Canada
Contact:

Post by John - Tracker Supp » Fri Dec 01, 2006 4:19 pm

Pleasure.
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.

Best regards
Tracker Support
http://www.tracker-software.com

Tracker - Clarion Support
Site Admin
Posts: 1412
Joined: Wed Jun 30, 2004 4:45 pm
Location: Maryland, USA
Contact:

Post by Tracker - Clarion Support » Fri Dec 01, 2006 10:47 pm

Hi Don!

John's asked me to look into this problem - hopefully will have an answer by Monday.
Craig Ransom
Tracker Software - Clarion Support
http://www.tracker-software.com

Tracker - Clarion Support
Site Admin
Posts: 1412
Joined: Wed Jun 30, 2004 4:45 pm
Location: Maryland, USA
Contact:

Post by Tracker - Clarion Support » Wed Dec 06, 2006 4:00 pm

Hi Don!

Things got a little backed up over the past two days but I'm on your problem now.

After examining the Clarion class files, I found that the original programmer did have code where he set and then reset the default printer driver.

Obviously this is not aceptable, as any other program trying to use the default printer might very well see the wrong printer!

I am amending the code to change this behavior.

Sorry for the inconvenience.
Craig Ransom
Tracker Software - Clarion Support
http://www.tracker-software.com

Post Reply

Return to “PDF-XChange Drivers (only) API SDK - For Clarion For Windows Developers only Please”