Android Question CPCL Bluetooth Print

Pantelis Loizou

Member
Licensed User
Longtime User
hi to everyone

i need to convert the below VB6 Code to B4A language. any ideas will be appreciate a lot. the bluetooth printer now is working with cpcl emulation

 

TILogistic

Expert
Licensed User
Longtime User
see:
spanish
other
search:

I personally modified the class to be able to print on different commands (ESC/POS, ZPL, CPCL, etc)
 
Upvote 0

Pantelis Loizou

Member
Licensed User
Longtime User
Hi Omar. I appreciate your reply but i am very beginner with B4A so i am facing a problem. i follow your examples but nothing happen. below you may find my code. could you please tell me what is wrong
Dim Serial1 As Serial
Dim Printer2 As OutputStream
Dim BConv As ByteConverter
Dim CPCLcomand() As Byte

 
Upvote 0

TILogistic

Expert
Licensed User
Longtime User
Dear looking at the printer configuration picture, you can use ESC/POS emulation and use "ESC/POS Bluetooth Printer Class".



Now why do you want to use CPCL emulation?
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…