Article View: comp.lang.postscript
Article #149Re: How to clone (copypage?) a page three times
From: Carl J Lydick
Date: Wed, 04 Nov 1992 21:55
Date: Wed, 04 Nov 1992 21:55
31 lines
2446 bytes
2446 bytes
In article <zisk-031192120913@macne023.boston.us.adobe.com>, zisk@adobe.com (Stephen Zisk) writes:
>In article <BwqMn4.165@gdls.CSCTMD.COM>, parker@gdls.CSCTMD.COM (The
>Dougster) asked about using copypage to "thicken" parts of a drawing. Copy
>page does not
>iterate the PostScript previously executed using a new matrix. It simply
>prints
>the page, like showpage, without re-initializing for a new page.There are a
>number of ways to accomplish "thickening", depending on what you are doing
>and how much you want to thicken, but not of them are general enough. For
>instance, one could redefine fill to be {gsave 1 setlinewidth stroke
>grestore
>fill} which would add a 1 point border to filled objects, but this would
>fail
>if an unusual matrix were in place. I cannot think of a general and safe
>way
>to do what you are asking for.
Sure there is, at least if you know the printer resolution, and the postscript
program in question leaves the origin where it started: execute the code that
descibes the page, translate 1 pixel right, execute the code that describes the
page, translate 1 pixel up execute the code that describes the page, translate
1 pixel left, execute the code that describes the page, then execute a showpage
command.
--------------------------------------------------------------------------------
Carl J Lydick | INTERnet: CARL@SOL1.GPS.CALTECH.EDU | NSI/HEPnet: SOL1::CARL
Disclaimer: Hey, I understand VAXen and VMS. That's what I get paid for. My
understanding of astronomy is purely at the amateur level (or below). So
unless what I'm saying is directly related to VAX/VMS, don't hold me or my
organization responsible for it. If it IS related to VAX/VMS, you can try to
hold me responsible for it, but my organization had nothing to do with it.
Technical Details
Message-ID:
<1d9gsbINNsqf@gap.caltech.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!sun-barr!ames!data.nas.nasa.gov!mustang.mst6.lanl.gov!nntp-server.caltech.edu!SOL1.GPS.CALTECH.EDU!CARLReferences:
<BwqMn4.165@gdls.CSCTMD.COM>,<zisk-031192120913@macne023.boston.us.adobe.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!sun-barr!ames!data.nas.nasa.gov!mustang.mst6.lanl.gov!nntp-server.caltech.edu!SOL1.GPS.CALTECH.EDU!CARL From: carl@SOL1.GPS.CALTECH.EDU (Carl J Lydick) Newsgroups: comp.lang.postscript Subject: Re: How to clone (copypage?) a page three times Date: 4 Nov 1992 21:55:23 GMT Organization: HST Wide Field/Planetary Camera Lines: 31 Distribution: world Message-ID: <1d9gsbINNsqf@gap.caltech.edu> References: <BwqMn4.165@gdls.CSCTMD.COM>,<zisk-031192120913@macne023.boston.us.adobe.com> Reply-To: carl@SOL1.GPS.CALTECH.EDU NNTP-Posting-Host: sol1.gps.caltech.edu