P pobss Member Licensed User Longtime User Aug 30, 2012 #1 hello all, my printer manufacturer from the site I downloaded the library jar to be able to print directly from Android. but lacks the xml file for use on B4A. you know how I can import this library? thanks
hello all, my printer manufacturer from the site I downloaded the library jar to be able to print directly from Android. but lacks the xml file for use on B4A. you know how I can import this library? thanks
Informatix Expert Licensed User Longtime User Aug 30, 2012 #2 That's not only a problem of XML file missing. This library needs a wrapper (a library that adapts this jar to B4A). You have now to find a good will for doing it.
That's not only a problem of XML file missing. This library needs a wrapper (a library that adapts this jar to B4A). You have now to find a good will for doing it.
Erel B4X founder Staff member Licensed User Longtime User Aug 30, 2012 #3 It shouldn't be too difficult to wrap an existing library. See the libraries development video tutorial.
It shouldn't be too difficult to wrap an existing library. See the libraries development video tutorial.
P pobss Member Licensed User Longtime User Aug 30, 2012 #4 ok thanks, I'll try to wrap this new library. I hope to do it, surely I will open other posts for this
ok thanks, I'll try to wrap this new library. I hope to do it, surely I will open other posts for this
P pobss Member Licensed User Longtime User Aug 30, 2012 #5 when I go to create a new library with eclipse and amount of shared core Android and I also have to import the library ePOS.jar? (library epson)
when I go to create a new library with eclipse and amount of shared core Android and I also have to import the library ePOS.jar? (library epson)
Erel B4X founder Staff member Licensed User Longtime User Aug 30, 2012 #6 You should add a reference to this jar, and you should add @DependsOn(values={"ePOS"}) to your class. This will tell B4A compiler to add a reference to this jar (which should be in the libraries folder).
You should add a reference to this jar, and you should add @DependsOn(values={"ePOS"}) to your class. This will tell B4A compiler to add a reference to this jar (which should be in the libraries folder).
P pobss Member Licensed User Longtime User Aug 30, 2012 #8 mamma mia!!! thanks erel but the java for me is still an unknown language. try ... @timwill is epson tm-t70
mamma mia!!! thanks erel but the java for me is still an unknown language. try ... @timwill is epson tm-t70
timwil Active Member Licensed User Longtime User Aug 30, 2012 #9 what are you connecting to it? phone? tablet? how are you connecting to it? bluetooth? ethernet?
P pobss Member Licensed User Longtime User Aug 30, 2012 #10 the USB printer connected to a pc with wifi and I connect to my pc smartphone.
H hdtvirl Active Member Licensed User Longtime User Aug 30, 2012 #11 I have just been looking into this with the TM-88(III) printer. I was checking up on how to create a wrapper for the driver. I have done some work in the past for the Epson distributor in my country, a small BT Printing Demo. They told me they have no customers using Android at all in any Epos applications. I have been asked to do a simple Cash Register for an Android Tablet (by a relative) so I was looking into using a TM-88(III) as the receipt printer (cheap and Reliable). I am going to take a look at it, there are various command for each of the printers and I was only going to attempt doing it for the TM-88. I will let you know how I get on with it. Regards BOB
I have just been looking into this with the TM-88(III) printer. I was checking up on how to create a wrapper for the driver. I have done some work in the past for the Epson distributor in my country, a small BT Printing Demo. They told me they have no customers using Android at all in any Epos applications. I have been asked to do a simple Cash Register for an Android Tablet (by a relative) so I was looking into using a TM-88(III) as the receipt printer (cheap and Reliable). I am going to take a look at it, there are various command for each of the printers and I was only going to attempt doing it for the TM-88. I will let you know how I get on with it. Regards BOB
timwil Active Member Licensed User Longtime User Aug 30, 2012 #12 so the printer is connected to the PC?
timwil Active Member Licensed User Longtime User Aug 30, 2012 #13 TM-T70 Receipt Printer Interface RS-232C, RS-485, Parallel, USB, Ethernet 10/100 Base TX, IEEE 802.11 I don't see how your android device is connected to the printer
TM-T70 Receipt Printer Interface RS-232C, RS-485, Parallel, USB, Ethernet 10/100 Base TX, IEEE 802.11 I don't see how your android device is connected to the printer
timwil Active Member Licensed User Longtime User Aug 30, 2012 #14 Bob How are you planning on connecting the Printer to the tablet? Tim
H hdtvirl Active Member Licensed User Longtime User Aug 30, 2012 #15 Timwil, have you directly (Non BT) connected any Epson printer to an Android device ? Regards BOB
H hdtvirl Active Member Licensed User Longtime User Aug 30, 2012 #16 Timwil, Serial port using USB to Serial PL2303 device or BT.
timwil Active Member Licensed User Longtime User Aug 30, 2012 #17 Not yet! I am in the process of working out a way to do a POS for a cinema that requires a mag stripe reader for credit cards and output to a POS printer My current thinking is 1) to use a Bluetooth device with serial output or 2) use network connected printers and my server will receive the request from the android devices and send the output to the printers I have not worked out a satisfactory solution yet especially as I need the mag stripe reader
Not yet! I am in the process of working out a way to do a POS for a cinema that requires a mag stripe reader for credit cards and output to a POS printer My current thinking is 1) to use a Bluetooth device with serial output or 2) use network connected printers and my server will receive the request from the android devices and send the output to the printers I have not worked out a satisfactory solution yet especially as I need the mag stripe reader
timwil Active Member Licensed User Longtime User Aug 30, 2012 #18 i have been reading the USB - Serial thread and have been considering that too
timwil Active Member Licensed User Longtime User Aug 30, 2012 #19 Connecting using a BT Citizen CMP10 or CMP20 has been done do a search on BT printing - other printers have been tested as well http://www.b4x.com/forum/basic4andr...92-bluetooth-printing-via-spp.html#post101457 Last edited: Aug 30, 2012
Connecting using a BT Citizen CMP10 or CMP20 has been done do a search on BT printing - other printers have been tested as well http://www.b4x.com/forum/basic4andr...92-bluetooth-printing-via-spp.html#post101457
P pobss Member Licensed User Longtime User Aug 30, 2012 #20 my tm-t70 usb is connected to the PC that is connected to the network. smartphone communicates with the PC via wifi network. Now to print from Android send a string of data to the PC and the software will print on tm-t70 I would like to find a way to print directly sharing the printer on a network
my tm-t70 usb is connected to the PC that is connected to the network. smartphone communicates with the PC via wifi network. Now to print from Android send a string of data to the PC and the software will print on tm-t70 I would like to find a way to print directly sharing the printer on a network