Article View: comp.lang.postscript
Article #6024Re: Bitmap from NeWS on sparcstation
From: Fabian Hahn
Date: Fri, 17 May 1991 08:52
Date: Fri, 17 May 1991 08:52
27 lines
1545 bytes
1545 bytes
mkn@mace.cc.purdue.edu (Hofer) writes: >Is it possible to get the bitmap produced by the PostScript >interpreter running on a Sparcstation with OpenWindows? Yes, of course. The easy way to do get a bitmap is to preview your file on screen and then screendump it to a rasterfile... ... probably you want to create bitmaps that are larger than your screen. You can still use the the NeWS server to do this. You need to give xnews a PostScript procedure that is executed instead of startup.ps that creates a canvas the size that you need for printing, scales and images the code, and writecanvas'es the bitimage to a file. This is all done without calling startup.ps which starts the server on your console. The PostScript procedure is not hard to write for someone who has some experience with NeWS, finding the option that gets your code executed instead of startup.ps is the tricky part, Sun does not document it and is not very helpful. They do not want you to use their fonts for printing unless you have paid for NeWSPrint. You only need to render graphics w/o text, right? The PostScript interpreter used in NeWSPrint is the standard X11/NeWS server. fabian
Technical Details
Message-ID:
<24832@well.sf.ca.us>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!samsung!olivea!apple!well!fhReferences:
<7421@mace.cc.purdue.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!samsung!olivea!apple!well!fh From: fh@well.sf.ca.us (Fabian Hahn) Newsgroups: comp.lang.postscript Subject: Re: Bitmap from NeWS on sparcstation Message-ID: <24832@well.sf.ca.us> Date: 17 May 91 08:52:24 GMT References: <7421@mace.cc.purdue.edu> Lines: 27