Line Thermal Printer DEP-50
78
79
User’s Manual
Normal Printing during
Macro Definition
[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);
Printing during
Macro Execution
FS p n m
Printing the downloaded NV bit image
[Code]
[1Ch] + [70h] + n + m
[Range]
{0 <= n <= FFh}
{0 <= m <= 3}
{48 <= m <= 51}
[Outline]
Printing the downloaded NV bit image defined by FS q command.
m
Mode Name
Dots in Vertical
Dots in Horizontal
Direction
Direction
0, 48
Normal mode
203 DPI
203 DPI
1, 49
Double wide mode
203 DPI
101 DPI
2, 50
Double high mode
101 DPI
203 DPI
3, 51
DW / DH mode
101 DPI
101 DPI
“n
” is discarded - the printer supports only one NV bit image.
“
m
” is the bit image printing mode.
FS q n [xL xH yL yH D1 D2 … Dk]
Defining the downloaded NV bit image
There are two variants of this command depending of the position of switch 5.
If
switch 5
is
OFF
:
[Code]
[1Ch] + [71h] + n + xL + xH + yL + yH + D1 + D2 + … + Dk
[Range]
{0 <= n <= FFh}
{0 <= xL <= FFh}
{0 <= xH <= FFh}
{0 <= yL <= FFh}
{0 <= yH <= FFh}
{0 <= D <= FFh}
[Outline]
This command defines the specified NV (non volatile) bit image. The
bit image is stored into the flash.
n
is ignored – the printer supports only one bit image.
xL
and
xH
denote the horizontal size of the
NV
bit image as
(xL + xH
×
256)
×
8 dots.
[Print Results]
GS ^ n1 n2 n3
Executing the Macro
[Code]
[1Dh] + [5Eh] + n1 + n2 + n3
[Range]
{0 <= n1 <= FFh}
{0 <= n2 <= FFh}
{0 <= 3 <= 1}.
[Outline]
Executing contents defined in macro.
•
“n1~n3” indicate as follows:
n1 :
The number of times of macro execution
n2 :
Waiting time on macro execution
Waiting time of n2 x 100 msec is given for every execution.
n3 :
Macro execution mode
0
Continuous execution
1
Execution by LFSW
Continuous execution: The Macro is executed n1 times continuously
at the time intervals specified by n2.
Execution by FEED S: After waiting for lapse of time specified by n2,
the LF switch is waited to be pressed. When it is pressed, the macro
is executed once. This action is repeated n1 times.
[Caution]
• When this command is received while in macro definition,
suspension of macro definition is indicated. At this time, the defined
content is cleared.
• No execution takes place when macro is held undefined or n1=0.
• While in macro execution with n3=1, paper feed with the LF SW is
not available.
[Default]
• Initially, this command is not specified.
[See Also]
GS :