bug-ghostscript
[Top][All Lists]
Advanced

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

Re: GS 7.05 / PDF & pages count


From: Russell Lang
Subject: Re: GS 7.05 / PDF & pages count
Date: Wed, 24 Jul 2002 21:58:14 GMT

"Pascal Chapuis" <address@hidden> wrote in message
news:address@hidden
> Hi,
>
> I'm using GS with delphi to convert PS to PDF with gsapi_init_with_args
> fonction.
> I was wondering how to get the pages count with GS 7.05 and if it's really
> "realistic".
>
> Does PDF GetNumPages is always the same after translating PS to PDF ?

If you have PostScript, the only reliable way to count pages is to
interpret it. If you have PDF, the number of pages is given in the
Pages object.  When you convert PS to PDF, the number of
pages shouldn't change (assuming you told it to convert all pages).






reply via email to

[Prev in Thread] Current Thread [Next in Thread]