background image

1 DATECS

 

DPP-350 

 

Programmer’s manual VER.1.50

 

36 

 

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. 

 
 

90.

 Selecting 2-D barcode cell size (

GS S

Code: 

[1Dh] + [53h] + n 

This command sets the cell size for two dimensional barcode QR Code. 
 

Possible values: 

 

n=

0

 or ‘

0

’:   Cell size 3. 

 

n=

1

 or ‘

1

’:   Cell size 4. 

 
 

91.

 Selecting the print direction in page mode (GS T) 

Code: 

[1Dh] + [54h] + n

 

The command selects the current print direction and set starting point to (0, 0) according to this direction. 
 

Accepted values of 

n

 

0

 or ‘

0

’  Printing from left to right, feed to bottom. Starting point in left top corner of the page. 

 

1

 or ‘

1

’  Printing from bottom to top, feed to right. Starting point in left bottom corner of the page. 

 

2

 or ‘

2

’  Printing from right to left, feed to top. Starting point in right bottom corner of the page. 

 

3

 or ‘

3

’  Printing from top to bottom, feed to left. Starting point in right top corner of the page. 

In  page  mode  this  command  changes  immediately  the  print  direction.  In  standard  mode  the  new  value  is 
memorized and used after entering page mode. 

The command is supported in firmware version 1.42 or higher

 
 

92.

 Selecting standard mode (GS U) 

Code: 

[1Dh] + [55h]

 

The command switches from page mode to standard mode. 
The whole memory area of page mode is cleared. 
The command is invalid in standard mode. 

The command is supported in firmware version 1.42 or higher. 

 
 

93.

 Setting the print area width (

GS W

Code: 

[1Dh] + [57h] + n1 + n2 

This command sets the print area width in dots (1/203 inches). This command only works when it is entered at 

the beginning of a line. The defined value of print area width is 

n1+256*n2

 dots. The default value depends on 

the mode 58mm /78mm paper roll and is 408 or 576. 
The command is valid in standard mode only. 
 
 

94.

 Drawing a rectangular box with selected thickness in page mode (GS X) 

Code: 

[1Dh] + [58h] + xL + xH + yL + yH + dxL + dxH + dyL + dyH + n + d 

 

xL 

and

 xH

 

Low  and  high  byte  of  the  horizontal  position  of  the  top  left  corner  of  the  box  in  the 

 

 

active page.

 

 

yL 

and

 yH 

Low and high byte of the vertical position of the top left corner of the box in the active 

 

 

page.

 

 

dxL 

and 

dxH 

Low and high byte of the width of the box.

 

 

dyL 

and 

dyH 

Low and high byte of the height of the box.

 

 

n

 

Filling mode: 

 

 

or

 ‘0’

 

Area under the box is cleared (white).

 

 

 

or

 ‘1’

 

Area under the box is filled (black).

 

 

 

or

 ‘2’

 

Area under the box is inverted. 

Summary of Contents for DPP-350

Page 1: ...1 DATEC ESC POS Thermal Printer Programmer s Manual DPP 350 ...

Page 2: ... Small and lightweight for real mobility High speed and low noise owing to line thermal print Easy paper loading Can be used with 2 types of thermal paper 78 mm or 58 mm wide Long lasting battery max 30 000 lines per charge Serial RS232 or USB interfaces Supports protocol for POS and BARCODE Capable of printing alpha numeric and graphical data Drivers for Pocket PC Palm OS Windows and Blackberry C...

Page 3: ...rs per line Japanese version only Fonts Font F GB2312 24 x 24 dots 28 characters per line Chinese version Logo Registration 1 Black White BMP format 1 bit per pixel Size 576 x 248 Barcode printing EAN 13 EAN 8 UPC A UPC E CODEBAR CODE 39 CODE 128 PDF417 QR Code FLASH Memory 1 Mega bit RAM Memory 36 864 bytes option 131 072 bytes RS 232 interface type RS 232C max 115200 bps USB interface type USB v...

Page 4: ...st up to 110 cm and Waterproof Operating temperatur e 0 C to 50 C 20 to 85 RH no condensation Operating environment Storage temperature h idit 20 C to 60 C 5 to 95 RH no condensation About DPP 350 1 button ON OFF 2 button LF Line Feed 3 ON OFF Error LED indicating printer status STATUS 4 Charging LED CHARGE 5 AC DC adapter input 6 Mini USB port 1 RS232 port 2 Reader LED 3 Smart Card Holder 4 Magne...

Page 5: ...g ON button while power on for 4 sec first sound signal If serial cable is connected RS232 communication temporary forcing 9600 bps serial speed If no serial cable connected Bluetooth or USB communication starting a hardware menu for fast Bluetooth pairing info reset Holding ON button while power on for more than 6 sec enter hardware setup mode Protocol mode Protocol mode is active when DIP switch...

Page 6: ...smission by itself It always responds as an answer to a command The communication goes like this Host command Printer answer Host command Printer answer etc The defined channels are 1 Printer 16 10h Optional card reader Commands for the printer channel 1 Command 2 Send data The data is copied into the printer s print buffer If there s not enough space into the print buffer the packet is rejected a...

Page 7: ...l bytes hexadecimal Send data 01 02 00 05 11 22 33 44 55 81 00 00 00 Send data with error 01 02 00 05 11 22 33 44 55 81 01 00 00 01 02 00 05 11 22 33 44 55 81 01 00 00 01 02 00 05 11 22 33 44 55 81 00 00 00 Receive data 01 03 00 00 81 00 00 00 01 03 00 00 81 00 00 04 11 22 33 44 01 03 00 00 81 00 00 00 Get status 01 04 00 00 81 00 00 05 3F F8 01 49 27 ...

Page 8: ...ommands except GS L and GS W work in page mode The centering and right alignment command ESC a is working in the currently defined page width Ruled lines Starting with version 1 48 new commands added to make printing tables in standard and page mode easier The printer has two line buffers with size the maximum printing width paper width in standard mode or the selected page width in page mode When...

Page 9: ...celing print data in page mode 21 ESC FF Printing data in page mode 22 ESC RS Sounds the buzzer 23 ESC SP Setting character spacing 24 ESC Setting EURO symbol position 25 ESC Specifying the absolute horizontal position of printing 26 ESC Selecting Canceling the printing of downloaded user character sets 27 ESC Selecting user character set 28 ESC Specifying printing mode of text data 29 ESC Printin...

Page 10: ...inting and feeding paper by n lines 67 ESC i Feeding paper backwards 68 ESC o Temporarily feeding paper forward 69 ESC pair Enabling Disabling PAIRING info saving in Bluetooth mode 70 ESC pwd Programming a new Bluetooth password PIN 71 ESC r Full command for sounding buzzer 72 ESC s Reading printer settings 73 ESC u Selecting code table 74 ESC v Transmitting the printer status 75 ESC x Setting the...

Page 11: ...yte text mode JIS or GB2312 108 FS Selecting Canceling underline mode for two byte text mode 109 FS Canceling two byte text mode 110 FS C Selecting Shift JIS mode Japanese version only 111 FS S Specifying character spacing for two byte text mode 112 FS W Selecting double size characters for two byte text mode Command Details 1 Sounds the Buzzer BEL Code 07h By executing this command the buzzer wil...

Page 12: ... as detecting black mark 5 The operation of the command depends on the state of the configuration flags 2 3 and 4 CR Code 0Dh This command is ignored or its action is the same as LF depending on the state of memory switches 2 3 and 4 set using last command GS 6 Image LSB MSB select DC2 Code 12h 3Dh n The command selects whether the left edge of print image is the LSB or MSB for commands GS DC3 F a...

Page 13: ... clearing or setting data use the active ruled line buffer When ruled line is enabled then printing a line and commands DC3 P and DC3 p use this buffer By default buffer А is selected The command is supported in firmware version 1 48 or higher 11 Selects ruled line buffer B DC3 B Code 13h 42h Makes ruled line buffer B active All DC3 commands for clearing or setting data use the active ruled line b...

Page 14: ...n ruled line buffer inverts the dot For commands DC3 P DC3 p and when printing an empty line the logical operation doesn t matter Logical operation XOR is useful to invert the whole height of a text line white letters on black background By default OR mode is selected value 0 The command is supported in firmware version 1 48 or higher 17 Ruled line one dot line print DC3 P Code 13h 50h The active ...

Page 15: ...es a batch printout of the data mapped in the currently selected page The printer continues to work in page mode and data is not destroyed so the command may be executed many times The command is not valid in standard mode The command is supported in firmware version 1 42 or higher 22 Sounds the buzzer ESC RS Code 1Bh 1Eh By executing this command the buzzer will beep 23 Setting character spacing ...

Page 16: ... 1 Copies internal character set B over user character set B All parameters after the number of the command are omitted 2 or 2 Defines a sequence of characters for Font A 12x24 3 or 3 Defines a sequence of characters for Font B 9x16 4 or 4 Defines a sequence of characters for Font B 9x16 n is the ASCII code of the first m ASCII code of the last of the m n 1 consecutive characters When only one sym...

Page 17: ...and 21h The bits subject to printing are taken as 1 and those not as 0 Bit image data is sent starting from the top to bottom and from the left to right vertical columns scanning In modes m 0 and 1 only one byte per column is sent and in mode m 20h 21h 3 bytes for each column are sent Vertical Direction Horizontal Direction m Mode Dots Dot density Dot density Max dots 58 78 mm 0 8 dot single densi...

Page 18: ... coordinate after the line The purpose of the command is to draw tables independent of the type or of the font of the printed symbols between the vertical lines Starting from version 1 40 two new modes for printing graphics are added Code 1Bh 2Ah 13h n1 n2 a D1 Dk or 1Bh 2Ah 14h n1 n2 a D1 Dk n1 Lower part of bytes count in horizontal direction From 0 to 255 n2 Higher part of bytes count in horizo...

Page 19: ...d is supported starting from version 1 42 36 Data input control ESC Code 1Bh 3Dh n n can be from 0 to 255 but only the LSB is of significance Value 0 Printer is not selected Value 1 Printer is selected When the printer is not selected it does not accept data abandons all the received data and the only command that it executes is ESC n with least significant bit 1 By default the printer is selected...

Page 20: ...d bit count in last data byte of track 1 D1i 2 n1 characters containing track 1 data Data are regarded as bit sequence If total bit count is not a multiple of 8 then valid are m1 most significant bits of last byte only n1 m1 and D1i are returned as text hexadecimal i e every byte of data is returned as two characters in the range 0 9 or A F The format of track 2 and 3 is the same The response ends...

Page 21: ...osition is set at position where it is character width multiplied by ni from the line beginning The character width at this time includes the rightward space amount In double wide characters it is made double of the ordinary case Tab positions can be specified are maximum 32 ESC D 00h clears all the set tab positions Following clearing horizontal tab command is ignored 42 Specifying Canceling high...

Page 22: ...a The resulting image is printed using one of the commands ESC FF GS FF or GS Z The page area is the maximum 576 x 2432 dots for wide paper or 408x 2432 dots foe narrow paper or the result of the last executed command ESC W The print direction is the default left to right or the result of the last executed command GS T The current print position is 0 0 depending on the selected print direction The...

Page 23: ...ough a serial cable Possible values of parameter n 0 or 0 1200 bps 1 or 1 2400 bps 2 or 2 4800 bps 3 or 3 9600 bps 4 or 4 19200 bps 5 or 5 57600 bps 6 or 6 115200 bps 7 or 7 38400 bps The last setting is valid after switching OFF and ON the printer Default value is 6 115200 bps 51 Printing short self test ESC T Code 1Bh 54h Prints current printer parameters including intensity temperature of the p...

Page 24: ...direction command GS T If the relative position is invalid the command is not accepted If only a part of the selected page is in the printable area current paper width and maximal height of 2432 dots this area is used as page area Default page size is 576 x 2432 dots in wide paper mode or 408x 2432 dots in narrow paper mode The command is supported in firmware version 1 42 or higher 55 Specifying ...

Page 25: ...is 1 29 0 Update via firmware interface 29 1 Korean characters support 29 2 BLACK MARK mode support 29 3 Barcode reader support 29 4 USB support 29 5 Not in use 29 6 Page mode support 29 7 Reserved always is 1 30 0 GB2312 Simplified Chinese support 30 1 BIG5 Traditional Chinese support 30 2 Not in use 30 3 Not in use 30 4 Not in use 30 5 Not in use 30 6 Not in use 30 7 Reserved always is 1 31 0 St...

Page 26: ...de table Height of barcode Width of barcode single line Font of the text HRI characters corresponding to the barcode Position of the HRI characters 60 Saving current settings in Flash memory ESC Code 1Bh 5Eh The values of the following settings are stored in flash memory Speed of communication in serial port Time for automatic turn off Configuration switches Max printing speed Print density Height...

Page 27: ...ibutes rotation e c t and sets current line height so that the whole letter is printed The command adds additional dots to so calculated line height The maximum line height is 48 dots above base line the line at which the bottom of most latin letters is for example the letter A If adding n to the current height is larger than maximum height 48 then 48 is set as height If no text or graphic data in...

Page 28: ...ved Every time a password will be required The printer will work with all Bluetooth devices After the command the printer must be switched off using ON OFF button or ESC x command The Bluetooth connection will be reinitialized the next time the printer is switched on in Bluetooth mode 70 Programming a new Bluetooth password PIN ESC pwd Code 1Bh 70h 77h 64h 3Dh d 00h This command changes the Blueto...

Page 29: ...e number specifies the percentage duration of notes and intervals to basic duration Values 1 200 2 175 3 140 4 120 5 100 6 80 7 60 8 50 9 40 Return to scale 1 it is default Character Tone La in it is 440 Hz It is recommended that the data ends with ASCII code 03h although any other non printing character will also stop the command 72 Reading current printer settings ESC s Code 1Bh 73h n This comma...

Page 30: ...TIC 1257 17 CYRILLIC 1251 18 GREEK 1253 19 HEBREW 1255 20 KATAKANA 21 ARABIC 22 ARABIC 1256 23 ARABIC 1256 with Arabic digits and punctuation 24 ARABIC 1256 with Farsi Arabic digits and punctuation When the printer is switched ON it is loaded the default code table which is stored in flash memory Addition information about Arabic code tables Arabic code tables are included in firmware version 1 42...

Page 31: ...e 6 Battery Voltage is normal Low battery voltage 7 Not in use 75 Setting the time interval for automatically switching Off the printer ESC x Code 1Bh 78h n Sets the time interval after which the printer will be switched Off automatically if there is no incoming data and LF button is not pressed n is one byte with value between 1 and 60 it sets time in minutes This time is remembered after printer...

Page 32: ... printing of 180 turned characters 1 Enable printing of 180 turned characters Default value is 0 The whole line is turned 78 Printing in page mode and returning to standard mode GS FF Code 1Dh 0Ch The command prints the image in the currently defined page and leaves page mode All the page memory is erased The command is supported in firmware version 1 42 or higher 79 Specifying the absolute vertic...

Page 33: ...Bluetooth in NONDISCOVERABLE mode 9 USB interface disabled USB interface enabled 10 USB in mode HOST USB in mode DEVICE 81 Defining a Downloaded Bit Image logo GS Code 1Dh 2Ah n1 n2 D1 Dn n1 is between 1 and 127 and defines the horizontal size of the downloaded image n2 is between 1 and 248 and defines the vertical size of the downloaded image Di are the data for the bit image This data consists o...

Page 34: ... returns the current value of the RTC as string Returned data format 21 bytes YY MM DD WW hh mm ss 00h YY Year without the century 00 99 MM Month 01 12 DD Day 01 31 WW Day of the week 01 07 hh Hour 00 23 mm Minutes 00 59 ss Seconds 00 59 Field separator is space symbol ASCII 32h Data are terminated with ASCII 00h The command exists in printer versions 1 12 or newer 86 Selecting printing position o...

Page 35: ... 384 Datai Data bytes 2 or 2 QR Code Code 1Dh 51h n Size ECCL nl nh Datai Size Size of symbol Possible values 1 4 6 8 10 12 14 ECCL Error correction control level 1 L 7 2 M 15 3 Q 25 4 H 30 nl nh Specify lower byte and upper byte of data size 1 to 448 Datai Data bytes 89 Filling or inverting a rectangle in page mode GS R Code 1Dh 52h xL xH yL yH dxL dxH dyL dyH n xL and xH Low and high byte of the...

Page 36: ...lue is memorized and used after entering page mode The command is supported in firmware version 1 42 or higher 92 Selecting standard mode GS U Code 1Dh 55h The command switches from page mode to standard mode The whole memory area of page mode is cleared The command is invalid in standard mode The command is supported in firmware version 1 42 or higher 93 Setting the print area width GS W Code 1Dh...

Page 37: ... position nH Higher byte of the new vertical position The command sets new vertical print position relative to the current one If the position is outside the currently active page the command is not accepted The real new coordinates depend on the print direction selected using GS T The command is invalid in standard mode The horizontal position is changed with commands ESC and ESC they work both i...

Page 38: ...cters depend on the type of barcode and are defined underneath n defines the length of the data when 65 m 73 For 2 D barcode PDF417 n1 and n2 define the length of the data N n1 256 n2 Max value 1000 c defines whether the barcode data is compressed Possible values are 0 or 1 m defines the type of barcode and can be of the following values m 1 Type of barcode Length Possible characters 0 UPC A 11 48...

Page 39: ...r of code set B if the current code set is A and as a character of code set A if the current code set is B If a character unacceptable for the current code set is given then barcode is not printed Function characters are defined with 2 bytes as follows Coding Character Decimal Hexadecimal Text FNC1 123 49 7B 31 1 FNC2 123 50 7B 32 2 FNC3 123 51 7B 33 3 FNC4 123 52 7B 34 4 CODEA 123 65 7B 41 A CODE...

Page 40: ...lication in vertical direction 1 to 16 Attr Print attributes One byte from 0 to 255 Each bit of Attr indicates the following Bit Function Value 0 Value 1 0 Font size А 12x24 or 24x24 B 9x16 or 16x16 1 Not used 2 Not used 3 Bold Enabled Disabled 4 Not used 5 Not used 6 Not used 7 Not used Di Data Bytes with ASCII codes below 20h are ignored X and Y coordinates are xL 256 xH and yL 256 yH The curren...

Page 41: ...ters are printed 108 Selecting Cancelling underline for two byte text mode FS Code 1Ch 2Dh n An underline is attached to the full character width It is however not attached to the part having been skipped by horizontal tab command An underline is not attached to 90 right turned characters The following values of n are possible 0 or 30h Canceling an underline 1 or 31h Specifying an underline of 1 d...

Page 42: ... The space amount is set in dot unit 1 203 inch unit The initial values are n1 0 and n2 0 When the font size is doubled the space between characters is also doubled Possible values are from 0 to 63 dots 112 Selecting double size characters for two byte text mode FS W Code 1Ch 57h n The following values of n are possible 0 or 30h Canceling double size characters 1 or 31h Specifying double size char...

Reviews: