🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.postscript.programming
Article #908

Re: newbie in (E)PS - need a sample and impuls

#908
From: Gunnar Fing Blodgett
Date: Mon, 28 Jul 2003 20:44
17 lines
1479 bytes
Vahan

I am not sure what language you are creating this in. If I create the following text file as "test.ps", Photoshop opens a thick-lined box as expected.

%!PS-Adobe-3.0 EPSF-3.0
%%BoundingBox: 5 5 105 105

20 setlinewidth
40 60 moveto
0 90 rlineto 90 0 rlineto 0 -90 rlineto closepath
stroke

2) If you want a free viewer for PostScript, try GhostScript, possibly with the GhostView addition. You can find them at <http://www.cs.wisc.edu/~ghost/>.

3) This one is for Aandi: I don't understand what's wrong with his bounding box. It fits the graphic. He's just using integers instead of floats to define the positions.

Gunnar
Technical Details
Message-ID: <1dea0b2d.1@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!news-out.visi.com!petbe.visi.com!news.tele.dk!news.tele.dk!small.news.tele.dk!lnewspeer00.lnd.ops.eu.uu.net!emea.uu.net!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <1dea0b2d.-1@WebX.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10c61a,5cd92ae4dd009504
X-Google-Attributes: gid10c61a,public
X-Google-ArrivalTime: 2003-07-28 14:07:52 PST
From: "Gunnar Fing Blodgett" <gunnar.blodgett@net-linx.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!news-out.visi.com!petbe.visi.com!news.tele.dk!news.tele.dk!small.news.tele.dk!lnewspeer00.lnd.ops.eu.uu.net!emea.uu.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.postscript.programming
Subject: Re: newbie in (E)PS - need a sample and impuls
Message-ID: <1dea0b2d.1@WebX.la2eafNXanI>
Date: Mon, 28 Jul 2003 13:44:36 -0700
References: <1dea0b2d.-1@WebX.la2eafNXanI>
Lines: 23
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit