please dont rip this site

Center Justification of Printed Text in PCL 5

without concern for character widths.

  1. Define a macro containing the text to be right justified. In the following example, that is id number 1022
  2. Position the cursor to the center of the desired text position
  3. Set pattern transparency to transparent and pattern to solid white
  4. Set print direction to 180 degrees
  5. Set the point size to half that of the actual desired size
  6. Execute the macro containing the printable text.
  7. Set pattern transparency to opaque and pattern to solid black
  8. Set print direction to 0 degrees
  9. Set the point size to the actual desired size
  10. Execute the macro containing the printable text.



See also:

file: /Techref/language/pcl/justcentered.htm, 3KB, , updated: 2016/10/5 05:54, local time: 2020/8/14 14:09,

 ©2020 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF=""> Center Justification of Printed Text in PCL 5 without concern for character widths.</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.

Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?


Welcome to!

Site supported by
sales, advertizing,
& kind contributors
just like you!

Please don't rip/copy
(here's why

Copies of the site on CD
are available at minimal cost.

Welcome to!