[poppler] pdfinfo can read from the standard input ?
harry at midnight-labs.org
Fri May 20 04:43:36 PDT 2011
pdfinfo and other apps in the `utils` directory use the standard convention
of passing "-" as the filename to instruct it to read from STDIN.
# 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 <
stefano.campanini at tinvention.net> wrote:
> 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
> 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 at tinvention-notebook-asus:~$ pdfinfo < Desktop/servlet-30.pdf
> pdfinfo version 0.12.4
> Copyright 2005-2009 The Poppler Developers -
> 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 at 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.
> Tinvention - Ingegneria Informatica -
> ing. Stefano E. Campanini
> poppler mailing list
> poppler at lists.freedesktop.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the poppler