用户工具

站点工具


linux:python:python-escpos

差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

两侧同时换到之前的修订记录前一修订版
后一修订版
前一修订版
linux:python:python-escpos [2022/05/18 15:55] – zhangguolinux:python:python-escpos [2026/10/13 22:51] (当前版本) – 外部编辑 127.0.0.1
行 1: 行 1:
-====== python-escpos ======+# python-escpos
 https://github.com/mosquito/python-escpos https://github.com/mosquito/python-escpos
  
 用python实现控制小票机打印。 用python实现控制小票机打印。
  
-<code python>+ 
 +```python
  
  
行 16: 行 17:
 Epson.barcode('1324354657687','EAN13',64,2,'','') Epson.barcode('1324354657687','EAN13',64,2,'','')
 Epson.cut() Epson.cut()
 +```
  
-</code> 
  
  
  
  
-<code python>+ 
 +```python
  
 with EscposIO(printer.Network('192.168.1.87', port=9100)) as p: with EscposIO(printer.Network('192.168.1.87', port=9100)) as p:
行 33: 行 35:
  
 # After exit of with, printer will cut the paper # After exit of with, printer will cut the paper
-</code>+``` 
  
  
linux/python/python-escpos.1652860537.txt.gz · 最后更改: (外部编辑)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki