Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

capacitor-plugin-sunmi-inner-v2

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

capacitor-plugin-sunmi-inner-v2

This is a capacitor plugin for sunmi inner printer

  • 0.0.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

capacitor-plugin-sunmi-inner-v2

This is a capacitor plugin for sunmi inner printer

Install

npm install capacitor-plugin-sunmi-inner-v2
npx cap sync

API

  • echo(...)
  • printString(...)
  • printBarcode(...)
  • printQrcode(...)
  • printCommand(...)
  • openCashRegister()
  • printLcdString(...)
  • printLcdDoubleString(...)
  • clearLcd(...)

echo(...)

echo(options: { value: string; }) => Promise<{ value: string; }>
ParamType
options{ value: string; }

Returns: Promise<{ value: string; }>


printString(...)

printString(options: { contents: string; is_bold: boolean; is_underline: boolean; }) => Promise<{ results: boolean; }>
ParamType
options{ contents: string; is_bold: boolean; is_underline: boolean; }

Returns: Promise<{ results: boolean; }>


printBarcode(...)

printBarcode(options: { barcode: string; width: number; height: number; }) => Promise<{ results: boolean; }>
ParamType
options{ barcode: string; width: number; height: number; }

Returns: Promise<{ results: boolean; }>


printQrcode(...)

printQrcode(options: { qrcode: string; size: number; }) => Promise<{ results: boolean; }>
ParamType
options{ qrcode: string; size: number; }

Returns: Promise<{ results: boolean; }>


printCommand(...)

printCommand(options: { command: string; }) => Promise<{ results: boolean; }>
ParamType
options{ command: string; }

Returns: Promise<{ results: boolean; }>


openCashRegister()

openCashRegister() => Promise<{ results: boolean; }>

Returns: Promise<{ results: boolean; }>


printLcdString(...)

printLcdString(options: { contents: string; }) => Promise<{ results: boolean; }>
ParamType
options{ contents: string; }

Returns: Promise<{ results: boolean; }>


printLcdDoubleString(...)

printLcdDoubleString(options: { contents1: string; contents2: string; }) => Promise<{ results: boolean; }>
ParamType
options{ contents1: string; contents2: string; }

Returns: Promise<{ results: boolean; }>


clearLcd(...)

clearLcd(options: {}) => Promise<{ results: boolean; }>
ParamType
options{}

Returns: Promise<{ results: boolean; }>


Keywords

FAQs

Package last updated on 02 May 2023

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc