Text Direction - Brother HL-Series Technical Reference Manual

Hide thumbs Also See for HL-Series:
Table of Contents

Advertisement

Revision C 16/01/96

Text direction

Esc&a#P
# = 0, 90, 180 or 270.
• This command changes the orientation of the logical page relative to the physical page, but without the side
effects of the logical page orientation command. Hence you can print text in different directions on the same
page.
• Values of # have the following effects: 0 = portrait, 90 = landscape, 180 = reverse portrait and 270 = reverse
landscape. The value specifies the angle through which the text direction is rotated counterclockwise.
• The cursor position remains at the same physical page position.
• All subsequent text is printed in the newly selected orientation.
• The PCL coordinate system and margin settings are rotated through the specified angle. Hence the cursor
coordinates will change.
• HP-GL/2 graphics images cannot be rotated using this command.
• The factory default orientation is portrait.
10 WIDTH "LPT1:",255
20 REM --- PRINTER RESET ---
30 LPRINT CHR$(27);"E";
40 REM --- MOVING CURSOR TO X=500, Y=500 ---
50 LPRINT CHR$(27);"*p500X";
60 LPRINT CHR$(27);"*p500Y";
70 REM --- 0 deg ---
80 LPRINT CHR$(27);"&a0P";
90 LPRINT "BROTHER ";
100 REM --- 90 deg ---
110 LPRINT CHR$(27);"&a90P";
120 LPRINT "BROTHER ";
130 REM --- 180 deg ---
140 LPRINT CHR$(27);"&a180P";
150 LPRINT "BROTHER ";
160 REM --- 270 deg ---
170 LPRINT CHR$(27);"&a270P";
180 LPRINT "BROTHER ";
190 REM --- PAPER EJECT ---
200 LPRINT CHR$(12)
210 END
(27)(38)(97)#(80)
Chapter 2 "PCL" - 31
<1Bh><26h><61h>#<50h>

Advertisement

Table of Contents
loading

Table of Contents