CHAPTER 2 PCL - 46
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