PPTII-A Programming Manual
www.hprt.com
13
ESC * m nL nH d1... dk
[Name]
Select bit-image mode
[Format]
ASCII
ESC
*
m nL nH d1...dk
Hex
1B
2A
m nL nH d1...dk
Decimal
27
42
m nL nH d1...dk
[Range]
m = 0, 1, 32, 33
0 ≤ nL ≤ 255
0 ≤ nH ≤ 3
0 ≤ d ≤255
[Dscription]
Select a bit-image mode using m, bit-image dot is decided by nL and nH.
m
Mode
Vertical Direction
Horizontal Direction
Number of
Bits for
vertical data
Dot
Density
(DPI)
Dot
Density
(DPI)
Amount of Data(k)
0
8-dot
single-density
8
67 DPI
101 DPI nL + nH × 256
1
8-dot
double-density
8
67 DPI
203 DPI nL + nH × 256
32
24-dot
single-density
24
203 DPI 101 DPI ( nL + nH × 256) × 3
33
24-dot
double-density
24
203 DP 203 DPI ( nL + nH × 256) × 3
[Notes]
• If the value of m out of the specified range, nL and the subsequent data will be
processed as normal one.
• The number of horizontal direction is up to nL and nH, the total number is nL + nH ×
256.
• The part which bit-image is beyond the current area will be amputated.
• d indicates the bit image data. Set a bit to 1 to print a dot, or set a bit to 0 to not print
a dot.
• After the bit-image is sent successfully, the printer will be back to the normal data
processing mode.
• If the width printing area set by GSL and GSW lee than the printing width of GS /
required by the data sent with the ESC* command, the following will be performed on
the line in question (but the printing cannot exceed the maximum printable area):
① The width of the printing area is extended to the right to accommodate the amount
of data.
② If step ¬ does not provide sufficient width for the data, the left margin is reduced to
accommodate the data. For each bit of data in single-density mode (m = 0, 32), the
printer prints two dots: for each bit of data in double-density mode (m = 1, 33), the
printer prints one dot. This must be considered in calculating the amount of data that
can be printed in one line.
• It back to the normal data processing mode after printing a bit-image.
• This command won't be influenced by other print modes (emphasized /double-strike
/underline /characters amplification /white / black reverse), except upside-down
printing mode.
• the relationship between data and the point to be print as follows: