Launch Week Day 2: Introducing Reports: An Extensible Reporting Framework for Socket Data.Learn More
Socket
Book a DemoSign in
Socket

escpos-printer-toolkit-mirfalahtech

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

escpos-printer-toolkit-mirfalahtech

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

latest
npmnpm
Version
1.0.8
Version published
Maintainers
1
Created
Source

escpos-printer-toolkit

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

e.g. Text "这是一段打印测试文字"

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

Installation

npm install escpos-printer-toolkit --save

Usage

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

Keywords

printer

FAQs

Package last updated on 02 Feb 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts