您的位置:首页 > 其它

ESC/POS打印控制命令

2017-08-09 16:10 260 查看

0x00. CommandNotation

[Name]                        The name of the command.

[Format]                      The code sequence.

                                    [ ]k indicates the contents of the [ ] should be repeated k times.

[Range]                       Gives the allowable ranges, if any, for the arguments.

[Default]                      Gives the default values, if any, for the command parameters.

[Description]                Describes the function of the command.

 

0x01. Control Command

LF

[Name]                       Print and line feed

[Format]                      ASCII        LF

                                   Hex           0A

                                   Decimal    10

[Description]               Prints the data in the print buffer and feeds one line based on the current line spacing.

 

ESC ! n

[Name]                       Select print mode (s)

[Format]                      ASCII         ESC     !           n

                                   Hex            1B        21        n

                                   Decimal      27        33         n

[Range]                       0 ~ n ~255

[Default]                      n = 0

[Description]                Selects the character font and styles (emphasize, double-height, double-width, and underline) together.

 

附件 ESC&POS打印控制指令.rar

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐