home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cis.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!ucbvax!DREW.DREW.EDU!DCOSTA
- From: DCOSTA@DREW.DREW.EDU (dave)
- Newsgroups: comp.os.vms
- Subject: Printing last page of file
- Message-ID: <01GMVWV0K900000OZ9@drew.drew.edu>
- Date: 28 Jul 92 01:27:00 GMT
- Sender: daemon@ucbvax.BERKELEY.EDU
- Distribution: world
- Organization: The Internet
- Lines: 29
-
- Tried to send this direct, but it bounced.
- ------------
-
- Addressee: j_rusterholz@eis_john.nijmeg.ingr.com
-
- > 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!
-
- The PRINT command has a /PAGES qualifier. For instance,
- PRINT/PAGES=(3) would print the first three pages, while
- PRINT/PAGES=(3,6) would print pages 3 through 6, and
- PRINT/PAGES=(3,"") would print from page 3 up to the end.
- So all you have to do is figure out how large a page is on your
- printer and from this estimate which page you want to start at.
- Also, try something like PRINT/PAGES=(""-1,"") -- that's just a guess,
- but it might work.
-
- ---
-
- dave costa
- dcosta@drunivac.drew.edu
- dcosta@drunivac.bitnet
-
-
-