Code Monkey home page Code Monkey logo

Comments (9)

DantSu avatar DantSu commented on July 28, 2024

It seems to not be a ESC printer so the library isn't compatible.

from escpos-thermalprinter-android.

madilatt avatar madilatt commented on July 28, 2024

This is where i am getting the error.The error is
"Attempt to read from null array"
image
Is there any way to put the UUID manually in BluetoothConnection class?

from escpos-thermalprinter-android.

madilatt avatar madilatt commented on July 28, 2024

Add a method in BluetoothConnection class to set UUID

from escpos-thermalprinter-android.

htooaunghlaing avatar htooaunghlaing commented on July 28, 2024

I think "Attempt to read from null array" has been fixed in V2.0.0. Please make sure you are using V2.0.0.

from escpos-thermalprinter-android.

madilatt avatar madilatt commented on July 28, 2024

Yes it fixed but i need a method to set the UUID in BluetoothConnection class manually

from escpos-thermalprinter-android.

DantSu avatar DantSu commented on July 28, 2024

Can you test the v2.0.3 on your embedded printer ?

from escpos-thermalprinter-android.

madilatt avatar madilatt commented on July 28, 2024

Is there any way to open the cash register after print?

from escpos-thermalprinter-android.

saputraiqbal avatar saputraiqbal commented on July 28, 2024

I've came with the same problem when run on Android Lollipop (v5.0.2) Changing to v2.0.3 or higher solved the UUID error, but it pops out another error. I got "java.io.IOException: read failed, socket might closed or timeout, read ret: -1" after getting output stream in BluetoothConnection.java when run on debug

from escpos-thermalprinter-android.

saputraiqbal avatar saputraiqbal commented on July 28, 2024

It looks like this. I run it on Samsung Grand Prime (SM-G530H; Android ver. 5.0.2)
image

from escpos-thermalprinter-android.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.