🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fj.lang.postscript
Article #768

Re: PS file page count(Summary)

#768
From: itou_maki
Date: Wed, 17 Jan 1996 00:00
28 lines
1361 bytes
伊藤@中部大です。
#元記事投稿者です。

In article <4cu6o2$7nu@sally.isc.chubu.ac.jp>
	ito@titan.isc.chubu.ac.jp writes:
> 伊藤@中部大です。
(略)
> PSファイルのページ数を数えることは簡単に
> できるのでしょうか。
> あるいはそういうソフト等はありますか。
(略)
> 文字端末の時にも使えるものをお願いします。

という投稿に複数の方に教えていただきました。

PSファイルの中に書いてあったんですね。
中を少し調べてみれば良かったです。調査不足でした。

基本的に %%Page(s)という記述があるので

% grep '%%Page' psfile.ps
または
% grep '%%Pages' psfile.ps

でいいということですね。
ありがとうございました。
-----
伊藤@中部大.機械工学専攻.数値空力音響学        ♪70年代フォーク♪
Technical Details
Message-ID: <4dht6l$9lf@sally.isc.chubu.ac.jp>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <4cu6o2$7nu@sally.isc.chubu.ac.jp>

Show Full Headers
Complete Article Headers
X-Google-Language: Japanese,JIS
X-Google-Thread: fa2ca,d5444cc79fd2d03d,start
X-Google-Attributes: gidfa2ca,public
From: trf@isc.chubu.ac.jp (itou_maki)
Subject: Re: PS file page count(Summary)
Date: 1996/01/17
Message-ID: <4dht6l$9lf@sally.isc.chubu.ac.jp>
X-Deja-AN: 135697513
references: <4cu6o2$7nu@sally.isc.chubu.ac.jp>
content-type: text/plain; charset=ISO-2022-JP
organization: Chubu University Information Systems Center
mime-version: 1.0
reply-to: ito@getz.isc.chubu.ac.jp
newsgroups: fj.lang.postscript