Oki ML591 MICROLINE Reference Manual - Page 107

Horizontal Control Commands, Backspace & Carriage Return Commands IBM/E/ML

Page 107 highlights

Chapter 8: Horizontal Control Commands This chapter describes the commands for horizontal control including the following: • Backspace/Carriage Return Commands • Margin Setting Commands • Horizontal Tab Commands • Indent Commands • Print Position Commands • Uni-directional Printing Commands • Incremental Printing Commands • Justification Commands Backspace & Carriage Return Commands (IBM/E/ML) ߜ ML320 E/I, ML321 E/I ߜ ML320 Std., ML321 Std. ߜ ML320 Turbo, ML321 Turbo ߜ ML390 Turbo, ML391 Turbo ߜ ML520, ML521 ߜ ML590, ML591 Function Backspace Carriage Return ASCII BS CR Dec Hex 8 08 13 0D The backspace command moves the printhead one character to the left. The actual width of the backspace depends on the current pitch. If you're using proportional spacing, the BS command moves the printhead 1/10" to the left. The carriage return command causes the printer to print data from the print buffer and return the printing position to the beginning of the line. If the printer menu item Auto LF (under SetUp group) has been set to YES (factory default is NO), the printer automatically adds a line feed to each carriage return. Margin Setting Commands Set Left & Right Margins Command (IBM) ߜ ML320 E/I, ML321 E/I ߜ ML320 Turbo, ML321 Turbo ߜ ML390 Turbo, ML391 Turbo ߜ ML520, ML521 ߜ ML590, ML591 Function ASCII Dec Hex Set Left & Right Margins ESC X n m 27 88 n m 1B 58 n m In the IBM emulation, the margins set by the Left & Right Margin command are set by character columns. The actual position of the margin depends on the current pitch: a margin of 10 columns will come out as 1" in 10 cpi and 1/2" in 20 cpi. If the current pitch is proportional, the margin is set as though it were 10 cpi. However, once you've set a margin, its absolute position remains the same, even if you change the pitch, until you specifically reset the margin. This saves you the work of adjusting margins with every pitch change in your document. Note: You should always send margin commands at the beginning of a line. Parameter n Parameter n sets the left margin and can be any value from 0 to 254. Use a value of 0 if you want to change the right margin only. The default setting for the left margin in the IBM emulation is 1. Chapter 8: Horizontal Control Commands 69

  • 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
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180

Chapter 8: Horizontal Control Commands
69
Chapter 8: Horizontal Control Commands
This chapter describes the commands for horizontal control including the following:
Backspace/Carriage Return Commands
Margin Setting Commands
Horizontal Tab Commands
Indent Commands
Print Position Commands
Uni-directional Printing Commands
Incremental Printing Commands
Justification Commands
Backspace & Carriage Return Commands (IBM/E/ML)
±
ML320 E/I, ML321 E/I
±
ML320 Turbo,
ML321 Turbo
±
ML520, ML521
±
ML320 Std., ML321 Std.
±
ML390 Turbo, ML391 Turbo
±
ML590, ML591
Function
ASCII
Dec
Hex
Backspace
BS
8
08
Carriage Return
CR
13
0D
The backspace command moves the printhead one character to the left. The actual width of the
backspace depends on the current pitch. If you're using proportional spacing, the BS command
moves the printhead 1/10" to the left.
The carriage return command causes the printer to print data from the print buffer and return
the printing position to the beginning of the line. If the printer menu item Auto LF (under Set-
Up group) has been set to YES (factory default is NO), the printer automatically adds a line feed
to each carriage return.
Margin Setting Commands
Set Left & Right Margins Command (IBM)
±
ML320 E/I, ML321 E/I
±
ML320 Turbo, ML321 Turbo
±
ML520, ML521
±
ML390 Turbo, ML391 Turbo
±
ML590, ML591
Function
ASCII
Dec
Hex
Set Left & Right Margins
ESC X n m
27 88 n m
1B 58 n m
In the IBM emulation, the margins set by the Left & Right Margin command are set by character
columns. The actual position of the margin depends on the current pitch: a margin of 10
columns will come out as 1" in 10 cpi and 1/2" in 20 cpi. If the current pitch is proportional,
the margin is set as though it were 10 cpi. However, once you've set a margin, its absolute
position remains the same, even if you change the pitch, until you specifically reset the margin.
This saves you the work of adjusting margins with every pitch change in your document.
Note
:
You should always send margin commands at the beginning of a line.
Parameter n
Parameter n sets the left margin and can be any value from 0 to 254. Use a value of 0 if you
want to change the right margin only. The default setting for the left margin in the IBM
emulation is 1.