Using PDF OCR Pro in Command Lines

Technical Support for PDF OCR.
Cedric
Posts: 29
Joined: Sun Sep 02, 2012 5:11 pm

Using PDF OCR Pro in Command Lines

Post by Cedric » Thu Jul 21, 2016 9:54 am

Hello everyone,

ORPALIS PDF OCR Professional can be fully automated through command line interface.

Bellow you will find all supported parameters of the latest available version that can be downloaded from http://pdfocr.orpalis.com/download/
Syntax: pdfOCR.exe [parameters]

parameters can be:

/Min (start application with minimized window state)
/P <input folder>
/F <input file(s)> (note: each file path can be separated by the '|' character)
/D <destination folder>
/T <number of threads>
/NS (don't process sub folders)
/L <OCR language code> (for instance "spa" for Spanish, "fra" for French, default is English)

Example 1: process file1.pdf and file2.pdf from the C:\myPdfs\input\ folder using two threads and save them to C:\myPdfs\output\ :
pdfOCR.exe /F "C:\myPdfs\input\file1.pdf|C:\myPdfs\input\file2.pdf" /D "C:\myPdfs\output" /T 2

Example 2: process all files (including sub-folders) available in C:\myPdfs\ using 8 threads:
pdfOCR.exe /P "C:\myPdfs\" /D "C:\myPdfs\" /T 8

Need more example? Do not hesitate to contact our team through http://www.orpalis.com/contact/, we will be glad to assist!

Best Regards,

Cedric

BenMar

Re: Using PDF OCR Pro in Command Lines

Post by BenMar » Fri Sep 16, 2016 12:16 am

Which option to specify the language other than "English"?

Cedric
Posts: 29
Joined: Sun Sep 02, 2012 5:11 pm

Re: Using PDF OCR Pro in Command Lines

Post by Cedric » Fri Sep 16, 2016 12:06 pm

Hi,

Thank you for letting us know that the language selection has been omitted, the development team is on it and this will be fixed in the next release.
I will update this thread once this versions has been published.

EDIT: It is now available since version 1.1.7 and the documentation has been edited accordingly.

Coralie
Posts: 35
Joined: Thu Dec 29, 2016 5:18 pm

Re: Using PDF OCR Pro in Command Lines

Post by Coralie » Thu Jul 13, 2017 4:08 pm

Hi guys,

ORPALIS PDF OCR Professional can be fully automated through command line interface.
Bellow, you will find command line for each language of the latest available version that can be downloaded from http://pdfocr.orpalis.com/download/

Parameter is /L <OCR language code>

Afrikaans: /L afr
            Albanian: /L sqi
            Ancient Greek: /L grc
            Arabic: /L ara
            Azerbaijani: /L aze
            Basque: /L eus
            Belarusian: /L bel
            Bengali: /L ben
            Bulgarian: /L bul
            Catalan: /L cat
            Cherokee: /L chr
            Chinese (Simplified): /L chi_sim
            Chinese (Traditional): /L chi_tra
            Croatian: /L hrv
            Czech: /L ces
            Danish: /L dan
            Danish (Fraktur): /L dan-frak
            Dutch: /L nld
            English: /L eng
            Esperanto: /L epo
            Estonian: /L est
            Finnish: /L fin
            Frankish: /L frk
            French: /L fra
            Galician: /L glg
            German : /L deu
            German (Fraktur) : /L deu-frak
            Greek: /L ell
            Hebrew: /L heb
            Hindi: /L hin
            Hungarian: /L hun
            Icelandic: /L isl
            Indonesian: /L ind
            Italian: /L ita
            Italian (Old) : /L ita_old
            Japanese: /L jpn
            Kannada: /L kan
            Korean: /L kor
            Latvian: /L lav
            Lithuanian: /L lit
            Macedonian: /L mkd
            Malay: /L msa
            Malayalam : /L mal
            Maltese: /L mlt
            Middle English (1100-1500) : /L enm
            Middle French (1400-1600) : /L frm
            Norwegian: /L nor
            Polish: /L pol
            Portuguese: /L por
            Romanian: /L ron
            Russian: /L rus
            Serbian (Latin) : /L srp
            Slovakian: /L slk
            Slovakian (Fraktur) : /L slk-frak
            Slovenian: /L slv
            Spanish: /L spa
            Spanish (Old) : /L spa_old
            Swahili: /L swa
            Swedish: /L swe
            Tagalog: /L tgl
            Tamil: /L tam
            Telugu: /L tel
            Thai: /L tha
            Turkish: /L tur
            Ukrainian: /L ukr
            Vietnamese: /L vie

Do not hesitate to contact our team through http://www.orpalis.com/contact/, we will be glad to assist!

Best Regards,

Coralie

REMY

Re: Using PDF OCR Pro in Command Lines

Post by REMY » Wed Aug 02, 2017 7:07 am

In the commande line - Is it possible to remove the pdf file from the input directory after the ocr process has convert the pdf and send the new file to the output directory ?

Many thanks.
Remy

Coralie
Posts: 35
Joined: Thu Dec 29, 2016 5:18 pm

Re: Using PDF OCR Pro in Command Lines

Post by Coralie » Thu Aug 03, 2017 3:24 pm

Hi Remy,
It could be an interesting option, we take good note.
I have transferred your queries to the development team so they can look if its something we can implement quickly or not.
I will let you know.

Thank you

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests