🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #5336

Re: Anybody got some *complicated* PostScript files?

#5336
From: cnbr17
Date: Fri, 12 Apr 1991 15:22
64 lines
3082 bytes
In article <119@nanovx.UUCP>, kaz@nanovx.UUCP (Mike Kazmierczak) writes:
> In article <3692@ux.acs.umn.edu> edh@ux.acs.umn.edu (Merlinus Ambrosius) writes:
>>Hi, we are going to be taking a new Kodak high-speed postscript printer for
>>a test drive soon, and I'd like to get my hands on the "toughest" postscript
>>programs out there to test it with.  I would have to make sure they do in 
>>fact work on Apple LaserWriters first.  If you have anything to pass me
> 
> 
> 
> /Times-Roman findfont 35 scalefont setfont
> 0 0 moveto (Hello) show
> /Times-Roman findfont 150 scalefont setfont
> newpath 80 220 moveto (Hello) false charpath clip
> /inch {72 mul} def
> /circle { 0 setlinewidth newpath 0 360 arc stroke} def
> /spiro {
> 	/ncircles exch def
> 	ncircles {
> 		80 0 65 circle
> 		360 ncircles div rotate
> 		} repeat
> 	} def
> /drawx { 3 3 rmoveto -6 -6 rlineto
> 	0 6 rmoveto 6 -6 rlineto stroke} def
> 0 setlinewidth
> 4 inch 3 inch translate
> 90 spiro
> 2 inch 1 inch translate
> 200 spiro
> -3 inch 0 inch translate
> 150 spiro
> grestore
> showpage
> 
> Try this one...
> Mike Kazmierczak
> X Systems
> Mail replies to: mike%beow.uucp@gatech.edu

Since there's been a lot of discussion about SPARCprinters in this newsgroup
recently, I tried printing this on ours. It printed in about 25 seconds. The
large Hello with the criss-crossed circles looks perfect; however there seems
to be a slight problem with the Hello at (0,0) -- it's clipped down the
left side and along the bottom. I measure it at about 6mm from the left edge
of the paper, and 3mm from the bottom. I checked the NeWSprint manual, and it
says the following (appendix F, section F-5):

	The Sun SPARCprinter has a slightly smaller imageable area on the
	page than that of a LaserWriter. Files that intentionally place
	text or graphics at the edges of the page may be clipped.

We haven't had any problems with this to date; if it should become a problem,
does anyone know of a way round it? eg translating and/or scaling the image?
(I don't know much (anything?) about PostScript).

Peter Duffy.
-- 
================================================================================
Peter Duffy           |JANET:   p.duffy@uk.ac.strath.vaxa
EEE Dept.             |Internet:p.duffy%vaxa.strath.ac.uk@nsfnet-relay.ac.uk
Strathclyde University|BITNET:  p.duffy%vaxa.strath.ac.uk@UKACRL
Glasgow G1 1XW        |UUCP:    p.duffy%vaxa.strath.ac.uk@ukc.uucp
Scotland.             |
================================================================================
Technical Details
Message-ID: <1991Apr12.152225.11374@vaxa.strath.ac.uk>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!sdd.hp.com!decwrl!deccrl!bloom-beacon!eru!hagbard!sunic!mcsun!ukc!strath-cs!str-va!cnbr17
References: <3692@ux.acs.umn.edu> <119@nanovx.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!sdd.hp.com!decwrl!deccrl!bloom-beacon!eru!hagbard!sunic!mcsun!ukc!strath-cs!str-va!cnbr17
From: cnbr17@vaxa.strath.ac.uk
Newsgroups: comp.lang.postscript
Subject: Re: Anybody got some *complicated* PostScript files?
Message-ID: <1991Apr12.152225.11374@vaxa.strath.ac.uk>
Date: 12 Apr 91 15:22:24 GMT
References: <3692@ux.acs.umn.edu> <119@nanovx.UUCP>
Organization: University of Strathclyde, Elec. Eng.
Lines: 64