[gs-devel] ps2ascii
Gerold Böhler
gerold at reloc.org
Sun Sep 20 12:03:27 PDT 2009
Hi Ray,
thanks for the quick answer, works great.
Kind regards,
Gerold
On Sep 20, 2009, at 7:52 PM, Ray Johnston wrote:
> Hi Gerald,
>
> What you request is easily done. Ghostscript has -dFirstPage=##
> -dLastPage=## command line options for PDF files. These options
> should precede the -c option.
>
> Regards,
> Ray
> _______________________________________________________________
>
> Gerold Böhler wrote:
>> Hi all,
>> i am using the following command line to extract text from a pdf
>> via ghostscript:
>> gs -q -dNODISPLAY -dSAFER -dDELAYBIND -dWRITESYSTEMDICT -dSIMPLE -c
>> save -f ps2ascii.ps file.pdf -c quit
>> i stole this from ps2ascii and i call it from within a ruby script.
>> Everything works fine, i just would like to extract the content of
>> a single page and not the entire document.
>> Is that possible with ghostscript?
>> Thanks and regards,
>> Gerold Böhler
>> --
>> reloc
>> Dipl. Ing. FH Gerold Böhler
>> Zeughausgasse 8
>> A-6800 Feldkirch
>> +43 699 171 96 328
>> gerold at reloc.org
>> http://www.reloc.org
>> _______________________________________________
>> gs-devel mailing list
>> gs-devel at ghostscript.com
>> http://www.ghostscript.com/mailman/listinfo/gs-devel
>
--
reloc
Dipl. Ing. FH Gerold Böhler
Zeughausgasse 8
A-6800 Feldkirch
+43 699 171 96 328
gerold at reloc.org
http://www.reloc.org
More information about the gs-devel
mailing list