home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / database / oracle / 1159 < prev    next >
Encoding:
Text File  |  1992-07-29  |  2.3 KB  |  63 lines

  1. Newsgroups: comp.databases.oracle
  2. Path: sparky!uunet!paladin.american.edu!darwin.sura.net!jvnc.net!yale.edu!yale!gumby!destroyer!ubc-cs!unixg.ubc.ca!unixg.ubc.ca!fragante
  3. From: fragante@unixg.ubc.ca (Gv Fragante)
  4. Subject: Re: (SOLUTION ENCLOSED) Re: SQL*Reportwriter last page eject
  5. Message-ID: <fragante.712433433@unixg.ubc.ca>
  6. Sender: news@unixg.ubc.ca (Usenet News Maintenance)
  7. Nntp-Posting-Host: unixg.ubc.ca
  8. Organization: University of British Columbia, Vancouver, B.C., Canada
  9. References: <fragante.712263892@unixg.ubc.ca> <dewey-270792155628@sebastian.centerline.com> <1992Jul29.132110.21823@homebase.vistachrome.com>
  10. Date: Wed, 29 Jul 1992 18:10:33 GMT
  11. Lines: 50
  12.  
  13. In <1992Jul29.132110.21823@homebase.vistachrome.com> andy@homebase.vistachrome.com (Andy Finkenstadt) writes:
  14.  
  15. >Actually, it is the print spooler that prints that extra blank page
  16. >at the end.  Print to "File" sometime in SRW and you will notice that
  17. >the last character in the file is the form-feed character.  (This only
  18. >applies to ascii print definitions, the postscript definitions
  19. >do not suffer from this problem with the right filter.)  
  20.  
  21. Yes, that's correct. Printing to a "file" will not produce a form feed charac-
  22. ter. Also, you're right that Postscript printers do not exhibit this problem,
  23. but Epson and Laserjet printers do.
  24.  
  25.  
  26. >There are three possible changes that will fix this problem!
  27.  
  28. >One:
  29.  
  30. >    Change the Oracle PRINTDEF.DAT file for your printer definition(s)
  31. >    to include the "fs" option.  To wit:  there is currently a setting
  32. >    for ff=(Control-L) and no fs setting for the ascii printers.  There
  33. >    is an 'fs' for the postscript printers that does "erasepage 
  34. >    initgraphics" which prevents the extra-page problem.  Add an "fs=:"
  35. >    (ie: nothing) to the 'wide' and 'dflt' definitions (if that's all
  36. >    you use).
  37.  
  38. Looks like the most viable method.
  39.  
  40.  
  41. >Three:
  42.  
  43. >    Write a custom filter in your favorite language that removes
  44. >    blank pages at the end of a file.  This is certainly the hardest
  45. >    of any changes.
  46.  
  47. I did something similar, in which the report was written to a file and then
  48. send to the printer. Not an elegant solution, that's why I asked if there was
  49. anything else out there in the net.
  50.  
  51.  
  52. >My permission granted to include this in any materials with proper
  53. >attribution.
  54.  
  55.  
  56. >-Andy
  57. > just an oracle customer
  58.  
  59.  
  60. Thanks.
  61.  
  62. GV
  63.