🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.soft-sys.andrew
Article #1318

Re: Printers

#1318
From: Garrett.Wollman
Date: Tue, 10 Nov 1992 18:37
23 lines
1507 bytes
<<On Tue, 10 Nov 1992 07:44:55 -0600 (CST), Todd Inglett <tinglett+@rchland.ibm.com> said:

> I think a class similar to graphic (subclass of graphic) to render
> postscript would result in the biggest short term win. 

This should actually be a fairly quick hack, if you are willing to
depend on ghostscript.  Just create a pixmap or window on the X
server, and set the enviornment variable GHOSTVIEW to be either the
window ID, or the window ID and the pixmap ID.  Then fire up
ghostscript with the PostScript code as standard input, and away we
go.

There's actually a bit more to it than that, but that's the basic
idea.  This is documented in ghostview-1.4/gs.interface, for anyone
interested in actually doing it.

-GAWollman

--
Garrett A. Wollman   | Shashish is simple, it's discreet, it's brief. ... 
wollman@emba.uvm.edu | Shashish is the bonding of hearts in spite of distance.
uvm-gen!wollman      | It is a bond more powerful than absence.  We like people
UVM disagrees.       | who like Shashish.  - Claude McKenzie + Florent Vollant
Technical Details
Message-ID: <9211101837.AA28808@sadye.emba.uvm.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!know!mips2!cass.ma02.bull.com!think.com!ames!sun-barr!cs.utexas.edu!uwm.edu!linac!att!ucbvax!UVM.EDU!Garrett.Wollman
References: <oezvnL491JbdNRlXsK@rchland.ibm.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!know!mips2!cass.ma02.bull.com!think.com!ames!sun-barr!cs.utexas.edu!uwm.edu!linac!att!ucbvax!UVM.EDU!Garrett.Wollman
From: Garrett.Wollman@UVM.EDU
Newsgroups: comp.soft-sys.andrew
Subject: Re: Printers
Message-ID: <9211101837.AA28808@sadye.emba.uvm.edu>
Date: 10 Nov 92 18:37:49 GMT
References: <oezvnL491JbdNRlXsK@rchland.ibm.com>
Sender: daemon@ucbvax.BERKELEY.EDU
Organization: The Internet
Lines: 23