home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.vms
- Path: sparky!uunet!wupost!zaphod.mps.ohio-state.edu!caen!deccrl!news.crl.dec.com!news!nntpd.lkg.dec.com!Nephi.Enet.DEC.Com!coar
- From: coar@Nephi.Enet.DEC.Com (Rodent of Unusual Size)
- Subject: Re: Last page of *.txt
- Message-ID: <1992Jul27.154150.5962@nntpd.lkg.dec.com>
- Summary: Read HELP PRINT /PAGES
- Keywords: VMS, partial printing, ASCII
- Sender: usenet@nntpd.lkg.dec.com (USENET News System)
- Organisation: Employed by (*NOT* speaker for) DEC, Boxborough, MA, U.S.A.
- Organization: Digital Equipment Corp.
- References: <1992Jul27.172029.5183@nijmeg.ingr.com>
- Distribution: comp
- Date: Mon, 27 Jul 1992 16:36:50 GMT
- Lines: 28
-
-
- In article <1992Jul27.172029.5183@nijmeg.ingr.com>, rusterj@nijmeg.ingr.com (John Rusterholz) writes...
- >
- [description of using editor to throw away all but last page deleted]
- >
- > This works fine, but I'm almost sure that there is a more
- > sophisticated way of getting the last page printed!
-
- Well, if you're using an editor, it's probably ASCII text, yes? (As
- opposed to PostScript(tm) or sixel.) You might want to take a look at the
- /PAGES qualifier to the PRINT command, which allows you to print subsets
- of file contents. If you know how many pages there are in your report,
- you can skip right to the last with
-
- $ PRINT /PAGES=(<last-page>,10) <filename>
-
- HTH..
-
- > John Rusterholz
- >
- > e-mail: j_rusterholz@eis_john.nijmeg.ingr.com
-
- #ken :-)} Jeratol the Chaotic
-
- Coar@Nephi.Enet.DEC.Com | All opinions herein contained, stated or implied,
- Coar@DECUS.Org | are solely those of the author. And he's fullovem.
- Coar@Eisner.DECUS.Org | `... it was mine art, ... that made gape the pine
- Massachusetts, USA | and let thee out.' - Prospero (_The Tempest_)
-