andrey-ushakov / esc_pos_utils

Basic Flutter/Dart classes for ESC/POS printing
BSD 3-Clause "New" or "Revised" License
151 stars 339 forks source link

Web update #101

Open bobosette opened 1 year ago

bobosette commented 1 year ago

Hi everybody. I'm developing a PWA with flutter web and inside the app I need to print some data with thermal printer. I wonder wheter this package has complete web compatibility, has it?

Thank you

mellowcello77 commented 8 months ago

@bobosette Hi, I am looking at this too. The package platform specifies web, but not sure if anyone has a working example. Have you managed to get something going yet? Thanks!

bobosette commented 8 months ago

Hi. After some searching, I decided t9 change the approach to fix my issue.

Il Mar 26 Mar 2024, 11:29 Wesley Barnes @.***> ha scritto:

@bobosette https://github.com/bobosette Hi, I am looking at this too. The package platform specifies web, but not sure if anyone has a working example. Have you managed to get something going yet? Thanks!

— Reply to this email directly, view it on GitHub https://github.com/andrey-ushakov/esc_pos_utils/issues/101#issuecomment-2020059141, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADEWB4KUEP4ZQ2P2CVBSIQLY2FEXDAVCNFSM6AAAAAAWLO7U42VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRQGA2TSMJUGE . You are receiving this because you were mentioned.Message ID: @.***>

mellowcello77 commented 8 months ago

@bobosette So you did not use a web to print approach?

bobosette commented 8 months ago

Yes but I made an API call. So the frontend web application call the API printTicket, and from my backend I handle the request, and I send the text to print to the printer, that is connected to the network through LAN. Is the best way to print something from a printer from a web application.

Il giorno mar 26 mar 2024 alle ore 12:36 Wesley Barnes < @.***> ha scritto:

@bobosette https://github.com/bobosette So you did not use a web to print approach?

— Reply to this email directly, view it on GitHub https://github.com/andrey-ushakov/esc_pos_utils/issues/101#issuecomment-2020189725, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADEWB4I5XG3H2FYSSMQ7C53Y2FMTHAVCNFSM6AAAAAAWLO7U42VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRQGE4DSNZSGU . You are receiving this because you were mentioned.Message ID: @.***>