astroame / ionic-escpos-bluetooth-printer-sample

Sample use of ionic 3 with a bluetooth esc/pos thermal printer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ionic-escpos-bluetooth-printer-sample

HitCount

Sample use of ionic 3 with a bluetooth esc/pos thermal printer using the plugin Bluetooth Serial

Only tested on android devices

Image of receipt

How to use

  1. Install ionic 3.x
  2. Fork this repo
  3. Using command line, go to folder where the repo is located and run npm install to install dependencies
  4. Inside the folder of repo, execute any of following commands: ionic cordova run --l --c for livereload with console logs or ionic cordova build [platform] --debug to compile and build app
  5. Test on your thermal printer

You can't do

  • Print Images
  • Print HTML
  • Print QR/BARCODE
  • Print Chinese Characters

Tested devices

  • zjiang 5802(58mm)

About

Sample use of ionic 3 with a bluetooth esc/pos thermal printer


Languages

Language:TypeScript 67.3%Language:CSS 16.0%Language:HTML 12.6%Language:JavaScript 4.1%