Search found 38 matches

by baumunk
Thu Jan 06, 2022 7:50 am
Forum: PDF-XChange Editor SDK
Topic: Error with stamp when converting to PDF/A 1B
Replies: 1
Views: 592

Error with stamp when converting to PDF/A 1B

XChange makes an error when converting to PDF/A 1B the stamp "Anlage verband.zip : 1" with white background has black background after conversion. The customer complains about this. How can I avoid this? PDF_with_stamp.pdf original file. PDF_with_stamp_pdfa.pdf after conversion file. With ...
by baumunk
Tue Nov 02, 2021 11:23 am
Forum: PDF-XChange Editor SDK
Topic: PXV_Inst System.AccessViolationException
Replies: 5
Views: 974

Re: PXV_Inst System.AccessViolationException

You write: "This code shoud work as well. But for sure - it's not effective to use Init/Shutdown too often. Ideally - just once per app lifetime." But this means that converting parallel in two files (in different places) is not possible, correct? Another question, if it is an instance, ho...
by baumunk
Thu Oct 28, 2021 2:18 pm
Forum: PDF-XChange Editor SDK
Topic: PXV_Inst System.AccessViolationException
Replies: 5
Views: 974

PXV_Inst System.AccessViolationException

Is it allowed to create and release inctance multiple times in one application in PXV_Inst? Inst = new PDFXEdit.PXV_Inst(); Inst.Init(null, licKeyEdit, (IString)null, (IString)null, (IString)null); .... // Convert PDF ... Marshal.FinalReleaseComObject(Inst); Inst = null; For multiple customers who u...
by baumunk
Wed May 19, 2021 8:01 am
Forum: PDF-XChange Drivers API SDK
Topic: Application freezes when calling SetRegInfo SOLVED
Replies: 3
Views: 12520

Re: Application freezes when calling SetRegInfo SOLVED

Hello Ivan,

We have the following feedback from the customer:
You have purchased and installed latest version of xChange.
Since then the error is no longer reproducible.

The case can be closed.

With kind regards
Ernest Baumunk
by baumunk
Tue May 18, 2021 6:12 am
Forum: PDF-XChange Editor SDK
Topic: Convert procedure hangs up.
Replies: 22
Views: 6099

Re: Convert procedure hangs up.

Hello Vasyl Yaremyn,

Do you know when version 355 will be released?
Paul O'Rorke has replied by email we may use version 354.1 as well.

With best regards
Ernest Baumunk
by baumunk
Wed May 12, 2021 7:15 am
Forum: PDF-XChange Drivers API SDK
Topic: Application freezes when calling SetRegInfo SOLVED
Replies: 3
Views: 12520

Application freezes when calling SetRegInfo SOLVED

We have the following problem with a customer. When the following code is executed: pdfFactory = new CPXCControlEx(); pdfFactory.RemoveOrphanPrinters("", ""); pdfPrinter = pdfFactory.Printer["", "PDF-XChange Standard", "<REG CODE>", "<DEV CODE>&...
by baumunk
Wed May 05, 2021 1:11 pm
Forum: PDF-XChange Editor SDK
Topic: Convert procedure hangs up.
Replies: 22
Views: 6099

Re: Convert procedure hangs up.

Hello Alex

Yes of course.
I have uploaded it to https://useruploads.tracker-software.support/#/HOME

as baumunk_testapp.zip
With xchange dll's and all plugin's folder.

Written C# Visual Studio 2019.
It can be compiled as x64 or x86 application.

With kind regards
Ernest Baumunk
by baumunk
Wed May 05, 2021 6:12 am
Forum: PDF-XChange Editor SDK
Topic: Convert procedure hangs up.
Replies: 22
Views: 6099

Re: Convert procedure hangs up.

Hello, I have uploaded dmpdatei.zip/baumunk.zip. There are two *.dmp files in it: TeatPDFA.DMP: Test PC/Customer PC program freezes. TeatPDFA_devpc.DMP: Developer PC, same test program, same PDF program is running. We really need urgent a solution for this problem. With kind regards Ernest Baumunk
by baumunk
Tue May 04, 2021 11:36 am
Forum: PDF-XChange Editor SDK
Topic: Convert procedure hangs up.
Replies: 22
Views: 6099

Re: Convert procedure hangs up.

Hello Alex,
How long we have to wait for the result.
Can't you answer either?

Best regards
Baumunk
by baumunk
Fri Apr 30, 2021 12:21 pm
Forum: PDF-XChange Editor SDK
Topic: Convert procedure hangs up.
Replies: 22
Views: 6099

Re: Convert procedure hangs up.

Videos.zip
(4.42 MiB) Downloaded 202 times
Hello Alex,

I hope both records can help you.
Same x86 test program on my PC and on customer/test PC.

Developer pc.mp4 - on my PC
Test PC or Customer PC.mp4 others

Best regards
Ernest Baumunk
by baumunk
Fri Apr 30, 2021 11:56 am
Forum: PDF-XChange Editor SDK
Topic: Convert procedure hangs up.
Replies: 22
Views: 6099

Re: Convert procedure hangs up.

Hello Alex, No, it works on my computer too (with the SDK installed). But not on the customer PC with installation that you have shown here: https://sdkhelp.pdf-xchange.com/view/PXV:Redistribution So: C: \ Windows \ System32 \ regsvr32.exe PDFXCoreAPI.x86.dll C: \ Windows \ SysWOW64 \ regevr32.exe P...
by baumunk
Fri Apr 30, 2021 8:34 am
Forum: PDF-XChange Editor SDK
Topic: Convert procedure hangs up.
Replies: 22
Views: 6099

Re: Convert procedure hangs up.

Hello Stefan

I have sent two sample PDF to support@pdf-xchange.com. As a zip file.

With kind regards
Ernest Baumunk
by baumunk
Fri Apr 30, 2021 8:12 am
Forum: PDF-XChange Editor SDK
Topic: Convert procedure hangs up.
Replies: 22
Views: 6099

Re: Convert procedure hangs up.

Hello Alex,

I do not want to ask x times.
When can we expect a solution?
Our customers call often.

Mfg Ernest Baumunk
by baumunk
Thu Apr 29, 2021 8:08 am
Forum: PDF-XChange Editor SDK
Topic: COMException HRESULT E_FAIL Error by Convert PDF/A
Replies: 9
Views: 2212

Re: COMException HRESULT E_FAIL Error by Convert PDF/A

Hello Alex, I have changed as you suggested: public class PDFLog : PDFXEdit.ILogListener { public List<PDFLogItem> Logs { get; } = new List<PDFLogItem>(); public string Message { get { var b = new StringBuilder(); foreach (var i in Logs) { b.AppendLine($"{i.Type}: '{i.Text}'"); } return b....
by baumunk
Wed Apr 28, 2021 2:16 pm
Forum: PDF-XChange Editor SDK
Topic: Convert procedure hangs up.
Replies: 22
Views: 6099

Re: Convert procedure hangs up.

Hello Alex

Update 2:

If I make this PDF OCR_MakeSearchable searchable before.
Does it work in x86 ...

Obviously PDFXEditCore.x86.dll is buggy.

Baumunk
by baumunk
Wed Apr 28, 2021 11:37 am
Forum: PDF-XChange Editor SDK
Topic: Convert procedure hangs up.
Replies: 22
Views: 6099

Re: Convert procedure hangs up.

Hello Alex

We have licenses:
PDF-XChange Editor SDK
and PDF-XChange PRO SDK (with OCR) 9.0.352.0

With version 9.0.354.0 does not work either.

Baumunk
by baumunk
Wed Apr 28, 2021 9:44 am
Forum: PDF-XChange Editor SDK
Topic: Convert procedure hangs up.
Replies: 22
Views: 6099

Re: Convert procedure hangs up.

Update
If application x64 it works.
If application x86 does not work !!!
by baumunk
Wed Apr 28, 2021 8:33 am
Forum: PDF-XChange Editor SDK
Topic: COMException HRESULT E_FAIL Error by Convert PDF/A
Replies: 9
Views: 2212

Re: COMException HRESULT E_FAIL Error by Convert PDF/A

Hello Alex

When I:

Code: Select all

convParamsRoot.SetInt("ShowReport", 1);
I see the report window.
When converting one PDF file all right.
But if there are 100 PDF and 5 are error?
Is it possible to read error list in code?
by baumunk
Wed Apr 28, 2021 8:12 am
Forum: PDF-XChange Editor SDK
Topic: Convert procedure hangs up.
Replies: 22
Views: 6099

Convert procedure hangs up.

Code: void Init() { if (Inst != null) return; Inst = new PDFXEdit.PXV_Inst(); Inst.Init(null, licKeyEdit, (IString)null, (IString)null, (IString)null); Inst.StartLoadingPlugins(); Inst.AddPluginFromFile($@"{plugInLoadPath}\ConvertPDF.pvp"); Inst.AddPluginFromFile($@"{plugInLoadPath}\P...
by baumunk
Tue Apr 27, 2021 9:25 am
Forum: PDF-XChange Editor SDK
Topic: COMException HRESULT E_FAIL Error by Convert PDF/A
Replies: 9
Views: 2212

COMException HRESULT E_FAIL Error by Convert PDF/A

When converting a PDF to PDF/A I often get this error Scan_27.04.2021_10.07.zip Code: PDFXEdit.IPXV_ExportConverter cnv = null; for (uint i = 0; i < Inst.ExportConvertersCount; i++) { if (Inst.ExportConverter[i].ID != "conv.exp.pdfa") continue; cnv = Inst.ExportConverter[i]; break; } if (c...
by baumunk
Thu Mar 25, 2021 10:28 am
Forum: PDF-X OCR SDK
Topic: OCR_SaveW gives first time 0, all others -2147418113
Replies: 4
Views: 26627

Re: OCR_SaveW gives first time 0, all others -2147418113

Hello Stefan, I think I have solved this. May function OCR_Finalize only be called once? OCR_Finalize is not described in your OCRToolsSDK_Help.pdf. If OCR_Finalize is called only once when closing the application, everything is OK. I can call OCR_SaveW several times. With kind regards Ernest Baumunk
by baumunk
Tue Mar 23, 2021 8:05 am
Forum: PDF-X OCR SDK
Topic: OCR_SaveW gives first time 0, all others -2147418113
Replies: 4
Views: 26627

Re: OCR_SaveW gives first time 0, all others -2147418113

Hello xChange Support,

What about this error?
When can I expect an answer?

With kind regards
Ernest Baumunk
by baumunk
Thu Mar 18, 2021 2:23 pm
Forum: PDF-X OCR SDK
Topic: OCR_SaveW gives first time 0, all others -2147418113
Replies: 4
Views: 26627

OCR_SaveW gives first time 0, all others -2147418113

When I make multiple PDF searchable, I always get at call OCR_SaveW value -2147418113, at second and further PDF. At first is 0. Why? OCR_Init and OCR_Finalize is called for each file. Code: private void MakePDF_OCR(PDFConverterParameter par) { var data_path = $@"{Umgebung.NoRAProg}\OCRLanguage...
by baumunk
Fri Feb 19, 2021 3:18 pm
Forum: PDF-XChange Editor SDK
Topic: How can I open a PDF file as IPXV_Document?
Replies: 9
Views: 2177

Re: How can I open a PDF file as IPXV_Document?

Hello Alex, Thanks, I didn't understand right away. But it works now. One last little question. OCR recognition and conversion to PDF / A 2B afterwards takes comparatively slowly. An example file. Samle_pages he needs 4 sec for OCR and 5 for PDF / A. With larger ones (unfortunately I cannot provide ...
by baumunk
Fri Feb 19, 2021 11:24 am
Forum: PDF-XChange Editor SDK
Topic: How can I open a PDF file as IPXV_Document?
Replies: 9
Views: 2177

Re: How can I open a PDF file as IPXV_Document?

Hello Alex The example: viewtopic.php? p = 104006 # p104006 but is only for IPXV_Document it does not work with IPXC_Document. IPXC_Document does not have a save function ... only WriteToFile Example with IPXV_Document void PDFA(PDFXEdit.IPXV_Document doc) { PDFXEdit.IAFS_Inst fsInst = (PDFXEdit.IAF...
by baumunk
Fri Feb 19, 2021 7:29 am
Forum: PDF-XChange Editor SDK
Topic: How can I open a PDF file as IPXV_Document?
Replies: 9
Views: 2177

Re: How can I open a PDF file as IPXV_Document?

Hello Alex, With IPXV_Document pdf, opened via IPXV_Control both OCR and DPF/A work now but only PDF/A 2B. And it shows progress window and hint window for PDF/A. But how can I convert to PDF/A file as IPXC_Document object? I have not found anything suitable in https://sdkhelp.pdf-xchange.com/view/P...
by baumunk
Thu Feb 18, 2021 3:19 pm
Forum: PDF-XChange Editor SDK
Topic: OCR "Error opening data file ././deu.dat"
Replies: 3
Views: 929

Re: OCR "Error opening data file ././deu.dat"

Hello Alex OCR is now running correctly, thanks to you. I still have a question about the result "sample_pages_ocr.pdf". If with xChange Editor I can search for "Klaus kundig": "xchange.jpg" it is correct, but with abode (Adobe.JPG) Reader it is not. Is it because I mad...
by baumunk
Thu Feb 18, 2021 1:34 pm
Forum: PDF-XChange Editor SDK
Topic: How can I open a PDF file as IPXV_Document?
Replies: 9
Views: 2177

Re: How can I open a PDF file as IPXV_Document?

Hello Alex, IPXC_Document::WriteToFile works. But not with this example: https://sdkhelp.pdf-xchange.com/view/PXV:IPXV_Document_Save Code: //Saving document as pdfa (for this the PDFA plugin should be registered) PDFXEdit.IPXV_ExportConverter cnv = null; for (uint i = 0; i < pdfCtl.Inst.ExportConver...
by baumunk
Thu Feb 18, 2021 1:13 pm
Forum: PDF-XChange Editor SDK
Topic: OCR "Error opening data file ././deu.dat"
Replies: 3
Views: 929

OCR "Error opening data file ././deu.dat"

I have the following errors with PlugIn and OCR: bild3.JPG Error opening data file ././deu.dat Please make sure the TESSDATA_PREFIX environment variable is set to the parent directory of your "tessdata" directory. Failed loading language 'deu' I searched for it in forum, there should exist...
by baumunk
Thu Feb 18, 2021 9:56 am
Forum: PDF-XChange Editor SDK
Topic: How can I open a PDF file as IPXV_Document?
Replies: 9
Views: 2177

How can I open a PDF file as IPXV_Document?

I need IPXV_Document for the following code example: https://sdkhelp.pdf-xchange.com/view/PXV:op_document_OCRPages and https://sdkhelp.pdf-xchange.com/view/PXV:IPXV_Document_Save IPXV_Document has only Save function "op.openDoc" https://sdkhelp.pdf-xchange.com/view/PXV:op_openDoc is only I...
by baumunk
Thu Feb 18, 2021 7:02 am
Forum: PDF-XChange Drivers API SDK
Topic: OCR detection gone after it was sent to XChange PDF Driver zu PDF/A-1B
Replies: 5
Views: 5214

Re: OCR detection gone after it was sent to XChange PDF Driver zu PDF/A-1B

Hello O'Rorke

Do you think:
PDF-XChange Editor SDK
https://www.pdf-xchange.com/product/pdf-xchange-editor-sdk

or
PDF-XChange Editor Simple SDK
https://www.pdf-xchange.com/product/pdf-xchange-editor-simple-sdk

Best regards
Ernest Baumunk
by baumunk
Wed Feb 17, 2021 7:17 am
Forum: PDF-XChange Drivers API SDK
Topic: OCR detection gone after it was sent to XChange PDF Driver zu PDF/A-1B
Replies: 5
Views: 5214

Re: OCR detection gone after it was sent to XChange PDF Driver zu PDF/A-1B

Hello Paul,

I have not found anything about SDK:
https://help.pdf-xchange.com/pdfxdapi9sdk/
I have only These options (as a mask):
Options.JPG
Please ask the developers how I can achieve this.
We must have this.

With kind regards
Ernest Baumunk
by baumunk
Tue Feb 16, 2021 10:47 am
Forum: PDF-XChange Core API SDK
Topic: How can I perform OCR with Core API for Existing PDF file and save it as PDF/A-1B?
Replies: 3
Views: 4364

Re: How can I perform OCR with Core API for Existing PDF file and save it as PDF/A-1B?

Hello Alex,

Ok. Then one more question.
But is it possible to save a finished PDF with OCR recognition (with OCR_MakeSearchable it is possible in the step before) as PDF/A-1B without destroying OCR recognition?

Thanks
Ernest Baumunk
by baumunk
Tue Feb 16, 2021 10:28 am
Forum: PDF-X OCR SDK
Topic: Wrong PDF when using OCR_MakeSearchable
Replies: 6
Views: 6879

Re: Wrong PDF when using OCR_MakeSearchable

I have another problem. After OCR I need to convert file to PDF/A-1B. Since we have PDF-XChange PRO SDK license. After OCR new file is printed to XChange PDF driver. Although after that PDF is a valid PDF/A-1B. But the OCR recognition is then no longer present. Do you have a solution for this availa...
by baumunk
Tue Feb 16, 2021 7:41 am
Forum: PDF-XChange Core API SDK
Topic: How can I perform OCR with Core API for Existing PDF file and save it as PDF/A-1B?
Replies: 3
Views: 4364

How can I perform OCR with Core API for Existing PDF file and save it as PDF/A-1B?

How can I perform OCR with Core API for Existing PDF file and save it as PDF/A-1B?

An example application would help me.

We have PDF-XChange PRO and PDF-XChange PRO SDK licenses.

With kind regards
Ernest Baumunk
by baumunk
Mon Feb 15, 2021 1:03 pm
Forum: PDF-XChange Drivers API SDK
Topic: OCR detection gone after it was sent to XChange PDF Driver zu PDF/A-1B
Replies: 5
Views: 5214

OCR detection gone after it was sent to XChange PDF Driver zu PDF/A-1B

code: PDFPrinter.SetAsDefaultPrinter(); PDFPrinter.Option["Save.ShowSaveDialog"] = "False"; PDFPrinter.Option["Save.File"] = pdfaFile; PDFPrinter.Option["Saver.ShowProgress"] = "False"; PDFPrinter.Option["General.PageLayout"] = "ShowNo...
by baumunk
Fri Feb 12, 2021 11:55 am
Forum: PDF-X OCR SDK
Topic: Wrong PDF when using OCR_MakeSearchable
Replies: 6
Views: 6879

Re: Wrong PDF when using OCR_MakeSearchable

Hello Alex,

Thanks for the tip. This helped.
OCR_Content_Original = 0x0040
but was only in description not in PDFOCR_Funcs.cs

With kind regards
Ernest Baumunk
by baumunk
Fri Nov 13, 2020 9:41 am
Forum: PDF-X OCR SDK
Topic: Wrong PDF when using OCR_MakeSearchable
Replies: 6
Views: 6879

Wrong PDF when using OCR_MakeSearchable

We test your product. With your example application OCRDemoCsharp Pdf contains images and text. After OCR, text in the image is searchable but text is removed. Orignal PDF: image.png image.png After OCR: image1.png What am I doing wrong? We are using DEMO. If I use the same function in PDF-XChange E...