Тёмный
No video :(

Flutter - Bluetooth Printer - Thermal Printer 

Snippet Coder
Подписаться 17 тыс.
Просмотров 43 тыс.
50% 1

In this Video we will learn how to integrate Bluetooth Thermal Printer with Flutter Application.
⏱TIMESTAMPS
00:00 - Video Introduction
00:38​ - Packages Used
01:17 - Let`s Start Coding
08:38 - Bluetooth Connectivity
14:50 - Bluetooth Printer Integration
18:22​ - Flutter + Bluetooth + Printer + Integration Testing
📄Source Code
Follow us to get Source @ Twitter | Facebook | Instagram | Telegram
📎Flutter Packages
pub.dev/packages/intl
pub.dev/packages/bluetooth_print
🤝Stay Connected with me !
✔ Instagram : / snippetcoder
✔ Facebook : / snippetcoder
✔ Twitter : / snippetcoder
✔ Telegram : t.me/SnippetCoder
✔ Github : github.com/SnippetCoders/
⛄If you like my work , you can support me
☑️Patreon : / snippetcoder
☑️PayPal : www.paypal.me/iSharpeners
☑️DM For UPI Number
PLEASE SUBSCRIBE AND SHARE THIS VIDEO!!!!😳
THANKS FOR WATCHING!!!
🔥🔥🔥 Push Notification with Flutter, WordPress & OneSignal 🔥🔥🔥
• 🔥 Upload Image/Video i...
🔥🔥🔥 Flutter WooCommerce Admin App - EP 01 - Login Page 🔥🔥🔥
• Flutter WooCommerce Ad...
🔥🔥🔥 Make your Flutter app Multilingual in just 20 min 🔥🔥🔥
• 🔥 Make your Flutter ap...
🔥🔥🔥 💰 Monetizing Flutter apps with Google AdMob 💰 🔥🔥🔥
• 💰 Monetizing Flutter a...
🔥🔥🔥 Upload Image/Video in Flutter with Rest API & WordPress 🔥🔥🔥
• 🔥 Upload Image/Video i...
🔥🔥🔥 Login/Logout System in Flutter With Rest API & WordPress 🔥🔥🔥
• 🔥 Login/Logout System ...
🔥🔥🔥THE BEST WAY TO LEARN SQFLITE IN FLUTTER DEVELOPMENT : • The Best way to learn ...
🔥🔥🔥HIVE ❤️ FLUTTER - LIGHTWEIGHT & FAST NOSQL DATABASE 🔥 : • Hive ❤️ Flutter - Ligh...
🔥🔥🔥FLUTTER - GROCERY APP - WORDPRESS - WOOCOMMERCE SERIES : • 🔥 Flutter - Grocery Ap...
🔥🔥🔥FLUTTER NEWS APPLICATION USING GETX AND WORDPRESS CUSTOM API : • Flutter News Applicati...
Tags and SEO Stuff :
#WooCommerceAdminSeries #WooCommerceFlutterApp #SnippetCoder #woocommerceadminpanelforshopmanager #woocommerceadminapp #woocommerceflutterapp #woocommerceflutteradminapp #flutter #flutteradminapp #flutterecommerceappwithadminpanel #flutteradminpanel #flutteradmindashboard #woocommerceadmindashboardplugin #woocommercegroceryapp #woocommerce #woocommercetutorial #woocommerceplugin #woocommercesetup #woocommerceadmin #wordpresstutorial #woocommercesalesreport #woocommerceadminflutter #flutterapp #woocommercecategories

Опубликовано:

 

2 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 160   
@edwardgomez5992
@edwardgomez5992 2 года назад
Excelente tutorial muchas gracias, saludos desde Colombia 🇨🇴
@muhammadadnanijaz7340
@muhammadadnanijaz7340 2 года назад
Love your channel as usual 🥰🥰🥰🥰🥰
@cam2life360
@cam2life360 Месяц назад
thanks you very much for this video, now I have found my Bluetooth thermal printer by turning on my location as well.
@saliouseck4263
@saliouseck4263 Год назад
Great tutorial thank's very much
@suryaduschannel261
@suryaduschannel261 8 месяцев назад
This is working for me. Great thanks bro
@SnippetCoder
@SnippetCoder 8 месяцев назад
Glad to hear that
@techjo3171
@techjo3171 2 года назад
thanks bro you save my life
@developeranshu3141
@developeranshu3141 2 года назад
Great tutorial👨‍🏫📓
@ranjanadeore2957
@ranjanadeore2957 2 года назад
Thank you very much best video
@floodyboy5307
@floodyboy5307 2 года назад
Very awesome 👏🏻
@243techhub5
@243techhub5 3 дня назад
For those as me looked for the code i found it here github.com/SnippetCoders/flutter_bluetooth_printer/tree/main and by default the printing is not going to work because await bluetoothPrint.printReceipt(config, list); is missing in the PrintPage code, you just need to add it after the last list.add(..). pub.dev/packages/bluetooth_print
@gilmcglory3748
@gilmcglory3748 2 года назад
Thanks for another great tutorial. I hope you will extend this Flutter Bluetooth Printer tutorial to select and use data from a database like MySQL. Again thanks!
@SnippetCoder
@SnippetCoder 2 года назад
I will try my best to make one complete POS Series with Flutter and this Thermal Printer 😊
@bohidorshon
@bohidorshon 2 года назад
@@SnippetCoder Thank you @snippet coder. We'll wait for your next video.
@leonardkiptala9734
@leonardkiptala9734 2 года назад
Did yours work ??
@UiX-TeD
@UiX-TeD Год назад
good video explanation
@akmer6550
@akmer6550 2 года назад
Thanks for good tutorial
@SnippetCoder
@SnippetCoder 2 года назад
Glad you liked it
@koketsomashego8075
@koketsomashego8075 2 года назад
Amazing.
@divyanshusharma3161
@divyanshusharma3161 2 года назад
This is amazing 🔥🔥.. thankyou so much. 👍🤘
@newyllsegura917
@newyllsegura917 Год назад
Hi, nice video. I have a question. This library can be integrated with any bluetooth printer
@kamalkhan4422
@kamalkhan4422 11 месяцев назад
its not working for me. code I write is fine but still cant get a receipt..
@raphaelnsangou3886
@raphaelnsangou3886 2 года назад
Hello, Good tutorial, How can I do to print horizontally ?
@testadmin-mb7eq
@testadmin-mb7eq Год назад
hi, may i know how to print from the paired printer instead of selecting a printer?
@kalankaraivilakkam
@kalankaraivilakkam Год назад
Great Tutorial. Appreciated for your work. I experience a problem now. How to print special characters like ä ü ß? Any idea? In my case it prints Chinese characters be default but I don't know how to fix this.
@gajendrasaini7566
@gajendrasaini7566 11 месяцев назад
Have you used Feitian SDK for POS F100
@claudiosilva221
@claudiosilva221 2 года назад
Very good video congratulations, I could not print on the DATECS DPP 350 printer
@SnippetCoder
@SnippetCoder 2 года назад
Hello, Can you mention your printer in the printer package github issues?
@riadhzidoun8053
@riadhzidoun8053 2 года назад
hello sir , thank you very much
@pavanmuppalla
@pavanmuppalla 2 года назад
After connecting to bluetooth printer (i have issues in connecting), i only see that linetexts are getting filled up. After bluetooth pritner connection will the code directly print what comes next widget line linetext ?
@Kemder
@Kemder 10 месяцев назад
Is it possible to change design of check?
@carlosmojica3797
@carlosmojica3797 2 года назад
Anyone know if it is compatible with Zebra printers?
@carlosvillalobos934
@carlosvillalobos934 4 месяца назад
Hi, I can not see my printer, it is a PPT305BT 3nStar. When I try to connect it to my cellphone it asks me for a PIN but in the app I can not see it. Hola, no puedo ver la impresora, es una PPT305BT de 3nStar. Cuando intento conectarme a ella en el celular me pide un PIN pero en la aplicacion nunca me sale.
@ahmedaliorg
@ahmedaliorg 2 года назад
isn't there any fix to use this with the null safety ?
@jgluckly9749
@jgluckly9749 2 года назад
Great video! Is it possible to get access to the code?
@SnippetCoder
@SnippetCoder 2 года назад
Sure, checkout our GitHub
@bhuvankarthick7972
@bhuvankarthick7972 2 года назад
How many languages we use to make one app??
@ilhamakbar5791
@ilhamakbar5791 6 месяцев назад
how to preview receipt on mobile before printing?
@rvcits
@rvcits 2 года назад
As of today May 09, 2020 Monday. This is not properly working. A glitch on gradle file.
@rikqcs
@rikqcs 2 года назад
What about acces on Info.plist?
@adegbiteoluwafemi1892
@adegbiteoluwafemi1892 2 года назад
how to print double text?
@unwantedchild117
@unwantedchild117 Год назад
Hello I have an error here:error: The operator '*' isn't defined for the type 'Object'.
@SamSenpie
@SamSenpie Год назад
Cannot search printers. I am using the same printer as you. GOOJPRT PT-210
@didimuschandra6680
@didimuschandra6680 5 месяцев назад
I have a Web Based POS System using Laravel and I open the Application using a tablet, when I want to print a receipt but it won't print. Is it possible if I deploy a Flutter project to my server and make that flutter project as a service for my web application to detect and print receipts? So the flutter project will take the Receipt content from my web application and it can be printed
@SnippetCoder
@SnippetCoder 5 месяцев назад
You have to check if this printer utility provide the support for web or not.
@CrescentArtsOfficial
@CrescentArtsOfficial Год назад
How can I print 2 texts one on left and the other on right in the same line?
@juniormalcom6603
@juniormalcom6603 Год назад
Does it work for you please
@josericardocunhacoelho2866
@josericardocunhacoelho2866 Год назад
it is possible to leave the default printer so that it is not necessary to select the printer each time?
@backstagewithrahul
@backstagewithrahul Год назад
hi did you find a solution to this?
@josericardocunhacoelho2866
@josericardocunhacoelho2866 Год назад
@@backstagewithrahul I haven't had the need yet but when I need it I'll search and find it I'll post it here
@somestarsoul1064
@somestarsoul1064 10 месяцев назад
Hi, have you found the solution yet? I have been trying to implement it but as there is so little information about this package so it's hard to understand.
@josericardocunhacoelho2866
@josericardocunhacoelho2866 10 месяцев назад
@@somestarsoul1064 sorry, a stop my project for a time. Dont implement this
@yosoyfrank3347
@yosoyfrank3347 Год назад
este codigo en que momento lo mandas a imprimir? Map config = Map(); List list = []; No esta en tu repode git, porfavor ayuda
@glaucimarfaleiro
@glaucimarfaleiro 10 месяцев назад
await bluetoothPrint.printReceipt(config, list);
@wkndproject
@wkndproject Год назад
My printer seems not support using this package :(
@ijime4845
@ijime4845 2 года назад
I get the following error when i navigate to the print screen, type '(MethodCall) => Null' is not a subtype of type '((MethodCall) => Future)?' in type cast, Do you know any way to fix it
@renysh
@renysh 2 года назад
I have the same problem
@ijime4845
@ijime4845 2 года назад
@@renysh are you the one who posted the issue on github?
@SnippetCoder
@SnippetCoder 2 года назад
This issue is bcoz of null safety, I already told in the video this plugin not support null safety
@jacd007-xt
@jacd007-xt 2 года назад
@@SnippetCoder Hello, I present this same error, I already changed to non-null security, but bluetooth devices are not shown, any suggestions?
@SnippetCoder
@SnippetCoder 2 года назад
Have you tried in app debug mode ?
@abdallahboucedraya
@abdallahboucedraya Год назад
Thank you but how i can view the result to the user before print ?
@SnippetCoder
@SnippetCoder Год назад
I dont think there is any print preview, but you can create your own fake print preview with flutter
@nelsonvasquez4357
@nelsonvasquez4357 Год назад
Excellent video. How can I get the source code?
@SnippetCoder
@SnippetCoder Год назад
Thanks. github.com/SnippetCoders/flutter_bluetooth_printer
@user-eb2mw4bj3c
@user-eb2mw4bj3c Год назад
A problem occurred evaluating project ':bluetooth_print'. > Could not find method compile() for arguments [file collection] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler. THIS ERROR HAPPEN MY CODE
@walcleristonramosamerico2748
@walcleristonramosamerico2748 6 месяцев назад
Esse erro se resolve modificando o arquivo arquivo 'android/app/build.gradle' na chave android{} e depois achando a chave defaultConfig {} defina o valor 21 em minSdkVersion. android { ... defaultConfig { ... minSdkVersion 21 } }
@walcleristonramosamerico2748
@walcleristonramosamerico2748 6 месяцев назад
Tambem tive que alterar o arquivo C:\Users\MeuPerfil\AppData\Local\Pub\Cache\hosted\pub.dev\bluetooth_print-3.0.1\android\build.gradle na linha de dependencias: removi o copile e deixei apenas as linhas de implementation, ficou assim: dependencies { implementation files('libs/gprintersdkv2.jar') implementation "androidx.core:core:1.6.0" //implementation files("D:\\devtools\\flutter\\bin\\cache\\artifacts\\engine\\android-x64\\flutter.jar") }
@walcleristonramosamerico2748
@walcleristonramosamerico2748 6 месяцев назад
Espero que isso te ajude!
@eduardchavez
@eduardchavez 2 года назад
I have the same printer, but iphone doesn't detect that...
@calebbarriosroncancio375
@calebbarriosroncancio375 2 года назад
Hi, it works in Android 10?
@SnippetCoder
@SnippetCoder 2 года назад
Yes, it will please follow the video for the permissions i used in the android manifiest.
@ahmedfouda45
@ahmedfouda45 Год назад
great tutorials bro, but the code gives me error here : title: Text(_devices[i].name), subtitle: Text(_devices[i].address), how could i solve it?
@natsusama246
@natsusama246 Год назад
open class BlueToothDevices(ctrl + left click) and remove ? from string and address
@issam8810
@issam8810 8 месяцев назад
title: Text(_devices[i].name.toString()), //Text(_devices[i].name), subtitle: Text(_devices[i].address.toString()),
@rasmusbryld1832
@rasmusbryld1832 2 года назад
The app works on my android tablet, but only finds a few devices and not the thermal printer. The tablet can connect to the thermal printer outside the app. I've tried increasing the startScan duration but it doesn't help. Any ideas?
@SnippetCoder
@SnippetCoder 2 года назад
Sometime, bcoz of scan duration timeout issue, put the Refresh button and call scan from there.
@rasmusbryld1832
@rasmusbryld1832 2 года назад
@@SnippetCoder Can you elaborate a bit? Do you think it is possible to connect directly using the Bluetooth address of the printer, instead of searching?
@moloymazumdar3568
@moloymazumdar3568 2 года назад
@@SnippetCoder I connect with my printer and its connected, but no printing
@SnippetCoder
@SnippetCoder 2 года назад
Is your printer working fine with other applications?
@moloymazumdar3568
@moloymazumdar3568 2 года назад
@@SnippetCoder yes perfectly ok, in other its working
@okeyshourovroy2769
@okeyshourovroy2769 2 года назад
Is there any package for desktop
@eduardchavez
@eduardchavez 2 года назад
you should be able to print if you connect the printer through usb port. The normal printer windows from windows should appear. you don't need a library, you just need to create a pdf file.
@victormanuelquintanadiaz3832
@victormanuelquintanadiaz3832 2 года назад
Hey, yo connect the device. Very good but where is the code to print. How do you send the print order. And how to use de config dict. Very bad end.
@SnippetCoder
@SnippetCoder 2 года назад
I hope you watch the full video, everything is there :)
@eokdev
@eokdev Год назад
@@SnippetCoder you didn’t call the config...
@bhuvankarthick7972
@bhuvankarthick7972 2 года назад
Bro somebody telling flutter gives more errors compare to other frameworks it is true or false??
@SnippetCoder
@SnippetCoder 2 года назад
Did you face any errors ? never listen to other always believe in practical :)
@bhuvankarthick7972
@bhuvankarthick7972 2 года назад
@@SnippetCoder ok thanks
@syedabdulbasit4466
@syedabdulbasit4466 2 года назад
i got this error
@NishantDev405
@NishantDev405 4 месяца назад
Hello sir printer device connecting but not printing
@anugrahaamal2802
@anugrahaamal2802 Год назад
Exception has occurred. _CastError (type '(MethodCall) => Null' is not a subtype of type '(MethodCall) => Future' in type cast) in blutooth printer. how can i solve this error
@Mary-xi7yv
@Mary-xi7yv Год назад
I am facing the same issue. Did you manage to fic the problem?
@juniormalcom6603
@juniormalcom6603 Год назад
@@Mary-xi7yv Migrate to nullsafety version but facing problem with the up to date version
@walcleristonramosamerico2748
@walcleristonramosamerico2748 6 месяцев назад
estou com o mesmo problema, você conseguiu resolver?
@jayamuruganj5091
@jayamuruganj5091 2 года назад
How to print Tamil font in terminal printer
@SnippetCoder
@SnippetCoder 2 года назад
Try something with unicode
@hoeunpha.5
@hoeunpha.5 11 месяцев назад
I just test now but it didn't print text. Any solution?
@meshavegas
@meshavegas 7 месяцев назад
await bluetoothPrint.printReceipt(config, list); add this at the end
@kyawnai
@kyawnai 2 месяца назад
The coding is fine, but the receipt is not printed. Please help!!
@SnippetCoder
@SnippetCoder 2 месяца назад
New Video for the same coming soon.
@mac.ignacio
@mac.ignacio 5 месяцев назад
For those who are wondering why you cant print because he intentionally left this part of the code hidden. await bluetoothPrint.printReceipt(config, list);
@SnippetCoder
@SnippetCoder 5 месяцев назад
why would i intentionally leave this part ?? do i selling this code ?? this code is open in git also. Please do proper research before pointing someone.
@tanmingzhe9709
@tanmingzhe9709 2 года назад
Mine keeps on disconnecting after awhile
@carlosmojica3797
@carlosmojica3797 2 года назад
Did you use the same printer model from the video or another model?
@user-kn3po9lx5k
@user-kn3po9lx5k 6 месяцев назад
That is not working if you print with IOS phone. Well in android
@unwantedchild117
@unwantedchild117 Год назад
I don't think the whole code is working. You can see the bluetooth devices but can't really print.
@SnippetCoder
@SnippetCoder Год назад
I am not sure if it plugin issue which we using or something else.
@unwantedchild117
@unwantedchild117 Год назад
Its not woking for me
@rifathossain2043
@rifathossain2043 2 года назад
I cloned your project. It shows the printer but does not print. Where is the problem?
@SnippetCoder
@SnippetCoder 2 года назад
is your printer is getting connected ?
@pranshul..
@pranshul.. Год назад
Same problem
@SugerNoor1996
@SugerNoor1996 Год назад
same problem, did u find a solution?
@unwantedchild117
@unwantedchild117 Год назад
@@SugerNoor1996 Did you find the solution?
@SugerNoor1996
@SugerNoor1996 Год назад
@@unwantedchild117 I used native android implementation
@ramyajaganathan23
@ramyajaganathan23 2 года назад
can you share code
@SnippetCoder
@SnippetCoder 2 года назад
github.com/SnippetCoders/flutter_bluetooth_printer
@leonardkiptala9734
@leonardkiptala9734 2 года назад
Am getting error " type (MethodCall)=> Null is not a subtype of type ((MethodCall)=>future )? In type cast ANYONE ELSE GETTING THIS ERROR?? I followed you every step 😂
@SnippetCoder
@SnippetCoder 2 года назад
Pls disable the null safety
@leonardkiptala9734
@leonardkiptala9734 2 года назад
Thanks , but I decided to go with other package updated 3days ago
@edwinespinal462
@edwinespinal462 2 года назад
@@leonardkiptala9734 What package did you use with null safety?
@anugrahaamal2802
@anugrahaamal2802 Год назад
i got the same error
@leonardkiptala9734
@leonardkiptala9734 Год назад
@@edwinespinal462 am sorry , I just read this now , so sorry
@syedabdulbasit4466
@syedabdulbasit4466 2 года назад
it is not printing only show bluetooth printers
@SugerNoor1996
@SugerNoor1996 Год назад
I got some problem, did you find solution?
@unwantedchild117
@unwantedchild117 Год назад
@@SugerNoor1996 Same did you find the solution
@ernestolebni9622
@ernestolebni9622 9 месяцев назад
:p bad video
@SnippetCoder
@SnippetCoder 9 месяцев назад
What bad you find in this video :p
@ernestolebni9622
@ernestolebni9622 9 месяцев назад
I Hate this video
@SnippetCoder
@SnippetCoder 9 месяцев назад
Any reason for Hate ?
@NivraMaxTV
@NivraMaxTV 2 года назад
hello anybody encoutered this error... BluetoothAdapter(26119): getBluetoothService() called with no BluetoothManagerCallback
@dankanezuu
@dankanezuu 5 месяцев назад
any answer on that?
@SnippetCoder
@SnippetCoder 5 месяцев назад
Bro I am not sure for latest update for this plugin . Will try to make new video with latest version soon.
@SnippetCoder
@SnippetCoder 5 месяцев назад
Bro I am not sure for latest update for this plugin . Will try to make new video with latest version soon.
@syedabdulbasit4466
@syedabdulbasit4466 2 года назад
getBluetoothService() called with no BluetoothManagerCallback E/flutter (25217): [ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: PlatformException(not connect, state not right, null, null) E/flutter (25217): #0 StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:607:7) E/flutter (25217): #1 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:156:18)
@iitbritesh
@iitbritesh 2 года назад
@snippet coder getting this same error. Please suggest
@hasanibrahim4887
@hasanibrahim4887 Год назад
@@iitbritesh same here, can you please tell me how you solved it? thank you in advance
@natanaelenero1992
@natanaelenero1992 Год назад
Same error =(, maybe library is not compatible with the printer model (i'm using Honeywell MPD31D).
@luis96xd
@luis96xd Год назад
I have the same error, and can't print any document
@KamrujjamanJoy
@KamrujjamanJoy 2 года назад
FAILURE: Build failed with an exception. * Where: Build file '/Users/6amtech/.pub-cache/hosted/pub.dartlang.org/bluetooth_print-3.0.1/android/build.gradle' line: 37 * What went wrong: A problem occurred evaluating project ':bluetooth_print'. > Could not find method compile() for arguments [file collection] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler. CAN YOU PLEASE HELP ME
@first_lab8114
@first_lab8114 2 года назад
Great video! Is it possible to get access to the code?
@SnippetCoder
@SnippetCoder 2 года назад
Yes Source, Check Description for how to get source code.
@first_lab8114
@first_lab8114 2 года назад
@@SnippetCoder thanks, I am following you on Twitter now, what's next?
@SnippetCoder
@SnippetCoder 2 года назад
Drop me DM , I will share the link in few hours.
Далее
Every Flutter App needs this!
10:15
Просмотров 55 тыс.
ЮТУБ ТОЧНО ВСЕ!
11:23
Просмотров 912 тыс.
Flutter Thermal Printer Bluetooth Example
26:01
Просмотров 39 тыс.
Most overpowered way to build mobile apps?
8:33
Просмотров 752 тыс.
Stripe Integration with Angular and NodeJS
36:29
Просмотров 2 тыс.
Android Development Tutorial - Bluetooth Print
15:09
Просмотров 50 тыс.
35 Flutter Tips That Will Change Your Life
10:53
Просмотров 298 тыс.