🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.postscript.programming
Article #705

Re: Unigraphics PostScript Files Distill Blank Images

#705
From: Miklos_Somogyi
Date: Thu, 16 Oct 2003 00:34
15 lines
1507 bytes
Usually you don't get a print if you use white ink on white paper
or your drawing is outside the page or a clipping rectangle.
Both are easy to find out.

In case of "outside drawing":

- set the scales to millimetres at the beginning of the file and save the ctm (use gsave/grestore not to spoil your scales)

- re-define the processes that use moveto and lineto so that they
calculate the x y coords in millimetres, then define/update
x_min y_min x_max y_max with them (using transform, itransform and your saved ctm)

- at the end set the scales to millimeteres, convert x_min etc to strings, and plot them where they are surely visible.

Miklos
Technical Details
Message-ID: <2ccdda95.5@webx.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!news-out.visi.com!petbe.visi.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.icl.net!newsfeed.fjserv.net!proxad.net!newsfeed.tpinternet.pl!newsfeed01.sul.t-online.de!t-online.de!webx
References: <2ccdda95.-1@webx.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10c61a,be0a357f4cccd153
X-Google-Attributes: gid10c61a,public
X-Google-ArrivalTime: 2003-10-15 17:37:41 PST
From: Miklos_Somogyi@adobeforums.com
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!news-out.visi.com!petbe.visi.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.icl.net!newsfeed.fjserv.net!proxad.net!newsfeed.tpinternet.pl!newsfeed01.sul.t-online.de!t-online.de!webx
Newsgroups: adobe.postscript.programming
Subject: Re: Unigraphics PostScript Files Distill Blank Images
Message-ID: <2ccdda95.5@webx.la2eafNXanI>
Date: Wed, 15 Oct 2003 17:34:58 -0700
References: <2ccdda95.-1@webx.la2eafNXanI>
Lines: 18
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit