which Developer SDK is Office2PDF in?

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

Post Reply
tanshd
User
Posts: 4
Joined: Wed Jun 03, 2009 3:43 am

which Developer SDK is Office2PDF in?

Post by tanshd »

Which Developer SDK should I download, if I wanna convert .doc or .html to .pdf files?
and are there some samples?
Corwin - Tracker Sup
User
Posts: 664
Joined: Tue Nov 14, 2006 12:23 pm

Re: which Developer SDK is Office2PDF in?

Post by Corwin - Tracker Sup »

There is no such SDK for now.. You may use PDF-XChange Drivers API SDK for converting .doc or .html documents to PDF but this printer driver would not create hyperlinks in the resulting PDF file.
tanshd
User
Posts: 4
Joined: Wed Jun 03, 2009 3:43 am

Re: which Developer SDK is Office2PDF in?

Post by tanshd »

but PDF-XChange Drivers API SDK doesn't provide C# examples, can I use C# to do it? and how I could do?

and the Delphi examples cannot compile, the wrong message is:
[Fatal Error] Main.pas(7): File not found: 'PXCComLib_TLB.dcu'
what can I do?
Corwin - Tracker Sup
User
Posts: 664
Joined: Tue Nov 14, 2006 12:23 pm

Re: which Developer SDK is Office2PDF in?

Post by Corwin - Tracker Sup »

To run Delphi example you need to import "PDF-XChange V4.0 Type Library". To do this you need to:
1. Install PDF-XChange 4
2. In Delphi 7 (or earlier) menu "Project-> Import Type Library..."
In Delphi 2007 (or Later) menu "Component->Import Component...", choose "Import a Type Library", "Next".
3. Select "PDF-XChange V4.0 Type Library"
4. Select Palette Page (for example ActiveX)
5. Select Install and Create Unit

Also here is small sample for C#
Attachments
PDFdriverAPIExample86.zip
(23.58 KiB) Downloaded 231 times
tanshd
User
Posts: 4
Joined: Wed Jun 03, 2009 3:43 am

Re: which Developer SDK is Office2PDF in?

Post by tanshd »

which option should I set if I donnot wanna show the PrintDialog box?

and my purpose is very simple, just convert .html or .doc file to .pdf,
i think the simplest usage is to call the function Printer.PrintDocument(), but it seems not work
Corwin - Tracker Sup
User
Posts: 664
Joined: Tue Nov 14, 2006 12:23 pm

Re: which Developer SDK is Office2PDF in?

Post by Corwin - Tracker Sup »

As I know in examples provided with PDF-XChanage, PrintDialog is not in use. Or you still have some problems with running this examples?
User avatar
John - Tracker Supp
Site Admin
Posts: 5219
Joined: Tue Jun 29, 2004 10:34 am
Location: United Kingdom
Contact:

Re: which Developer SDK is Office2PDF in?

Post by John - Tracker Supp »

You can display or not the 'save As Dialog' - its your choice, also please note - if using the SDK - there is a specific forum - will move this topic ..

See the manual provided :

Topic :

ShowSaveDialog

Boolean value
If this property is True, pdfSaver will display the Save As dialog where the path and file name of the PDF file must be specified.

Canceling the Save As dialog will cancel the PDF file creation.

Default value: True
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
Post Reply