Epson L60IIP Information Guide - Page 68

Esc L, Print #1, Chr$&h1b;w;chr$0;chr$0;chr$0

Page 68 highlights

TM-L60II/L60IIP Information Manual ESC L [Name] Select page mode [Format] ASCII ESC L Hex 1B 4C Decimal 27 76 ESC S [Name] [Format] Select standard mode ASCII ESC S Hex 1B 53 Decimal 27 83 ESC L switches from standard mode to page mode. This command is enabled only when input at the beginning of a line in standard mode; it has no effect in page mode. The following commands are not effective in page mode: ESC V, ESC a, ESC {, GS L, and GS W. If these commands are processed in page mode, an internal flag is activated. ESC S switches from page mode to standard mode. This command is effective only in page mode. Data buffered in page mode is cleared. This command returns the values set by ESC W to the default values. The value set by the ESC T is maintained. The printer returns to standard mode with the FF, ESC @, and ESC S. This command sets the print position to the beginning of the line. Standard mode is selected as the default. Program Example PRINT #1, CHR$(&H1B);"L";← Select page mode PRINT #1, CHR$(&H1B);"W";CHR$(0);CHR$(0);CHR$(0); CHR$(0);CHR$(60);CHR$(0);CHR$(180);CHR$(0); PRINT #1, CHR$(&H1B);"T";CHR$(0);← Select print direction PRINT #1, "AAAAA"; CHR$(&HA);← Store characters for printing PRINT #1, "BBBBB"; CHR$(&HA);← Store characters for printing PRINT #1, "CCCCC"; PRINT #1, CHR$(&H1B);CHR$(&HC);← Batch print PRINT #1, CHR$(&H1B);"S";← Select standard mode AAAAA BBBBB CCCCC Print Sample Rev. A Command Descriptions 1-61

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98

Rev. A
Command Descriptions
1-61
TM–L60II/L60IIP Information Manual
ESC L
[Name]
Select page mode
[Format]
ASCII
ESC
L
Hex
1B
4C
Decimal
27
76
ESC S
[Name]
Select standard mode
[Format]
ASCII
ESC
S
Hex
1B
53
Decimal
27
83
ESC L
switches from standard mode to page mode. This command is enabled only when input at the
beginning of a line in standard mode; it has no effect in page mode. The following commands are not
effective in page mode:
ESC V
,
ESC a
,
ESC {
,
GS L
, and
GS W
. If these commands are processed in
page mode, an internal flag is activated.
ESC S
switches from page mode to standard mode. This command is effective only in page mode.
Data buffered in page mode is cleared. This command returns the values set by
ESC W
to the default
values. The value set by the
ESC T
is maintained. The printer returns to standard mode with the
FF
,
ESC @
, and
ESC S
. This command sets the print position to the beginning of the line.
Standard mode is selected as the default.
Program Example
Print Sample
PRINT #1, CHR$(&H1B);"L";
Select page mode
AAAAA
PRINT #1, CHR$(&H1B);"W";CHR$(0);CHR$(0);CHR$(0);
CHR$(0);CHR$(60);CHR$(0);CHR$(180);CHR$(0);
BBBBB
CCCCC
PRINT #1, CHR$(&H1B);"T";CHR$(0);
Select print direction
PRINT #1, "AAAAA"; CHR$(&HA);
Store characters for printing
PRINT #1, "BBBBB"; CHR$(&HA);
Store characters for printing
PRINT #1, "CCCCC";
PRINT #1, CHR$(&H1B);CHR$(&HC);
Batch print
PRINT #1, CHR$(&H1B);"S";
Select standard mode