Thanks to everyone for the suggestions.
It appears that I can't determine the number of pages that postscript
will consume without printing. I will have to settle for getting this
information after printing.
Thanks.
--
David
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as t
This could do it:
grep -c %%Page: file.ps
Cheers,
Dominic.
> "hk" == Hidong Kim <[EMAIL PROTECTED]> writes:
hk> David Taylor wrote:
>>
>> I'm wondering, is there a tool available for determining the number of
>> pages that a postscript file would consume without actually printing it?
>
On 05-Jan-00 David Taylor opined:
> "Rick L. Mantooth" wrote:
>>
>> mpage -o PostScript.ps_file | tail -1
>
> But doesn't this try to print to the default printer? I don't want to
> print. I just want to determine how many pages the postscript file
> would consume *if* it was printed.
>
> Th
"Rick L. Mantooth" wrote:
>
> mpage -o PostScript.ps_file | tail -1
But doesn't this try to print to the default printer? I don't want to
print. I just want to determine how many pages the postscript file
would consume *if* it was printed.
Thanks anyway.
David.
> On Wed, 5 Jan 2000, David T
>Could you count the number of "showpage" commands in the document?
>Hidong
Nope. Most Postcript files are written in such a way that the showpage is
part of a user defined procedure, i.e., it only appears once in the file.
MB
--
e-mail: [EMAIL PROTECTED]
Bart: Hey, why is it destroying ot
Caution, Long Shot:
mpage -o PostScript.ps_file | tail -1
ie:
(/)thebeast@rickdman# mpage -o /usr/doc/gawk-3.0.4/awkcard.ps | tail -1
%%Pages: 3
Told you it was a long shot... ;-)
Have fun,
--
Rick L. Mantooth
[EMAIL PROTECTED]
According to my calculations the problem doesn't exist.
On Wed, 5
>I'm wondering, is there a tool available for determining the number of
>pages that a postscript file would consume without actually printing it?
>David
This question, or ones like it, never seem to go away :-)
PostScript files cannot be checked to determine, with 100% accuracy, the
number of pa
David Taylor wrote:
>
> I'm wondering, is there a tool available for determining the number of
> pages that a postscript file would consume without actually printing it?
>
> TIA.
>
> --
> David
>
> --
> To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
> as the Subject.
Could you cou
I'm wondering, is there a tool available for determining the number of
pages that a postscript file would consume without actually printing it?
TIA.
--
David
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.