Comments (8)
Hi Aris,
Yes, All I did was i.e in printFormattedTextAndCut:
printFormattedTextAndCut(
{
type: "tcp",
mmFeedPaper: 150,
address: #######,
port: 9100,
charsetEncoding: {
charsetName: "CP737",
charsetId: 12,
},
id: ######,
printerDpi: 203,
printerWidthMM: 72,
printerNbrCharactersPerLine: 40,
},
Take a note that CP737 might also need configuration on the printer level as well depending on the model.
from thermal-printer-cordova-plugin.
Hi @arisSiozos, how you get the charsetId?
By reading printer's manual. I think every printer has its own pair for charset names and Id's. In my case for most European languages the Id is 45.
from thermal-printer-cordova-plugin.
Hello Chris. Did you manage to solve this?
I also need to use this plugin to print in Greek so i may need your help!
from thermal-printer-cordova-plugin.
Thanks for your response Chris!
for my printer it was "WCP1253" and charsetId:45 (POS 80 printer).
from thermal-printer-cordova-plugin.
Hi @arisSiozos, how you get the charsetId?
from thermal-printer-cordova-plugin.
Hi @arisSiozos, how you get the charsetId?
By reading printer's manual. I think every printer has its own pair for charset names and Id's. In my case for most European languages the Id is 45.
Thanks for your reply. Too bad the printer manual doesn't have anything about the charsetId.
The model I am using is Imin POS D4. The printer is built-in and the documentation here .
Possible I can send some command or anyway to print the charset table?
from thermal-printer-cordova-plugin.
Sorry for taking too long to reply. I couldnt find anything for your printer sadly. Today i tried to print Greek with another printer(POS80C), whose manual had charsetId 45 for Greek letters, but i had to use charsetId:"15" in order to work (Makes no sense).
from thermal-printer-cordova-plugin.
I'm attaching this here DantSu/ESCPOS-ThermalPrinter-Android#31
It's a list of charset ids
from thermal-printer-cordova-plugin.
Related Issues (20)
- 'listPrinters', which lacks return-type annotation, implicitly has an 'any' return type. HOT 3
- Can i Use 80mm Paper? HOT 2
- Missing permission for android.permission.DISABLE_KEYGUARD HOT 17
- How To Trigger Open Cash Drawer ? HOT 3
- noting printing in zebra printer
- mmfeedpage and dotfeedpage not working
- Duplicate Class com.google.zxing
- ThermalPrinter.printFormattedText via bluetooth
- Application crashes when calling ThermalPrinter.requestPermissions HOT 2
- Unable to Print Image Using bitmapToHexadecimalString()
- Can you print base64 pdf? HOT 3
- Target SDK 33 app is crashed. HOT 4
- Update API 33 HOT 3
- Tried on capacitor 5 but does not work HOT 2
- Print line Height
- Missing permission for android.permission.DISABLE_KEYGUARD HOT 1
- PrinterWidthMM is not a parameter for printFormattedTextAndCut
- Property 'id' does not exist on type 'Printer'.
- PendingIntent to FLAG_IMMUTABLE for Android 14 Compatibility
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from thermal-printer-cordova-plugin.