background image

 

23

 

m (1) 

Bar code type 

Length 

Range of ‘d’ 

UPC-A 

11 

48 <= D

i

 <= 57 

UPC-E 

11 

48 <= D

i

 <= 57 

EAN13 (JAN13) 

12 

48 <= D

i

 <= 57 

EAN 8 (JAN8) 

48 <= D

i

 <= 57 

CODE 39 

48 <= D

i

 <= 57, 65 <= D

i

 <= 90, 32, 36, 37, 43, 45, 46, 47 

ITF 

48 <= D

i

 <= 57 

CODABAR (NW-7) 

48 <= D

i

 <= 57, 65 <= D

i

 <= 68, 36, 43, 45, 46, 47, 58 

CODE 93 

1 <= D

i

 <= 127 

CODE 128 

1 <= D

i

 <= 127 

PDF-417 

1 <= D

i

 <= 255 

 

M (2) 

Bar code type 

Length 

Range of ‘d’ 

65 

UPC-A 

11 

48 <= D

i

 <= 57 

66 

UPC-E 

11 

48 <= D

i

 <= 57 

67 

EAN13 (JAN13) 

12 

48 <= D

i

 <= 57 

68 

EAN 8 (JAN8) 

48 <= D

i

 <= 57 

69 

CODE 39 

48 <= D

i

 <= 57, 65 <= D

i

 <= 90, 32, 36, 37, 43, 45, 46, 47 

70 

ITF 

48 <= D

i

 <= 57 

71 

CODABAR (NW-7) 

48 <= D

i

 <= 57, 65 <= D

i

 <= 68, 36, 43, 45, 46, 47, 58 

72 

CODE 93 

0 <= D

i

 <= 127 

73 

CODE 128 

0 <= D

i

 <= 127 

74 

PDF-417 

0 <= D

i

 <= 255 

 

 

[Caution]  • When data being held in the print buffer, this command is ignored. 

• Regardless of the specified feed pitch, this command feeds the paper that is required to print a bar 
code. 
• If the character code d cannot be printed in the respective bar code system, the bar code so far 
will be printed, processing the subsequent data as normal data. 
• When a bar code whose number of characters to be printed is fixed has been selected, the number 
of characters k have to be always made equal to the number of characters to be printed. (The bar 
code 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 128 covers all ASCII codes from 0 to 127, and it has three tables A, B and C that can be used 
in the same bar code. 

Table A: contains ASCII symbols with codes 0 to 95 and control symbols FNC1, FNC2, FNC3, 

FNC4, SHIFT, CODEB, CODEC. 

Table  B:  contains  symbols  with  ASCII  codes  from  32  to  127  and  control  characters  FNC1, 

FNC2, FNC3, FNC4, SHIFT, CODEA, CODEC. 

Table C: It is used for coding bar code areas that consist only of numerals. Each symbol gives 

two  digits  that  are  coded  with  ASCII  codes  from  0  to  99.  Control  characters 

FNC1, CODEA, 

CODEB are also available. 

The bar code must start with one of the symbols CODEA, CODEB or CODEC, that determines 
which table will be used. If it is necessary the current table could be changed later by inserting one 
of  these  symbols  in  to  the  bar  code.  The  symbol  following  SHIFT  character  is  considered  to  be 
from table B, if table A is current, or from table A, if table  B is current. If a symbol that is not 
valid for the current table is used, the whole bar code is not printed. 
Control symbols are assigned two bytes as follows: 

 

Code system 

Symbol 

Decimal 

Hexadecimal 

Text 

FNC1 

123, 49 

7B, 31 

{1 

FNC2 

123, 50 

7B, 32 

{2 

FNC3 

123, 51 

7B, 33 

{3 

Содержание 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...

Отзывы: