home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / vms / 12829 < prev    next >
Encoding:
Internet Message Format  |  1992-07-27  |  1.3 KB

  1. Path: sparky!uunet!cis.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!ucbvax!DREW.DREW.EDU!DCOSTA
  2. From: DCOSTA@DREW.DREW.EDU (dave)
  3. Newsgroups: comp.os.vms
  4. Subject: Printing last page of file
  5. Message-ID: <01GMVWV0K900000OZ9@drew.drew.edu>
  6. Date: 28 Jul 92 01:27:00 GMT
  7. Sender: daemon@ucbvax.BERKELEY.EDU
  8. Distribution: world
  9. Organization: The Internet
  10. Lines: 29
  11.  
  12. Tried to send this direct, but it bounced.
  13. ------------
  14.  
  15. Addressee: j_rusterholz@eis_john.nijmeg.ingr.com
  16.  
  17. >    On several occasions I need to print out the last page of a
  18. >    very large report. To date I use the EDT+ editor to move to
  19. >    the last page (pf1+4) and select the lines I want to a temporary
  20. >    file. Then the file is submitted to the printer queue.
  21. >    This works fine, but I'm almost sure that there is a more
  22. >    sophisticated way of getting the last page printed!
  23.  
  24. The PRINT command has a /PAGES qualifier.  For instance,
  25. PRINT/PAGES=(3) would print the first three pages, while 
  26. PRINT/PAGES=(3,6) would print pages 3 through 6, and 
  27. PRINT/PAGES=(3,"") would print from page 3 up to the end.
  28. So all you have to do is figure out how large a page is on your 
  29. printer and from this estimate which page you want to start at.  
  30. Also, try something like PRINT/PAGES=(""-1,"") -- that's just a guess, 
  31. but it might work.
  32.  
  33. ---
  34.  
  35. dave costa
  36. dcosta@drunivac.drew.edu
  37. dcosta@drunivac.bitnet
  38.  
  39.  
  40.