I finally have reliable, stable printing to a blue tooth printer (Citizen CMP-10 and CMP-20) from my Samsung 5570L Galaxy Mini Android Device running v2.3.6
Attached is a skeleton project (based on the Serial example posted here) in Basic4Android v1.8 that requires the following libraries
Core v1.77
Serial v1.20
ToggleLibrary 1.00
It may work with other versions but this is what works for me in my specific situation
To print you must first pair the phone/device to the printer
In the program you must place what you wish to print in PrintBuffer (string) variable and call StartPrinter (sub)
If the printer is not turned on it returns an error message and allows you to reprint
Hope this helps someone
Tim
Attached is a skeleton project (based on the Serial example posted here) in Basic4Android v1.8 that requires the following libraries
Core v1.77
Serial v1.20
ToggleLibrary 1.00
It may work with other versions but this is what works for me in my specific situation
To print you must first pair the phone/device to the printer
In the program you must place what you wish to print in PrintBuffer (string) variable and call StartPrinter (sub)
If the printer is not turned on it returns an error message and allows you to reprint
Hope this helps someone
Tim
Attachments
Last edited: