The printer was a bit complicated to hook up kzbin.infoUgkxciSwynMJ7PnUvvx11rewiu-yFBkZTl53 but it does the job very efficiently. I like the ink wells versus the ink cartages that cost an arm and a leg. It prints quickly and the quality is excellent. It shuts off when not in use, so you have to remember to turn it on. Overall, it exceeds my expectations. I'll update my review in a couple of months.
@eddydn71 Жыл бұрын
Thanks. I will try
@HabeshaDeveloper5 жыл бұрын
man you are genius ..... and please sir continue the multi restaurant serious .... thanks
@eddydn715 жыл бұрын
I will try my dear :D Thank you for your idea
@ASAD-zk8hp5 жыл бұрын
Bro god bless you visiting ur channel after long. feeling good
@eddydn715 жыл бұрын
You're welcome my bro
@fustibal Жыл бұрын
Can I send a webhook request from server to phone and get a printout? like Uber eats?
@eddydn71 Жыл бұрын
Yes, but we need something like WebAPI to easy handle it
@ZHANSKY3 жыл бұрын
is there a print tutorial like this but with user input and can display the time?
@yassinedarif33532 жыл бұрын
Thank you for the project. I have some errors in the code, is it because of new version of android studio that i use? If so what version you used in this project.
@shubhamnaik42054 жыл бұрын
Sir, how did u connect ur mobile with the printer at the very first while printing ?
@eddydn714 жыл бұрын
I just tell my friend test for me :( Because i don't have device
@shubhamnaik42054 жыл бұрын
@@eddydn71 Thanks, it worked for me automatically.
@brdev78404 жыл бұрын
Thank you for tutorial you're the best, i just have one question what i need to change for making it work for 80mm printers ?
@eddydn714 жыл бұрын
:-? I think we need change paper size
@PTeaSYstem4 жыл бұрын
how to print to bluetooth in web view ?
@eddydn714 жыл бұрын
This is show you how to print data, so you can make an data from WebView first Or WebView support print to select printer
@redwansharafatkabir9644 Жыл бұрын
Great. I am trying this solution for BLE printer. My app is scanning BLE printer, but after selecting the device it doesn't print anything. What can be the issue? Can you please help me in this regard !
@eddydn71 Жыл бұрын
I will try to research. I used to have a device for test, now i don't. So i need find device :(
@redwansharafatkabir9644 Жыл бұрын
@@eddydn71 Okay. Thanks for your cooperative approach. I will also share here if I find out a solution.
@HamidShaikh-hw2um5 жыл бұрын
sir i have question. before ask i started research about arduino and python means i know we can use python with "android studio" but i don't know, in android studio can we create app to control wifi & Bluetooth to control arduino?
@eddydn715 жыл бұрын
You can publish API from Python and use android like a client :D
@HamidShaikh-hw2um5 жыл бұрын
so will i control arduino using android as client by publish Python API?
@HamidShaikh-hw2um5 жыл бұрын
also thank you for given link of all image stream docs
@samurbandy Жыл бұрын
I'm struggling looking for how to cut paper using Printooth. I'm about to give up...
@yogeshtripathi16355 жыл бұрын
Hi sir, Will this code work with every printer having Bluetooth hardware in it?
@eddydn715 жыл бұрын
Yes my dear :D I think so :D Sorry i can't test all device :D
@sidique52695 жыл бұрын
No I am using hp sprocket printer..not working with that
@abdulkarimalbaik38735 жыл бұрын
Amazing 💛💛💛
@eddydn715 жыл бұрын
You're welcome my bro
@FranciscoJavierRamirezAyala Жыл бұрын
Is there any way to know if the printer is out of paper with this library?
@trunghieu224994 жыл бұрын
please help me, can this way print the invoice or just print text ?
@eddydn714 жыл бұрын
@.@ You already simplest example, so you can make text to invoice you want !
@flaviobarros83055 жыл бұрын
Awesome! ..also Still Excited and Hoping the vote for the Student app series
@eddydn715 жыл бұрын
I will try to create this series soon , thank you for your idea my bro
@flaviobarros83055 жыл бұрын
@@eddydn71 🙂👍Thank u
@alissonjohn5 жыл бұрын
congratulaitions !!!!!!!!!! veryyyyyyyyy thnks
@eddydn715 жыл бұрын
You're welcome my bro
@itdeveloper54815 жыл бұрын
hi sir how can i print receipt more than one at a same time programmatically
@eddydn715 жыл бұрын
:-? I think we can't because it need schedule document print
@itdeveloper54815 жыл бұрын
@@eddydn71 okay , thanks
@DeepakKumar-Dalsinghsarai5 жыл бұрын
Choose image from gallery and then print....? How it possible
@eddydn715 жыл бұрын
Similar this tutorial but simpler , you can create print adapter for image :)
@zameer-haider5 жыл бұрын
Please create video. This process. Pick image to gallery for example ticket image. And print it! Please please.
@powergaming32924 жыл бұрын
can you print arabic letters in blutooth printer..plz reply...
@eddydn714 жыл бұрын
@.@ I don't use this language so i can't test, can you try ?
@powergaming32924 жыл бұрын
@@eddydn71 i tried..not working
@subhamahir55992 жыл бұрын
What is the latest version for Printooth?
@alisampson66394 жыл бұрын
Hello Sir. Does this library support creating a custom pdf and printing with it?
@eddydn714 жыл бұрын
No, you can see my Create PDF and Print video :D
@ZeroTwoTwoFive4 жыл бұрын
Hi Eddy, this tutorial bluetooth print and other pdf print tutorial, is it have to use androidx ?
@eddydn714 жыл бұрын
:) Dear, AndroidX and Android is just difference package name, other features is same :) Doesn't matter!
@mohammedmosalam98724 жыл бұрын
I have this problem : io.paperdb.PaperDbException: Paper.init is not called can help me?
@eddydn714 жыл бұрын
Please add Paper.init(this); in onCreate method, or above code of Paper
@leandro-mendes3 ай бұрын
@@eddydn71 Hi sir, can you pass some code to to understand where?
@kennethmallari1272 жыл бұрын
Learning to code using jetpack compose, how to properly add its repository and dependency?
@someshmahajan79035 жыл бұрын
Awesome Is this work on any Bluetooth enabled printer ?
@eddydn715 жыл бұрын
Yes my dear :D I think so :D Sorry i can't test all device :D
@someshmahajan79035 жыл бұрын
@@eddydn71 okay, nice ✌️
@radi15723 жыл бұрын
hi sir, how to print data array json from url ?
@eddydn713 жыл бұрын
Raw string or object array ? :D
@radi15723 жыл бұрын
@@eddydn71 object array sir, i have data array json connection with database, example url like this example.com/produk.php and i have a function sendprint to print Example funttion like this sendprint("welcome") output print welcome but i want insert data from database Like this sendprint(url json) i want output milk 1 7000 margarin 2 5000 please help me sir thanks
@ottocheley78525 жыл бұрын
How do make the font smaller with bluetooth commands?
@eddydn715 жыл бұрын
You can see how to modify format of text in Github of this library
@evankhan50685 жыл бұрын
Sir,thermal printer support other languages
@evankhan50685 жыл бұрын
Sir I wanted to print other languages just like Spanish.how can I print??
@eddydn715 жыл бұрын
Try with this tutorial , i think it should work
@evankhan50685 жыл бұрын
Sir other languages not working
@tranhoa93634 жыл бұрын
I have error read failed : Socket might closed or timeout, read red -1 after show has toast connection to printer. How I can fix it?
@eddydn714 жыл бұрын
Look like have problem between your Printer and App, try again my bro
@yusufadebanjo3002 жыл бұрын
I have the same error...
@joaopinto11213 жыл бұрын
Greetings, Sir. I am a beginner and followed the entire video and in the end I got the following error: java.lang.RuntimeException: Unable to start activity ComponentInfo{jc.androidbluetoothprinter/com.mazenrashed.printooth.ui.ScanningActivity}: Can you help me ? I thank you in advance.
@eddydn713 жыл бұрын
Show me more about your log cat :D You cut some useful information
@joaopinto11213 жыл бұрын
@@eddydn71 Processo: jc.androidbluetoothprinter, PID: 19331 java.lang.RuntimeException: Incapaz de iniciar atividade ComponentInfo{jc.androidbluetoothprinter/com.mazenrashed.printooth.ui.ScanningActivity}: android.view.InflateException: Binary XML file line #15: Binary XML file line #15: Error inflating class androidx.swiperefreshlayout.widget.SwipeRefreshLayout em android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2924) em android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2985) em android.app.ActivityThread.-wrap14(ActivityThread.java) em android.app.ActivityThread$H.handleMessage (ActivityThread.java:1635) em android.os.Handler.dispatchMessage (Handler.java:102) em android.os.Looper.loop (Looper.java:154) em android.app.ActivityThread.main (ActivityThread.java:6692) em java.lang.reflect.Method.invoke (Método Nativo) em com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:1468) em com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1358) Causada por: android.view.InflateException: Binary XML file line #15: Binary XML file line #15: Error inflating class androidx.swiperefreshlayout.widget.SwipeRefreshLayout Causada por: android.view.InflateException: Binary XML file line #15: Error inflating class androidx.swiperefreshlayout.widget.SwipeRefreshLayout Causado por: java.lang.ClassNotFoundException: Não encontrei classe "androidx.swiperefreshlayout.widget.SwipeRefreshLayout" no caminho: DexPathList[[arquivo zip "/data/app/jc.androidbluetoothprinter-1/base.apk"],nativeLibraryDirectories=[/data/app/jc.androidbluetoothprinter-1/lib/arm64, /system/lib64, /vendor/lib64]] em dalvik.system.BaseDexClassLoader.findClass (BaseDexClassLoader.java:56) em java.lang.ClassLoader.loadClass (ClassLoader.java:380) em java.lang.ClassLoader.loadClass (ClassLoader.java:312) em android.view.LayoutInflater.createView (LayoutInflater.java:616) em android.view.LayoutInflater.createViewFromTag (LayoutInflater.java:794) em android.view.LayoutInflater.createViewFromTag (LayoutInflater.java:734) em android.view.LayoutInflater.rInflate (LayoutInflater.java:865) em android.view.LayoutInflater.rInflateChildren (LayoutInflater.java:828) em android.view.LayoutInflater.inflate (LayoutInflater.java:525) em android.view.LayoutInflater.inflate (LayoutInflater.java:427) em android.view.LayoutInflater.inflate (LayoutInflater.java:378) em androidx.appcompat.app.AppCompatDelegateImpl.setContentView (AppCompatDelegateImpl.java:696) em androidx.appcompat.app.AppCompatActivity.setContentView(AppCompatActivity.java:170) em com.mazenrashed.printooth.ui.ScanningActivity.onCreate(ScanningActivity.kt:31) em android.app.Activity.performCreate(Atividade.java:6912) em android.app.Instrumentation.callActivityOnCreate (Instrumentação.java:1126) em android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2877) em android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2985) em android.app.ActivityThread.-wrap14(ActivityThread.java) em android.app.ActivityThread$H.handleMessage (ActivityThread.java:1635) em android.os.Handler.dispatchMessage (Handler.java:102) em android.os.Looper.loop (Looper.java:154) em android.app.ActivityThread.main (ActivityThread.java:6692) em java.lang.reflect.Method.invoke (Método Nativo) em com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:1468) em com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1358)
@joaopinto11213 жыл бұрын
@@eddydn71 E/AndroidRuntime: FATAL EXCEPTION: main Process: jc.androidbluetoothprinter, PID: 19331 java.lang.RuntimeException: Unable to start activity ComponentInfo{jc.androidbluetoothprinter/com.mazenrashed.printooth.ui.ScanningActivity}: android.view.InflateException: Binary XML file line #15: Binary XML file line #15: Error inflating class androidx.swiperefreshlayout.widget.SwipeRefreshLayout at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2924) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2985) at android.app.ActivityThread.-wrap14(ActivityThread.java) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1635) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:154) at android.app.ActivityThread.main(ActivityThread.java:6692) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1468) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1358) Caused by: android.view.InflateException: Binary XML file line #15: Binary XML file line #15: Error inflating class androidx.swiperefreshlayout.widget.SwipeRefreshLayout Caused by: android.view.InflateException: Binary XML file line #15: Error inflating class androidx.swiperefreshlayout.widget.SwipeRefreshLayout Caused by: java.lang.ClassNotFoundException: Didn't find class "androidx.swiperefreshlayout.widget.SwipeRefreshLayout" on path: DexPathList[[zip file "/data/app/jc.androidbluetoothprinter-1/base.apk"],nativeLibraryDirectories=[/data/app/jc.androidbluetoothprinter-1/lib/arm64, /system/lib64, /vendor/lib64]] at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56) at java.lang.ClassLoader.loadClass(ClassLoader.java:380) at java.lang.ClassLoader.loadClass(ClassLoader.java:312) at android.view.LayoutInflater.createView(LayoutInflater.java:616) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:794) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:734) at android.view.LayoutInflater.rInflate(LayoutInflater.java:865) at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:828) at android.view.LayoutInflater.inflate(LayoutInflater.java:525) at android.view.LayoutInflater.inflate(LayoutInflater.java:427) at android.view.LayoutInflater.inflate(LayoutInflater.java:378) at androidx.appcompat.app.AppCompatDelegateImpl.setContentView(AppCompatDelegateImpl.java:696) at androidx.appcompat.app.AppCompatActivity.setContentView(AppCompatActivity.java:170) at com.mazenrashed.printooth.ui.ScanningActivity.onCreate(ScanningActivity.kt:31) at android.app.Activity.performCreate(Activity.java:6912) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1126) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2877) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2985) at android.app.ActivityThread.-wrap14(ActivityThread.java) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1635) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:154) at android.app.ActivityThread.main(ActivityThread.java:6692) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1468) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1358)
@ellengracefabian66355 жыл бұрын
Hello Sir, can I ask what kind of device did you use for printing?
@eddydn715 жыл бұрын
I've show my device in my tutorial , please check
@shubhamnaik19824 жыл бұрын
Sir, How to unregisterReceiver in the onStop() method ? i am getting Activity com.mazenrashed.printooth.ui.ScanningActivity has leaked IntentReceiver com.mazenrashed.printooth.utilities.Bluetooth$3@be148a4 that was originally registered here. Are you missing a call to unregisterReceiver()? Please help me out .
@eddydn714 жыл бұрын
I will check soon my bro, sorry :)
@ameliakaheja48542 жыл бұрын
sir. help. i got this error Could not find io.paperdb:paperdb:2.6. do you know how to solve it?
@leandro-mendes3 ай бұрын
i m not, do you?
@MrEdersonlima4 жыл бұрын
Hi, can I create a webview and print their content on a bluetooth printer with this code?
@eddydn714 жыл бұрын
pointofandroid.blogspot.com/2018/03/printsave-pdf-from-webview.html You can convert PDF to WebView and print it :)
@Mjt44554 жыл бұрын
EDMT Dev Are you available for custom project ?
@jawadnas35264 жыл бұрын
great job. i followed you step by step ..except that my min sdk is 23 ... and i got null reference exception on prinitng.print
@eddydn714 жыл бұрын
Have you init it ? Follow my tutorial step by step please
@jawadnas35264 жыл бұрын
@@eddydn71 yes sir step by step
@jawadnas35264 жыл бұрын
@@eddydn71 btw i am sure the the app is init
@mopapomopapo97314 жыл бұрын
@@jawadnas3526 Did you manage to solve the null reference error....I a getting the same, please help!!
@mopapomopapo97314 жыл бұрын
@EDMT Dev please chip in I'm literally stuck
@fadelmuhammad36814 жыл бұрын
Sir i have error io.paperdb.PaperDbException: Paper.init is not called. How can I fix it
@eddydn714 жыл бұрын
Please call Paper.init(this); before use it !
@leandro-mendes3 ай бұрын
@@eddydn71 Hi sir, can you pass some code to to understand where?
@prithukathet1935 жыл бұрын
it is not working in my device , it says minsdk > sdk and when i decrease the sdk version code is not working again
@eddydn715 жыл бұрын
try target your min SDK to higher
@franciscorivera43514 жыл бұрын
Excellent video, thanks! I already implemented it to my project, it doesn´t show any errors, but when I click to the buttom "Pair/Unpair", it shows a new window with the tittle "Searching" but it doesn´t do anything. Could you please guide me with this issue? This part is not in the video, so I´m lost on it.
@eddydn714 жыл бұрын
Maybe it can't connect to your drive, try with other device
@adarshjain98285 жыл бұрын
This is awesome
@eddydn715 жыл бұрын
You're welcome my bro
@hafiedzkhadafi81985 жыл бұрын
How to make scan and print in different activity?
@eddydn715 жыл бұрын
You just scan or do anything to get content to print , and pass it to activity print like this tutorial
@denisdenis14665 жыл бұрын
I saw that ur codes r same like the codes from github, do u memorize them in ur brain or u copy them from another monitor ?
@eddydn715 жыл бұрын
This is code from open source community , and i show it to all person who want to work with it :)
@denisdenis14665 жыл бұрын
@@eddydn71 so we must remember all the line codes in our mind? bcs when u r at job u cant copy paste the codes ...
@sachikanimantha98865 жыл бұрын
@@denisdenis1466 I disagree with you. programming is not remembering all the codes in our mind. we must know the logic and the way it can be done.
@ziauddinahmed26844 жыл бұрын
Created the app successfully. But having an issue with lot of spacing. After printing text the printer takes 3/4 line gap then printing image. Is there any way to solve the issue?
@eddydn714 жыл бұрын
Try play with code print my bro :D
@jantofox44514 жыл бұрын
please help me, do this on xamarin android to
@eddydn714 жыл бұрын
I will try my bro
@rubanjap3 жыл бұрын
Hi, Can we print QR code using the android app inThermal Printer? Plz reply me
@vasilemihai14654 жыл бұрын
Hello!! I have this error TextPrintable(java.lang.String, byte, byte, int, byte, byte, byte, ...)' has private access in 'com.mazenrashed.printooth.data.printable.TextPrintable' Do you have a solution for it? thanks, regards
@eddydn714 жыл бұрын
Have you follow my tutorial step by step ?
@vasilemihai14653 жыл бұрын
@@eddydn71 yes, 99% sure :). or I miss something?
@pancaadnanandrian94714 жыл бұрын
I watch this video 5 time but i still got error first unregisterRaicever second arraylist Paintertables null pointer object.pls help me i tried
@eddydn714 жыл бұрын
Have you follow exactly all step ? Init Printooth in Application.java ?
@palectores4 жыл бұрын
You can make this as a printer service? how much I need to donate to see a tutorial of you making it as a printer service... I mean, than another apps can send documents to this app to be printed, like print raw or print+, in the playstore... anyway, great job man,
@eddydn714 жыл бұрын
I will try to create tutorial my bro
@HidungPesek4 жыл бұрын
bro... is this tutorial and code still work for now? 🤔
@eddydn714 жыл бұрын
work fine ! Why you ask that :D
@HidungPesek4 жыл бұрын
@@eddydn71 hmm...i will make app like this... soo.. its make me little bit aware i need a buy that printer and spent money for not really sure working fine.. hmmm... can u help me if i got trouble or something not working fine
@Btechtraders4 жыл бұрын
printing.print(printables); Printooth.INSTANCE.printer().print(printables); Why does it have 2 print function and the printing gives a null error 'void com.mazenrashed.printooth.utilities.Printing.print(java.util.ArrayList)' on a null object reference can you help ??
@eddydn714 жыл бұрын
Printing object is null ! Have you init it in Application.java like tutorial ?
@Btechtraders4 жыл бұрын
@@eddydn71 yeah I have initialized it in application.java, But in the activity we are not initializing the printing variable, we always check whether it's not equal to null. Is that the right way?
@Btechtraders4 жыл бұрын
@@eddydn71 can you tell me whats the differecne between printing.print(printables); Printooth.INSTANCE.printer().print(printables); this two print functions?
@Btechtraders4 жыл бұрын
@@eddydn71 We are initialing Printooth in app.java right? Not printing.
@ariskadian15555 жыл бұрын
awesome! thanks for this tutorial, print image and text in one row, is it possible?
@eddydn715 жыл бұрын
Sure my dear :D
@razanabughazaleh83425 жыл бұрын
How do this?
@eddydn715 жыл бұрын
@@razanabughazaleh8342 You already code in my tutorial , you can modify it :D
@razanabughazaleh83425 жыл бұрын
I need one button at same time print image and text, but in you tutorial this happens at two buttons
@eddydn715 жыл бұрын
@@razanabughazaleh8342 T_T You just copy code from button two to button one to print 2 case in 1 time
@bmw335hdk2 Жыл бұрын
Hello Sir, This library work with all smartphone.. But not with Xiaomi.. The screen stuck on "Scanning.." Do you have any solution regarding this matter?
@redwansharafatkabir9644 Жыл бұрын
Hello, I am also facing this problem. I am trying to print in BLE printer. Did you find any solution?
@androidfirebase30953 жыл бұрын
It's giving an error in the library's implantation implementation 'com.github.mazenrashed:Printooth:1.2.1' I can't call her on OnCreate I already put 1.2.2 and error the same way
@eddydn713 жыл бұрын
Please follow my tutorial step by step, you lacking define maven { url 'jitpack.io' } in your project
@piyushshukla71244 жыл бұрын
Sir I want to Print and save invoice as pdf using bluetooth printer . Please help how to save as pdf
@eddydn714 жыл бұрын
kzbin.info/www/bejne/naGrZY2oZsuZpLc Here you are
@piyushshukla71244 жыл бұрын
@@eddydn71 Sir I want pdf print for 80mm printer not A4 size
@eddydn714 жыл бұрын
@@piyushshukla7124 :-? so it hard :( iText not support this size
@piyushshukla71244 жыл бұрын
@@eddydn71 So please let me know how to do this.
@eddydn714 жыл бұрын
@@piyushshukla7124 Dear, try to with: stackoverflow.com/questions/31884342/generate-and-print-a-pdf-with-specific-size-in-android
@Kwauhmazatl4 жыл бұрын
Hi, I got this new error: android.app.IntentReceiverLeaked: Activity com.mazenrashed.printooth.ui.ScanningActivity has leaked IntentReceiver com.mazenrashed.printooth.utilities.Bluetooth$3@41bde06 that was originally registered here. Are you missing a call to unregisterReceiver()?
@eddydn714 жыл бұрын
=>Are you missing a call to unregisterReceiver()? Try call this function in onStop method :D
@pancaadnanandrian94714 жыл бұрын
@@eddydn71 in unregisterRaicever (there is a broadcast riciver) what should I put there ??
@Kwauhmazatl4 жыл бұрын
@@eddydn71 in the MainActivity? how? I dont understand
@eddydn714 жыл бұрын
@@Kwauhmazatl Yes, try put in onStop
@Kwauhmazatl4 жыл бұрын
@@eddydn71 sorry dont work can you share only this part of the code?
@abdalrahmangharaibeh11715 жыл бұрын
how to set font family??
@eddydn715 жыл бұрын
You can do that on API level 29+
@abdalrahmangharaibeh11715 жыл бұрын
I am not able to print out Arabic text it print out black box that why i asked for changing font family Thank you
@eddydn715 жыл бұрын
@@abdalrahmangharaibeh1171 You're welcome , my dear
@luckyluke20782 жыл бұрын
How implement to print barcode
@sadibouba1515 жыл бұрын
Hello sir...I followed your tutorial but i got an error on printint text...Attempt to invoke virtual method 'void com.mazenrashed.printooth.utilities.Printing.print(java.util.ArrayList)' on a null object reference.....Any idea???
@eddydn715 жыл бұрын
Please watch my tutorial step by step , i think your Printing object is null :)
@sachikanimantha98865 жыл бұрын
@@eddydn71 I also got this error. My code is also same like with your code @EDMT
@eddydn715 жыл бұрын
@@sachikanimantha9886 I mean your Printing object is null , you are not init it in Application.java :) Please watch my tutorial STEP BY STEP !
@juanpabloflores63385 жыл бұрын
I also get the same error, Could you solve it?
@jawadnas35264 жыл бұрын
@@juanpabloflores6338 mee too
@RhanReeper4 жыл бұрын
hi, i am getting error: Execution failed for task ':app:compileDebugJavaWithJavac'. how do i fix that?
@eddydn714 жыл бұрын
Show me more about message, my bro :D
@mohsenalahmad27224 жыл бұрын
ERROR: Failed to resolve: com.github.mazenrashed:Printooth:1.2.1 i can not found this library . can i found here any help ?
@eddydn714 жыл бұрын
Please follow my tutorial STEP BY STEP ! You lacking step add " maven { url 'jitpack.io' }" to your build.gradle (project) file
@mohsenalahmad27224 жыл бұрын
@@eddydn71 is it work for any bluetooth printer ? we do not have to add printer sdk ?
@eddydn714 жыл бұрын
@@mohsenalahmad2722 Yes my bro !
@magenzz5 жыл бұрын
The App unable to run because something wrong with binary xml:16 SwipeRefreshLayout. Can you please help me?
@eddydn715 жыл бұрын
Check your SwipeRefreshLayout , make sure it come from right package. Maybe you use AndroidX ?
@magenzz5 жыл бұрын
@@eddydn71 no, i idont use SwipeRefreshLayout. But I use AndroidX. What the difference?
@eddydn715 жыл бұрын
@@magenzz Your log error say about SwipeRefreshLayout If you use androidx , all package name must be change to androidx , my dear
@magenzz5 жыл бұрын
@@eddydn71 ok thanks, its work. print from list from recyclerview , it is possible? how?
@eddydn715 жыл бұрын
@@magenzz Just format data in list to Text list data :D
@dwarow25083 жыл бұрын
I can't use Printooth. It does not import the class
@ZHANSKY3 жыл бұрын
i have the same problem. did you get the solution?
@ozanaltok46473 жыл бұрын
Printing class does not exist in package . Can you fix this please
@eddydn713 жыл бұрын
Hi, please follow my tutorial step by step :D
@tanimahmed29384 жыл бұрын
how to connect through IP of device?
@eddydn714 жыл бұрын
Please, this is 'Bluetooth printer' :) You can watch my Wifi Printer tutorial
@razanabughazaleh83425 жыл бұрын
Hello sir... I followed your tutorial but when test it, The image printed, but the text not... Any idea??
@eddydn715 жыл бұрын
Try check again my dear :) I can't print both Image and Text in my tutorial :D
@balkcer5 жыл бұрын
Hola, saludos desde República Dominicana, tengo una Milestone MHT-L5801 para imprimir tickets y necesito imprimir Códigos QR, he seguido al pie de la letra el tutorial y no me funciona... he mirado en el logcat y me sale este error: "Activity com.mazenrashed.printooth.ui.ScanningActivity has leaked IntentReceiver com.mazenrashed.printooth.utilities.Bluetooth$3@b6fb53b that was originally registered here. Are you missing a call to unregisterReceiver()?" por favor necesito me ayudes a resolver este error. Espero tu respuesta y Gracias por el tutorial!!!
@eddydn715 жыл бұрын
Please use English , my dear
@balkcer5 жыл бұрын
@@eddydn71 Hello, greetings from the Dominican Republic, I have a Milestone MHT-L5801 to print tickets and I need to print QR Codes, I have followed the tutorial to the letter and it does not work ... I have looked in the logcat and I get this error: " Activity com.mazenrashed.printooth.ui.ScanningActivity has leaked IntentReceiver com.mazenrashed.printooth.utilities.Bluetooth$3@b6fb53b that was originally registered here. Are you missing a call to unregisterReceiver ()? " Please, I need you to help me solve this error. I await your response and Thanks for the tutorial !!!
@cagdaskaya30365 жыл бұрын
Hi Why import com.mazenrashed.printooth.utilities.Printing; this My MainActivity class crashed
@eddydn715 жыл бұрын
Show me your log cat when your app is crash :D
@cagdaskaya30365 жыл бұрын
@@eddydn71 Bro app is not crash but Printing cannot import video 3:50 you write Printing and import but my project cannot import if I write this import com.mazenrashed.printooth.utilities.Printing; Main activity red line Printing
@eddydn715 жыл бұрын
@@cagdaskaya3036 Have you install this library ?
@cagdaskaya30365 жыл бұрын
@@eddydn71 yes I install. I can import PrintCallBack vs..
@eddydn715 жыл бұрын
@@cagdaskaya3036 Try watch my tutorial step by step :) my bro
@Btechtraders4 жыл бұрын
Please change this if(!Printooth.INSTANCE.hasPairedPrinter()) printing=Printooth.INSTANCE.printer(); to if(Printooth.INSTANCE.hasPairedPrinter()) printing=Printooth.INSTANCE.printer(); This is the error i was getting, thats why printing variale was not initiated. Please change the error as any popup or text edit in your video.
@eddydn714 жыл бұрын
You're welcome my bro
@ahmedtawfiq52705 жыл бұрын
Hello Thanks sir how Can i Print PDf from this Library ?
@eddydn715 жыл бұрын
I also have tutorial Print PDF , please search :D
@ahmedtawfiq47235 жыл бұрын
Thanks man i found it 👍👌
@alisampson66394 жыл бұрын
@@eddydn71 Does that tutorial support bluetooth printers?
@Imperfecton4 жыл бұрын
Hi, can you help me with printing vietnamese charecter with bluetooth printer? In the video, Bluetooth Print just can print window-1252 characters but it's missing some characters such as: ấ ề ừ
@eddydn714 жыл бұрын
:( It depends on Printer, i think so
@ducanhnguyen43783 жыл бұрын
cho mình hỏi, bạn đã làm theo và thành công chưa, vì mình k có máy in để thử
@Imperfecton3 жыл бұрын
@@ducanhnguyen4378 mình dùng cách in xml để in tiếng việt vì video này vẫn hạn chế 1 số chữ
@ducanhnguyen43783 жыл бұрын
@@Imperfecton mình muốn in ảnh, bitmap thì k biết có nên dùng cách này k, và bạn dùng cách này có kết nối đc với máy in không, vì mình k có máy in để thử
@Imperfecton3 жыл бұрын
@@ducanhnguyen4378 đc bạn nhé
@kaneborreo70035 жыл бұрын
Doesn't work on higher version
@eddydn715 жыл бұрын
What problem with it my dear :D
@kaneborreo70035 жыл бұрын
@@eddydn71 the printooth you implement in gradle
@kaneborreo70035 жыл бұрын
@@eddydn71 Please Please Please?
@zameer-haider5 жыл бұрын
how to print complete ticket (image)
@eddydn715 жыл бұрын
I will try to make tutorial , my dear
@zameer-haider5 жыл бұрын
@@eddydn71 thanks for reply,
@eddydn715 жыл бұрын
You're welcome my bro
@zameer-haider5 жыл бұрын
Em still waiting bro ! 😢
@mcaves___14414 жыл бұрын
hello, on initView() function printing.setPrintingCallback(this) .. here this is not recognized.. it says Required PrintingCallback, Provided MainActivity... please help me to fix this.. thanks :)
@eddydn714 жыл бұрын
Please watch my tutorial step by step , my dear
@quangquang4588 Жыл бұрын
your project not working
@hadeelsalih16392 жыл бұрын
What about usb printer?
@Kwauhmazatl4 жыл бұрын
Hi, I got this error: ERROR: Failed to resolve: com.github.mazenrashed:Printooth:1.2.1 Show in Project Structure dialog Affected Modules: app
@eddydn714 жыл бұрын
Add the JitPack repository to your build file allprojects { repositories { ... maven { url 'jitpack.io' } } } Add dependency dependencies { implementation 'com.github.mazenrashed:Printooth:1.2.1' }
@Kwauhmazatl4 жыл бұрын
@@eddydn71 hehe thank you
@jsmx26733 жыл бұрын
java.lang.NullPointerException: Attempt to invoke virtual method 'void com.mazenrashed.printooth.utilities.Printing.print(java.util.ArrayList)' on a null object reference help me this error please
@zameer-haider5 жыл бұрын
sir please print Image 58mm
@abdelkaderchihabeddinebena22275 жыл бұрын
Thanks bro the best as ever
@eddydn715 жыл бұрын
You're welcome my bro
@adnanmhanna27345 жыл бұрын
Hello it is not working with arabic can you please tell me what I do to make it print
@ahmedalbasha81034 жыл бұрын
I have the same problem... Did you fix it?
@jawadnas35264 жыл бұрын
i thing the solution here .setCharacterCode(DefaultPrinter.Companion.getCHARCODE_ARABIC_CP720())
@eddydn713 жыл бұрын
You're welcome
@mohamedabuasi11425 жыл бұрын
Please want to get the source code
@eddydn715 жыл бұрын
All source code available in my tutorial , please watch and get it my dear !
@kindi9334 жыл бұрын
help java.lang.RuntimeException: Unable to start activity ComponentInfo{com.ber.printsample/com.mazenrashed.printooth.ui.ScanningActivity}: android.view.InflateException: Binary XML file line #16: Binary XML file line #16: Error inflating class androidx.swiperefreshlayout.widget.SwipeRefreshLayout
@eddydn714 жыл бұрын
implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.0.0" Try implement it ! Or submit bug error with author Printooth
@kindi9334 жыл бұрын
@@eddydn71 hello new error IntentReceiver com.mazenrashed.printooth.utilities.Bluetooth$3@76b9478 that was originally registered here. Are you missing a call to unregisterReceiver()?
@eddydn714 жыл бұрын
override onStop in your Activity and add code unregisterReceiver my bro
@FelexAndVirginia5 жыл бұрын
U remind of an app we used to import farmers details who were selling milk to a company then we would print the kg of milk they sold .......i have source code if intrested i can share with you ....how much can you charge for app like my resturant in $
@eddydn715 жыл бұрын
Contact with me by email : eddydn@gmail.com
@georgeonil...4 жыл бұрын
issue: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.mazenrashed.printooth.utilities.Printing.print(java.util.ArrayList)' on a null object reference FIX:---- change: printing.print(printables); To this: Printooth.INSTANCE.printer().print(printables);
@eddydn714 жыл бұрын
You're welcome, my bro :D
@luckyluke20782 жыл бұрын
How to print badcode
@madhuranvision65722 жыл бұрын
Hi do any one know hot print arabic/hindi with this method
@etelot3 жыл бұрын
This library is giving problems for Android 12. Fix it
@Sajad-uz3id3 жыл бұрын
Code please
@eddydn713 жыл бұрын
All source code available in my tutorial , please watch and get it my dear !
@d3zar4 жыл бұрын
is it can work with normal (non termal printer) bluetooth printers .?
@eddydn714 жыл бұрын
Try test with it my bro :D
@yasark63475 жыл бұрын
My layout be like parent is relative layout in that recycler view and floating action button aligned in parent bottom and end =true
@eddydn715 жыл бұрын
And what problem with you , my dear ?
@yasark63475 жыл бұрын
@@eddydn71 sir my problem is I created a categories 👇👇 kzbin.info/www/bejne/nHrXeaCYh7aIjZo By above link of your tutorial All is working fine except the new category is created only on firebase server and storage folder also created in server but the recyclerview of app is not updated no error is shown Before all of this u first loaded the items from firebase that is also working.thanks sir in advance
@zameer-haider5 жыл бұрын
Please create video. This process. Pick image to gallery for example ticket. And print it! Please please.
@WMPD394 жыл бұрын
How to print arabic ..?
@eddydn714 жыл бұрын
I am not sure this library support Arabic, i will check
@ruseltayong10945 жыл бұрын
Good day sir! I got this error ERROR: Failed to resolve: com.squareup.picasso.picasso:2.71828:
@eddydn715 жыл бұрын
com.squareup.picasso:picasso:2.71828 => This is right syntax :D
@dineshasija45352 жыл бұрын
Can you share your code please
@nikeshsangale17655 жыл бұрын
please provide code of this tutorial and how to print bill in android please make video on this concept
@eddydn715 жыл бұрын
All source code available in my tutorial , please watch and get it my dear !
@lifeOfCharlesMaina3 жыл бұрын
this library is not working
@sulaimanhaiderseddique3590 Жыл бұрын
What are you doing actually bro! Your video heading does not say "This video is not for novice developer". Plz try to attach some related technical speech about job you are doing.