background image

 

22

49. GS L n1 n2 

Setting the left margin 
[Code] 

[1Dh] + [4Ch] + n1 + n2

 

[Range] 

{0 <= n1 <= FFh} 

 

{0 <= n2 <= FFh} 

 

{n1+256*n2 < 432} 

[Outline]  Sets the position in dots (1/203 inches) from which each line starts. This command works only if 

entered at the beginning of the line. The start position is equal to 

n1+256*n2 

dots from the left end 

of the printable area.  

[Caution]  If a value that exceeds the length of the print area is set the left margin is set to 0. 
[Default]  Default value is 0. 

 
 

50. (1)GS V m 
      (2)GS V m n 

Cutting the paper 
[Code] 

(1) [1Dh] + [56h] + m 

 

(2) [1Dh] + [56h] + m + n 

[Range] 

(1) {m=1, m=49} 

 

(2) {m=66} 

 

  {0 <= n <= 255} 

[Outline]  Depending on the value of m one of the following actions is performed: 
 

- if m=1 or m=49 (‘1’) a paper feed, so the last printed line remains after the auto cutter’s edge is 
performed. Then the paper is cut. 

 

- if m=66 (‘B’) the paper is fed by n/8 mm and the cut. 

 

In  both  cases  the  paper  is  first  fed  to  the  cut  position  so  the  last  printed  line  remains  after  the 
cutter’s edge. This means that in case (2) the paper is fed by “cut po 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 xL xH [ d ] k 

Printing the bar code 
[Code]   

(1)

 

[1Dh] + [6Bh] + m + D

i

 + [00h]

 

  (2) [1Dh] + [6Bh] + m + n + D

i

 

  (3) [1Dh] + [6Bh] + m + a + D

i

 + [00h] 

  (4) [1Dh] + [6Bh] + m + a + xL + xH + D

i

 

 [Range]  (1) {0 <= m <= 6} 
 

(2) {65 <= m <= 73} 

 

(3) {m=9; a=0,1} 

 

(4) {m=74; 256*xH+xL<=3000; a=0,1} 

[Outline]  Specifying a type of bar code and printing bar codes. 

• The beginning of line is considered as the next printing start position. 
• Depending on the value of m, the following bar code can be selected. 

d

 indicates a bar code data to be printed and 

k

 indicates the number of character to be printed. 

indicates indicates number of characters when 

65 <= m <= 73. 

a

  is  a  setting  for  PDF-417  bar  code.  Setting 

a

=0  will  make  the  printer  to  automatically  choose 

PDF-417 compression modes, while 

a

=1 will force byte compression mode. 

xL

 and 

xH

 indicates the number of bytes for PDF-417 bar code when 

m

=74. The number of bytes 

is equal to 

256*xH+xL

determines bar code type and it is one of the following: 

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

Отзывы: