# escpos-printer-toolkit-mirfalahtech

> 点单宝打印机指令定义 - is a fork

Latest version **1.0.8** (published 2020-02-02) · ISC license · 0 weekly downloads

## Install

```sh
npm install escpos-printer-toolkit-mirfalahtech
pnpm add escpos-printer-toolkit-mirfalahtech
yarn add escpos-printer-toolkit-mirfalahtech
bun add escpos-printer-toolkit-mirfalahtech
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.8 |
| Published | 2020-02-02 |
| First published | 2020-02-02 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 14.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | shenzhen candongli corp. |
| Maintainers | munirishak |
| Keywords | printer, esc/pos |

## Links

- npm: https://www.npmjs.com/package/escpos-printer-toolkit-mirfalahtech
- Repository: https://git.mirfalah.my/mirfalah-tech/escpos-printer-toolkit-mirfalahtech
- npm.io page: https://npm.io/package/escpos-printer-toolkit-mirfalahtech

## Dependencies (3)

- [buffer](https://npm.io/package/buffer.md) ^5.0.7
- [stream](https://npm.io/package/stream.md) 0.0.2
- [iconv-lite](https://npm.io/package/iconv-lite.md) ^0.4.19

## Recent versions

- 1.0.8 (latest) — 2020-02-02

## README

# escpos-printer-toolkit

A printer command toolkit for translate text to ESC/POS command. 

e.g.  Text "<C>这是一段打印测试文字</C>"

will be translate to esc/pos command with the text align center.

## Installation

```
npm install escpos-printer-toolkit --save
```

## Usage

```javascript
import EPToolkit from 'escpos-printer-toolkit';
let options = {
  beep: true, 
  cut: true, 
  tailingLine: true,
  encoding: 'GBK'
}
EPToolkit.exchange_text("<C>这是一段打印测试文字</C>", options)

```

---
_Source: https://npm.io/package/escpos-printer-toolkit-mirfalahtech · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
