Custom Engineering TG1260 series User Manual page 44

Ticket printer 60 mm
Table of Contents

Advertisement

2. PRINTER FUNCTIONS
• The left margin is set at [(nL + nH × 256) × (horizontal motion unit)] inches.
Left margin
[Notes]
• This command is only enabled at the beginning of the line.
• If right margin is greater than printable area, then the printing area width is set at
maximum value.
• If printing area width = 0, then it is set at maximum value.
• The horizontal and vertical motion unit are specified by $1D $50. Changing the
horizontal or vertical motion unit does not affect the current left margin.
• The command $1D $50 can change the horizontal (and vertical) motion unit.
• However, the value cannot be less than the minimum horizontal movement amount
and it must be expressed in even units of the minimum horizontal movement amount.
[Default]
If Font A :
If Font B :
[Reference]
$1D $4C, $1D $50
[Example]
$
1
D
$
5
E
t r
m
[Name]
Execute macro.
[Format]
ASCII
Hex
Decimal 29
0 ≤ r, t ≤ 255
[Range]
0 ≤ m ≤ 1
[Description]
Executes a macro.
• r specifies the number of times to execute the macro.
• t specifies the waiting time for executing the macro.
The waiting time is t× 100 msec. for every macro execution.
• m specifies macro executing mode:
When the LSB of m = 0, the macro executes r times continuously at the interval
specified t.
When the LSB of m = 1, after waiting for the period specified by t, the LED indicator
blinks and the printer waits for the FEED button to be pressed. After the button is
pressed, the printer executes the macro once. The printer repeats the operation r
times.
• This command lasts for a period of (t × 100 msec.) after a macro is executed by t.
[Notes]
• If this command is received while a macro is being defined, the macro definition is
aborted and the definitions cleared.
• If the macro is not defined or if r is 0, nothing happens.
• When the macro is executed by pressing the FEED button (m = 1), the paper can not
be fed by using the FEED button.
[Default]
[Reference]
$1D $3A
[Example]
Printable area
Width of print area
nL = 192
nH = 1
nL =164
nH = 1
GS
^
r
t
1D
5E
r
94
r
t
2-27
m
t
m
m
TG1260/2460

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the TG1260 series and is the answer not in the manual?

This manual is also suitable for:

Tg2460 series

Table of Contents