基本信息
源码名称:PHP版本的网络打印机提交打印代码
源码大小:1.52M
文件格式:.zip
开发语言:PHP
更新时间:2020-12-21
   友情提示:(无需注册或充值,赞助后即可获取资源下载链接)

     嘿,亲!知识可是无价之宝呢,但咱这精心整理的资料也耗费了不少心血呀。小小地破费一下,绝对物超所值哦!如有下载和支付问题,请联系我们QQ(微信同号):813200300

本次赞助数额为: 2 元 
   源码介绍


This project implements a subset of Epson's ESC/POS protocol for thermal receipt printers. It allows you to generate and print receipts with basic formatting, cutting, and barcodes on a compatible printer.

The library was developed to add drop-in support for receipt printing to any PHP app, including web-based point-of-sale (POS) applications.

支持所有通用标签打印机机型

    public function textChinese(string $str = "")
    {
        $this -> connector -> write(self::FS . "&");
        $str = \UConverter::transcode($str, "GBK", "UTF-8");
        $this -> buffer -> writeTextRaw((string)$str);
        $this -> connector -> write(self::FS . ".");
    }