Download Print this page
DATEC DPP-350 Programmer's Manual

DATEC DPP-350 Programmer's Manual

Esc/pos thermal printer

Advertisement

Quick Links

DPP-350
ESC/POS Thermal Printer
Programmer's Manual
1 DATEC

Advertisement

loading
Need help?

Need help?

Do you have a question about the DPP-350 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for DATEC DPP-350

  • Page 1 DPP-350 ESC/POS Thermal Printer Programmer’s Manual 1 DATEC...
  • Page 2 Programmer’s manual VER.1.50 Introduction DATECS DPP-350 is a mobile ESC/POS thermal printer with 3-inch wide printing mechanism. It can be used in dynamic working conditions and its abundant built-in features allow it to be widely used for different applications. Printer can quickly and easily print text and/or graphics, depending on customer’s needs –...
  • Page 3: Specification

    1 DATECS DPP-350 Programmer’s manual VER.1.50 Specification Feature Specification Emulation ESC/POS Printer mechanism FTP-638MCL103 Printing Method line Thermal dot method Dot structure 576 dots per line Dot pitch (Horizontal) 0.125 mm (8 dots/mm) - Dot density Dot pitch (Vertical) 0.125 mm (8 dots/mm) - Line feed pitch...
  • Page 4 1 DATECS DPP-350 Programmer’s manual VER.1.50 Width, mm 80 or 58 / 60 Recommended Diameter, Paper 60 to 100 (some paper in this range may not be used because of paper Thickness, µ m characteristics) Dimensions, (W x D x H) mm...
  • Page 5: Protocol Mode

    1 DATECS DPP-350 Programmer’s manual VER.1.50 Hardware configuration switches Switch 78 mm paper/label roll 58 mm paper/label roll Continuous paper mode Label/Black mark mode Hardware protocol Xon/Xoff protocol Normal operation mode Protocol mode Diagnostic information, dump mode and firmware updating •...
  • Page 6 1 DATECS DPP-350 Programmer’s manual VER.1.50 Bit 0 No error Error occurred Bit 1 ACK (Packet accepted) NACK (Packed not accepted) Bit 2 Channel and command OK Wrong channel or command Bit 3 Battery OK Low battery Bit 4 Printing head OK...
  • Page 7 1 DATECS DPP-350 Programmer’s manual VER.1.50 Using channel 16 is the only way for full control over the optional card reader. Communication example (all bytes hexadecimal): Send data: >>> 01 02 00 05 11 22 33 44 55 <<< 81 00 00 00 Send data with error: >>>...
  • Page 8: Page Mode

    1 DATECS DPP-350 Programmer’s manual VER.1.50 Page mode Starting from version 1.40, the printer supports page mode. For this mode is needed larger RAM, so it is possible, that some of the older printers will not support it. You can check this using command ESC Z (bit 29.6 will be set if page mode is supported).
  • Page 9: List Of Commands

    1 DATECS DPP-350 Programmer’s manual VER.1.50 List of commands Sounds the buzzer Horizontal Tab command Printing а line and Paper Feeding command Printing and paper feeding to the black mark position The operation of the command depends on the state of the...
  • Page 10 1 DATECS DPP-350 Programmer’s manual VER.1.50 ESC I Specifying/Canceling Italic print ESC J Printing and Paper feed n/203 inches ESC L Selecting page mode ESC N Reading programmed serial number ESC R Selecting country ESC S Specifying speed (bps) of the serial port...
  • Page 11: Command Details

    1 DATECS DPP-350 Programmer’s manual VER.1.50 GS U Selecting standard mode GS W Setting the print area width GS X Drawing a rectangular box with selected thickness in page mode GS Z Printing the non blank page area only in page mode...
  • Page 12 1 DATECS DPP-350 Programmer’s manual VER.1.50 Note for Black Mark Function Error detection at black mark mode Paper end is not checked during printing and also black mark is not checked. After receiving FF command, printer checks black mark and paper end. Once black is detected and white is detected again within 6 mm paper feed, it is determined as black mark.
  • Page 13 1 DATECS DPP-350 Programmer’s manual VER.1.50 All DC3 command except DC3 P and DC3 p are executed when ruled line mode is off, too. Su the ruled line buffers can be cleared or set before this command. The command DC3 – sets ruled lines off.
  • Page 14 1 DATECS DPP-350 Programmer’s manual VER.1.50 14. Ruled line pattern set (DC3 F) Code: [13h] + [46h] + n1 + n2 The command fills the selected ruled line buffer with the data sequence n1, n2. Permitted values: 0-FFh. Every byte sets 8 dots, last executed command DC2 = determines whether the MSB is the left or the right side.
  • Page 15 1 DATECS DPP-350 Programmer’s manual VER.1.50 Warning! Because of the characteristics of thermal printing it is possible, that the quality of single horizontal lines on the paper is not good. The command is supported in firmware version 1.48 or higher.
  • Page 16 1 DATECS DPP-350 Programmer’s manual VER.1.50 ASCII codes from 00H to 1FH disable EURO substitution and the selected code table is printed unchanged. Default value is 00H (EURO substitution disabled). 25. Specifying the absolute horizontal position of printing (ESC $) Code: [1Bh] + [24h] + n1 + n2 0 <= n1 <= FF Horizontal shifting in dots (least significant byte LSB)
  • Page 17 1 DATECS DPP-350 Programmer’s manual VER.1.50 Highlighting Canceled Specified Double Height Canceled Specified Double Width Canceled Specified Undefined Underline Canceled Specified An underline is attached to the full character width, which, however, is not attached to the part having been skipped by the horizontal tab. Neither is it attached to 90°-right-turned characters.
  • Page 18 1 DATECS DPP-350 Programmer’s manual VER.1.50 are the bit image data. Their number is n*24 bytes for mode 10h. The compressed data in mode 11h must give same number of bytes, but after the decompression. The number of data bytes for mode 12h must be a*n (after decompression).
  • Page 19 1 DATECS DPP-350 Programmer’s manual VER.1.50 Note: This command only selects the underline thickness. For specifying/canceling the Underline mode command ESC ! ([1Bh] + [21h]) must be used. 32. Printing Self Test/diagnostic information (ESC .) Code: [1Вh] + [2Еh] Prints test page and self-diagnostic information. The self-diagnostic information includes print density, print head temperature, battery voltage, baud rate in case of work via RS232 and others.
  • Page 20 1 DATECS DPP-350 Programmer’s manual VER.1.50 • If command ESC > with argument > 0 was executed since last ESC u command, then this is the print direction. • If command ESC < was executed after this, the print direction is changed to the opposite.
  • Page 21 1 DATECS DPP-350 Programmer’s manual VER.1.50 After receiving this command the printer moves approximately 20 cm of paper and Searches minimum and maximum of paper sensor values. Two bytes data are returned – Minimum value and maximum value. After receiving this command the printer moves approximately 20 cm of paper and Searches minimum and maximum of paper sensor values.
  • Page 22 1 DATECS DPP-350 Programmer’s manual VER.1.50 44. Specifying / Canceling highlighting (ESC G) Code: [1Bh] + [47h] + n Same as command ESC E. 45. Specifying / Canceling Italic Print (ESC I) Code: [1Bh] + [49h] + n n can be from 0 to 255, but only the least significant bit is of significance.
  • Page 23 1 DATECS DPP-350 Programmer’s manual VER.1.50 Germany § Ä Ö Ü ä ö ü ß U.K. £ Denmark I Æ Ø Å æ ø å Sweden É Ä Ö Å Ü é ä ö å ü Italy º é ù...
  • Page 24 1 DATECS DPP-350 Programmer’s manual VER.1.50 53. Selecting / Canceling printing 90° - right turned characters (ESC V) Code: [1Bh] + [56h] + n n can be from 0 to 255, but only the least significant bit is of significance: 0 Canceling 90°-right- turned Characters...
  • Page 25 1 DATECS DPP-350 Programmer’s manual VER.1.50 57. Returning diagnostic information (ESC Z) Code: 1Bh] + [5Ah] The printer will return 32 bytes of information with the following structure: 1-22: Printer name up to 22 charachters. 23-25: Firmware version – 3 digits.
  • Page 26 1 DATECS DPP-350 Programmer’s manual VER.1.50 58. Specifying relative horizontal position (ESC \) Code: [1Bh] + [5Сh] + n1 + n2 0 <= n1 <= FFh Specifying number of dots from current position in horizontal (LSB). 0 <= n2 <= FFh Specifying number of dots from current position in horizontal (MSB).
  • Page 27 1 DATECS DPP-350 Programmer’s manual VER.1.50 • Print density is 100%. • Communication speed is set to 115200 bps. • Code table becomes 437 (US), and country 0 (US). For Japanese version default values are: Code table Katakana and country Japan.
  • Page 28 1 DATECS DPP-350 Programmer’s manual VER.1.50 67. Feeding paper backwards (ESC i) Code: [1Bh] + [69h] If paper has been fed forward with command ESC o, then it returns backwards. The feed is exactly the same as it was defined in command ESC o, but in reverse direction.
  • Page 29 1 DATECS DPP-350 Programmer’s manual VER.1.50 ‘F’ - Fa ‘G’ - Sol ‘A’ - La ‘B’ – Si If immediately after the note comes character ‘#’, then the note is higher in pitch by a semitone (sharp). If immediately after the note comes character ‘&’, then the note is lower in pitch by a semitone (flat).
  • Page 30 1 DATECS DPP-350 Programmer’s manual VER.1.50 Field separator is ‘,’. 1 or ‘1’: Current settings from printer RAM are returned. The format of data is the same as for subcommand 0. 2 or ‘2’: The currently loade graphic logo is returned in format:...
  • Page 31 1 DATECS DPP-350 Programmer’s manual VER.1.50 when one of the pages 22, 23 or 24 is selected, the ASCII code 7Fh is sent to the printer – the first symbol after it is taken directly from code table 21. Code table 23 differs from 22 by that the digits and some of the punctuation marks are changed with Arabic.
  • Page 32 1 DATECS DPP-350 Programmer’s manual VER.1.50 Starting with version 1.41, a new form of the command with USB class support added (ESC y Usb:). Format: [1Bh] + [79h] + [75h] + [73h] + [62h] + [3Ah] + Data Format for Data: + …...
  • Page 33 1 DATECS DPP-350 Programmer’s manual VER.1.50 80. Setting printer flags (memory switches) ( GS )) Code: [1Dh] + [29h] + f1 + f2 + … + f10 This model has 10 memory switches and selecting, releasing, and changing a function is available with this command.
  • Page 34 1 DATECS DPP-350 Programmer’s manual VER.1.50 83. Starting/Ending macro definitions (GS :) Code: [1Dh] + [3Ah] Specifies starting/ending macro definition. Maximum content available for macro definition is 4094 bytes. After the last byte of data, the command is sent once again to define the end.
  • Page 35 1 DATECS DPP-350 Programmer’s manual VER.1.50 88. Printing 2-D (two dimensional) barcodes (GS Q Code: [1Dh] + [51h] + n + … n selects the type of barcode: 2 or ‘2’: PDF417 Code: [1Dh] + [51h] + n + Type + EncMode + ECCL+Size +nl + nh +Data...
  • Page 36 1 DATECS DPP-350 Programmer’s manual VER.1.50 If some part of the rectangle is outside the page, only the part inside the page is filled. The command is invalid in standard mode. The command is supported in firmware version 1.42 or higher.
  • Page 37 1 DATECS DPP-350 Programmer’s manual VER.1.50 Box thickness (from 1 to 64). The coordinates are relative to the left corner of the page, defined using ESC W (The print direction doesn’t matter). If some part of the rectangle is outside the page, only the part inside the page is filled.
  • Page 38 1 DATECS DPP-350 Programmer’s manual VER.1.50 Field separator is space symbol (ASCII 32h). Data are terminated with ASCII 00h. The command exists in printer versions 1.12 or newer. Note: The command clears the seconds! 99. Setting the font of HRI characters of the barcode (GS f)
  • Page 39 1 DATECS DPP-350 Programmer’s manual VER.1.50 48 <= D <= 57 CODABAR (NW- 48 <= D <= 57, 65 <= D <= 68, 36, 43, 45, 46, 47, CODE 93 0 <= D <= 127 CODE 128 0 <= D <= 127...
  • Page 40 1 DATECS DPP-350 Programmer’s manual VER.1.50 103. Selecting the height of the module of 2D barcode PDF417 (GS q) Code: [1Dh] + [71h] + n n is between 4 and 32 including and is the height of one line from the barcode. By default n=18.
  • Page 41 1 DATECS DPP-350 Programmer’s manual VER.1.50 Double Width Canceled Specified Undefined Undefined Underline Canceled Specified An underline is attached to the full character width, which, however, is not attached to the part having been skipped by the horizontal tab. Neither is it attached to 90°-right-turned characters.
  • Page 42 1 DATECS DPP-350 Programmer’s manual VER.1.50 111. Specifying character spacing for two-byte text mode (FS S) Code: [1Ch] + [53h] + n1 +n2 The command sets the leftward and rightward space amount for two-byte character mode. n1 specifies leftward space, n2 rightward space. The space amount is set in dot unit (1/203 inch unit).