background image

 

18

35. ESC _ 

Restore factory defaults and save them to nonvolatile RAM 
[Code] 

[1Bh] + [5Fh]

 

[Outline]  Select font A, no bold, no underline, etc. Restore tab defaults. The parameters are read from the 

flash memory. Downloaded font and downloaded bit image are cleared. Copy internal fonts A and 
B to user fonts. DIP switches are read again. 

 

Data in the input buffer is not cleared. 

 [See also]  ESC @ 
 

 

36. ESC 

`

 

Transmits the current power supply voltage and the print head temperature. 
[Code] 

<1B>H<60>H 

[Outline]  The printer transmits two bytes data. First byte is the power supply voltage given as 0.1 mV plus 

20h. the second byte is the print head temperature, in degrees Celsius, plus 20h. 

[Example]  If the battery voltage is 6.4 V, and the print head temperature is 33°C, the printer will transmit 

<60h><41h>, which is <40h+20h><21h+20h> or  <64+32><33+32>.

 

 
 

37. ESC a n 

Aligning the characters 
[Code] 

[

1Bh] + [61h] + n

 

[Range] 

{0 <= n <= 2} 

 

{4 <= n <=6 } 

[Outline]  This command is 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  this  command  can  be  specified 
vertical direction for printing the bar code. 
• Depending on n value, positional alignment is carried out as in the table below: 

0

 Left end alignment 

1

 Centering 

2

 Right end alignment 

4

 Left end aligned vertical bar code 

5

 Centered vertical bar code 

Right end aligned vertical bar code

 

[Default]  • The initial value of n is "0". 

 
 

38. ESC c5 n 

Enabling/Disabling Panel Switches 
[Code] 

[1Bh] + [63h] + [35h] + n

 

[Range] 

{0 <= n <= FFh} 

[Outline]  Selecting the LF switch valid/invalid. 

• "n" is valid only in the lowest bit (n0). 
• "n" bit means the followings. 

0

 LFSW valid. 

1

 LFSW invalid. 

[Caution]  When the panel switch is disabled with this command, the LF switch is disabled. Therefore, the 

paper cannot be fed by operating the LF switch. 

[Default]  • The initial value of n is "0". 

 
 

39. ESC d n 

Printing and Feeding the paper by n lines 
[Code] 

[1Bh] + [64h] + n

 

[Range] 

{0 <=  n <= FFh} 

[Outline]  Prints data inside the buffer and feeds paper by n lines. 

Содержание EP-60

Страница 1: ...1 DATECS ESC POS Printer EP 60 PROGRAMMER S MANUAL Detailed Description of the Commands...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Отзывы: