pdfinfo and other apps in the `utils` directory use the standard convention
of passing "-" as the filename to instruct it to read from STDIN.

for example:

  # pdfinfo - < Desktop/servlet-30.pdf

Alternatively you can use "fd://0" (replacing 0 with whichever FD you want
to read from)

On 20 May 2011 11:54, Stefano Emilio Campanini <
[email protected]> wrote:

> Hi
>
> I'm using poppler from a while, I find it of high quality and very
> performant also on big files, in particular the tools pdftoppm and
> pdfinfo.
>
> The question: seems to be not possible having pdfinfo tool reading the
> file from the standard input, is it true ? Or I have missed something
> ?
>
> stefano@tinvention-notebook-asus:~$ pdfinfo < Desktop/servlet-30.pdf
> pdfinfo version 0.12.4
> Copyright 2005-2009 The Poppler Developers -
> http://poppler.freedesktop.org
> Copyright 1996-2004 Glyph & Cog, LLC
> Usage: pdfinfo [options] <PDF-file>
>  -f <int>         : first page to convert
>  -l <int>         : last page to convert
>  -box             : print the page bounding boxes
>
> stefano@tinvention-notebook-asus:~$ pdfinfo Desktop/servlet-30.pdf
> Creator:        cairo 1.7.4 (http://cairographics.org)
> Producer:       cairo 1.7.4 (http://cairographics.org)
> Tagged:         no
>
>
> Another question, the pdfinfo help report the "-f" and "- l"
> parameters saying "first page to convert" , does pdfinfo convert pages
> ? Is it a mistake ?
>
> Thanks in advance for the help.
> Stefano
>
> --
> Tinvention - Ingegneria Informatica -
> http://tinvention.net/
> ing. Stefano E. Campanini
> _______________________________________________
> poppler mailing list
> [email protected]
> http://lists.freedesktop.org/mailman/listinfo/poppler
>
_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to