## 文本打印 请求地址:`https://open-api.10ss.net/print/index` 请求方式:POST ### 所需参数 |名 称|类 型|描 述| |----|----|----| |client_id|string|开发者的应用ID,在[开放平台](https://dev.10ss.net)创建应用时获得| |access_token|string|授权的token 必要参数| |machine_code|string|易联云打印机终端号| |content|string|打印内容(需要urlencode),排版指令详见[打印机指令](../layout.md)| |origin_id|string|商户系统内部订单号,要求32个字符内,只能是数字、大小写字母 ,且在同一个client_id下唯一。详见[商户订单号](../explain.md)| |sign|string|签名 详见API文档列表-[接口签名](../apiprotocol.md)| |id|string|UUID4 详见API文档列表-[uuid4](../apiprotocol.md)| |timestamp|int|当前服务器时间戳(10位)| ### 返回详情 ~~~ {"error":"0","error_description":"success","body":{"id":"订单号","origin_id":""}} {"error":"8","error_description":"打印机信息错误,参数有误"} {"error":"9","error_description":"连接打印机失败,参数有误"} {"error":"10","error_description":"权限不足"} {"error":"12","error_description":"缺少必要参数"} {"error":"13","error_description":"打印失败,参数有误"} {'error':'33', 'error_description':'Uuid不合法'} ~~~