Line Thermal Printer DEP-50
76
77
User’s Manual
If N is the vertical size of the bit image, N=n2 or N= n21+256*n22.
D
i
is the bit image’s data. The number of data bytes is n1*N.
There are n1 bytes in the first row then n1 bytes in the second, etc.
There are N rows in the bit image, and the number of dots in the bit
image is n1*N*8. Each data bit defines one dot, value of “1”
corresponds to black.
If n1 is 0 the downloaded bit image is cleared.
The downloaded bit image remains effective even if the printer is
switched off.
[See Also]
GS /
[Sample Program]
GOSUB IMG
LPRINT CHR$ (&H1D) + “/” + CHR$ (0);
LPRINT CHR$ (&H1D) + “/” + CHR$ (1);
LPRINT CHR$ (&H1D) + “/” + CHR$ (2);
LPRINT CHR$ (&H1D) + “/” + CHR$ (3);
END
IMG:
n 1 = 10 : n 2= 5
LPRINT CHR$ (&H1D) + “*”;
LPRINT CHR$ (n1) + CHR$ (n2);
FOR J=1 TO n1*8
FOR I=1 TO n2
LPRINT CHR$ (J);
NEXT I
NEXT J
RETURN
[Print Results]
GS / m
Printing the downloaded bit image
[Code]
[1Dh] + [2Fh] + m
[Range]
{0 <= m <= 3}
[Outline]
Prints download bit image in a mode specified by m.
m
Mode Name
Dots in Vertical
Dots in Horizontal
Direction
Direction
0
Normal mode
203 DPI
203 DPI
1
Double wide mode
203 DPI
101 DPI
2
Double high mode
101 DPI
203 DPI
3
DW / DH mode
101 DPI
101 DPI
[Caution]
•
When data exist inside the print buffer, this command is ignored.
•
When a download bit image has not been defined, this command is
ignored.
•
A portion of a download bit image exceeding one line length is not
printed.
[Default]
•
The initial value is not specified.
[See Also]
GS *
GS :
Starting / Ending Macro Definition
[Code]
[1Dh] + [3Ah]
[Outline]
Specifying starting / ending macro definition. Means termination when
received while defining a macro.
[Caution]
Maximum content available for macro definition is 3823 bytes.
A portion exceeding 3823 bytes is not defined.
•
Even with ESC @ (initialization of the printer) having been executed,
defined content is not cleared. Therefore, it is possible to include
ESC @ into the content of macro definition.
•
Normal printing operation is carried out even while in macro definition
[Default]
•
Initially, Macro is not specified.
[See Also]
GS ^
Normal Mode
Double Width Mode
Double Height Mode
Quadruple Mode