Search found 381 matches

by Walter-Tracker Supp
Fri Dec 14, 2012 5:55 pm
Forum: PDF-X OCR SDK
Topic: Error -2113263849
Replies: 12
Views: 5497

Re: Error -2113263849

I'm afraid the description that Stefan gave you was incorrect; it is not a "line art" error. It's an internal OCR error (OCR_ERR_INTERNAL). The most common cause of this is improper placement of the language files. We should have a special, and obvious, error code for that because it is so...
by Walter-Tracker Supp
Thu Nov 29, 2012 6:10 pm
Forum: PDF-X OCR SDK
Topic: zonal OCR sample in VB/C#.NET needed
Replies: 7
Views: 4184

Re: zonal OCR sample in VB/C#.NET needed

Here's a quick and dirty C# example which does include both a call to OCR_MakeSearchable() and OCR_GetFields(). I realize you posted VB code, but you mentioned both C# and VB and at the moment (under a big deadline) it is most expedient to give this particular example. It might help if you could pro...
by Walter-Tracker Supp
Wed Nov 28, 2012 10:27 pm
Forum: PDF-X OCR SDK
Topic: zonal OCR sample in VB/C#.NET needed
Replies: 7
Views: 4184

Re: zonal OCR sample in VB/C#.NET needed

It is unnecessary to append '\ocrdats' to the data directory; this is hardcoded into the library, so that if you specify "c:\myproject", OCR will look for language files in "c:\myproject\ocrdats". In your case, it will be looking for "(Applicationpath)\ocrdats\ocrdats\"...
by Walter-Tracker Supp
Tue Nov 20, 2012 7:04 pm
Forum: OCR- For the PDF-XChange Editor and Viewer
Topic: OCR file size
Replies: 3
Views: 3831

Re: OCR file size

There are a couple of options which can reduce file size in the resulting PDF. See the two attached screen shots for the location of these settings in the OCR dialog. 1. Preserve original content and add text layer - this keeps the original image intact and adds text on top of it. In some cases this...
by Walter-Tracker Supp
Wed Oct 17, 2012 8:06 pm
Forum: OCR- For the PDF-XChange Editor and Viewer
Topic: How to configue OCR (learning by doing)
Replies: 3
Views: 4266

Re: How to configue OCR (learning by doing)

We are going to include character whitelist / blacklist features (which would certainly help for this case), but the exact licensing is not something I am sure of. This is up to the marketing and sales guys, and I am not at liberty to speculate about it.
by Walter-Tracker Supp
Wed Sep 26, 2012 6:56 pm
Forum: PDF-X OCR SDK
Topic: Controlling OCR Results
Replies: 7
Views: 4338

Re: Controlling OCR Results

You may also want to check the PDF links on the same main wikipedia page, which links to the specification documents from unicode.org. http://en.wikipedia.org/wiki/Latin_characters_in_Unicode In these documents, ligatures seem to all be denoted as such, so you can search for the word "ligature&...
by Walter-Tracker Supp
Wed Sep 26, 2012 5:00 pm
Forum: PDF-X OCR SDK
Topic: Controlling OCR Results
Replies: 7
Views: 4338

Re: Controlling OCR Results

Gentlemen, Appreciate the quick responses (as usual). While your Microsoft Word spell checker might accept the word despite the ligatures, our spell checker isn't so robust I'm afraid to say. It's unfortunate that I'd have to replace the ligatures like what Walter suggests with the characters I wan...
by Walter-Tracker Supp
Wed Sep 26, 2012 3:46 pm
Forum: PDF-X OCR SDK
Topic: Controlling OCR Results
Replies: 7
Views: 4338

Re: Controlling OCR Results

The OCR engine is currently trained to recognize a wide variety of standard ASCII and unicode characters, and while there are cases where these ligatures are undesirable, overall we felt it wouldn't be appropriate to impose limitations in the viewer (which, by design, gives a standard straight-forwa...
by Walter-Tracker Supp
Thu Sep 20, 2012 10:58 pm
Forum: PDF-XChange Viewer SDK
Topic: Prerequisites for ActiveX Viewer OCR
Replies: 9
Views: 3913

Re: Prerequisites for ActiveX Viewer OCR

If you have placed the ocrdats directory in the folder of the in-use ActiveX dll, it should find them. I will check into a way for you to verify that the directory is correct and get back to you here shortly. Are you using registration-free ActiveX, for example as described here: https://www.pdf-xch...
by Walter-Tracker Supp
Thu Sep 20, 2012 4:18 pm
Forum: PDF-XChange Viewer SDK
Topic: Prerequisites for ActiveX Viewer OCR
Replies: 9
Views: 3913

Re: Prerequisites for ActiveX Viewer OCR

1. Can you tell me what directory the registered ActiveX dll resides in? If you need to check the registry you can search for PDFXCviewAx.dll and see what path is registered (on my system it is in C:\Program Files\Tracker Software\PDFViewer\PDFXCviewAx.dll). 2. What directory did you put the "o...
by Walter-Tracker Supp
Mon Sep 17, 2012 5:12 pm
Forum: PDF-X OCR SDK
Topic: Example build error - help needed
Replies: 8
Views: 4634

Re: Example build error - help needed

Created Internal Ticket #1645 (posting this to facilitate tracking the issue).
by Walter-Tracker Supp
Mon Sep 17, 2012 5:09 pm
Forum: PDF-X OCR SDK
Topic: Example build error - help needed
Replies: 8
Views: 4634

Re: Example build error - help needed

It looks as though there are some project settings that were not set properly. The solution is to create a new project from the existing source files and add appropriate options for linking to the OCR SDK. I have attached a compiled executable and am creating a ticket for update of the project inter...
by Walter-Tracker Supp
Mon Sep 17, 2012 4:52 pm
Forum: PDF-X OCR SDK
Topic: Unhandled exception OCRing
Replies: 7
Views: 3988

Re: Unhandled exception OCRing

I was looking for one that used a callback specific to OCR in VB.NET. There doesn't appear to be one. There is a callback function in the VB.net example: see Callback.vb The callback must return 1; returning 0 sets an abort condition and stops OCR. You'd use this to signify something like a "c...
by Walter-Tracker Supp
Wed Sep 12, 2012 7:52 pm
Forum: PDF-X OCR SDK
Topic: MultiPage input, single page output
Replies: 5
Views: 3696

Re: MultiPage input, single page output

Got it and responded! I could not reproduce the issue with the included file. I was able to OCR all pages. Have you reproduced it with other files? What is the return code (HRESULT) from OCR_SaveW()? Also note that you were using a text-based PDF for OCR. This works but will result in loss of inform...
by Walter-Tracker Supp
Wed Sep 12, 2012 7:42 pm
Forum: PDF-X OCR SDK
Topic: Clarion ocr example problem
Replies: 29
Views: 13357

Re: Clarion ocr example problem

I've attached a compiled (Win32) executable for the template designer sample project. You can use this to create template files for OCR.

You must place ocrtools.dll and pxcview.dll (32-bit) in the executable directory.
by Walter-Tracker Supp
Wed Sep 12, 2012 6:52 pm
Forum: PDF-X OCR SDK
Topic: Clarion ocr example problem
Replies: 29
Views: 13357

Re: Clarion ocr example problem

I would also like to point out that we have a template designer, although it is included as C++ code and a compiled executable in the main SDK distribution. I am unsure of its status in the clarion distribution; if you cannot find it please ask and we will be sure to provide it to you. I have brough...
by Walter-Tracker Supp
Wed Sep 12, 2012 6:44 pm
Forum: PDF-X OCR SDK
Topic: MinGW, GCC compile/link issue
Replies: 4
Views: 3145

Re: MinGW, GCC compile/link issue

Thank you, Clif.

-Walter
by Walter-Tracker Supp
Wed Sep 12, 2012 6:27 pm
Forum: PDF-X OCR SDK
Topic: MultiPage input, single page output
Replies: 5
Views: 3696

Re: MultiPage input, single page output

Just a quick update; I tested your code with a 7 page document and had no problem with the output. I'll await the other information I asked in my previous post. You may also want to check the return value of OCR_SaveW, i.e.: pseudocode: hr = OCR_SaveW(...) if (( hr != 0) ...) { printf("Save fai...
by Walter-Tracker Supp
Wed Sep 12, 2012 6:20 pm
Forum: PDF-X OCR SDK
Topic: MultiPage input, single page output
Replies: 5
Views: 3696

Re: MultiPage input, single page output

I'm assuming the OCR_MakeSearchable() call returns no error? Everything looks okay visually although I'll run a test with your code to make sure I'm not missing anything; in the meantime, maybe you could provide the PDF file, either as an attachment or by email to support@pdf-xchange.com? Does it do...
by Walter-Tracker Supp
Wed Sep 12, 2012 5:30 pm
Forum: PDF-X OCR SDK
Topic: Clarion ocr example problem
Replies: 29
Views: 13357

Re: Clarion ocr example problem

Hi Tomislav: Zonal OCR can certainly be done with the OCR SDK. You can create, save, and load templates for PDF pages (or files) and use them to retrieve zonal information. However, I will have to notify our Clarion experts of your question here regarding the Clarion wrapper, you will get a response...
by Walter-Tracker Supp
Fri Sep 07, 2012 5:32 pm
Forum: PDF-X OCR SDK
Topic: Unhandled exception OCRing
Replies: 7
Views: 3988

Re: Unhandled exception OCRing

Okay, hopefully you've resolved it. Out of curiosity, what was the cause of the problem? It may be helpful to refer to if it arises again for someone else. If you have more issues please don't hesitate to contact us. Also, is there any demo dll that we can use to test on more than just 2 pages at on...
by Walter-Tracker Supp
Fri Sep 07, 2012 4:54 pm
Forum: PDF-X OCR SDK
Topic: Unhandled exception OCRing
Replies: 7
Views: 3988

Re: Unhandled exception OCRing

I'm unfamiliar with the Kodak Scanstation; from your description it sounds as if you are running the OCR application on the Scanstation hardware itself (rather than on a workstation connected to the scanner). Is this correct? I tried the PDF you attached on a standard workstation and could not repro...
by Walter-Tracker Supp
Fri Sep 07, 2012 4:26 pm
Forum: PDF-X OCR SDK
Topic: MinGW, GCC compile/link issue
Replies: 4
Views: 3145

Re: MinGW, GCC compile/link issue

It appears that the linker is looking for decorated names "__imp__OCR_xxxxx()" instead of the undecorated ones exported from the DLL ("OCR_xxxx()"). Check your linker settings to ensure it uses undecorated names. I've not used mingw before though, so you'll have to figure out how...
by Walter-Tracker Supp
Wed Sep 05, 2012 9:02 pm
Forum: PDF-XChange Viewer SDK
Topic: Image Manipulation Tools
Replies: 1
Views: 1316

Re: Image Manipulation Tools

I am not able to comment too much on the new feature set, as there are things covered by a non-disclosure agreement. If you are eligible to get the current beta you can take a look at what we have released publically so far. I can confirm that we have auto-deskew (question 2). I'm not certain of the...
by Walter-Tracker Supp
Tue Sep 04, 2012 10:23 pm
Forum: PDF-XChange Viewer SDK
Topic: Export PDF to TIFF, output is 12x the size of original
Replies: 4
Views: 2160

Re: Export PDF to TIFF, output is 12x the size of original

Just to add a bit to this discussion: In the end user PDF X-Change Viewer you can set TIFF export options including resolution, colour bit depth, and compression with the "Options" button beside the "Image Type" selection drop-down list. These will impact the file sizes coming fr...
by Walter-Tracker Supp
Tue Sep 04, 2012 6:00 pm
Forum: PDF-XChange Viewer SDK
Topic: Prerequisites for ActiveX Viewer OCR
Replies: 9
Views: 3913

Re: Prerequisites for ActiveX Viewer OCR

There is a minor issue with the add-on language pack installers which we will fix ASAP. Meanwhile, you can workaround it by installing the end user viewer on your workstation and copying the language files manually to your active X installation. For deployment you can manage deployment of these file...
by Walter-Tracker Supp
Tue Aug 21, 2012 7:16 pm
Forum: PDF-XChange Drivers API SDK
Topic: Unique AddTextWatermark
Replies: 8
Views: 4824

Re: Unique AddTextWatermark

Hi Peter, As Nico said, getting a code sample from you would be useful, while we investigate this. It looks like you have found a workaround; you could also (obviously) try something like this: 1. Create watermarks as needed during document processing, and give each unique one a unique name ("W...
by Walter-Tracker Supp
Tue Aug 14, 2012 8:41 pm
Forum: OCR- For the PDF-XChange Editor and Viewer
Topic: Selecting OCR'd Text Selects Entire Page
Replies: 1
Views: 3378

Re: Selecting OCR'd Text Selects Entire Page

This is a consequence of the current layout analysis routines which, while pretty good, are not always perfect (no OCR is, really). This results in content being placed in a slightly imperfect way on the page, which confuses the text selection routines. You can definitely expect improvements in our ...
by Walter-Tracker Supp
Tue Aug 14, 2012 4:42 pm
Forum: PDF-XChange Viewer (End Users)
Topic: PXC_SecurityMethod
Replies: 9
Views: 2710

Re: PXC_SecurityMethod

Also, if this does not help, please show an example of your code so we can try to diagnose what is going wrong.

-Walter
by Walter-Tracker Supp
Tue Aug 14, 2012 4:37 pm
Forum: PDF-XChange Viewer (End Users)
Topic: PXC_SecurityMethod
Replies: 9
Views: 2710

Re: PXC_SecurityMethod

Thanks for the help. Also would like to know if you have any code example to use the PXC_EnableSecurityEx method. I seem to be crashing when I use this method when both the userPwd and ownerPwd have values. Thank you. Sure. I have modified the example PDFXCDemo (C:\Program Files\Tracker Software\PD...
by Walter-Tracker Supp
Mon Aug 13, 2012 6:20 pm
Forum: PDF-XChange Viewer (End Users)
Topic: PXC_SecurityMethod
Replies: 9
Views: 2710

Re: PXC_SecurityMethod

Please try the attached file (PDFXC_Funcs.cs). All that was done was to add the following declaration to PDFXC_Funcs.cs in region "Document operations": [DllImport("pxclib40")] public static extern int PXC_EnableSecurityEx(int pdf, PXC_Securitymethod nMethod, [MarshalAs(Unmanaged...
by Walter-Tracker Supp
Mon Aug 13, 2012 6:07 pm
Forum: PDF-XChange Viewer (End Users)
Topic: PXC_SecurityMethod
Replies: 9
Views: 2710

Re: PXC_SecurityMethod

It looks as though somebody neglected to include a typedef for that enum in the C# wrapper / example code, I believe because this function (PXC_EnableSecurityEx) was added as a newer feature. The values for PXC_SecurityMethod are (as found on page 23 of the PDF Tools SDK v4 documentation): 1. psm_No...
by Walter-Tracker Supp
Thu Jul 05, 2012 4:09 pm
Forum: PDF-X OCR SDK
Topic: All bookmarks are deleted!
Replies: 4
Views: 3612

Re: All bookmarks are deleted!

When performing OCR with the SDK, an entirely new document is created, so anything that is not strictly visible on the page (bookmarks, etc) is not preserved. You can use the Tools SDK to migrate bookmarks from the source document to the output document, after saving the OCR output to an intermediat...
by Walter-Tracker Supp
Fri Jun 29, 2012 9:55 pm
Forum: PDF-XChange Viewer SDK
Topic: Print without a UI
Replies: 18
Views: 7236

Re: Print without a UI

Thank you, promisekey, for helping out with a description of how you accomplished this. Please note that the forum strips non-zipped attachments though.

-Walter
by Walter-Tracker Supp
Fri Jun 29, 2012 6:43 pm
Forum: PDF-XChange Viewer SDK
Topic: Print without a UI
Replies: 18
Views: 7236

Re: Print without a UI

It looks to me as if you aren't defining the WholePageRect element of "parameters" (type PXV_CommonRenderParameters). While DrawRect can be NULL, I'm pretty sure you need to define WholePageRect.
by Walter-Tracker Supp
Thu Jun 28, 2012 5:30 pm
Forum: PDF-XChange Viewer SDK
Topic: Print without a UI
Replies: 18
Views: 7236

Re: Print without a UI

What is it that returns Invalid Argument?

Have you debugged to confirm that the correct printer name is being returned by the printer dialog?

Can you use one of the MS printer dialog classes to return the printer's HDC directly?
by Walter-Tracker Supp
Tue Jun 26, 2012 9:00 pm
Forum: PDF-X OCR SDK
Topic: Can I keep the PDF open during OCR?
Replies: 7
Views: 4701

Re: Can I keep the PDF open during OCR?

Glad you've found a working solution.

-Walter
by Walter-Tracker Supp
Mon Jun 25, 2012 8:37 pm
Forum: PDF-X OCR SDK
Topic: octrools DLL location?
Replies: 3
Views: 2679

Re: octrools DLL location?

I am trying to use the new OCR functionality and obtained the Live version of the ocrtools.dll. If I place this DLL in the same folder as my application and I try to do the OCR_INT, I get an error telling me the DLL cannot be found. It seems that I need to place it in the Windows\System32 folder. T...
by Walter-Tracker Supp
Wed Jun 06, 2012 7:55 pm
Forum: PDF-XChange Viewer SDK
Topic: Textextraction for attachments?
Replies: 3
Views: 1779

Re: Textextraction for attachments?

To extract text you will need to use the PDF Tools SDK or ActiveX Viewer. See section "Text Extraction" in the PDF Tools SDK manual. In the ActiveX viewer, use the methods "GetAllText" and "GetAllSelectedText". See Section 3.7 of the ActiveX manual titled "How to E...
by Walter-Tracker Supp
Tue Jun 05, 2012 9:05 pm
Forum: PDF-XChange Viewer SDK
Topic: How to known if PDFXChange showing the end of the last page
Replies: 7
Views: 2695

Re: How to known if PDFXChange showing the end of the last p

You would need to get the scroll bar position, but unfortunately there is no way to do this with the current version. It will be in version 3. In the meantime you could write a solution using the Simple Viewer DLL, but you have to handle most of the viewing-related features that are provided by the ...
by Walter-Tracker Supp
Tue Jun 05, 2012 8:56 pm
Forum: PDF-XChange Viewer (End Users)
Topic: Override Document Colors - Issue Scanned PDF
Replies: 13
Views: 3780

Re: Override Document Colors - Issue Scanned PDF

Walter! You are hero! I really wish you succeed with your OCR solution. Cause the flexibility and quality of your PDF reader is huuuge! Yep, if i may give a insight as a user - inverting colors gives similar results, meaning sharpness on the eyes, only vice versa. But every option is ok, some users...
by Walter-Tracker Supp
Tue Jun 05, 2012 6:18 pm
Forum: PDF-XChange Viewer SDK
Topic: How to known if PDFXChange showing the end of the last page
Replies: 7
Views: 2695

Re: How to known if PDFXChange showing the end of the last p

You must create a keyboard event handler in your application that intercepts page down events, and if you are on the last page, post a user defined message to the message queue. You must not call ActiveX methods from the keyboard handler itself. Then in your event handler for your user-defined next ...
by Walter-Tracker Supp
Tue Jun 05, 2012 4:12 pm
Forum: PDF-XChange Viewer (End Users)
Topic: Override Document Colors - Issue Scanned PDF
Replies: 13
Views: 3780

Re: Override Document Colors - Issue Scanned PDF

Hi Walter! Huge THANK YOU! What a brilliant explanation. I think many other users will now understand better this issue with scanned PDF. Problem with OCR is precision. Its fine with 1 or 2 page docs, still not suitable for book scans. Not even ABBYY. Thats why i like clearscan which doesnt make a ...
by Walter-Tracker Supp
Tue Jun 05, 2012 12:27 am
Forum: PDF-XChange Viewer (End Users)
Topic: V.3 - long time no hear
Replies: 55
Views: 18198

Re: V.3 - long time no hear

To the developers I will consider all angst caused from the continual delays forgiven if you just ensure one feature is in the viewer when its complete - split screen viewing - so like in Microsoft Word - you can view two parts of a pdf document at the same time on the same screen in the same windo...
by Walter-Tracker Supp
Tue Jun 05, 2012 12:09 am
Forum: PDF-XChange Viewer (End Users)
Topic: Override Document Colors - Issue Scanned PDF
Replies: 13
Views: 3780

Re: Override Document Colors - Issue Scanned PDF

I think it might help to explain how scanned pages are represented in a PDF. Think of a PDF document as something like a real-world bound paper photo album. Each page starts out blank, but you can glue pictures in place (images), and you can write notes (text), and paste in various other things. The...
by Walter-Tracker Supp
Mon Jun 04, 2012 10:20 pm
Forum: PDF-X OCR SDK
Topic: How to save OCRed PDFs keeping unchanged background images?
Replies: 3
Views: 3751

Re: How to save OCRed PDFs keeping unchanged background imag

Yes, for this version of the SDK we do not have any output image options that would let you output the same image content as input. To merge pages, load the output PDF (with just invisible text, no images) and the source PDF (with just images) using the pro SDK DLL XCPRO40, then merge pages with the...
by Walter-Tracker Supp
Thu May 31, 2012 4:56 pm
Forum: PDF-XChange Viewer (End Users)
Topic: V.3 - long time no hear
Replies: 55
Views: 18198

Re: V.3 - long time no hear

I hope John does not mind that I am weighing in here, but I agree the decision to delay further was the right one. We could release an end-user version with some enhanced features over the previous viewer already (and the UI is really nice with some often-requested features working well), but we are...
by Walter-Tracker Supp
Thu May 31, 2012 4:33 pm
Forum: PDF-XChange Viewer SDK
Topic: Use activex viewer like simple viewer dll
Replies: 4
Views: 2072

Re: Use activex viewer like simple viewer dll

Just a little bit more detail: UI items have an attribute called "Visible" that you can set, with something similar to the following command: SetProperty("View.Bars["File"].Visible", DataIn("False"), 0); See DlgView.cpp method CdlgView::OnLvnItemchangedList() ...
by Walter-Tracker Supp
Thu May 31, 2012 4:08 pm
Forum: PDF-XChange Viewer SDK
Topic: Use activex viewer like simple viewer dll
Replies: 4
Views: 2072

Re: Use activex viewer like simple viewer dll

Ist ist possible to use the rendering of the activex viewer like the simple viewer dll, which means display only one page of the doument, navigate with the scrollbar only in the current page, set the origin of the page to the top, left corner of the window and navigate through the pages using a met...