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

    如需转载,请在显眼处标明本文链接,谢谢。
  • 相关阅读:
    转: requirejs压缩打包r.js使用示例 2 (~~很详细的教程)
    转:requirejs打包压缩r.js使用示例
    转: RequireJS Optimizer 的使用和配置方法
    转:requirejs:让人迷惑的路径解析(~~不错)
    转: requirejs中文api (详细)
    转: 让html5标签在ie8及以下的被正确解析的解决方案
    浏览器对body节点scrollTop解析的差异
    vue全局配置
    vue watch 深度监听以及立即监听
    Vue插件
  • 原文地址:https://www.cnblogs.com/snaildev/p/7325913.html
Copyright © 2011-2022 走看看