Hylafax Mailing List Archives

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

Re: [hylafax-users] How to get page count for faxcover?



Joe wrote:

> Does anyone know a method to count the number of pages
> in a tiff or a pdf so that it can be passed to faxcover?

Maybe you can use something like
identify $YOURFILE | wc -l

identify is a tool to gather informations about images.
For tiffs, pdfs and other multipage formats, it prints a line for each page.
It is part of the ImageMagick suite:
http://www.imagemagick.org/script/index.php



____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*



Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services