Re: Command line tool to display number of pages in a PostScript document?

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



On Mon, Sep 7, 2009 at 3:12 AM, Niki Kovacs<contact@xxxxxxxxxxxxx> wrote:
> Hi,
>
> I'm looking for a way to get the number of pages contained in a
> PostScript document, so I can use it in a script.
>
> Any suggestions?

One quick and dirty method will be to count the word "showpage' that
is not commented out.  But this may not give you an accurate number of
pages (some aliases might be used).

Akemi
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux