Article View: comp.lang.postscript
Article #2673Re: PostScript page counter?
From: Saumen K Dutta
Date: Tue, 31 Jul 1990 08:02
Date: Tue, 31 Jul 1990 08:02
54 lines
2064 bytes
2064 bytes
in Article <226@heaven.woodside.ca.us> glenn@heaven.woodside.ca.us
(Glenn Reid) writes:
>
>In five years of looking at PostScript files I have never seen a control-L
>character embedded in a file, nor should they be. What application or
>system do you use such that a ^L is "usually used for pagebreak," out
>of curiosity?
>
>I can't say I'd recommend that technique, although I guess it can't hurt
>to look for ^L.
>
Well, I saw them in some of the postscript outputs from dvips
translator. It was just at the place where you expect it to
be! I am not very sure whether it was inherited from the
dvi file which was translated to the postscript file. Anyway
I am enclosing here some part of the file for your info.
%!
%%Dimensions: 0 0 612 792
%%Title: dvips test
%%CreationDate: Tue Jul 31 01:48:38 1990
%%Creator: skdutta and [TeX82 DVI Translator Version 2.10b for
PostScri-
%-pt [Apple LaserWriter laser printer]
%%Pages: (atend)
%%BugHistory: Incorporates Allan Hetzel's 31-Oct-85 DARPA LASER-LOVERS
-
%-PS Version 23.0 X-on/X-off bug workaround
%%EndComments
%%EndProlog
.......
......
^L%%Page: 2 2
.......
.....
^L%%Page: 3 3
......
....
etc.
The ^L has been retyped as caret-L just to avoid pagebreak in
this :->
--
_ ||Internet: skdutta@cssun.tamu.edu
( /_ _ / --/-/- _ ||Bitnet : skd8107@tamvenus.bitnet
__)_/(_____(_/_(_/_(_(__(_/_______ ||Uucp : uunet!cssun.tamu.edu!skdutta
.. ||Yellnet: (409) 846-8803
Technical Details
Message-ID:
<7004@helios.TAMU.EDU>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!helios!skduttaReferences:
<1990Jul30.181713.29483@phri.nyu.edu> <6988@helios.TAMU.EDU> <226@heaven.woodside.ca.us>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!helios!skdutta From: skdutta@cs.tamu.edu (Saumen K Dutta) Newsgroups: comp.lang.postscript Subject: Re: PostScript page counter? Message-ID: <7004@helios.TAMU.EDU> Date: 31 Jul 90 08:02:25 GMT References: <1990Jul30.181713.29483@phri.nyu.edu> <6988@helios.TAMU.EDU> <226@heaven.woodside.ca.us> Sender: usenet@helios.TAMU.EDU Organization: Computer Science Department, Texas A&M University Lines: 54