🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.postscript.programming
Article #141

Re: Center Page Horizontally

#141
From: Helge_Blischke
Date: Tue, 16 Dec 2008 16:09
5 lines
1096 bytes
If you are sure your logical page will fit onto the media, you could insert <</Policies <</PageSize 3>> >> setpagedevice to force the PS interpreter to center (and possibly scale down) the logical page to fit onto the physical media.

Otherwise you need to know the dimensions of your logical page(s) and the dimensions of the physical media to compute how to translate the logical page accordingly.

Helge
Technical Details
Message-ID: <59b740fe.0@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!newshub.sdsu.edu!webcrossing
References: <59b740fe.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10c61a,9a18f9d596489924
X-Google-Attributes: gid10c61a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Helge_Blischke@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.postscript.programming
Subject: Re: Center Page Horizontally
Message-ID: <59b740fe.0@webcrossing.la2eafNXanI>
Date: Tue, 16 Dec 2008 08:09:01 -0800
References: <59b740fe.-1@webcrossing.la2eafNXanI>
Lines: 11
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit