zoukankan      html  css  js  c++  java
  • ESC/POS打印控制命令

    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

    如需转载,请在显眼处标明本文链接,谢谢。
  • 相关阅读:
    .NET 几种数据绑定控件的区别
    .NET 使用 Highcharts生成扇形图 柱形图
    使用Jquery1.9 版本 来实现全选
    30款jQuery常用网页焦点图banner图片切换
    MVC中使用MVCPager简单分页
    HttpWebRequest 以及WebRequest的使用
    C#中的事件机制
    如何向妻子解释OOD (转)
    linux 设置时间
    git 使用操作
  • 原文地址:https://www.cnblogs.com/snaildev/p/7325913.html
Copyright © 2011-2022 走看看