🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #4537

SparcPrinter, Problem Solved

#4537
From: Rui-Tao Dong
Date: Thu, 24 Jan 1991 18:29
56 lines
2466 bytes
	Thanks to rberlin@birdlandEng.Sun.COM (Rich Berlin), I'm able to
print at 400 dpi on our SparcPrinter now. The trick is to inject the
following PostScript code into the psfile you are going to print.
=======================================================================
%@(#)resolution400.ps	1.4	10/15/90
/SetResolution {
	/setres where {
		/setres get exec
	}{
		pop
	} ifelse
} def

%%BeginFeature *SetResolution 400
400 SetResolution
%% EndFeature
=======================================================================

	I have a solution for TeX and dvips users. Suppose your
SparcPrinter is also called "Goudy" as we do. Put the above ps code into a
file named "resolution400.ps" and place it in the directory where dvips
finds its header file tex.pro. Copy config.ps into config.Goudy and add the
folllowing lines to it. 

=======================================================================
*	This is a comment line.
*
*	set default resolution
*
D 400
*
*	include the file "resolution400.ps"
*
h resolution400.ps
*
*	send it to Goudy and suppress printing the bursting page
*
o !lpr -PGoudy -h
*
*
=======================================================================

	When you need to print a dvi file at 400 dpi, all you need to do is
to type dvips -PGoudy file.dvi and then go to the Printer Goudy to pick up
the pages. 

	Make sure that you have the 400 dpi pk fonts (unless you are using
ps fonts), or you have MakeTeXPK installed correctly.

Regards,

-------------------------------------------------------------------------
	Rui - Tao  Dong         |       (415) 237 - 7628 (H)
	110 Lakeshore Court     |       (415) 643 - 6048 (O)
	Richmond, CA 94804      |       rdong@borel.msri.org
Technical Details
Message-ID: <9101241829.AA21410@msri.org>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!usc!zaphod.mps.ohio-state.edu!swrinde!ucsd!ucbvax!MSRI.ORG!rdong
References: <9101222213.AA17502@msri.org> <6470@exodus.Eng.Sun.COM> <1991Jan23.184848.16269@cs.ubc.ca>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!usc!zaphod.mps.ohio-state.edu!swrinde!ucsd!ucbvax!MSRI.ORG!rdong
From: rdong@MSRI.ORG (Rui-Tao Dong)
Newsgroups: comp.lang.postscript
Subject: SparcPrinter, Problem Solved
Keywords: PostScript SparcPrinter TeX
Message-ID: <9101241829.AA21410@msri.org>
Date: 24 Jan 91 18:29:41 GMT
References: <9101222213.AA17502@msri.org> <6470@exodus.Eng.Sun.COM> <1991Jan23.184848.16269@cs.ubc.ca>
Sender: daemon@ucbvax.BERKELEY.EDU
Reply-To: rdong.\6\-\H\p\L\N@boole.msri.org.\6\-\H\p\L\N (Rui-Tao Dong \6\-\H\p\L\N)
Organization: Mathematical Sciences Research Institute
Lines: 56