User`s manual

1 DATECS EP-50
74 75
User’s Manual
59. GS / m
Printing the downloaded bit image
[Code] [1Dh] + [2Fh] + m
[Range] {0 <= m <= 3}
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
[Outline] Prints download bit image in a mode specified by m.
[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 *
60. 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 ^
[Sample Program]
LPRINT CHR$ (&H1D) + “: “ ;
LPRINT “+___+” + CHR$ (&HA);
LPRINT “ | | “ + CHR$ (&HA);
LPRINT “+___+” + CHR$ (&HA);
LPRINT CHR$ (&H1D) + “: “;
LPRINT CHR$ (&H1D) + “ ^ “;
LPRINT CHR$ (2) + CHR$ (10);
LPRINT CHR$ (0);
[Print Results]
[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]
Normal Mode
Double Width Mode
Double Height Mode
Quadruple Mode
Normal Printing during
Macro Definition
Printing during Macro
Execution