Page 3
PRINTER COMPONENTS A. Front view of exterior of DP24-40 H without Autocutter 1- Cover 2- Paper outfeed 3- Feed key 4- Printer base 5- Printer body 6- LED 7- Print key 8- Print mechanism 9- Keypad DP24-40 H...
Page 4
B. Front view of the exterior of the DP24-40 H with Autocutter 1- Cover 2- Paper outfeed 3- Feed key 4- Printer base 5- Printer body 6- LED 7- Print key 8- Print mechanism 9- Keypad 10- Cutter 11- Cutter support...
Page 5
C. Rear view of the DP24-40 H 1- Serial connector 2- Cash drawer connector 3- ON/OFF switch 4- Feed connector DP24-40 H...
Page 6
. s t i t s y t i . s t n i l n i l c i t y t i . t s f n I c i f a i l DP24-40 H...
2.2 REAL TIME CLOCK (OPTIONAL)............2-2 2.2.1 Adjusting the clock through the keypad ......... 2-2 3. PRINTER FUNCTIONS 3.1 PRINT DIRECTION ................3-1 3.2 CONTROL CHARACTERS ..............3-2 3.2.1 Custom emulation ................3-2 3.2.2 ESC/POS emulation ..............3-19 3.2.3 CITIZEN emulation ..............3-40 DP24-40 H...
Page 8
4.1 TECHNICAL SPECIFICATIONS ............4-1 4.2 DIMENSIONS ..................4-2 5. CHARACTER SETS 5.1 CHARACTER SETS ................5-1 ATTACHMENT A - ACCESSORIES AND SPARE PARTS A.1 PANEL SUPPORT ACCESSORIES ........... A-1 A.1.1 Fitting the panel support ..............A-1 A.2 SPARE PARTS ..................A-2 DP24-40 H...
The information marked with this symbol must be carefully heeded to safeguard against injury to the operator GENERAL INFORMATION REGARDING SAFETY The marks , DEMKO and UL for Canada and the United States applied to the product certify that the product itself fulfils basic safety requirements. DP24-40 H...
Page 10
D. The printer is not operating normally despite the instructions in the user’s manual having been followed. E. The printer has been dropped and its case damaged. F. The performance of the printer is poor. G. The printer does not work. DP24-40 H...
Remove the upper suspended packing and remove the feed cable and manual (or Cdrom) • Take the printer out of its bag. • Keep the box, trays and suspended packing materials in the event of the having to be shipped to another destination. DP24-40 H...
Real Time Clock. DESCRIPTION OF THE PRINTER The DP24-40 H printer (fig.2) has an ABS casing (1) with a front cover (2) which opens to allow access to the paper roll and print head. The control panel is located on the front (3) and has a PRINT key, a FEED key and a LED to indicate Power.
Page 13
• When the green POWER LED lights up, this indicates that the printer is working properly. • ON/OFF key. When pressed, it switches the printer on (fig.3) and when released it switches it off. (Fig.3) DP24-40 H...
1. INSTALLATION AND USE 1.1 CONNECTIONS (Fig.1.1) 1.1.1 Power supply The DP24-40 H printer has a feed cable 1.5 m long with a standard plug. WARNING: ensure that the mains voltage is compatible with the characteristics of the equipment. 1.1.2 Logic circuitry The DP24-40 H has an RS232 serial interface with a 9-pin female connector.
In the ON time (t1) phase, the output voltage is approx. 0V. In the OFF time (t2) phase, there is a high impedance output voltage. (Fig.1.2) 1.2 CONFIGURATION The DP24-40 H enables the configuration of the printer default parameters. The parameters affected during configuration are: DP24-40 H...
1.3.1 Hexadecimal dump After completing the autotest procedure, the printer enters Hexadecimal Dump mode. This function is used for the diagnostics of characters received in serial. In fact, these are printed in hexadecimal code together with the corresponding Ascii code. DP24-40 H...
Insert the end of the roll in the slit of the print mechanism; Press the FEED key; a few centimetres of paper automatically feed out of the printer; Tear off the paper and re-close the cover. (Fig.1.3) DP24-40 H...
1) To remove the paper from the print mechanism, pull it upwards; 2) If the paper comes out the front, obstructing the printing area, first tear off the excess paper then carefully remove the scrap which has jammed. (Fig.1.5) DP24-40 H...
To clean the printer, use a vacuum cleaner or a soft cloth. Before cleaning the printer, disconnect the feed cable from the mains socket. Do not use alcohol, solvents or hard-bristled brushes. Do not allow water or other liquids to wet the internal mechanisms of the printer. (Fig.1.6) (Fig.1.7) DP24-40 H...
To proceed to modify another digit, press the FEED key again. Each time the printer will print the updated time and date, highlighting with an arrow the currently selected digit; • To terminate the setting procedure, press PRINT and FEED at the same time, or scroll all the parameters. DP24-40 H...
Page 22
3. PRINTER FUNCTIONS 3.1 PRINT MODES The printer DP24-40 H has two print modes, selectable through the control characters: normal and reverse. D P 24 -4 0 H D e sk p rin te r Norm al m ode R everse m ode (Fig.3.1)
3.2 CONTROL CHARACTERS The command table lists all the commands for the management of the DP24-40 H printer functions. The commands can be transmitted to the printer at any moment, but they will only be carried out when the characters previously transmitted have been printed or the commands previously transmitted have been carried out.
Page 25
Setting in the option register using the front keys [Reference] 00H, 02H, 03H, 04H [Example] [Name] Double height print [Format] ASCII Decimal [Description] The printer prints in double height format [Notes] • Commands from 00H to 09H do not erase the print buffer DP24-40 H...
Page 26
• The commands from 00H to 09H do not erase the print buffer • The commands that modify the size of the characters are only enabled at the beginning of the line [Default] Setting in the option register using the front keys [Reference] 00H, 01H, 02H, 03H [Example] DP24-40 H...
Page 27
This command prints the line buffer [Notes] • If the buffer is empty, the command is ignored • If the CRLF option is set, this command is ignored and the printer only prints when the command $0A transmitted DP24-40 H...
Page 28
P6 P5 P4 P3 P2 P1 D6 D5 D4 D3 D2 D1 D0 where: X is not used (we recommend 0); R must be set at level 1; P1,.P6 are the graphic dots data(1 prints, 0 doesn’t print). DP24-40 H...
Page 29
24-hour clock and the second the 12-hour antemeridian and postmeridian clock. To set the time in the first way, transmit the 10 ASCII characters relative to the time and date followed by $13. To set the time in the second way, DP24-40 H...
Page 30
. . , . . , . . , . . , [Name] Print the 1st (...8th) programmable character [Format] ASCII 17, ...1F Decimal 23, ...31 [Description] This command causes the printing of the corresponding programmable character. [Notes] DP24-40 H...
Page 31
Selects normal mode printing: the ticket feeds out of the printer with the printing upside down, running from right to left [Notes] [Default] Setting in the option register using the front keys [Reference] ESC R [Example] [Name] Reset printer [Format] ASCII Decimal DP24-40 H...
Page 32
$1B $44 $0D” [Name] Store time of day in print buffer [Format] ASCII Decimal [Description] Enter in the buffer the time of the real time clock fitted inside the printer: the format is hh : mm. DP24-40 H...
Page 33
DATE: $1b $55 TEST OK $0D to print just the date $1B $55 $0D” [Name] Enable printing of seconds [Format] ASCII Decimal [Description] This enables the printing of seconds when the time is asked through the command ESC T [Notes] DP24-40 H...
Page 34
Select the second character font [Notes] • The complete font is printed during the autotest. The font contains cyrillic characters [Default] Setting in the option register using the front keys [Reference] ESC B [Example] [Name] Total cut [Format] ASCII Decimal DP24-40 H...
Page 35
ASCII [Notes] • There are 256 legible locations (from $00 to $FF) [Default] The whole memory bank contains the value $20 by default [Reference] ESC w [Example] To read the address $01, transmit the following in ASCII: DP24-40 H...
Page 36
CHARACTERS that represent the hexadecimal code for the programming of the register. (dd) bit=0 bit=1 bit0:setting of real time clock disabled enabled bit1: print direction normal reverse bit2:- bit3: printing of seconds disabled enabled bit4: CR ($0D) enabled disabled bit5: - DP24-40 H...
Page 37
$30 $32 $1B $4D [Name] Transmit the configuration register in serial [Format] ASCII Decimal [Description] Transmits the option register byte on the serial port [Notes] • If the parallel protocol is in use, nothing will be transmitted [Default] DP24-40 H...
Page 38
Transmits the next character received on the serial port [Notes] [Default] [Reference] [Example] If you transmit: ESC s A the last character, A, is not printed, but immediately transmitted on the serial line [Name] Select the number of dot spaces DP24-40 H...
Page 39
If you wish the symbol of the code $1F to be #, transmit ESC J 2 followed by the 10 bytes making up the character: $1B $4A $32 $52 $52 $52 $7F $52 $52 $7F $52 $52 $52 DP24-40 H...
..t i s l a t i t s c i f n i l n i l DP24-40 H...
Page 41
Print and forward feed [Format] ASCII Decimal [Description] Prints the data in the buffer and forward feeds by one line, according to the currently set line spacing. [Notes] • This command sets the print position at the beginning of the line. DP24-40 H...
Page 42
• This command is carried out even when the printer is off- line, the reception buffer is full or there is an error in course. • This status is transmitted each time the following sequence of data 10H 04H n (1≤n≤4) is received. E.g.: DP24-40 H...
Page 43
2 or more bytes. [Default] [Reference] [Example] n=1: Printer status . f f n i l - f f n i l . f f . f f n=2: Off-line status . f f . f f . f f DP24-40 H...
Page 44
Sets the spacing to the right of the character at [n x (1/ 160)]inches [Notes] • The spacing to the right of the character for double width mode is double that used for normal mode. [Default] n = 0 [Reference] [Example] DP24-40 H...
Page 45
• Each character is underlined for the entire width, including the space to the right of the character but not the space set by the command HT. [Default] n = 0 [Reference] ESC -, ESC E [Example] DP24-40 H...
Page 46
° n y t i y t i [Notes] • After printing a dot image, the printer returns to its normal mode of processing data. • The relationship between the image data and the dots to be DP24-40 H...
Page 47
• The printer can underline all the characters but it cannot underline the space set by the command HT. • Underlined printing can also be enabled or disabled using the command ESC !. Please note,however, that the last command received is enabled [Default] [Reference] ESC ! [Example] DP24-40 H...
Page 48
= 24 (1/6 inch) [Reference] ESC 2 [Example] [Name] Select the peripheral device [Format] ASCII ESC = Decimal 1 ≤ n ≤ 3 [Interval] [Description] Selects the device to which the host computer sends the data, using n as follows: DP24-40 H...
Page 49
Erases all the date in the print buffer and resets the printer mode to the one enabled when the printer was switched on [Notes] • The data in the reception buffer are not erased. • The settings of the DIP switches are not re-checked. [Default] [Reference] [Example] DP24-40 H...
Page 50
[Default] The default tabs are at intervals of 8 characters (columns 9, 17, 25, …) for the 7x9 Font when the space to the right of the character is 0. [Reference] [Example] DP24-40 H...
Page 51
• The amount of paper which forward feeds as a result of this command does not change the values set by the commands ESC 2 or ESC 3. [Default] [Reference] ESC K [Example] DP24-40 H...
Page 52
ESCR 1B 52 n Decimal 82 n 0 ≤ n ≤ 10 [Interval] Selects the international character set by setting n as in the [Description] following table : Selected character U.S.A. France Germany U.K. Denmark I Sweden Italy DP24-40 H...
Page 53
= 0 [Reference] [Example] Alignment to the left Centring Alignment to the right [Name] Enable or disable the front panel keys. [Format] ASCII ESCc 1B 63 35 n Decimal 99 53 n 0 ≤ n ≤ 255 [Interval] DP24-40 H...
Page 54
Print and backward feed the paper by n lines. [Format] ASCII ESCe 1B 65 n Decimal 101 n 0 ≤ n ≤ 255 [Interval] [Description] Prints the data in the print buffer and backward feeds the paper by n lines. DP24-40 H...
Page 55
[Default] [Reference] [Example] [Name] Partial cut. [Format] ASCII 1B 6D Decimal [Description] This command enables the cutter partial cutting function, if there is no cutter, a disabling flag is set and all further cutting commands are ignored. DP24-40 H...
Page 56
[Example] [Name] Select the character code table. [Format] ASCII ESCt 1B 74 n Decimal 116 n 0 ≤ n ≤ 5, n = 254, 255 [Interval] Select a page n from the character code table, as follows: [Description] DP24-40 H...
Page 57
• This command is only enabled if entered at the beginning of a line. • In upside down printing mode, the printer rotates the line to be printed by 180° and then prints it. [Default] n = 0 [Reference] [Example] DP24-40 H...
Page 58
• When the XON/XOFF control is selected, the printer only transmits 1 byte (Printer identification) if it has not been given confirmation that the host is ready to receive data. DP24-40 H...
Page 59
1D 72 n Decimal 114 n 1 ≤ n ≤ 2, 49 ≤ n ≤ 50 [Interval] [Description] Transmits the status specified by n as follows: Function 1. 49 Transmit paper sensor status 2. 50 Transmit cash drawer connector status DP24-40 H...
Page 60
• The types of status transmitted can be seen below: Bits 0 and 1: The reserve paper sensor is optional; [Default] [Reference] [Example] DP24-40 H...
Page 62
[Name] Forward feed the paper after printing. [Format] ASCII Decimal [Description] Prints the data in the buffer and forward feeds the paper on the basis of the length of the page specified by the command ESC C n. DP24-40 H...
Page 63
The printer prints in small (normal) character mode [Notes] [Default] Setting through the front keys [Reference] RS, SI, SO, 01H, 02H, 03H, 04H [Example] I SI SI SI SI S [Name] Standard character designation (same as US) [Format] ASCII Decimal DP24-40 H...
Page 64
RS, US, SI, 01H, 02H, 03H, 04H [Example] [Name] Place the printer ON LINE. [Format] ASCII Decimal [Description] Places the printer ON LINE. [Notes] Only this code can be accepted independently of the status OFF LINE. [Default] [Reference] [Example] DP24-40 H...
Page 65
[Format] ASCII Decimal [Description] Sets / cancels (alternately) reverse printing mode. [Notes] [Default] [Reference] [Example] [Name] Set 3 mm. line spacing [Format] ASCII 1B 31 Decimal [Description] Sets 3 mm line spacing [Notes] [Default] [Reference] ESC 2 [Example] DP24-40 H...
Page 66
1B 4B n1 n2 Decimal 27 75 n1 n2 1 ≤ n1 ≤ 240; n2 = mute data [Interval] [Description] This command prints n1 bytes of data in graphic mode.The data bytes are arranged vertically starting from the left DP24-40 H...
Page 67
This command enables the cutter function; if there is no cutter, a disabling flag is set and all further cutting commands are ignored. [Notes] The printer waits until all the paper movement commands have been completed before carrying out the total cut. [Default] [Reference] [Example] DP24-40 H...
Page 68
[Notes] The printer waits until all the paper movement commands have been completed before carrying out the partial cut [Default] [Reference] [Example] DP24-40 H...
4. TECHNICAL SPECIFICATIONS 4.2 DIMENSIONS Figure 4.1 shows the dimensions of the desk printer DP24-40 H with autocutter, while figure 4.2 shows the dimensions of same printer without autocutter. (Fig.4.1) (Fig.4.2) DP24-40 H...
5. CHARACTER SETS 5.1 CHARACTER SETS The DP24-40 H printer has two characters sets, each containing 224 characters (font 1 and font 2), which can be called up through the programming (paragraph 1.2) or through the control characters (paragraph 3.2).
Fit the pins in the printer by removing the front fastening screws from the body Make two ∅ 6 mm holes 80 mm apart. Secure the bracket using the two ∅ 6 mm screw anchors Fit the printer on the bracket (Fig.A.1) DP24-40 H...
Need help?
Do you have a question about the DP24-40 H and is the answer not in the manual?
Questions and answers