luccasr73 / ionic-escpos-bluetooth-printer-sample Goto Github PK
View Code? Open in Web Editor NEWSample use of ionic 3 with a bluetooth esc/pos thermal printer
Sample use of ionic 3 with a bluetooth esc/pos thermal printer
I have the Zjiang 58mm printer, and the printer isn't found on iOS. The list of devices is empty. Have you gotten this to work on iOS?
Hi, I try print qr code. Its posible?
Thanks very much, I can print English and numbers,
but can't print Chinese word...., such as "謝謝",
how to fix it ?
Thanks a lot
I am using Ionic v5. I installed using npm i esc-pos-encoder-ionic and added import EscPosEncoder from "esc-pos-encoder-ionic"; on Home Page. I am getting error ReferenceError: Cannot access 'HomePageModule' before initialization.
I have followed all the steps provided on https://www.npmjs.com/package/esc-pos-encoder-ionic .
Request @luccasr73 to look in to the issue.
I cloned this repo and follwed instructions. This repo works, but not if created in in Ionic 5
Hi,
Can you please update this code with ionic 4.
alert is not working with ionic4.
not able to add addInput in ionic4 using loop.
` devices.forEach((device) => {
console.log('Devices: ', JSON.stringify(device));
alert.addInput({
name: 'printer',
value: device.address,
label: device.name,
type: 'radio',
});
});
alert.present();`
how to print qr on this ?
I want to print a html coded data
instead of raw data can i pass whole html and print receipt.
Sorry because i dont know how to contact you, i have a question. Your project is running good in my devices. But i have a similar project like you, i'm sure it is not wrong in code, because our code really similar the problem that i encountered is i can't connect to external printer, but if im using POS (Android and Printer integrated) it is working well.
Here is my cordova plugin
global packages:
@ionic/cli-utils : 1.0.0
Cordova CLI : 8.0.0
Ionic CLI : 3.0.0
local packages:
@ionic/app-scripts : 2.1.4
@ionic/cli-plugin-cordova : 1.4.1
Cordova Platforms : android 6.0.0 browser 5.0.4
Ionic Framework : ionic-angular 3.6.0
System:
Node : v8.11.2
OS : Linux 5.8
Xcode : not installed
ios-deploy : not installed
ios-sim : not installed
this is yours
global packages:
@ionic/cli-utils : 1.0.0
Cordova CLI : 8.0.0
Ionic CLI : 3.0.0
local packages:
@ionic/app-scripts : 3.2.4
Cordova Platforms : android 7.0.0
Ionic Framework : ionic-angular 3.9.2
System:
Node : v8.11.2
OS : Linux 5.8
Xcode : not installed
ios-deploy : not installed
ios-sim : not installed
Please i need your opinion about my problem do you have any contact so i can talk freely ?
Hello your app works perfect! how I can set an default printer without choose?
thanks
can you show me example
have sample for home.html / home.ts ??
Hi @luccasr73 now it's posible print images?
Hi, how can I also print a barcode image with this sample.
Thanks I tested and it works.
Thanks very much, I can print English and numbers,
but can't print Chinese word...., such as "謝謝",
how to fix it ?
Thanks a lot
Hi, do you have any example with qrcode? thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.