How can you print a barcode (code 39) in lamw lazarus / 43-Android ---------------------------------------------------------------------- vags15 · 2020-07-22 01:28 First of all, good evening to all the friends of the Lazarus Lamw forum. I have small application works using ionic, quasar framework and nativescript-vue. I had seen Lamw before but 4 years ago and had errors with the examples to compile. I just went back to give a view to Lamw and it is great nothing to envy another framework since Lazarus seems very familiar to me when it comes to working. I am using the example that comes in AppBluetoothClientSocketDemo2, I had no problem connecting to the printer by Bluetooth and printing normally. But I can't find an example of how to generate a barcode to print from the apk application. I have tried the esc pos printer codes but to no avail so look for other alternatives like generating it from lamw. ---------------------------------------------------------------------- jmpessoa · 2020-07-22 01:58 QuoteI can't find an example of how to generate a barcode.... Can someone  point a java example/code/library ?  I can try to implement a LAMW wrapper component.... ---------------------------------------------------------------------- TRon · 2020-07-22 02:35 Quote from: jmpessoa on July 22, 2020, 03:58:23 amCan someone  point a java example/code/library ?  I have no experience with these myself but perhaps the following links could be of help to you ? - https://www.androidcode.ninja/android-bluetooth-tutorial/ - https://anastaciocintra.github.io/escpos-coffee/ - https://stackoverflow.com/questions/10353392/generate-barcode-image- in-android-application ---------------------------------------------------------------------- vags15 · 2020-07-22 02:48 Quote from: jmpessoa on July 22, 2020, 03:58:23 amQuoteI can't find an example of how to generate a barcode.... Can someone  point a java example/code/library ?  I can try to implement a LAMW wrapper component.... Sorry if I still don't use the forum tool well. Great serial if you can create a component that can print directly from lamw the barcode or Qr. ---------------------------------------------------------------------- jmpessoa · 2020-07-24 18:26 Done! NEW jcQRGen Component! [need gradle build system!] NEW demo "AppQRGenDemo1"  ref.: https://github.com/kenglxn/QRGen PS. I will try implement some barcode generator, too.... ---------------------------------------------------------------------- vags15 · 2020-07-24 21:50 Thank you very much Mr. jmpessoa, for implementing the QR code generation. Without abusing your trust and your time it could include 1D barcode generation. Here is the demo was great wow. ---------------------------------------------------------------------- TRon · 2020-07-24 23:02 Quote from: jmpessoa on July 24, 2020, 08:26:30 pmDone! Thank you very much ! QuotePS. I will try implement some barcode generator, too.... That brings a question. Barcodes itself can also be generated with Pascal code (in fact there is a Delphi pascal native library), so what is the preference there ? ---------------------------------------------------------------------- PeterEvans · 2020-07-25 00:20 And for those of you wondering what the bar code images say :- Image 1 : Hello World! Image 2 : Hello World 250x250! Thank you #jmpessoa for your good work. ---------------------------------------------------------------------- jmpessoa · 2020-07-25 00:37 QuoteBarcodes itself can also be generated with Pascal code (in fact there is a Delphi pascal native library), so what is the preference there ? Well,  if it dont have any LCL/VCL dependency  you can try it just now! [pure Pascal/FCL libraries work in LAMW!] ---------------------------------------------------------------------- jmpessoa · 2020-07-26 04:15 Done!! NEW jBarcodeGen Component! NEW demo "AppBarcodeDemo1" [code_128, EAN_13, EAN_8, ...] Thanks! ---------------------------------------------------------------------- Mongkey · 2021-04-26 13:58 Quote from: jmpessoa on July 22, 2020, 03:58:23 amQuoteI can't find an example of how to generate a barcode.... Can someone  point a java example/code/library ?  I can try to implement a LAMW wrapper component.... Try wrap this mr jm, it would be very usefull for printing image on bluetooth printer. https://github.com/ilhamsuaib/Android-Print- Bluetooth/tree/master/app/libs