background image

1

 

DATECS 

 

 

 

 

 

 

 

 

 

ESC/POS Printer 

EP-60 

PROGRAMMER'S MANUAL 

Detailed Description of the Commands 

 

 

Summary of Contents for EP-60

Page 1: ...1 DATECS ESC POS Printer EP 60 PROGRAMMER S MANUAL Detailed Description of the Commands...

Page 2: ...with the printer thermal paper roll user s manual and an AC adapter The printer must be installed on flat and stable surfaces desk table counter The printer must not be installed near a heater or in...

Page 3: ...the paper until it is released The button must be pressed to continue printing after out of paper error Pressing the button will try to retard the auto cutter in home position if the cutter is jammed...

Page 4: ...ace Cable Attachment Turn off the printer before attaching the cable After connecting the connectors screw the two screws Serial Interface Baud rate 1200 2400 4800 9600 19200 38400 57600 115200 bps Se...

Page 5: ...able transmission TECHNICAL CHARACTERISTICS Print method Line thermal printing Printing width 54 mm or 432 dots Dot density 8 dots mm both horizontal and vertical Printing speed up to 130 mm sec Colum...

Page 6: ...H 3DH n 21 ESC Set Factory Defaults 1BH 3EH n 22 ESC Initializing the Printer 1BH 40H 23 ESC D Setting horizontal tab position 1BH 44H n k 00H 24 ESC E Specifying cancelling highlighting 1BH 45H n 25...

Page 7: ...d 52 GS w Selecting the horizontal size scale factor of bar code 1DH 77H n 53 GS h Selecting the height of the bar code 1DH 68H n 54 GS H Selecting of print position of HRI code 1DH 48H n 55 GS f Sel...

Page 8: ...Code 0Ah Outline Prints data inside the input buffer and feeds lines based on the line feed amount having been set The head of the line becomes the next print starting position See Also ESC 2 ESC 3 4...

Page 9: ...will not appear twice The command ESC stores the Euro symbol position for further use as a default value Default n 0 Not selected if code page 20 CP858 n D5h if code page 21 CP852 Euro n AAh if code p...

Page 10: ...the first nibble of the second byte is used m 3 Define character group with ASCII codes between n1 and n2 for character set B 9x16 Every character is 16 bytes n1 is the ASCII code of the first and n2...

Page 11: ...t Density Dot Density Max Dots 0 8 dot single density 8 67 DPI 101 DPI 216 1 8 dot double density 8 67 DPI 203 DPI 432 32 24 dot single density 24 203 DPI 101 DPI 216 33 24 dot double density 24 203 D...

Page 12: ...ue are shown below 0 Canceling an underline 1 Specifying an underline for 1 dot width 2 Specifying an underline for 2 dots width Caution An underline is attached to the full character width It is howe...

Page 13: ...at printer power on 20 ESC n Data Input Control Code 1Bh 3D n Range 0 n FFh Outline Selecting equipment in which data input from the host is effective Only bit 0 is defined Value 0 Selected Value 1 No...

Page 14: ...e next data onward will be processed as normal data When the data n k exceeds a 1 line print area set the horizontal tab position assuming Set digit position Maximum print digits 1 The horizontal tab...

Page 15: ...of the line is to be considered as the next printing start position Initial value is not defined 28 ESC M n Specifying canceling highlighting Code 1Bh 4Dh n Range 0 n FFh Outline Selects character fo...

Page 16: ...ntensity and the printing head s temperature Default The default value is 0 maximal printing speed 32 ESC Y n Selecting the intensity level Code 1Bh 59h n Range 0 n 5 Outline Set the intensity level n...

Page 17: ...Used 31 1 Not Used 31 2 Not Used 31 3 Not Used 31 4 Not Used 31 5 Not Used 31 6 Not Used 31 7 Reserved always 1 32 0 Not Used 32 1 Not Used 32 2 Not Used 32 3 Not Used 32 4 Not Used 32 5 Not Used 32...

Page 18: ...extended and has the following format All the printed text data the bar code or the raster bit image GS v0 within one line are aligned in the specified position If used before printing a bar code with...

Page 19: ...is ignored The printer generates a 2 n1 milliseconds long pulse and 2 n2 milliseconds long rest after the pulse n2 must be at least four times greater than n1 or the command will be discarded 43 ESC...

Page 20: ...Euro symbol position the proper value If ESC is used with some of these pages the Euro symbol position will be changed i e it will not appear twice Even if the code page is set by the DIP switches the...

Page 21: ...nge 0 n FFh Outline Specifying canceling inverted characters n is valid only for the lowest bit n0 Bit n n0 means the followings 0 Canceling inverted characters 1 Specifying inverted characters Cautio...

Page 22: ...he last printed line remains after the cutter s edge This means that in case 2 the paper is fed by cut position n 8 millimeters total 51 1 GS k m d k NUL 2 GS k m n d k 3 GS k m a d k NUL 4 GS k m a x...

Page 23: ...ode is not printed when not matching When the horizontal direction exceeds one line length the bar code is not printed Default The initial value is not specified CODE 128 additional information Code 1...

Page 24: ...3 Outline Selecting printing position of HRI code in printing bar codes n means the followings 0 No printing 1 Above the bar code 2 Below the bar code 3 Both above and below the bar code The HRI code...

Page 25: ...ically calculated Caution If any value is out of range this value remains unchanged Thus the other values are changed Default The initial value of n1 is 9 auto select The initial value of n2 is 0 auto...

Page 26: ...r from top to bottom and from left to right n1 bytes in each vertical column of dots This command defines a bit image with number of dots determined by n1 and n2 There are n1 8 dots in horizontal dire...

Page 27: ...ut even while in macro definition Default Initially Macro is not specified See Also GS 61 GS n1 n2 n3 Executing the Macro Code 1Dh 5Eh n1 n2 n3 Range 0 n1 FFh 0 n2 FFh 0 n3 1 Outline Executing content...

Page 28: ...e vertical size of the NV bit image as yL yH 256 8 dots Total amount of data defining the bit image is xL xH 256 yL yH 256 8 bytes Details The maximum printable size of the NV bit image is 432 512 dot...

Page 29: ...read but discarded The order of the data is from left to right and then from top to bottom xL xH 256 bytes in each horizontal row of dots The printer will become busy before each writing cycle in the...

Reviews: