A ambg Member Licensed User Longtime User Feb 12, 2017 #1 Hi, I am looking for the way to print to a printer connected via bluetooth. Specifically the printer is a Star Micronics DP8340. Anyone know how to do this? Thanks, Alfonso
Hi, I am looking for the way to print to a printer connected via bluetooth. Specifically the printer is a Star Micronics DP8340. Anyone know how to do this? Thanks, Alfonso
Erel B4X founder Staff member Licensed User Longtime User Feb 13, 2017 #2 If your printer is compatible with Google Cloud Print (http://www.howtogeek.com/165778/eve...t-printing-from-your-android-phone-or-tablet/) then you can use this code to print: https://www.b4x.com/android/forum/threads/android-printing-framework.38796/page-2#post-247437 The other option is to connect to the printer with Serial library. For example: https://www.b4x.com/android/forum/threads/bluetooth-printing-via-spp.17692/ Upvote 0
If your printer is compatible with Google Cloud Print (http://www.howtogeek.com/165778/eve...t-printing-from-your-android-phone-or-tablet/) then you can use this code to print: https://www.b4x.com/android/forum/threads/android-printing-framework.38796/page-2#post-247437 The other option is to connect to the printer with Serial library. For example: https://www.b4x.com/android/forum/threads/bluetooth-printing-via-spp.17692/
JOSE HIGINIO DIZ DIOS New Member Licensed User Longtime User Aug 23, 2017 #3 Hello Alfonso, I have the same problem. I try with "BlueTooth Printing via SPP" POS sample but the printer only print sometimes, other times only make a CR without print and other send an error. Do you solved the problem? Do you speak spanish? Thanks, Jose Higinio Upvote 0
Hello Alfonso, I have the same problem. I try with "BlueTooth Printing via SPP" POS sample but the printer only print sometimes, other times only make a CR without print and other send an error. Do you solved the problem? Do you speak spanish? Thanks, Jose Higinio
f0raster0 Well-Known Member Licensed User Longtime User Aug 24, 2017 #4 did you tried this example: https://www.b4x.com/android/forum/t...receipt-printer-with-matching-codepage.76831/ original: https://www.b4x.com/android/forum/threads/bluetooth-printing-via-spp.17692/page-12 you have to follow the steps below as indicated in the post - switch on the printer - switch on BT on your device - pair your device with the printer (pw on my printer is 1234, take a look at the manual) - wait 'till it's paired and see the printer's name - insert the first unique chars in the code (the MAC address is retrieved via the printers name) - run the app and print Upvote 0
did you tried this example: https://www.b4x.com/android/forum/t...receipt-printer-with-matching-codepage.76831/ original: https://www.b4x.com/android/forum/threads/bluetooth-printing-via-spp.17692/page-12 you have to follow the steps below as indicated in the post - switch on the printer - switch on BT on your device - pair your device with the printer (pw on my printer is 1234, take a look at the manual) - wait 'till it's paired and see the printer's name - insert the first unique chars in the code (the MAC address is retrieved via the printers name) - run the app and print