Search found 40 matches

by kenbla
Wed May 28, 2014 1:04 pm
Forum: PDF-XChange Drivers API SDK
Topic: PDF from XML/XSL
Replies: 10
Views: 8321

Re: PDF from XML/XSL

Thanks for your reply. I have already performed a bwrPrint.Navigate (doesn't show in the piece of code I provided) and I have also tried to put my application to sleep for 10 seconds after the first bwrPrint.Navigate so that doesn't seem to be the problem in my case. And also the fact that it works ...
by kenbla
Tue May 27, 2014 8:53 am
Forum: PDF-XChange Drivers API SDK
Topic: PDF from XML/XSL
Replies: 10
Views: 8321

Re: PDF from XML/XSL

When it doesn't work the bwrPrint.ReadyState in my code example below is = 1 (is loading) and therefore the code including bwrPrint.ExecWB is not run! I have tried a number of things like put the application to sleep for a few seconds but it didn't help. One odd thing that has made the application w...
by kenbla
Tue May 27, 2014 8:22 am
Forum: PDF-XChange Drivers API SDK
Topic: PDF from XML/XSL
Replies: 10
Views: 8321

Re: PDF from XML/XSL

Hello again, I don't know to say this but the PDF creation in my Delphi program works at times but not always!! It worked fine from friday afternoon until this morning (tuesday) but when I ran the application this morning the PDF file did not get created! I have not made any changes to the applicati...
by kenbla
Tue May 27, 2014 5:24 am
Forum: PDF-XChange Drivers API SDK
Topic: PDF from XML/XSL
Replies: 10
Views: 8321

Re: PDF from XML/XSL

Thanks John, I have now solved the problem and it works fine! I don't know what the problem was, all of a sudden it simply worked!
by kenbla
Fri May 23, 2014 12:02 pm
Forum: PDF-XChange Drivers API SDK
Topic: PDF from XML/XSL
Replies: 10
Views: 8321

Re: PDF from XML/XSL

I have made some progress in this matter but I'm not quite there yet! I have copied some code from the examples that came with PDFXChange like this: "if (bwrPrint.ReadyState = READYSTATE_COMPLETE then)" Normally bwrPrintReadyState should be equal to READYSTATE_COMPLETE but in my case it is...
by kenbla
Thu May 22, 2014 11:20 am
Forum: PDF-XChange Drivers API SDK
Topic: PDF from XML/XSL
Replies: 10
Views: 8321

PDF from XML/XSL

Hello, I work in a Delphi environment and I want to find out what the best way is to create a PDF file in the following case: - I have an XML file - I have an XSL file which is use/can use to convert the XML file to an HTML report - I want to create a PDF file from the HTML report and store it to di...
by kenbla
Thu Jun 23, 2011 9:08 pm
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Combine two pdf files with internal link
Replies: 4
Views: 2833

Re: Combine two pdf files with internal link

Sorry about that, I am using your method PXCp_InsertPagesTo when I combine the two pdf documents.
by kenbla
Thu Jun 23, 2011 10:43 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Combine two pdf files with internal link
Replies: 4
Views: 2833

Combine two pdf files with internal link

Hello, I have a problem! I create two different pdf files in a Delphi program. The pdf files are created using the Apache FOP processor. The files gets created without problems. In the next step I use the PDFX-Change method InsertPagesToPdfDocument in order to combine the two pdf files into one, thi...
by kenbla
Tue Apr 05, 2011 10:15 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Upgrading from version 3 to version 4
Replies: 6
Views: 2424

Re: Upgrading from version 3 to version 4

OK thanks. So what you are saying is that we need yet another of your products (the tools SDK). We have already bought PDF XChange Pro and PDF XChange Driver API.
Do we still have to copy the dll files to same path as our .exe files, the same way as in version 3?
by kenbla
Tue Apr 05, 2011 6:13 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Upgrading from version 3 to version 4
Replies: 6
Views: 2424

Re: Upgrading from version 3 to version 4

The problem is that we didn't get any documentation when we installed version 4 so I have no place to look! Is there any documentation which describes how to perform the functions mentioned in my initial question? And where can I find it if that's the case? The only documentation that I have seen is...
by kenbla
Mon Apr 04, 2011 11:24 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Upgrading from version 3 to version 4
Replies: 6
Views: 2424

Upgrading from version 3 to version 4

Hello, we are currently using both version 3 and version 4 of PDFXChange in a Borland Delpi environment. We are now planning to get rid of all version 3 functionality and replace them with the equivalent functions in version 4. We are currently using the following version 3 functions: - PXCp_ReadDoc...
by kenbla
Tue Dec 21, 2010 9:47 am
Forum: PDF-XChange Drivers API SDK
Topic: We get the "Save as..." dialog!
Replies: 26
Views: 9682

Re: We get the "Save as..." dialog!

Hello again, I finally got it all to work!
Thanks for all your help!
by kenbla
Mon Dec 20, 2010 7:17 pm
Forum: PDF-XChange Drivers API SDK
Topic: We get the "Save as..." dialog!
Replies: 26
Views: 9682

Re: We get the "Save as..." dialog!

PDF-XChange is not a printer but I know that it is a printer driver which can be used to save .html pages by sending the .html page to the printer driver using ExecWB. We have used version 3 earlier but since it doesn't work on a 64 bit server we have to get version 4 instead. The code in version 4 ...
by kenbla
Mon Dec 20, 2010 9:01 am
Forum: PDF-XChange Drivers API SDK
Topic: We get the "Save as..." dialog!
Replies: 26
Views: 9682

Re: We get the "Save as..." dialog!

Hello again, I have run som more tests this morning and I think that the problem is that PDFXChange tries to "save" the .html file by issuing this command: bwrPrint.ExecWB(OLECMDID_PRINT, OLECMDEXECOPT_DONTPROMPTUSER); I guess that this command starts a separate session which might take so...
by kenbla
Mon Dec 20, 2010 7:27 am
Forum: PDF-XChange Drivers API SDK
Topic: We get the "Save as..." dialog!
Replies: 26
Views: 9682

Re: We get the "Save as..." dialog!

I have run additional tests and the created .pdf documents are still corrupt! I have viewed the created file with Notepad and it seems as if the file is an .html file and not a .pdf file!! I tried to attach the file but it was rejected by this site as "a possible attack vector". Anyway the...
by kenbla
Thu Dec 16, 2010 4:07 pm
Forum: PDF-XChange Drivers API SDK
Topic: We get the "Save as..." dialog!
Replies: 26
Views: 9682

Re: We get the "Save as..." dialog!

Hello, I have now installed PDFXChange version 4 and the SDK. I have also been able to run the Delphi example that you provided. The Deplhi example works fine to create pdf documents for plain text and Word documents BUT it doesn't work when I try to create a pdf file from a .html file in a browser ...
by kenbla
Tue Dec 14, 2010 3:49 pm
Forum: PDF-XChange Drivers API SDK
Topic: We get the "Save as..." dialog!
Replies: 26
Views: 9682

Re: We get the "Save as..." dialog!

Hello again, I tried to compile the Delphi example you so kindly provided, but it doesn't compile! I'm missing the module PXCCOMLib_TLB.pas. The example is set up to search for the file in E:\Program Files\Borland\Delphi7\Imports. I have searched my entire C: drive but can't find the file! First of ...
by kenbla
Mon Dec 13, 2010 4:18 pm
Forum: PDF-XChange Drivers API SDK
Topic: We get the "Save as..." dialog!
Replies: 26
Views: 9682

Re: We get the "Save as..." dialog!

Thanks a lot for a quick reply!
by kenbla
Mon Dec 13, 2010 2:49 pm
Forum: PDF-XChange Drivers API SDK
Topic: We get the "Save as..." dialog!
Replies: 26
Views: 9682

Re: We get the "Save as..." dialog!

OK thanks! I hope you have time to answer an additional question before we start to implement v. 4! We are currently (v. 3) using the following PDFXChange functions/methods: PXCp_AddWatermark PXCp_Init PXCp_ReadDocumentW PXCp_GetPagesCount PXCp_llGetPageCount PXCp_InsertPagesTo PXCp_WriteDocumentW P...
by kenbla
Fri Dec 10, 2010 2:06 pm
Forum: PDF-XChange Drivers API SDK
Topic: We get the "Save as..." dialog!
Replies: 26
Views: 9682

Re: We get the "Save as..." dialog!

Thanks for your response. It sounds as if we have a lot of work to do in order to get it to work then! A couple of more questions though: - Do you know if version 3 of PDFXChange works in Windows Server 2008 (32 bit)? - Do you know if version 3 of PDFXChange works in Windows Server 2008 (64 bit)? Ha...
by kenbla
Wed Dec 08, 2010 3:18 pm
Forum: PDF-XChange Drivers API SDK
Topic: We get the "Save as..." dialog!
Replies: 26
Views: 9682

Re: We get the "Save as..." dialog!

Hello again, I still haven't found out how to get rid of the Save dialog. I have looked in the code in the example you sent me and it looks similar to the code we currently have for version 3 at least when it comes ShowSaveDialog. Please have a look at my code below for version 3: " try oReg.Ro...
by kenbla
Wed Dec 08, 2010 7:50 am
Forum: PDF-XChange Drivers API SDK
Topic: We get the "Save as..." dialog!
Replies: 26
Views: 9682

Re: We get the "Save as..." dialog!

Thanks a lot Stefan. I will try to find a solution to my problem from the manual you provided me!
by kenbla
Tue Dec 07, 2010 7:43 am
Forum: PDF-XChange Drivers API SDK
Topic: We get the "Save as..." dialog!
Replies: 26
Views: 9682

Re: We get the "Save as..." dialog!

Thanks Stefan. I work on the development team with Delphi applications and I have not installed PDFXChange and I don't know if we have installed the SDK for version 4, I can't find the SDK manual anyway! We have another team that does the installations! Is it possible that they have only installed t...
by kenbla
Mon Dec 06, 2010 2:01 pm
Forum: PDF-XChange Drivers API SDK
Topic: We get the "Save as..." dialog!
Replies: 26
Views: 9682

Re: We get the "Save as..." dialog!

Thanks Stefan, we have tried to set that boolean to false but it doesn't help I'm afraid!
I only have access to SDK manual for version 3! What kind of code changes are we talking about?
by kenbla
Mon Dec 06, 2010 1:12 pm
Forum: PDF-XChange Drivers API SDK
Topic: We get the "Save as..." dialog!
Replies: 26
Views: 9682

We get the "Save as..." dialog!

Hello, we have a problem when creating PDF documents from a Delphi environment. We currently run our application on an application server which runs Windows Server 2000 SP 4 and this works fine, but we are about to move to Windows Server 2008 (64 bit) and have performed some tests. When we try to cr...
by kenbla
Mon Nov 01, 2010 10:14 am
Forum: PDF-XChange Drivers API SDK
Topic: Table of contents, bookmarks, links etc.
Replies: 1
Views: 1901

Table of contents, bookmarks, links etc.

Hello, is it possible to create "clickable" links, bookmarks and table of contents using PDF-XChange from a Borland Delphi environment? and if so how is it done?
by kenbla
Mon Aug 23, 2010 6:12 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: PDFXChange and Table of contents, bookmarks etc.
Replies: 3
Views: 1898

Re: PDFXChange and Table of contents, bookmarks etc.

Thanks John. We are using the print driver when creating our PDF files
by kenbla
Thu Aug 19, 2010 12:56 pm
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: PDFXChange and Table of contents, bookmarks etc.
Replies: 3
Views: 1898

PDFXChange and Table of contents, bookmarks etc.

I wonder if it is possible to add a table of contents and use bookmarks in the PDF files I create using PDFXchange from a Borland Delphi environment? If so, how do I do it?
by kenbla
Thu Apr 08, 2010 9:59 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Copy/Merge PDF files
Replies: 12
Views: 4158

Re: Copy/Merge PDF files

Thanks Victor! I have read every piece of documentation that we have at our site but I can't find anything which describes this! I have looked in the "PDF-XChange Help" file as well as the "PDF-XChange Users Manual" and those two are the only pieces of information that we have. W...
by kenbla
Wed Apr 07, 2010 10:32 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Copy/Merge PDF files
Replies: 12
Views: 4158

Re: Copy/Merge PDF files

I might have solved the problem! Hi John, I have run another test and discovered the following: When I run the application using the following parameter list "hr := PXCp_WriteDocumentW(mhNewPDFDocument, PWChar(WideString(sFilePath)), PXCp_CreationDisposition_Overwrite, PXCp_Write_NoRelease );&q...
by kenbla
Wed Apr 07, 2010 8:12 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Copy/Merge PDF files
Replies: 12
Views: 4158

Re: Copy/Merge PDF files

OK, this is the "PXCP sequence" //First time around and everything works fine //First instance hr := PXCp_Init(@mhNewPDFDocument, PChar(mpxLicense), PChar(mpxDevcode)); pxRC := PXCp_ReadDocumentW(mhNewPDFDocument, PWChar(WideString(sFilepath)), 0); //Second instance hr := PXCp_Init(@mhNewP...
by kenbla
Wed Apr 07, 2010 6:00 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Copy/Merge PDF files
Replies: 12
Views: 4158

Re: Copy/Merge PDF files

Here is part of my Delphi code: oNewPDF := TGENPDFXChange.Create(sPdfPath); oGENPDFXChange := TGENPDFXChange.Create(sProdPath + sKatalog + '.pdf'); iEndPage := oGENPDFXChange.PageCount; oGENPDFXChange.ReleasePDFDocument; //Actually executes this: PXCp_Delete(mhNewPDFDocument); FreeAndNil(oGENPDFXCha...
by kenbla
Tue Apr 06, 2010 2:06 pm
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Copy/Merge PDF files
Replies: 12
Views: 4158

Re: Copy/Merge PDF files

One more thing! In item number 3 i use "PXCp_InsertPagesTo" and this is where it fails!
by kenbla
Tue Apr 06, 2010 2:04 pm
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Copy/Merge PDF files
Replies: 12
Views: 4158

Re: Copy/Merge PDF files

I'm now able to merge a number of PDF files into one PDF file! So that's the good thing! but I have now run into another problem! After the merging of the PDF files I want to add another PDF file (containing the table of contents) to the recently created PDF file (the combined one) everything seems ...
by kenbla
Thu Mar 18, 2010 8:59 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Copy/Merge PDF files
Replies: 12
Views: 4158

Copy/Merge PDF files

Hi everybody, I haven't used PDFXchange for a while but now I'm at it again. This time I need to merge a number of PDF files from disk into one PDF file! Not a big thing I guess but I don't know how it is done and I would appreciate any assistance! I work as a system developer in a Borland Delphi en...
by kenbla
Tue Dec 02, 2008 3:18 pm
Forum: PDF-XChange Drivers API SDK
Topic: Problems with watermark using PDFXchange
Replies: 9
Views: 4253

Re: Problems with watermark using PDFXchange

One more question for this subject.
What should m_LineWidth be initialized to?
by kenbla
Fri Apr 11, 2008 5:48 am
Forum: PDF-XChange Drivers API SDK
Topic: Problems with watermark using PDFXchange
Replies: 9
Views: 4253

That solved the problem!
I appreciate your support!
Thank you very much.
by kenbla
Wed Apr 09, 2008 1:34 pm
Forum: PDF-XChange Drivers API SDK
Topic: Problems with watermark using PDFXchange
Replies: 9
Views: 4253

OK, I have attached a zip-file which contains two test PDF files. The one named Bad_Pink.pdf has a pink/red watermark text at the bottom left which cannot be vewed in the document, and the other file Good.pdf has a watermark that can be read easily also at the bottom left! If you mark and copy the p...
by kenbla
Wed Apr 09, 2008 12:45 pm
Forum: PDF-XChange Drivers API SDK
Topic: Problems with watermark using PDFXchange
Replies: 9
Views: 4253

Hi, and thanks for your reply. The problem is that some of my applications that are installed on the same server can create a watermark on the PDF files and other applications cannot!! It is very strange.
/Kenbla
by kenbla
Tue Apr 08, 2008 1:43 pm
Forum: PDF-XChange Drivers API SDK
Topic: Problems with watermark using PDFXchange
Replies: 9
Views: 4253

Problems with watermark using PDFXchange

Hello out there, I have experienced a problem when creating PDF documents containing watermarks! When I run the application on my development PC everything works fine, BUT when I move the application to my application server the watermark shows as a pink "strip" instead of the actual water...