Search found 33 matches

by baumunk
Wed May 12, 2021 7:15 am
Forum: PDF-XChange Drivers API SDK
Topic: Application freezes when calling SetRegInfo
Replies: 0
Views: 11

Application freezes when calling SetRegInfo

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>"] as CPXCPrinter; pdfPrinter.SetRegInfo(dec_key); the a...
by baumunk
Wed May 05, 2021 1:11 pm
Forum: PDF-XChange Editor SDK
Topic: Convert procedure hangs up.
Replies: 19
Views: 485

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: 19
Views: 485

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: 19
Views: 485

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: 19
Views: 485

Re: Convert procedure hangs up.

Videos.zip
(4.42 MiB) Downloaded 9 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: 19
Views: 485

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.tracker-software.com/view/PXV:Redistribution So: C: \ Windows \ System32 \ regsvr32.exe PDFXCoreAPI.x86.dll C: \ Windows \ SysWOW64 \ regevr32....
by baumunk
Fri Apr 30, 2021 8:34 am
Forum: PDF-XChange Editor SDK
Topic: Convert procedure hangs up.
Replies: 19
Views: 485

Re: Convert procedure hangs up.

Hello Stefan

I have sent two sample PDF to support@tracker-software.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: 19
Views: 485

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: 4
Views: 128

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.ToString()...
by baumunk
Wed Apr 28, 2021 2:16 pm
Forum: PDF-XChange Editor SDK
Topic: Convert procedure hangs up.
Replies: 19
Views: 485

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: 19
Views: 485

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: 19
Views: 485

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: 4
Views: 128

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: 19
Views: 485

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}\PDFAPlugin.pvp")...
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: 4
Views: 128

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 (cnv == null...
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: 537

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: 537

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: 537

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}\OCRLanguages\"; ...
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: 8
Views: 156

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: 8
Views: 156

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: 8
Views: 156

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.tracker-software.com/v...
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: 107

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 made with test license? With PDF-...
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: 8
Views: 156

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

Hello Alex, IPXC_Document::WriteToFile works. But not with this example: https://sdkhelp.tracker-software.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.ExportC...
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: 107

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 folder Pl...
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: 8
Views: 156

How can I open a PDF file as IPXV_Document?

I need IPXV_Document for the following code example: https://sdkhelp.tracker-software.com/view/PXV:op_document_OCRPages and https://sdkhelp.tracker-software.com/view/PXV:IPXV_Document_Save IPXV_Document has only Save function "op.openDoc" https://sdkhelp.tracker-software.com/view/PXV:op_openDoc is o...
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: 479

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.tracker-software.com/product/pdf-xchange-editor-sdk

or
PDF-XChange Editor Simple SDK
https://www.tracker-software.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: 479

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.tracker-software.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: 154

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: 1401

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: 154

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: 479

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"] = "ShowNone"; PDFPrinter.Option["General.HideUI"] = "True"; PDFPrinter.Opt...
by baumunk
Fri Feb 12, 2021 11:55 am
Forum: PDF-X OCR SDK
Topic: Wrong PDF when using OCR_MakeSearchable
Replies: 6
Views: 1401

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: 1401

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...