Thread View: adobe.postscript.programming
2 messages
2 total messages
Started by Robert Jones
Fri, 12 Dec 2008 17:02
Center Page Horizontally
Author: Robert Jones
Date: Fri, 12 Dec 2008 17:02
Date: Fri, 12 Dec 2008 17:02
1 lines
687 bytes
687 bytes
Does anyone know what code I would need to include in a .ps file in order to center the page horizontally on the paper on output? If so, what is it? I'm going crazy here!
Re: Center Page Horizontally
Author: Helge_Blischke
Date: Tue, 16 Dec 2008 16:09
Date: Tue, 16 Dec 2008 16:09
5 lines
1096 bytes
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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads