pdfinfo and other apps in the `utils` directory use the standard convention of passing "-" as the filename to instruct it to read from STDIN.<div><br></div><div>for example:</div><div><br></div><div> # pdfinfo - < Desktop/servlet-30.pdf</div>
<div><br></div><div>Alternatively you can use "fd://0" (replacing 0 with whichever FD you want to read from)<br><br><div class="gmail_quote">On 20 May 2011 11:54, Stefano Emilio Campanini <span dir="ltr"><<a href="mailto:stefano.campanini@tinvention.net">stefano.campanini@tinvention.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi<br>
<br>
I'm using poppler from a while, I find it of high quality and very<br>
performant also on big files, in particular the tools pdftoppm and<br>
pdfinfo.<br>
<br>
The question: seems to be not possible having pdfinfo tool reading the<br>
file from the standard input, is it true ? Or I have missed something<br>
?<br>
<br>
stefano@tinvention-notebook-asus:~$ pdfinfo < Desktop/servlet-30.pdf<br>
pdfinfo version 0.12.4<br>
Copyright 2005-2009 The Poppler Developers - <a href="http://poppler.freedesktop.org" target="_blank">http://poppler.freedesktop.org</a><br>
Copyright 1996-2004 Glyph & Cog, LLC<br>
Usage: pdfinfo [options] <PDF-file><br>
-f <int> : first page to convert<br>
-l <int> : last page to convert<br>
-box : print the page bounding boxes<br>
<br>
stefano@tinvention-notebook-asus:~$ pdfinfo Desktop/servlet-30.pdf<br>
Creator: cairo 1.7.4 (<a href="http://cairographics.org" target="_blank">http://cairographics.org</a>)<br>
Producer: cairo 1.7.4 (<a href="http://cairographics.org" target="_blank">http://cairographics.org</a>)<br>
Tagged: no<br>
<br>
<br>
Another question, the pdfinfo help report the "-f" and "- l"<br>
parameters saying "first page to convert" , does pdfinfo convert pages<br>
? Is it a mistake ?<br>
<br>
Thanks in advance for the help.<br>
Stefano<br>
<font color="#888888"><br>
--<br>
Tinvention - Ingegneria Informatica -<br>
<a href="http://tinvention.net/" target="_blank">http://tinvention.net/</a><br>
ing. Stefano E. Campanini<br>
_______________________________________________<br>
poppler mailing list<br>
<a href="mailto:poppler@lists.freedesktop.org">poppler@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/poppler" target="_blank">http://lists.freedesktop.org/mailman/listinfo/poppler</a><br>
</font></blockquote></div><br></div>