Ray Ontko & Co.
Library
Services | Products | Library | Careers News | About Us | Contact Us | Search | Site Map

print_center.sqr

Author: Mike Hill (mhill@copyright.com)
Download: print_center.sqr

Here's a little routine that centers postscript strings.

Simply pass it the text you want printed and the vertical position and the horizontal center of the page.

This procedure is freely distributable.

To center the string 'My name is Fred' on line 1 with the center at column 50:

   do print_center('My name is Fred',1,50)
Top
Copyright © 1999, Ray Ontko & Co. Last updated: Tuesday, February 27, 2007
Careers Library Products Services Site Map Search Contact Us About Us News