🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #8047

Re: Printing color sun screen dumps on a postscript printer

#8047
From: Paul O'Neill
Date: Sun, 26 Feb 1989 06:55
38 lines
1750 bytes
In article <5987@sdcsvax.UCSD.Edu> hidley@odin.ucsd.edu (Greg Hidley) writes:
>
>We here at UC San Diego have been very unsuccessful at being able to 
>provide support for printing (on postscript printers) screendumps from 
>color sun displays. We use the commands:
>
>	screendump | rastfilter8to1 | rast2ps | lpr
>    OR
>	screendump | rastfilter8to1 | pssun | lpr
>

Aaargh.  Don't dither the image with rastfilter8to1 and only send 1-bit data
to the postscript printer.  Send the printer 8-bit data and let it do the
dithering.

Use psraster (anonymous ftp from titan.rice.edu: /sun-source).
However psraster has a bug in that it does not reclaim it's VM and will
run out for large images.  Apply this diff:

yourhost% diff psraster.c.orig psraster.c
194c194
<        fprintf( outfile, "{GetImageRow} image\n");
---
>        fprintf( outfile, "{restore save GetImageRow}  save 6 1 roll image\n");

screendump | psraster | lpr

Even sexier is: dumpregion | psraster | lpr

dumpregion is also available from titan.rice.edu.

Good luck,


Paul O'Neill                 pvo@oce.orst.edu
Coastal Imaging Lab
OSU--Oceanography
Corvallis, OR  97331         503-754-3251
Technical Details
Message-ID: <9094@orstcs.CS.ORST.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!rutgers!orstcs!neptune!pvo1478
References: <5987@sdcsvax.UCSD.Edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!rutgers!orstcs!neptune!pvo1478
From: pvo1478@neptune.uucp (Paul O'Neill)
Newsgroups: comp.lang.postscript
Subject: Re: Printing color sun screen dumps on a postscript printer
Summary: psraster
Message-ID: <9094@orstcs.CS.ORST.EDU>
Date: 26 Feb 89 06:55:53 GMT
References: <5987@sdcsvax.UCSD.Edu>
Sender: usenet@orstcs.CS.ORST.EDU
Reply-To: pvo1478@oce.orst.edu (Paul O'Neill)
Organization: College of Oceanography, Oregon State Univ., Corvallis, Or.
Lines: 38