Hylafax Mailing List Archives

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

Re: Page numbering?



> 
> How does Hylafax determine the number of pages in a ps document?
> 

>From the Postscript DSC (Document Structure Comments) Page and Pages
lines.  First choice is the sum of the figures in the Pages lines
(not sure if it sums as a lazy way of dealing with %%Pages: at end,
or to allow multiple files to be concatenated).  Second choice is the
total number of %%Page lines.

This is how most Postscript utilities determine page counts and/or
split files in to individual pages without needing to interpret the
complete file.

NB Microsoft print drivers don't necessarily produce fully valid DSCs
by default, although they do seem to produce Page and Pages.




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