Article View: comp.lang.postscript
Article #5356Re: how do I find the real edges of printing on a PostScript printer?
From: Stefan Stapelberg
Date: Mon, 15 Apr 1991 13:32
Date: Mon, 15 Apr 1991 13:32
29 lines
1952 bytes
1952 bytes
In article <1991Mar21.190956.21412@starnet.uucp> mzellers@starnet.UUCP (Mark Zellers) writes:
>If you want to find the boundaries of the imageable area (rather than
>the paper) try using
>
> clippath pathbbox
>
>to get the llx lly urx ury of the current clipping path (which is by
>default the imageable area).
My troff->postscript converter produces the following code to compensate
for the lower boundary of the imageable area (lly) and to set a variable
`pgtop' (top of page), which will be used (in procedure `Y') to compute
the absolute vertical position from a given distance to the TOP.
clippath pathbbox pop pop exch pop 0 exch translate
clippath pathbbox /pgtop exch def pop pop pop
/Y { pgtop exch sub currentpoint pop exch moveto } bind def
IMHO this violates the rules of page independence, since the boundaries
of the imageable area don't change if this output is scaled down and
included within another document. Is this correct?
I am also curious what the response for 'clippath pathbbox' would be on a
Linotronic. Does the Lino return the physical dimensions of the imageable
area or the values which may have been previously set with 'setpageparams'?
Thanks in advance for any hints.
__
Stefan Stapelberg, <stefan@systemware.de>
Technical Details
Message-ID:
<1473@shiva.systemware.de>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!samsung!think.com!mintaka!bloom-beacon!eru!hagbard!sunic!mcsun!unido!mikros!shiva!stefanReferences:
<1014@keele.keele.ac.uk> <111045.29249@timbuk.cray.com> <1991Mar21.190956.21412@starnet.uucp>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!samsung!think.com!mintaka!bloom-beacon!eru!hagbard!sunic!mcsun!unido!mikros!shiva!stefan From: stefan@shiva.systemware.de (Stefan Stapelberg) Newsgroups: comp.lang.postscript,comp.sources.wanted Subject: Re: how do I find the real edges of printing on a PostScript printer? Message-ID: <1473@shiva.systemware.de> Date: 15 Apr 91 13:32:11 GMT References: <1014@keele.keele.ac.uk> <111045.29249@timbuk.cray.com> <1991Mar21.190956.21412@starnet.uucp> Reply-To: stefan@systemware.de (Stefan Stapelberg) Followup-To: comp.lang.postscript Organization: MIKROS Systemware, Lohr/Germany Lines: 29