
Revision C 16/01/96
Chapter 2 "PCL" - 31
Text direction
Esc&a#P
(27)(38)(97)#(80)
<1Bh><26h><61h>#<50h>
# = 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
Содержание HL- SERIES
Страница 13: ...Revision A 16 01 96 Chapter 1 Introduction ...
Страница 16: ...Revision C 16 01 96 Chapter 2 PCL 1 Chapter 2 PCL ...
Страница 123: ...Revision C 16 01 96 Chapter 2 PCL 3 W width raster area 78 Y y offset raster 79 ...
Страница 124: ...Revision C 16 01 96 Chapter 3 PJL 1 Chapter 3 PJL Printer Job Language ...
Страница 180: ...Revision C 16 01 96 Chapter 4 Diablo 630 1 Chapter 4 Diablo 630 ...
Страница 200: ...Revision C 16 01 96 Chapter 5 EPSON FX 850 1 Chapter 5 EPSON FX 850 ...
Страница 237: ...Revision C 16 01 96 Chapter 6 IBM Proprinter XL 1 Chapter 6 IBM Proprinter XL ...
Страница 259: ...Revision C 16 01 96 Chapter 7 Bar Codes Control 1 Chapter 7 Bar Code Control ...
Страница 267: ...Revision C 16 01 96 Chapter 8 HP GL2 1 CHAPTER 8 HP GL 2 Graphics Language ...
Страница 280: ...Revision C 16 01 96 Chapter 8 HP GL2 14 220 END Sample 21 ...
Страница 328: ...Revision C 16 01 96 Chapter 9 HP GL 1 CHAPTER 9 HP GL Graphics Language ...
Страница 332: ...Revision C 16 01 96 Chapter 9 HP GL 5 1 3 2 Printing Area a b d c a b c d mm A4 4 5 5 5 Letter 6 5 5 5 Legal 6 5 5 5 ...
Страница 342: ...Revision C 16 01 96 Chapter 9 HP GL 15 Sample 68 ...
Страница 387: ...Revision C 16 01 96 APPENDIX A COMPALISON LIST 24 RESOLUTION 300 600 300 600 300 600 ...