Custom Audio Electronics KM216H Скачать руководство пользователя страница 18

$1B $30

Printers: KM216H, 

KPM216H

[Name] 

Select 1/8-inch (200 dpi) or 1/12-inch (300 Dpi) line spacing

[Format] ASCII 

ESC 

0

 Hex 

1B 

30

 Decimal 

27 

48

[Range] 
[Description] 

Selects 1/8-inch (for 200 dpi) or 1/12-inch (for 300 dpi) line spacing.

[Notes]
[Default]
[Reference] 

$1B $32, $1B $33

[Example]

$1B $32

Printers: KM216H, 

KPM216H

[Name] 

Select 1/6-inch (200 dpi) or 1/9-inch (300 dpi) line spacing

[Format] ASCII 

ESC 

2

 Hex 

1B 

32

 Decimal 

27 

50

[Range]
[Description] 

Selects 1/8-inch (for 200 dpi) or 1/12-inch (for 300 dpi) line spacing.

[Notes]
[Default]
[Reference] 

$1B $30, $1B $33

[Example]

$1B $33

Printers: KM216H, 

KPM216H

[Name] 

Set line spacing

[Format] ASCII 

ESC 

n

 Hex 

1B 

33 

n

 

Decimal 

27 51 n

[Range] 0 

 n 

 255

[Description] 

Sets line spacing to [ n × (vertical or horizontal motion unit)] inches.

[Notes] • 

The 

horizontal and vertical motion unit are speci

fi

 ed by $1D $50. Changing the horizontal 

or vertical motion unit does not affect the current line spacing.

 

• The $1D $50 command can change the horizontal (and vertical) motion unit. However, 
the value cannot be less than the minimum vertical movement amount.

 

• In standard mode, the vertical motion unit is used.

 

• The maximum spacing is 32.5mm.

[Default] 

n = 64 (1/6 inch)

[Reference] 

$1B $30, $1B $32, $1D $50

[Example]

ESC/POS™ Emulation

18  

Command Reference

Содержание KM216H

Страница 1: ...WAR NIN G MOVING PA RTS PU SH HE RE TO CL OSE COMMAND REFERENCE COMMAND REFERENCE KPM216H KM216H...

Страница 2: ...Edit by CUSTOM ENGINEERING S p A Str Berettine 2 43010 Fontevivo PARMA Italy http www custom biz All rights reserved 2 Command Reference...

Страница 3: ...position T T T AAAA BBBB A A This command sets the print po CCCC CC C C CC C C C C This command is immediat is full i This status is transmitted when Default Reference 0A 0 0 0A A A A A Example s s s...

Страница 4: ...tion which can be selected by means of the control characters normal e reverse PAPER OUTFEED DIRECTION Normal Mode Reverse Mode 1234567890 abcdefghilmnopqrs ABCDEFGHILMNOPQRS ABCDEFGHILMNOPQRS abcdefg...

Страница 5: ...0 dpi line spacing 1B 33 ESC 3 Set line spacing CHARACTER COMMANDS 18 CAN Cancel current line trasmitted 1B 20 ESC SP Set right side character spacing 1B 21 ESC Set print mode 1B 25 ESC Select cancel...

Страница 6: ...S 1D 3A GS Start end of macro definition 1D 5E GS Execute macro MECHANISM CONTROL COMMANDS 1B 69 ESC i Total cut 1D 56 GS V Select cut mode MISCELLANEOUS COMMANDS 1B 40 ESC Initialize printer 1B FA ES...

Страница 7: ...he next horizontal tab position has been set If the command is received when the printing position is at the right margin the printer executes print buffer full printing and horizontal tab processing...

Страница 8: ...ameter Reference 0A Example 10 04 Printers KM216H KPM216H serial interface only Name Real time status transmission Format ASCII DLE EOT n Hex 10 04 n Decimal 16 4 n Range 1 n 4 n 17 n 20 n 21 Descript...

Страница 9: ...ED 5 Off 00 0 Paper present On 20 32 Printing stop due to paper end 6 Off 00 0 No error On 40 64 Error 7 RESERVED n 3 Error status BIT OFF ON HEX Decimal FUNCTION 0 RESERVED 1 RESERVED 2 RESERVED 3 Of...

Страница 10: ...OFF ON HEX Decimal FUNCTION 0 Off 00 0 Paper present On 01 1 Paper not present 1 RESERVED 2 Off 00 0 Paper present On 04 4 Near paper end 3 RESERVED 4 RESERVED 5 Off 00 0 Ticket not present in output...

Страница 11: ...OM error On 02 2 RS232 COM error 2 RESERVED 3 Off 00 0 Power supply voltage ok On 08 8 Power supply voltage error 4 RESERVED 5 Off 00 0 Acknowledge command On 20 32 Not acknowledge command error 6 Off...

Страница 12: ...l motion units Notes The right character spacing for double width mode is twice the normal value When the characters are enlarged the right side character spacing is m 2 or 4 times the normal value Th...

Страница 13: ...e selected 6 Off 00 0 Italic mode not selected On 40 64 Italic mode selected 7 Off 00 0 Underlined mode not selected On 80 128 Underlined mode selected Notes The printer can underline all characters b...

Страница 14: ...orizontal movement amount In standard mode the horizontal motion unit x is used If the setting is outside the printing area width it sets the absolute print position but the left or right margin is se...

Страница 15: ...ltiple characters for consecutive character codes If only one character is desired use c1 c2 If c2 c1 the command is not executed d is the dot data for the characters The dot pattern is in the horizon...

Страница 16: ...efault Reference 1D 50 Example 1B 2A Printers KM216H KPM216H Name Select image print mode Format ASCII ESC m nL nH d1 dk Hex 1B 2A m nL nH d1 dk Decimal 27 42 m nL nH d1 dk Range m 0 1 32 33 0 nL 255...

Страница 17: ...D Printers KM216H KPM216H Name Turn underline mode on off Format ASCII ESC n Hex 1B 2D n Decimal 27 45 n Range 0 n 2 48 n 50 Description Turns underline mode on or off based on the following values of...

Страница 18: ...Reference 1B 30 1B 33 Example 1B 33 Printers KM216H KPM216H Name Set line spacing Format ASCII ESC 3 n Hex 1B 33 n Decimal 27 51 n Range 0 n 255 Description Sets line spacing to n vertical or horizont...

Страница 19: ...r 48 the data which follows is printed in normal mode Italic mode can also be turned on or off using 1B 21 Note however that the last received command is the effective one Default n 0 Reference 1B 21...

Страница 20: ...ormat ASCII ESC J n Hex 1B 4A n Decimal 27 74 n Range 0 n 255 Description Prints the data in the print buffer and feeds the paper n vertical or horizontal motion unit inches Notes After printing has b...

Страница 21: ...scription Sets the print starting position based on the current position by using the horizontal or vertical motion unit Sets the distance from the current position to nL nH 256 horizontal or vertical...

Страница 22: ...to the previously entered mode Default n 0 Reference Example Flush left Centered Flush right ABC ABCD ABCDE ABC ABCD ABCDE ABC ABCD ABCDE 1B 64 Printers KM216H KPM216H Name Print and feed paper n line...

Страница 23: ...sensor status Format ASCII ESC v Hex 1B 76 Decimal 27 118 Range Description When this command is received transmit the current status of the paper sensor Notes This command is executed immediately ev...

Страница 24: ...UNCTION 0 Print graphic page from ram used at the moment 1 Print logo 1 from flash The maximum printable vertical dimension dhmax is Modello 200 Dpi 327 linee Modello 300 Dpi 221 linee xL xH 256 speci...

Страница 25: ...ASCII ESC n Hex 1B FC n Decimal 27 252 n Range n 1 Description Transfers flash bank into RAM used at the moment 65536 bytes n selects the flash bank as follows n FUNCTION 1 Transfers flash bank logo 1...

Страница 26: ...Model 1600 horizontals dots 200 bytes dot line x 327 verticals dots 65400 bytes 300 Dpi Model 2368 horizontals dots 296 bytes dot line x 221 verticals dots 65416 bytes If the logo height is smaller t...

Страница 27: ...nlarged to different heights on the same line are aligned at the baseline or topline 1B 21 can also be used to select character size However the setting of the last received command is the effective o...

Страница 28: ...d does not affect white space between lines White black reverse mode has a higher priority than underline mode Even if underline mode is on it will be disabled but not cancelled when white black rever...

Страница 29: ...Off 00 0 2 byte characters codes not supported 1 Off 00 0 Autocutter not supplied On 02 2 Autocutter supplied 2 Off 00 0 Thermal paper w o label On 04 4 Thermal paper label 3 Undefined 4 Off 00 0 Not...

Страница 30: ...horizontal and vertical motion unit However the value cannot be less than the minimum horizontal movement amount and it must be in even units of the minimum horizontal movement amount Default Referenc...

Страница 31: ...55 Description Selects cut mode and executes the cut command m selects cut mode as follows m FUNCTION 0 48 Total cut 65 66 Form feed cut position n vertical motion unit and total cut Notes This comman...

Страница 32: ...94 r t m Range 0 r t 255 0 m 1 Description Executes a macro r specifies the number of times to execute the macro t specifies the waiting time for executing the macro The waiting time is t 100 msec for...

Страница 33: ...nsor paper present 3 Off 00 0 Ticket not present on the output On 08 8 Ticket present on the output 4 Off 0 Printer s stepper motor off On 16 Printer s stepper motor on 5 Off 00 0 Emitter motor off On...

Страница 34: ...wing table n FONT 0 48 Font A 1 49 Font B Notes HRI characters are printed at the position specified by 1D 48 Default n 0 Reference 1D 48 1D 6B Example 1D 68 Printers KM216H KPM216H Name Set bar code...

Страница 35: ...0 ITF 1 n 255 48 d 57 71 CODABAR 1 n 255 48 d 57 65 d1 68 36 43 45 46 47 58 72 CODE93 1 n 255 0 d 127 73 CODE128 2 n 255 0 d 127 90 CODE32 8 n 9 48 d 57 Notes If d is outside of the specified range th...

Страница 36: ...nsmis sion The top part of the bar code data string must be a code set selection character CODE A CODE B or CODE C which selects the first code set Special characters are defined by combining two char...

Страница 37: ...sensor paper not present 4 Off 00 0 Not used Fixed to Off 5 Undefined 6 Undefined 7 Off 00 0 Not used Fixed to Off Notes This command is executed when the data is processed in the data buffer Therefo...

Страница 38: ...216H Name Set horizontal and vertical motion units Format ASCII GS xH xL yH yL Hex 1D D0 xH xL yH yL Decimal 29 208 xH xL yH yL Range 0 xH 256 xL 2040 0 yH 256 yL 4080 Description Sets the horizontal...

Страница 39: ...ULL STATUS as follows BIT OFF ON HEX Decimal FUNCTION 0 Off 00 0 Disable paper status On 01 1 Enable paper status 1 Off 00 0 Disable user status On 02 2 Enable user status 2 Off 00 0 Disable Recoverab...

Страница 40: ...aper from near paper end to the end of the roll using several of them Default Reference 1D E6 Example 1D E2 Printers KM216H KPM216H Name Reading number of cuts performed from the printer Format ASCII...

Страница 41: ...of the printer for example if the printer is turned on 512 times it will be 512on Default Reference Example 1D E6 Printers KM216H KPM216H Name Virtual paper end limit Format ASCII GS nH nL Hex 1D E6 n...

Страница 42: ...value is expressed as nH x 256 nL The maximum value is 99 9 mm Default nH 00 nL 00 Reference Example 1D F0 Printers KM216H KPM216H Name Set printing speed Format ASCII GS n Hex 1D F0 n Decimal 29 240...

Страница 43: ...h alignment as 1D E7 command setting Notes Default Reference 1D E7 1D F8 Example 1D F8 Printers KM216H KPM216H Name Align the autocutter with the notch Format ASCII GS Hex 1D F8 Decimal 29 248 Range D...

Страница 44: ...ESC POS Emulation 44 Command Reference...

Страница 45: ...A 20 1B 56 21 1B 5C 21 1B 61 22 1B 64 22 1B 69 23 1B 76 23 1B C1 24 1B FA 24 1B FB 25 1B FC 25 1B FD 26 1B FE 26 1D 21 27 1D 3A 27 1D 42 28 1D 48 28 1D 49 29 1D 4C 30 1D 50 30 1D 56 31 1D 57 31 1D 5E...

Страница 46: ...Commands Index 46 Command Reference...

Страница 47: ......

Страница 48: ...ustom biz CUSTOM ENGINEERING SPA World Headquarters Via Berettine 2 43100 Fontevivo Tel 39 0521 680111 Fax 39 0521 610701 info custom biz www custom biz All rigths reserved Part Number DOMC 0003E Rev...

Отзывы: