Coder Social home page Coder Social logo

Comments (11)

januslo avatar januslo commented on July 28, 2024

from react-native-bluetooth-escpos-printer.

DavidStummer avatar DavidStummer commented on July 28, 2024

Yeh I have, same result :-(

from react-native-bluetooth-escpos-printer.

DavidStummer avatar DavidStummer commented on July 28, 2024

I tried with the nyearprint app and it works

from react-native-bluetooth-escpos-printer.

januslo avatar januslo commented on July 28, 2024

so what's the problem? nyearprint not meet your requirement ?

from react-native-bluetooth-escpos-printer.

DavidStummer avatar DavidStummer commented on July 28, 2024

I need to create my own custom app. I am desperately trying to print images from iOS using your code but it doesn't work. It works on Android. On iOS the printer appears to get stuck when printing an image. Can you print images from iOS app?

from react-native-bluetooth-escpos-printer.

DavidStummer avatar DavidStummer commented on July 28, 2024

I tried to create the simplest image (a black square) and it still doesn't work. I have attached it.
blacksquare

from react-native-bluetooth-escpos-printer.

DavidStummer avatar DavidStummer commented on July 28, 2024

FYI I fixed my issue by implementing a different esc/pos command for printing an image:

screenshot 2019-01-15 at 09 21 32

I already had this code for android (https://www.jianshu.com/p/c0b6d1a4823b) and it was a relatively simple matter of converting over to objective-c.

from react-native-bluetooth-escpos-printer.

firdaussoberi avatar firdaussoberi commented on July 28, 2024

Hi @DavidStummer , I have exact issue like yours (except my printPic won't print any image and just got stuck there).

Could you elaborate more on how you managed to get past the issue? I'm interested in how you implement that different esc/pos command for iOS.

Thanks!

from react-native-bluetooth-escpos-printer.

FazilMuhammed avatar FazilMuhammed commented on July 28, 2024

@firdaussoberi @DavidStummer hello guys please help how to print Image on Bluetooth thermal printer in IPhone. please help me how its obtain or share your code please. i lost couple months behind this

from react-native-bluetooth-escpos-printer.

muhamadnabila avatar muhamadnabila commented on July 28, 2024

Hi, I tried some printing function from repository (example folder) but I couldn't try print image, it said error in bad base64. But another printing function is success. only error on print image. Can someone help? (this is android not IOS)

from react-native-bluetooth-escpos-printer.

yosukapro avatar yosukapro commented on July 28, 2024

Hello
Did anyone found solution for this?
I am stuck when try to use printPic method on iOS. For others method it work well.
I am sure base64 format is correct.
The error code return when call printPic method: COMMAND_NOT_SENT, and I call 2 method in same time with printText and printPic but for printText it working.

Information:
react-native: 0.68.7
react-native-bluetooth-escpos-printer: "^0.0.5"

from react-native-bluetooth-escpos-printer.

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.