home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cis.ohio-state.edu!ucbvax!CCMAIL.SUNYSB.EDU!SMANTHANI
- From: SMANTHANI@CCMAIL.SUNYSB.EDU (Satyanarayana Manthani)
- Newsgroups: comp.os.vms
- Subject: Re: Last page of *.txt
- Message-ID: <01GMY13HIPJQATK60Y@ccmail.sunysb.edu>
- Date: 29 Jul 92 13:07:13 GMT
- Sender: usenet@ucbvax.BERKELEY.EDU
- Organization: State University of New York, Stony Brook
- Lines: 33
-
-
- > On several occasions I need to print out the last page of a
- > very large report. To date I use the EDT+ editor to move to
- > the last page (pf1+4) and select the lines I want to a temporary
- > file. Then the file is submitted to the printer queue.
-
- > This works fine, but I'm almost sure that there is a more
- > sophisticated way of getting the last page printed!
-
- > Any help is greatly appreciated.
-
- > John Rusterholz
-
- > e-mail: j_rusterholz@eis_john.nijmeg.ingr.com
-
- If you know the last page number, you can use print command with the
- qualifiers given below.
-
- $ PRINT/PAGES=(last_page_no,last_page_no + 1) MYFILE.TXT
-
- where last_page_no is the last page number and you have to specify
- a number.
-
- Even if you do not know the exact last page number, still you should
- be able to print a last page of a file with some thing like this.
- Spacify a very large number for the last_page_no. For example if you
- expect the whole print out to be 100 pages, give the following command.
-
- $ PRINT/PAGES=(100000,100001) MYFILE.TXT
-
- Try HELP PRINT/PAGES for more information.
-
-
-