Bluetooth Printer

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
lemodizon
Posts: 218
Joined: Thu Apr 05, 2018 3:33 pm

Bluetooth Printer

Post by lemodizon » Fri Sep 20, 2024 6:42 am

Hello everyone,

Good day.

I just bought portable Bluetooth printer and I want it to try in livecode platform.

I'm planning to test this printer via android phone using livecode

does anyone here tried a Bluetooth printer via android using livecode?

hope you can help or guide me.

thanks in advance

Image
Attachments
bluetooth.png
Thank you & God Bless Everyone :wink:

Regards,
lemodizon

Klaus
Posts: 14177
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Bluetooth Printer

Post by Klaus » Fri Sep 20, 2024 9:42 am

Hi lemodizon,

maybe this thread will help you?
viewtopic.php?f=7&t=39185&p=230927&hili ... nt#p230927

Best

Klaus

asepre
Posts: 1
Joined: Tue Oct 08, 2024 10:16 am
Contact:

Re: Bluetooth Printer

Post by asepre » Tue Oct 08, 2024 10:27 am

Klaus wrote:
Fri Sep 20, 2024 9:42 am
Hi lemodizon,

maybe this thread will help you?
Best

Klaus
It's what I need, too! Thanks a lot!

lemodizon
Posts: 218
Joined: Thu Apr 05, 2018 3:33 pm

Re: Bluetooth Printer

Post by lemodizon » Mon Apr 07, 2025 11:26 am

Klaus wrote:
Fri Sep 20, 2024 9:42 am
Hi lemodizon,

maybe this thread will help you?
viewtopic.php?f=7&t=39185&p=230927&hili ... nt#p230927

Best

Klaus
Thanks Klaus, however I tried to run it android phone it does not run.
Thank you & God Bless Everyone :wink:

Regards,
lemodizon

brattina01
Posts: 1
Joined: Tue May 06, 2025 8:16 am
Contact:

Re: Bluetooth Printer

Post by brattina01 » Tue May 06, 2025 8:25 am

What specific challenges or limitations did you encounter when attempting to connect and print via Bluetooth from LiveCode on Android?

lemodizon
Posts: 218
Joined: Thu Apr 05, 2018 3:33 pm

Re: Bluetooth Printer

Post by lemodizon » Mon May 19, 2025 1:22 pm

Hi brattina01,

I was planning to create an Android app using LiveCode. Please see the sample design.
Image

The app will search for a device, connect to my Bluetooth printer, and then test a print sample.

However, I cannot find a tutorial or forum for this to guide me.
Attachments
2025-05-19_20h10_52.png
2025-05-19_20h10_52.png (7.7 KiB) Viewed 1977 times
Thank you & God Bless Everyone :wink:

Regards,
lemodizon

Klaus
Posts: 14177
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Bluetooth Printer

Post by Klaus » Tue May 20, 2025 12:03 pm

Not sure this will work at all!?
From the dictionary about "print":
...
Cross-platform note: ...
On mobile platforms, the print command only works in the context of an explicit open printing to pdf command.
...

keliko
Posts: 93
Joined: Thu Aug 01, 2019 8:15 am

Re: Bluetooth Printer

Post by keliko » Fri Jul 18, 2025 8:15 pm

lemodizon wrote:
Mon Apr 07, 2025 11:26 am
Klaus wrote:
Fri Sep 20, 2024 9:42 am
Hi lemodizon,

maybe this thread will help you?
viewtopic.php?f=7&t=39185&p=230927&hili ... nt#p230927

Best

Klaus
Thanks Klaus, however I tried to run it android phone it does not run.

Some of my POS projects use JNI for Bluetooth printer access. However, you need to understand how data is formatted when sent over Bluetooth. The easiest way is to use Cordova, and you can still use LiveCode, but you'll need to use the standalone Web LiveCode.

Post Reply