CPXCPrinter.Option(s) are ignored

PDF-XChange Drivers API (only) V4/V5
This Forum is for the use of Software Developers requiring help and assistance for Tracker Software's PDF-XChange Printer Drivers SDK (only) - VERSION 4 & 5 - Please use the PDF-Tools SDK Forum for Library DLL assistance.

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Tracker Supp-Stefan

cobra_sk
User
Posts: 3
Joined: Tue Aug 25, 2009 11:44 am

CPXCPrinter.Option(s) are ignored

Post by cobra_sk »

Hi,

i am currently using evaluation version of Driver API SDK (ehm, I believe its this one), just to test the integration to our product.
I configured printer as follows

Code: Select all

_printer.ResetDefaults()
_printer.Option("Save.File") = IO.Path.ChangeExtension(_file.LocalName, "pdf")
_printer.Option("Save.ShowSaveDialog") = 0
_printer.Option("Save.WhenExists") = 1  'Overwrite
_printer.Option("Save.RunApp") = 0
_printer.Option("Saver.ShowProgress") = 0
_printer.Option("Fonts.WriteToUnicode") = 0
_printer.Option("DocInfo.Title") = _file.FileName.Name
_printer.ApplyOptions(0)
Editor.PrintOut(False, _printer.Name, Nothing, Nothing, Nothing, Nothing)
The Editor is 3rd-party component to integrate Word 2003.

The problem is that all properties set through "_printer.Option" are ignored, i.e. SaveDialog a Progress are displayed.
It's "feature" of evalution version or is there some magic I missed, when I was reading manual.

I am using VB.NET (.NET 3.5)

Thanks,
Lukas

P.S.:
Sorry if it was discussed elsewhere, I used (really, I did) search, but found nothing
User avatar
Ivan - Tracker Software
Site Admin
Posts: 3556
Joined: Thu Jul 08, 2004 10:36 pm
Location: Vancouver Island - Canada

Re: CPXCPrinter.Option(s) are ignored

Post by Ivan - Tracker Software »

Please try the example Application which is distributed with SDK.

Does this work as requried or does it show the Save dialog too?
Tracker Software (Project Director)

When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
cobra_sk
User
Posts: 3
Joined: Tue Aug 25, 2009 11:44 am

Re: CPXCPrinter.Option(s) are ignored

Post by cobra_sk »

The compiled examples worked as expected.

But I installed PDF-XChange Lite 4 (instead of only drivers) and voila it just works.

Thank you for your time.

Cheers,

Lukas
User avatar
John - Tracker Supp
Site Admin
Posts: 5219
Joined: Tue Jun 29, 2004 10:34 am
Location: United Kingdom

Re: CPXCPrinter.Option(s) are ignored

Post by John - Tracker Supp »

Hi,

One thing - PDF-XChange Lite has no developer's API - so I would caution you against thinking that using the Lite version is an answer to your issue - unless you meant you had installed the Lite version incorrectly and have now installed the full version for DEV's ?
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
cobra_sk
User
Posts: 3
Joined: Tue Aug 25, 2009 11:44 am

Re: CPXCPrinter.Option(s) are ignored

Post by cobra_sk »

Honestly, I don't know what solved that issue. But after installation of Lite version (what did you mean by installed incorrectly?) I was able to produce PDFs as expected.

And I tried it on another computer and there was enough to install API SDK to get it work. So maybe it was Word/.NET/Windows/Universe kind of problem :)

Anyway, everything works and I am able to produce beautiful PDFs.

Cheers,

Lukas
User avatar
John - Tracker Supp
Site Admin
Posts: 5219
Joined: Tue Jun 29, 2004 10:34 am
Location: United Kingdom

Re: CPXCPrinter.Option(s) are ignored

Post by John - Tracker Supp »

Thanks Lucas - 'our is not to reason why ....'

sometimes... :)

Cheers
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