Search found 20 matches

by HELID
Fri Jun 10, 2016 1:59 pm
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: PXC_TextOutW
Replies: 7
Views: 2791

Re: PXC_TextOutW

Hello!
I must compress my project to a smaller one to examplify my problem. I guess it will take about a week
before I have time to do this.

Best regards/
Helena
by HELID
Thu Jun 09, 2016 8:26 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: PXC_TextOutW
Replies: 7
Views: 2791

Re: PXC_TextOutW

Hello! I´ve tried to run my code with the dll´s in the SDK you wanted me to download. But still my code doesn´t do what´s expected. The dll´s in the SDK I downloaded still is version 316.1 and not 317.1. Can you try to distribute the following dll´s to me in version 317.1: pxclib40.dll xcpro40.dll d...
by HELID
Wed Jun 08, 2016 12:06 pm
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: PXC_TextOutW
Replies: 7
Views: 2791

Re: PXC_TextOutW

Thank´s for your quick reply. The reason for my late reply is that I thought I should get an email when someone replied to
my question at your forum but no mail this time.

I wonder how I can get the dll´s of version 317.1? In my installation I only have 316.1

Best regards/
Helena
by HELID
Tue May 24, 2016 10:15 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: PXC_TextOutW
Replies: 7
Views: 2791

PXC_TextOutW

Hello! I´m a Delphi programmer. I have upgraded to PDF-XChange 2012 SDK PRO version 5.5.316.1. To simplify what I´m trying to do is to create a new pdf-document and add a date in it with the function PXC_TextOutW. When I open the pdf document on disk I can see the date in the pdf. I use the dll´s fo...
by HELID
Tue Apr 19, 2016 7:41 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: PXCp_WriteDocumentW in Delphi Seattle 32 bit vs 64 bit
Replies: 2
Views: 2119

PXCp_WriteDocumentW in Delphi Seattle 32 bit vs 64 bit

Hello! I´m a Delphi Seattle/Delphi 10 developer. I have PDF-XChange 2012 SDK PRO version 5.5.316.1. When I build my application as 64-bit I´m getting an access violation when calling PXCp_WriteDocumentW. When I build my application as a 32-bit, everything goes well. What´s wrong? I´m using the dll´s...
by HELID
Tue Nov 27, 2012 1:44 pm
Forum: PDF-XChange Drivers API SDK
Topic: Embed fonts
Replies: 21
Views: 5875

Re: Embed fonts

Hi again!
Is it possible to watermark a document that has been created with the PXCp_PlaceContents method? I get an error every time I try to watermark.

Best regards/
Helena
by HELID
Mon Nov 19, 2012 12:28 pm
Forum: PDF-XChange Drivers API SDK
Topic: Embed fonts
Replies: 21
Views: 5875

Re: Embed fonts

Hi again! My happiness didn´t last so long :? I attach my code to you. The code in TGENProduceraUnit.pas is the code that calls the TGENPDFXChangeUnit.pas. I use Delphi XE. The following line of code goes wrong now and then, in TGENPDFXChange.CreateWatermark: pxRC := PXCp_AddWatermark(mhNewPDFDocume...
by HELID
Fri Nov 16, 2012 2:02 pm
Forum: PDF-XChange Drivers API SDK
Topic: Embed fonts
Replies: 21
Views: 5875

Re: Embed fonts

Hello!
Thank you. I have solved this problem now. It was my dynamic array of PXCp_ContentPlaceInfo in Delphi XE that was the problem.

With my code I get an A5-pdf document from an A4 with embedded fonts. I´m very happy now :-)

Best regards/
Helena
by HELID
Fri Nov 16, 2012 11:51 am
Forum: PDF-XChange Drivers API SDK
Topic: Embed fonts
Replies: 21
Views: 5875

Re: Embed fonts

Hello again!
I have tried to use the placecontents function. I set the alignment flag to CPA_HorFit + CPA_VerFit. But the A4-pdf document doesn´t fit on the A5-pdf document. It doesn´t fit vertically or horizontal!

Can you please try to help me with this problem!

Best regards/
Helena
by HELID
Wed Nov 14, 2012 7:39 pm
Forum: PDF-XChange Drivers API SDK
Topic: Embed fonts
Replies: 21
Views: 5875

Re: Embed fonts

Hi again! Thank you for your reply! If I understand you correctly you mean that I first initialize the pdf-document in A4 format. And then I create a new empty pdf document with sheets of the size of an A5. What function do I use to set the sheet size with the PDF Tools SDK?? I don´t understand how ...
by HELID
Wed Nov 14, 2012 1:42 pm
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: A4 to A5
Replies: 5
Views: 2297

Re: A4 to A5

Hi! OK, thank you. FYI, I have also made a post reply about my problem in another post named Embed fonts. I also wonder what´s the difference of using the Viewer ActiveX functions? Is there a function that silently resizes a pdf-document of size A4 to a new pdf-document of size A5?? Alternatively ju...
by HELID
Wed Nov 14, 2012 1:41 pm
Forum: PDF-XChange Drivers API SDK
Topic: Embed fonts
Replies: 21
Views: 5875

Re: Embed fonts

Hello again! I´m a bit confused over the suggestions I have recieved from you :) . I first posted a question on this forum with the subject A4 to A5. My post was: I have a pdf-document with a sheet size named A4. I want to save this A4 to a sheet size A5 pdf-document. How do I manage this by using t...
by HELID
Wed Nov 14, 2012 1:14 pm
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: A4 to A5
Replies: 5
Views: 2297

Re: A4 to A5

Hello again, I have made a solution in my Delphi XE code to reprint my pages in a PDF document with size A4 to A5 sheets. Byt now I have a problem. It feels like the printer holds the document after printing and I think it is because it want´s to show the document after creation. I have tried to tel...
by HELID
Wed Oct 24, 2012 1:22 pm
Forum: PDF-XChange Drivers API SDK
Topic: Embed fonts
Replies: 21
Views: 5875

Re: Embed fonts

I don´t use any printer at all I use the PDFXChangeprinter only to SAVE the document with this code: mPDFPrinter.Option['Save.SaveType'] := 'Save'; mPDFPrinter.Option['Save.ShowSaveDialog'] := 'No'; mPDFPrinter.Option['Save.WhenExists'] := 'Overwrite'; So in my application I press a button named SAV...
by HELID
Wed Oct 24, 2012 10:46 am
Forum: PDF-XChange Drivers API SDK
Topic: Embed fonts
Replies: 21
Views: 5875

Re: Embed fonts

Hello again! The original pdf is created with Apache FOP 1.0 and it is saved to disk. In my application it is also poosible to save this pdf-document as an Image in our database. In the Delphi XE application we use a component named XPDFViewer for viewing or saving the original document to disk! The...
by HELID
Wed Oct 24, 2012 8:16 am
Forum: PDF-XChange Drivers API SDK
Topic: Embed fonts
Replies: 21
Views: 5875

Re: Embed fonts

Hi! Yes the problem still remains when I set mPDFPrinter.Option['Fonts.EmbedAll'] := 1; I attatch a sample of the source pdf which contains the fonts, the filename of this pdf is: Katalog-Source document.pdf. I also attatch a sample of the output pdf where the fonts from the source pdf is not embedd...
by HELID
Tue Oct 23, 2012 12:31 pm
Forum: PDF-XChange Drivers API SDK
Topic: Embed fonts
Replies: 21
Views: 5875

Re: Embed fonts

Hi! Here comes the code I use in Delphi XE. The constructor calls Initprinter. Then I call SavePDFAsPDFA5. The parameter to the function sPathPDF = the source pdf document with the fonts in the attachment. sPathSaveAsPDF = the filename of the pdf created by PDFXChange. I just want to use PDFXChange ...
by HELID
Mon Oct 22, 2012 7:17 am
Forum: PDF-XChange Drivers API SDK
Topic: Embed fonts
Replies: 21
Views: 5875

Embed fonts

Hi! I´m trying to embed fonts in a pdf-document but nothing happens. I have a registered version and I´ve tried in different ways to do this in my Delphi XE code: InitPrinterSettings; mPDFPrinter.Option['Save.File'] := sPathSaveAsPDF; mPDFPrinter.Option['Paper.SheetSizeIndex'] := -2; mPDFPrinter.Opt...
by HELID
Wed Oct 17, 2012 8:43 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: A4 to A5
Replies: 5
Views: 2297

A4 to A5

Hello! I have a pdf-document with a sheet size named A4. I want to save this A4 to a sheet size A5. How do I manage this by using the lib-functions? In the PDFXChange Viewer program I do this by changing the sheet size of the A4 page to A5 when I´m about to print the page with PDFXChange 4-printer. ...
by HELID
Wed Feb 24, 2010 11:58 am
Forum: PDF-XChange Drivers API SDK
Topic: Release pdf-document
Replies: 1
Views: 1107

Release pdf-document

Hello! I´m working in Delphi 2006. I use functions from the high-level API in PDFXchange PRO 3.5 for reading and inserting things in pdf-document´s. The problem I get is that the documents I´ve read don´t get released. When I want to use one of the pdf-document´s later with the TFilestream object in...