User Manual TG2480 - Rev100
User Manual TG2480 - Rev100
User Manual TG2480 - Rev100
USER MANUAL
OEM
PR
INT
FEE
D
24V
dc
CO
M
All rights reserved. Total or partial reproduction of this manual in whatever form, whether by printed or elec-
tronic means, is forbidden. While guaranteeing that the information contained in it has been carefully checked,
CUSTOM ENGINEERING SPA and other entities utilized in the realization of this manual bear no responsibility
for how the manual is used.
Information regarding any errors found in it or suggestions on how it could be improved are appreciated. Since
products are subject to continuous check and improvement, CUSTOM ENGINEERING SPA reserves the right
to make changes in information contained in this manual without prior notification.
1 11
2 12
3 13
4 14
8
PR
9 INT
FEE
D
24V
dc
10 CO
M
15
16
17
18
19
20
(Fig.1)
INTRODUCTION
MANUAL CONTENTS ...................................................................................................................................... 1
EXPLANATORY NOTES USED IN THIS MANUAL ......................................................................................... 1
GENERAL SAFETY INFORMATION................................................................................................................ 1
UNPACKING THE PRINTER ........................................................................................................................... 2
GENERAL FEATURES..................................................................................................................................... 3
PRINTER DESCRIPTION ................................................................................................................................ 3
2. INTERFACES
2.1 RS232 SERIAL INTERFACE ...................................................................................................................2-1
2.2 USB INTERFACE ....................................................................................................................................2-2
3. PRINTER FUNCTIONS
3.1 PRINT DIRECTION .................................................................................................................................3-1
3.2 COMMAND DESCRIPTIONS..................................................................................................................3-1
3.2.1 ESC/POS Emulation .......................................................................................................................3-1
3.2.2 Custom emulation .........................................................................................................................3-33
3.2.3 CBM iDP560RS Emulation............................................................................................................3-55
4. TECHNICAL SPECIFICATIONS
4.1 TECHNICAL SPECIFICATIONS..............................................................................................................4-1
4.2 DIMENSIONS ..........................................................................................................................................4-3
5. CHARACTER SETS
5.1 CHARACTER SET ..................................................................................................................................5-1
Blank page
MANUAL CONTENTS
In addition to the Introduction which includes a description of the explanatory notes used in the manual, general
safety information, how to unpack the printer and a brief description of the printer including its basic features,
this manual is organized as follows:
Chapter 1: Contains the information required for correct printer installation and its proper use
Chapter 2: Contains information on interface specifications
Chapter 3: Contains a description of the printer command set
Chapter 4: Contains Technical Specifications of the printer
Chapter 5: Contains the character sets (fonts) used by the printer
N.B.
Gives important information or suggestions relative to the use of the printer.
WARNING
Information marked with this symbol must be carefully followed to guard against damaging the
printer.
DANGER
Information marked with this symbol must be carefully followed to guard against operator injury
or damage.
Remove the printer from its carton being careful not to damage the packing material so that it may be re-used
if the printer is to be transported in the future. Make sure that all the components illustrated below are present
and that there are no signs of damage. If there are, contact Customer Service.
1. User manual
2. Installation instructions
3. Paper roll
4. Power supply cable (2 ways)
5. Printer 1
6 protection packing shell
7. Box
2
(Fig.1)
GENERAL FEATURES
Thermal printer for dispensing 80 mm tickets width, easy to install (3 fastening holes and ticket presentation to
user incorporated). Thanks to the exclusive anti-paper-jam system, the ticket will always be promptly dispensed
to the user. Thanks to an innovative type of paper roll holding bracket, it is possible to accommodate up to 73
metres of paper (max external Ø 80mm).
In addition to normal printing function, the printer offers a wide array of special features:
PRINTER DESCRIPTION
The printer has an ABS casing with paper roll holder and a rotating paper mouth unit which opens to allow ac-
cess to print head. The control panel is located on the right side and has a PRINT key, a FEED key and status
LED.
• PRINT key When the PRINT key is pressed, the printer perform a demo ticket with pre-set
length. During power-up, if the PRINT key is held down, the printer will perform
the GRAPHIC TEST.
• FEED key When the FEED key is pressed, the printer advances the paper. During power-up,
if the FEED key is held down, the printer will perform the FONT TEST routine.
• PRINT+FEED key When both the PRINT and the FEED keys are pressed during printer power up,
it prints the SETUP report. Pressing the PRINT key it’s possible to change the
parameters value and to print the parameter current value; pressing the FEED
key it’s possible to pass to the next parameter till the end of the SETUP.
• STATUS LED STATUS LED displays printer hardware status. In case of malfunction, flash fre-
quency changing as follows:
(Tab.1)
STATUS
COLOUR DESCRIPTION
LED
RECOVERABLE ERROR
Blank page
1.1 CONNECTIONS
(Fig.1.1)
RS232
24Vdc
PRINT FEED
Model no. type: Header : 90° Molex series 5569 (no. 39-30-1020)
Housing : Molex series 5557 (no. 39-01-3022)
This picture shows the power supply cable included in the printer packaging:
(Fig.1.2)
WARNING:
Respect power supply polarity.
1.2 SELF-TEST
Printer operating status is indicated in the configuration print-out in which, next to the name of the compo-
nents displayed (see figure 1.3), the following information is given:
• Under PROGRAM MEMORY, the message OK appears if functioning and NOT OK if faulty.
• Under PRINTER BUFFER, the message OK appears if functioning and NOT OK if faulty.
• Under CUTTER, the message OK appears if functioning and NOT OK if faulty.
• Under HEAD VOLTAGE is given the voltage of the head.
• Under HEAD TEMPERATURE is given the temperature of the head.
(Fig.1.3)
PRINTER SETUP
PROGRAM MEMORY....................OK
PRINTER BUFFER ........................OK
CUTTER .........................................OK
HEAD VOLTAGE [V] = 24,29
HEAD TEMPERATURE [°C] = 32
1.3 CONFIGURATION
The printer enables the configuration of the printer default parameters pressing both the PRINT and the FEED
keys during the printer power up. The parameters affected during configuration are:
General note: The parameters marked with the symbol D represent the default values.
Note (1): These parameters are shown only for the USB interface models.
Note (2): Using this parameter, it is possible to select whether the Busy signal is activated when the
printer is both in Off Line status and the buffer is full, or only if the reception buffer is full.
The settings made are saved on the EEPROM (non volatile memory).
During the setup routine the printer prints out the setup report and will remain in standby until another key is
pressed or characters are received through the printer communication port. After this, each time the PRINT
key is pressed, the parameter is modified and its current value is printed. Once the required value has been
obtained, press the FEED key to proceed to the next parameter, and so on. Once all the parameters have been
run through, the printing of a message signals the end of the setting procedure.
1.5 MAINTENANCE
WARNING
Make sure no water or other liquids seep inside the printer.
BEWARE
Before any type of work is done on the machine, disconnect the power supply cord from
the mains outlet.
ATTENTION
Do not touch the head heating line with bare hands or metal objects. Do not perform any
operation inside the printer immediately after printing because the head and motor tend
to become very hot.
• Rotate the paper mouth unit to the maximum opening position (see Fig.1.5); in this position the paper mouth
unit stay opened.
• Widen the hooks that block the cutter unit and rotate the cutter unit up (see Fig.1.6).
NOTE
After each maintenance operation is recommended to check and remove possible scraps of paper.
1 2
(Fig.1.5) (Fig.1.6)
• Lift the inspection door and remove possible scraps of paper (see Fig.1.7).
• Open the printer (see previous paragraphs).
• Lift the unblocking lever for rubbed roller (see Fig.1.8).
• Rotate the rubbed roller clockwise to eject the paper (see Fig.1.9).
1 2
See previous
paragraph
(Fig.1.7)
3 4
(Fig.1.8) (Fig.1.9)
• Rotate the knob (A) to adjust the housing width for paper roll (see fig. A.10). So it is possible to use pa-
per width less than 80 mm as needed.
• Rotate the lever (B) to adjust the sensor position for nearly paper end (C). Move the lever up to in-crease
the reserve of paper, move the lever down to decrease the reserve of paper (see Fig. 1.11).
(Fig.1.10)
C
B
(Fig.1.11)
The paper roll holder support positioning isn’t fixed but adjustable on 3 different positions (rear P1, lower P2
and upper P3). To fastening the paper roll holder support proceed as follow:
1. Bring up the paper roll holder support. Move it until the two holes coincide with the two holes on the
printer body.
2. Fasten the paper roll holder support with the printer body by the two M4x6 fastening screws supplied.
WARNING
Before fastening the paper roll holder support check the cable path (near paper end sensor) is
correct. Incorrect positions of the cable could cause damage on it.
P1
(Fig.1.12)
P2
P3
(Fig.1.13)
(Fig.1.14)
(Fig.1.15)
WARNING
Before inserting the paper, make sure the cut is straight.
Follow loading specifications (Fig.1.15)
The user is responsible for cleaning the printer case. To clean the unit, use compressed air or a soft cloth. Do
not use alcohol, solvents or stiff brushes.
PR
INT
FEE
D
CO
M
(Fig.1.16)
The printer is equipped with a paper dispense restriction device to prevent damage on the printing mechanism
in case of ticket withdrawal before the printing is end. This device is composed of an oscillating plane under
the inspection door, linked with a sensor.
When the user make a ticket withdrawal before the printing is end, the ticket stretch causing the lowering of the
oscillating plane. Ticket printing immediately stops, and the printer perform the ticket cut.
(Fig.1.17)
Blank page
(Fig.2.1)
RS232
24Vdc
PRINT FEED
The diagrams below show a sample connection between printer and PC using a 8 pin male RJ45 connector
and a 9 pin female connector:
(Fig.2.2)
GND RXD
TXD TXD
RXD
RTS GND
7
RTS
8
Printer PC
(Fig.2.3)
24Vdc
PRINT FEED
21
(Tab.2.1)
PIN SIGNAL DESCRIPTION
1 VBUS N.C.
2 D- Data -
3 D+ Data +
4 GND Ground signal
Shell Shield Cable shielding
The printer has two printing directions which can be selected by means of the control characters: normal and reverse.
PAPER
OUTFEED
DIRECTION
The table 3.1 shows the commands list, ordered by their hexadecimal value.
LEGEND :
Symbol Function
$ indicates the representation of the command hexadecimal value (for example $40 means HEX 40).
{} indicates an ASCII character not performable.
n, m, t, x, y are optional parameters that can have different values.
The following table lists all the commands for function management in ESC/POS Emulation of the printer. The
commands can be transmitted to the printer at any moment, but they will only be carried out when the commands
ahead of them have been executed. The commands are carried out when the circular buffer is free to do so.
$08
$09
$0A
$0D
$10 $04 n
$18
$1B $20 n
$1B $21 n
[Notes] • The printer can underline all the characters, but it cannot underline the space set by
commands $09, $1B $24, $1B $5C and 90° clockwise rotated characters.
• When the characters on the same line are enlarged to different heights, they are either
aligned at the baseline or topline (see $1D $7E).
• This command resets the left and right margin at the default value (see $1D $4C,
$1D $57).
• The command $1B $45 can also turn on/off bold mode. However, the setting of the last
received command is effective.
• The command $1B $2D can also turn on/off underline mode. However, the setting of
the last received command is effective
• The command $1B $34 can also turn on/off script mode. However, the setting of the last
received command is effective.
• The command $1D $21 can select the character size. However,the setting of the last
received command is effective.
[Default] n=0
[Reference] $1B $45, $1B $2D, $1B $34, $1D $21
[Example]
$1B $24 nL nH
[Notes] • The commands nL and nH indicate the number of horizontal dots in the graphic image.
The nL and nH indicate the number of dots of the bit image in the horizontal direction.
The number of dots is calculated by nL + nH * 256.
• If the bit image data exceeds the number of dots to be printed on a line, the excess data
is ignored.
• d indicates the bit image data. Set a corresponding bit to 1 to print dot or to 0 not to print dot.
• If the value of m is out of the specified range, nL and the data following are processed
as normal data.
• If the width of the printing area set by the commands $1D $4C and $1D $57 is less
than the width required by the data sent with the command $1B $2A , the excess data is
ignored.
• To print the bit image use commands $0A, $0D, $1B $4A or $1B $64.
• After printing a bit image, the printer returns to normal data processing mode.
• This command is not affected by bold, double-strike and underline (etc.) print modes,
only by upside-down mode.
The relationship between the bit image and the dots to be printed is as follows:
d1 d4 d7
MSB MSB
Bit- Bit-
d1 d2 d3 image d2 d5 d8 image
data data
LSB LSB
d3 d6 d9
[Default]
[Reference]
[Example]
$1B $2D n
$1B $30
$1B $32
$1B $33 n
$1B $34 n
n FUNCTION
0, 48 Turns script mode off
1, 49 Turns script mode o
• Script mode can also be turned on or off by using $1B $21. Note, however, that the last
command received is effective
[Default] n=0
[Reference] $1B $21
[Example]
$1B $3D n
[Notes] • When the printer is disabled, it ignores all transmitted data until the printer is enabled
by this command.
[Default] n=1
[Reference]
[Example]
$1B $40
[Notes] • The horizontal tab position is stored as a value of [character width x n] measured from
the beginning of the line. The width of the character includes the space to the right of the
character and double width characters are set with a width which is double that of normal
characters.
• This command cancels the previous horizontal tab setting.
• When setting n = 8, the print position is moved to column 9 by sending HT.
• Up to 32 tab positions can be set ( k = 32). Any data exceeding the 32 tabs is processed
as normal data.
• Transmit [ n ] k in ascending order and put a code 0 NUL at the end. When [ n ] k is less
than or equal to the preceding value [ n ] k-1, tab setting is finished and the following data
is processed as normal data.
• This command cancels all horizontal tab positions.
• The previously specified horizontal tab positions do not change, even if the character
width changes.
[Default] The default tabs are at intervals of 8 characters (columns 9, 17, 25, …) for the A Font
when the space to the right of the character is 0.
[Reference] $09
[Example]
$1B $45 n
$1B $47 n
$1B $4A n
[Range] 0 ≤ n ≤ 255
[Description] Prints the data in the print buffer and feeds the paper [ n * (vertical or horizontal motion
unit) inches.
[Notes] • After printing is over, this command sets the print starting position at the beginning of
the line.
• The paper feed amount set by this command does not affect the values set by $1B $32
or $1B $33.
• The horizontal and vertical motion unit are specified by $1D $50.
• The command GS P can change the vertical (and horizontal) motion unit. However, the
value cannot be less than the minimum vertical movement amount.
• In standard mode, the vertical motion unit is used.
• The maximum paper feed amount is 31.8 mm.
[Default]
[Reference] $1D $50
[Example]
$1B $52 n
HEX 23 24 40 5B 5C 5D 5E 60 7B 7C 7D 7E
n CHARACTERS SET
0 U.S.A. # $ @ [ \ ] ^ ` { | } ~
1 France # $ à ° ç § ^ ` é ù è “
2 Germany # $ § Ä Ö Ü ^ ` ä ö ü b
3 United Kingdom £ $ @ [ \ ] ^ ` { | } ~
4 Denmark I # $ @ Æ Æ Å ^ ` æ f å ~
5 Sweden # ¤ É Ä Ö Å Ü é ä ö å ü
6 Italy # $ @ ° \ é ^ ù à ò è ì
7 Spain I Pt $ @ i Ñ ¿ ^ ` “ ñ } ~
8 Japan # $ @ [ ¥ ] ^ ` { | } ~
9 Norway # ¤ É Æ Æ Å Ü é æ f å ü
10 Denmark II # $ É Æ Æ Å Ü é æ f å ü
[Notes]
[Default] n=0
[Reference]
[Example]
$1B $56 n
n FUNCTION
0, 48 Turns off 90° rotation mode
0,49 Turns on 90° rotation mode
[Notes] • When underlined mode is turned on, the printer does not underline 90° rotated charac-
ters. All the same it’s possible select the underline mode.
• Double-width and double-height commands in 90° rotation mode enlarge characters
in the opposite directions from double-height and double-width commands in normal
mode.
• This command is not available in Page mode.
• If this command is entered in Page mode, the printer all the same save the setting.
Default] n=0
[Reference] $1B $21, $1B $2D
[Example]
$1B $5C nL nH
$1B $61 n
n JUSTIFICATION
0, 48 Left justification
1, 49 Centring
2, 50 Right justification
[Notes] • This command is only enabled if input at the beginning of the line.
• The lines are justified within the specified printing area.
• The spaces set by the commands $09, $1B $24 and $1B $ 5C remain justified as per
the previously set mode.
[Default] n=0
[Reference]
[Example]
Left justification Left justification Right justification
ABC ABC ABC
ABCD ABCD ABCD
ABCDE ABCDE ABCDE
$1B $64 n
$1B $69
$1B $74 n
n PAGE
0 0 (PC437 [U.S.A., Standard Europe])
19 19 (PC858 for Euro symbol at position 213)
255 Page space
[Note]
[Default] n=0
[Reference] See character code table
[Example] For printing Euro symbol (€), the command sequence is: $1B, $74, $13, $D5
$1B $76
[Default]
[Reference] $10 $04
[Example]
$1B $78 n
n FUNCTION
0 Draft mode (high speed)
1 Normal mode
2 High quality (low speed)
[Notes] • In high quality mode (n= 2), the printer may be noisy.
[Default] n=1
[Reference]
[Example]
$1B $7B n
[Default] n=0
[Reference]
[Example]
Upside-down printing Off Upside-down printing On
123456
ABCDEFG ABCDEFG
123456
↑
Paper outfeed direction
$1B $FA n xH xL yH yL
n FUNCTION
1 Print flash bank logo 1
2 Print flash bank logo
m FUNCTION
1 Save logotype into flash bank 1
2 Save logotype into flash bank 2
[Example] To store the logotype indicated below ,into flash bank 2, necessity execute the follows
operation
1)Define the image dimensions.
The width of image is 608 horizontal pixel; the height maximun of image is 862 vertical
pixel.
2) Calculate the number of bytes to send as (height pix * width pix)/16. Bytes number in
example is 608 x 862/16=32756 in exadecimal resulting = 7FF4.
3) Bit stream image conversion.
In the following figure is reproduced the logotype enlargement in the zone indicated by
the arrow to define d0...dn
d0 d1 d2 d3
TG2480
KIOSK PRINTER
$1D $21 n
[Notes] • This command is effective for all characters (except HRI characters).
• If n is outside the defined range, this command is ignored.
• When characters are enlarged with different heights on one line, the are aligned at the
baseline or topline (see $1D $7E).
• The character size can also be selected by the command $1B $21. However,the setting
of the last received command is effective.
[Default] n=0
[Reference] $1B $21
[Example]
$1D $3A
$1D $42 n
[Notes] • If n or m is out of the defined range, the previously set print mode is not changed.
• If n = 0, m does not have any meaning.
[Default] n = 0, m = 0
[Reference] $1D $43 $31, $1D $43 $32, $1D $43 $3B, $1D $63
[Example]
n = 3,m = 0 n = 3, m = 1 n = 3, m=2
□□1 001 1□□
□ indicates a space
$1D $48 n
n FUNCTION
0, 48 Not printed
1, 49 Above the bar code.
2, 50 Below the bar code.
3, 51 Both above and below the bar code
[Notes] • HRI characters are printed using the font specified by $1D $66.
[Default] n=0
[Reference] $1D $66, $1D $6B
[Example]
$1D $49 n
n PRINTER ID SPECIFICATION
1, 49 Printer model ID $93 (TG2480)
2, 50 Type ID Refer to table below
3, 51 ROM version ID Depends on ROM version (4 char)
n = 2, 50 Identification Function
[Notes] • When the DTR/DSR control is selected, the printer only transmits 1 byte (Printer identi-
fication) after it has been given confirmation that the host is ready to receive data. If the
host is not ready, the printer waits until it is.
• When the XON/XOFF control is selected, the printer only transmits 1 byte (Printer iden-
tification) if it has not been given confirmation that the host is ready to receive data.
• This command is carried out once the data has been processed in the reception buffer.
There may therefore be a delay between the moment in which the command is received
and that in which the data is transmitted, depending on the status of the reception buff-
er.
[Default]
[Reference]
[Example]
$1D $4C nL nH
Printable area
$1D $50 x y
Commands using x : $1B $20, $1B $24, $1B $5C, $1D $4C, $1D $57.
Commands using y : $1B $33, $1B $4A.
$1D $57 nL nH
Printable area
$1D $5E r t m
[Notes] • This command lasts for a period of (t * 100 msec.) after a macro is executed by t.
• 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]
$1D $63
$1D $66 n
n FONT
0, 48 Font A.
1, 49 Font B
[Notes] The HRI characters are printed at the position specified by the command $1D $48.
[Default] n=0
[Reference] $1D $48, $1D $6B
[Example]
$1D $68 n
$1D $6B m 00
65 UPC-A 11 ≤ n ≤ 12 48 ≤ d ≤ 57
66 UPC-E 11 ≤ n ≤ 12 48 ≤ d ≤ 57
67 EAN13 (JAN) 12 ≤ n ≤ 13 48 ≤ d ≤ 57
68 EAN8 (JAN) 7≤n≤8 48 ≤ d ≤ 57
48 ≤ d ≤ 57, 65 ≤ d ≤ 90, 32, 36,
69 CODE39 1 ≤ n ≤ 255
37, 43, 45, 46, 47
70 ITF 1 ≤ n ≤ 255 48 ≤ d ≤ 57
48 ≤ d ≤ 57, 65 ≤ d1 ≤ 68, 36,
71 CODABAR 1 ≤ n ≤ 255
43, 45, 46, 47, 58
72 CODE93 1 ≤ n ≤ 255 1 ≤ d ≤ 127
73 CODE128 2 ≤ n ≤ 255 1 ≤ d ≤ 127
90 CODE32 8≤n≤9 48 ≤ d ≤ 57
[Notes] • If d is outside the specified range, the printer prints the following message: “BAR CODE
GENERATOR NON OK !” and processes the following data as normal data.
• If the horizontal size exceeds the printing area, the printer only feeds the paper.
• This command feeds as much paper as is required to print the bar code, irrespective of
the line spacing specified by $1B $32 or $1B $33.
• After printing the bar code, this command sets the print position at the beginning of the line.
• This command is not affected by print modes (bold, double strike, underline or character
size), with the exception of upside-down mode and justification.
[Note for ] • This command ends with a $00 code.
• When the bar code used is UPC-A or UPC-E, the printer prints the bar code data after
receiving 11 (without check digit) or 12 ( with check digit) byte bar code data.
• When the bar code system used is EAN13, the printer prints the bar code after receiving
12 (without check digit) or 13 (with check digit) byte bar code data.
• When the system used is EAN8, the printer prints the bar code after receiving 7 (without
check digit) or 8 (with check digit) byte bar code data.
• The number of data for ITF bar code must be even. When an odd number of data is
input, the printer ignores the last received data.
[Note for ] • If n is outside the specified range, the printer stops command processing and process
the following data as normal data.
When to use
CODE93: • The printer prints an HRI character (o) as a start character at the beginning of the HRI
character string.
• The printer prints an HRI character (o) as a stop character at the end of the HRI character
string.
• The printer prints an HRI character (n) as a control character ($00 to $1F and $7F).
When to use
CODE128: • When using the CODE128 in this printer, take the following points into account for data
transmission:
• The top of the bar code data string must be a code set selection character (CODE A ,
CODE B or CODE C) which selects the first code set.
• Special characters are defined by combining two characters “{“ and one character. The
ASCII character “{” is defined by transmitting “{“ twice consecutively.
[Default]
[Reference] $1D $48, $1D $66, $1D $68, $1D $77
[Example]
$1D $72 n
n FUNCTION
1, 49 Transmits paper sensor status (same as $1B $76).
[Notes] • This command is executed when the data is processed in the reception buffer. There
may therefore be a time lag between receiving the command and transmitting the status,
depending on the status of the reception buffer.
[Default]
[Reference] $10 $04, $1B $75, $1B $76
[Example]
$1D $77 n
[Notes]
[Default] n=3
[Example]
$1D $7E n
n FUNCTION
0, 48 Subscript character position
1, 49 Superscript character position
[Notes] • This command is executed if there are characters with different heights on the same line.
[Default] n=0
[Reference] $1B $21, $1D $21
[Example]
$1D $7C n
n PRINTING DENSITY
0, 48 Very light
1, 49 Light
2, 50 Normal
3, 51 Dark
4, 52 Very dark
[Notes] • The printing density is cleared at default value when the printer is reset or the power is
turned off.
[Default] n=2
[Reference]
[Example]
The following table lists all the commands for the management of the Custom emulation. The commands can
be transmitted to the printer at any moment, but they will only be carried out when the commands previously
transmitted have been carried out. There are no priority commands; all commands are carried out when the
circular buffer is free to do so.
$00
$01
$02
$03
$04
$0A
n $0B
$0D
Decimal 13
[Description] This command prints the data in the buffer.
[Notes] • This command sets the print position at the beginning of the line.
[Default]
[Reference] $0A
[Example]
$0F
$11
X R P6 P5 P4 P3 P2 P1
D7 D6 D5 D4 D3 D2 D1 D0
where:
$1B $21 n
[Notes] • The printer can underline all the characters, but it cannot underline the space set by
command $1B $24 and 90° clockwise rotated characters.
• When the characters on the same line are enlarged to different heights, they are either
aligned at the baseline or topline.
• This command resets the left and right margin at the default value.
[Default] n=0
[Reference]
[Example]
$1B $24 nL nH
[Notes] • The commands nL and nH indicate the number of horizontal dots in the graphic image.
The nL and nH indicate the number of dots of the bit image in the horizontal direction.
The number of dots is calculated by nL + nH * 256.
• If the bit image data exceeds the number of dots to be printed on a line, the excess data
is ignored.
• d indicates the bit image data. Set a corresponding bit at 1 to print dot or at 0 not to print dot.
• If the value of m is outside the specified range, nL and the data following are processed
as normal data.
• To print the bit-image, use the commands $0A or $0D.
• After printing a bit image, the printer reverts to normal data processing mode.
• This command is not affected by bold, double strike, underlining (etc.) modes, with the
exception of upside down mode.
The relationship between the image data and the dots to be printed is as follows:
d1 d4 d7
MSB MSB
Bit- Bit-
d1 d2 d3 image d2 d5 d8 image
data data
LSB LSB
d3 d6 d9
$1B $40
$1B $42
$1B $43
dH dL $1B $47
dH dL $1B $4D
$1B $4E
$1B $52
$1B $56 n
n FUNCTION
0, 48 Turns off 90° rotation mode
1,49 Turns on 90° rotation mode
[Notes] • When underlined mode is turned on, the printer does not underline 90° rotated charac-
ters. All the same it’s possible select the underline mode.
• Double-width and double-height commands in 90° rotation mode enlarge characters
in the opposite directions from double-height and double-width commands in normal
mode.
• This command is not available in Page mode.
• If this command is entered in Page mode, the printer all the same save the setting.
Default] n=0
[Reference] $1B $21 , $1B $2D
[Example]
$1B $61 n
n JUSTIFICATION
0, 48 Left justification
1, 49 Centering
2, 50 Right justification
[Notes] • This command is only enabled if input at the beginning of the line.
• The lines are justified within the specified printing area.
• The spaces set by the command $1B $24 remain justified as per the previously set
mode.
[Default] n=0
[Reference]
[Example]
Left justification Centering Right justification
ABC ABC ABC
ABCD ABCD ABCD
ABCDE ABCDE ABCDE
$1B $62
$1B $6D
$1B $70
aH aL $1B $72
The response will be the location value in hexadecimals expressed in two ASCII bytes.
$1B $74 n
n PAGE
0 0 (PC437 [U.S.A., Standard Europe])
19 19 (PC858 for Euro symbol at position 213
255 Page space
[Note]
[Default] n=0
[Reference] See character code table.
[Example] For printing Euro symbol (€), the command sequence is: $1B, $74, $13, $D5
aH aL dH dL $1B $77
$1B $FA n xH xL yH yL
n FUNCTION
1 Print flash bank logo 1
2 Print flash bank logo
n FUNCTION
1 Print flash bank logo 1
2 Print flash bank logo 2
d0 d1 d2 d3
TG2480
KIOSK PRINTER
$1D $0C
$1D $3A
[Notes] • if n or m is outside the defined range, the previously set print mode is not changed.
• If n = 0, m has no meaning.
[Default] n = 0, m = 0
[Reference] $1D $43 $31, $1D $43 $32, $1D $43 $3B, $1D $63
[Example] n = 3,m = 0 n = 3, m = 1 n = 3, m=2
□□1 001 1□□
□ indicates a space
$1D $48 n
n FUNCTION
0, 48 Not printed
1, 49 Above the bar code.
2, 50 Underneath the bar code.
3, 51 Both above and underneath the bar code
[[Notes] • HRI characters are printed using the font specified by the command $1D $66.
[Default] n=0
[Reference] $1D $66, $1D $6B
[Example]
$1D $49 n
n PRINTER ID SPECIFICATION
1, 49 Printer mode identification $93 (TG2480)
2, 50 Function identification See table below
3, 51 ROM version identification Depends on ROM version (4 char)
n = 2, 50 Identification Function
[Notes] • When the DTR/DSR control is selected, the printer only transmits 1 byte (Printer identi-
fication) after it has been given confirmation that the host is ready to receive data. If the
host is not ready, the printer waits until it is.
• When the XON/XOFF control is selected, the printer only transmits 1 byte (Printer iden-
tification) if it has not been given confirmation that the host is ready to receive data.
• This command is carried out once the data has been processed in the reception buffer.
There may therefore be a delay between the moment in which the command is received and
that in which the data is transmitted, depending on the status of the reception buffer.
[Default]
[Reference]
[Example]
$1D $50 x y
$1D $5E r t m
$1D $63
$1D $66 n
n FONT
0, 48 FONT A (14 x 24)
1, 49 FONT B (10 x 24)
[Notes] The HRI characters are printed at the position specified by the command $1D $48.
[Default] n=0
[Reference] $1D $48, $1D $6B
[Example]
$1D $68 n
$1D $6B m 00
65 UPC-A 11 ≤ n ≤ 12 48 ≤ d ≤ 57
66 UPC-E 11 ≤ n ≤ 12 48 ≤ d ≤ 57
67 EAN13 (JAN) 12 ≤ n ≤ 13 48 ≤ d ≤ 57
68 EAN8 (JAN) 7≤n≤8 48 ≤ d ≤ 57
48 ≤ d ≤ 57, 65 ≤ d ≤ 90, 32, 36,
69 CODE39 1 ≤ n ≤ 255
37, 43, 45, 46, 47
70 ITF 1 ≤ n ≤ 255 48 ≤ d ≤ 57
48 ≤ d ≤ 57, 65 ≤ d1 ≤ 68, 36,
71 CODABAR 1 ≤ n ≤ 255
43, 45, 46, 47, 58
72 CODE93 1 ≤ n ≤ 255 1 ≤ d ≤ 127
73 CODE128 2 ≤ n ≤ 255 1 ≤ d ≤ 127
90 CODE32 8≤n≤9 48 ≤ d ≤ 57
[Notes] • If d is outside the specified range, the printer prints the following message: “BAR CODE
GENERATOR NON OK !” and processes the following data as normal data.
• If the horizontal size exceeds the printing area, the printer only feeds the paper.
• This command feeds as much paper as is required to print the bar code.
• After printing the bar code, this command sets the print position at the beginning of the line.
• This command is not affected by print modes (bold, double strike, underline or character
size), with the exception of upside-down mode and justification.
[Notes for ] • This command ends with a $00 code.
• When the bar code used is UPC-A or UPC-E, the printer prints the bar code data after
receiving 11 (without check digit) or 12 ( with check digit) byte bar code data.
• When the bar code system used is EAN13, the printer prints the bar code after receiving
12 (without check digit) or 13 (with check digit) byte bar code data.
• When the system used is EAN8, the printer prints the bar code after receiving 7 (without
check digit) or 8 (with check digit) byte bar code data.
• The number of data for ITF bar code must be even. When an odd number of data is
input, the printer ignores the last received data.
[Note for ] • If n is outside the specified range, the printer stops command processing and process
the following data as normal data.
When to use
CODE93: • The printer prints an HRI character ( o ) as a start character at the beginning of the HRI
character string.
• The printer prints an HRI character ( o ) as a stop character at the end of the HRI char-
acter string.
• The printer prints an HRI character ( n ) as a control character ($00 to $1F and $7F).
When to use
CODE128: • When using the CODE128 in this printer, take the following points into account for data
transmission:
• The top of the bar code data string must be a code set selection character (CODE A ,
CODE B or CODE C) which selects the first code set.
• Special characters are defined by combining two characters “{“ and one character. The
ASCII character “}” is defined by transmitting “{“ twice consecutively.
[Default]
[Reference] $1D $48, $1D $66, $1D $68, $1D $77
[Example]
$1D $77 n
[Notes]
[Default] n=3
[Reference] $1D $6B
[Example]
$1D $7C n
n PRINTING DENSITY
0, 48 Very light
1, 49 Light
2, 50 Normal
3, 51 Dark
4, 52 Very dark
[Notes] • The printing density is cleared at default value when the printer is reset or the power is
turned off.
[Default] n=2
[Reference]
[Example]
The following table lists all the commands for function management in CBM iDP560RS Emulation. The com-
mands can be transmitted to the printer at any moment, but they will only be carried out when the commands
previously sent have been executed. There are no priority commands; all commands are carried out when the
circular buffer is free to do.
$00
$01
$02
$03
$04
$0A
[Description] Prints the data in the buffer and feeds one line, based on the current line spacing.
[Notes] This command sets the print position at the beginning of the line.
[Default]
[Reference] $1B $31, $1B $32
[Example]
$0C
$0D
$0E
$0F
$11
$13
$14
$18
$1E
$1F
$1B $31
$1B $32
$1B $40
$1B $43 n
[Range] 14 ≤ n ≤ 120
[Description] This command sets the length (number of lines) of the page, and paging formatting begins.
A space of three lines is left at both the top and bottom of the page.
[Notes] • Page formatting can be cleared through the command $1B $4F.
[Default] n = 66
[Reference] $0C, $1B $4F
[Example]
$1B $4B n1 n2
$1B $4F
$1B $52 n
HEX 23 24 40 5B 5C 5D 5E 60 7B 7C 7D 7E
n CHARACTERS SET
0 U.S.A. # $ @ [ \ ] ^ ` { | } ~
1 France # $ à ° ç § ^ ` é ù è “
2 Germany # $ § Ä Ö Ü ^ ` ä ö ü b
3 United Kingdom £ $ @ [ \ ] ^ ` { | } ~
4 Denmark I # $ @ Æ Æ Å ^ ` æ f å ~
5 Sweden # ¤ É Ä Ö Å Ü é ä ö å ü
6 Italy # $ @ ° \ é ^ ù à ò è ì
7 Spain I Pt $ @ i Ñ ¿ ^ ` “ ñ } ~
8 Japan # $ @ [ ¥ ] ^ ` { | } ~
9 Norway # ¤ É Æ Æ Å Ü é æ f å ü
10 Denmark II # $ É Æ Æ Å Ü é æ f å ü
[Default] n=0
[Reference]
[Example]
$1B $69
$1B $FA n xH xL yH yL
n FUNCTION
1 Print flash bank logo 1
2 Print flash bank logo 2
$1D $49 n
n PRINTER ID SPECIFICATION
1, 49 Printer mode identification $93 (TG2480)
2, 50 Function identification See table below
3, 51 ROM version identification Depends on ROM version (4 char)
n = 2, 50 Identification Function
[Notes] • This command is executed when the data is processed in the reception buffer. There
may therefore be a time lag between receiving the command and transmitting the data,
depending on the status of the reception buffer.
[Default]
[Reference]
[Example]
$1D $50 x y
$1D $7C n
n PRINTING DENSITY
0, 48 Very light
1, 49 Light
2, 50 Normal
3, 51 Dark
4, 52 Very dark
[Notes] • The printing density is cleared at default value when the printer is reset or the power is
turned off.
[Default] n=2
[Reference]
[Example]
Blank page
Table 4.1 gives the main technical specifications for the printer.
(Tab.4.1)
ESC/POS EMULATION
Number of columns 43 60 76
Printing speed
Lines / sec. 30 30 30
Chars / sec. 1290 1800 2280
Characters (L x H mm)
Normal 1.7 x 3 1.2 x 3 1x3
Char set 3
4.2 DIMENSIONS
(Fig.4.1)
116
102
24 101.5 74
185.5
221.5
271.5
291.5
56 45.5 Ømax=80
113.2
130
33.25 42.25 26
Blank page
The printer has seven sets of 224 character each one. In the following figures are shown the examples
Blank page
A.1 ACCESSORIES
The figure below illustrates the power supply to be used for printer operation:
(Fig.A.1)
5 193.0
5
3
CN1
3
L
6.5
N
FG
-V
95.0
95.0
-V
+V
+V
9.0
4.5
5.5
4 - M3 - P 0.5
62.0 120.0
198.0
RANGE TOLERANCE
6.5 13.5 158.0 20.0
3.4 HOLE B
<8 ± 0.1
7.0
10.0
9.5 9.0
8 ÷ 25 ± 0.15
25 ÷ 80 ± 0.25
3 - M3 - P 0.5
3.5
80 ÷ 250 ± 0.4
18.0
38
Note : Dimensioni in mm
A.2.1 Supplies
RCT80X48-25MM
Thermal paper roll 80 mm d=48 core 25 mm
Quantity recommended per no. machines purchased
No. machines <10 <50 <100 >100
Quantities recommended 5 30 60 90
www.custom.biz