home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / softsys / andrew / 1343 < prev    next >
Encoding:
Internet Message Format  |  1992-11-10  |  2.3 KB

  1. Path: sparky!uunet!think.com!ames!agate!ucbvax!ANDREW.CMU.EDU!rr2b+
  2. From: rr2b+@ANDREW.CMU.EDU (Robert Andrew Ryan)
  3. Newsgroups: comp.soft-sys.andrew
  4. Subject: Re: Printers
  5. Message-ID: <Uf00jP600Woi15G11A@andrew.cmu.edu>
  6. Date: 10 Nov 92 19:22:03 GMT
  7. References: <9211101837.AA28808@sadye.emba.uvm.edu>
  8. Sender: daemon@ucbvax.BERKELEY.EDU
  9. Distribution: world
  10. Organization: The Internet
  11. Lines: 44
  12.  
  13. Excerpts from internet.other.info-andrew: 10-Nov-92 Re: Printers
  14. Garrett.Wollman@UVM.EDU (1049)
  15.  
  16. > <<On Tue, 10 Nov 1992 07:44:55 -0600 (CST), Todd Inglett
  17. > <tinglett+@rchland.ibm.com> said:
  18.  
  19. > > I think a class similar to graphic (subclass of graphic) to render
  20. > > postscript would result in the biggest short term win. 
  21.  
  22. > This should actually be a fairly quick hack, if you are willing to
  23. depend on ghostscript.
  24.  
  25. I think you've slightly misunderstood the proposal (though what you say
  26. is correct given the misunderstanding.)
  27.  
  28. I believe the concept Todd Inglett is speaking of is that there be
  29. another subclass of graphic (and probably view) which would allow any
  30. existing ATK view to be printed simply by inserting it under a special
  31. view, and requesting a full update.  The result of which would be a
  32. batch of postscript for drawing the view.  This will probably be part of
  33. the system if we do go through with direct postscript printing.
  34.  
  35. Excerpts from internet.other.info-andrew: 10-Nov-92 Re: Printers
  36. Garrett.Wollman@UVM.EDU (1049)
  37.  
  38. > Just create a pixmap or window on the X server, and set the enviornment
  39. > variable GHOSTVIEW to be either the window ID, or the window ID and the
  40. > pixmap ID.  Then fire up ghostscript with the PostScript code as
  41. > standard input, and away we go.
  42.  
  43. I actually had the quick hack done once, unfortunately I was not
  44. satisfied with the requirement that I have one gs process per ps inset
  45. (also the ability to tell gs what area of the window to use would be a
  46. big help).  I've been meaning to send the Ghostscript folks my wish list
  47. for awhile now...  (Another approach would be to have gs use it's
  48. backing pixmap, and never map it's window..., then just xcopyare from
  49. it's pixmap onto the view.)  Unfortunately all of this violates the
  50. concept of window system independence.  (It could be preserved if we
  51. used the pbm device, but that would mean putting the images out over the
  52. wire to the X or WM server.)
  53.  
  54. -Rob
  55.  
  56.  
  57.