定制 sciencellc/php-axiohm-emu 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

sciencellc/php-axiohm-emu

Composer 安装命令:

composer require sciencellc/php-axiohm-emu

包简介

A command generator for the emulated part of ESC-POS for the Axiohm A711 printer.

README 文档

README

This implements most of the ESC/POS command set used on Axiohm A711 emulating thermal printers. This has only been tested on the Nanoptix Spillproof printer, but it may work with other printers.

Basic usage


// From pigult/php-ipp
$ipp = new CupsPrintIPP();
$ipp->setHost("127.0.0.1");
$ipp->setPrinterUri("/printers/printer");

$data = \SCIENCE\AxiohmEmu\Protocol::start()
    ->text("Hello world!\n")
    ->end();
    
$ipp->setData($data);
$ipp->printJob();

统计信息

  • 总下载量: 6
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-01-09