Right Justification of Printed Text in PCL 5
without concern for character widths or font size.
-
Define a macro containing the text to be right justified. In the following
example, that is id number 1022
-
Position the cursor to the right edge of the desired text position
-
Set pattern transparency to transparent and pattern to solid white
-
Set print direction to 180 degrees
-
Execute the macro containing the printable text.
-
Set pattern transparency to opaque and pattern to solid black
-
Set print direction to 0 degrees
-
Execute the macro containing the printable text.
<esc>*p4798x540Y<esc>*vo1T<esc>&a180P<esc>&f1022Y<esc>&f2X<esc>*v1oT<esc>&a0P<esc>&f1022Y<esc>&f2X
Comments: