bug-ocrad
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-ocrad] Reg OCRAD usage


From: Antonio Diaz Diaz
Subject: Re: [Bug-ocrad] Reg OCRAD usage
Date: Wed, 18 Aug 2010 15:36:43 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.7.11) Gecko/20050905

Hello,

Gobalakrishnan wrote:
When I execute the below command I'm able to output to the stdout.
gs -sPAPERSIZE=letter -sDEVICE=pnmraw -r300 -dNOPAUSE -dBATCH
-sOutputFile=- -q sample1.pdf | ocrad

I want the output to be stored in a text file. When I issue the below
command I'm getting an error. gs -sPAPERSIZE=letter -sDEVICE=pnmraw -r300 -dNOPAUSE -dBATCH
-sOutputFile=sample.txt -q sample1.pdf | ocrad

You are changing the output file of gs, not of ocrad. Try this:

gs -sPAPERSIZE=letter -sDEVICE=pnmraw -r300 -dNOPAUSE -dBATCH -sOutputFile=- -q sample1.pdf | ocrad -o sample.txt


Regards,
Antonio.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]