Library documentation: Printing - v1.10 B4A Library Printing and Pdf creation - Erel    May 18, 2020   (54 reactions)   tags: print, pdf, pdf print, Printing and Pdf with the PdfDocument object. 2. Printing with the Printer object. Lets start with PdfDocument. Dim.... 7. Close the pdf object. Printing 53290 The printing feature is based on the OS printing... example to print to a HP printer: https://play.google.com/store/apps/details?id=com.hp.android... The Printer object can print bitmaps, html documents, WebView content and PDF documents. Example...) printer.Initialize("") Print End Sub Sub Print printer.PrintHtml("job"... B4J Library B4j Print JavaFX8 - stevel05    Oct 19, 2023   (34 reactions)   tags: Printing . Full source code is available. At it's simplest, you can print a node using: Dim P As Printer...) PJ.PrintPage(lblTest) PJ.EndJob Or with dialogs: Dim PJ As PrinterJob = PrinterJob_Static.CreatePrinterJob PJ.ShowPageSetupDialog(Null) PJ.ShowPrintDialog(Null) PJ.PrintPage(MainForm.RootPane) PJ.EndJob Code to scale a view to print on a single page. Sub ScaleOutput(P...).RunMethod("add",Array(SJO)) Return NJO End Sub 'Print with dialogs Dim PJ... B4A Question Android Printing Framework - luke2012    Mar 13, 2014 Hi to all, my app's users are asking a direct print feature in order to print a txt... this document that talk about official "Android Printing Framework" : http://www.techotopia.com/index.php/Printing_with_the_Android_Printing_Framework More in detail I think there are two interesting section : Creating and Printing HTML Content (Easy) To enable HTML printing, the WebView class has been extended in Android 4.4 to include support for printing with minimal coding requirements... B4i Question [Solved] Printing with BLE - aeric    Nov 23, 2022 I downloaded an app from App Store call Tools4BTPrinter and able to print. Pairing is not required from the iOS settings but through scanning the BT device. I am able to connect to my 58mm bluetooth thermal printer using iBLE library in the example but I don't know how I can use Manager.WriteData as I am not sure which Service and Characteristic to pass. 136340 https://www.b4x.com/android/forum/threads/b4x-ble-2-bluetooth-low-energy.59937/... B4J Tutorial Print with PrintHtml tool - Erel    Dec 9, 2013   (6 reactions) PrintHtml is a small Windows utility that you can use to print from your app. First you should download PrintHtml.exe and also the DHTML Editing Control: http://www.printhtml.com/download.php Copy PrintHtml.exe to the Objects folder of your app. http://www.b4x.com/basic4android/images/SS-2013-12-09_14.45.11.png Using jShell library we call this utility to print the html string. You can use HTML language to format the output. In the above screenshot I used a PDF printer to create a PDF... B4A Code Snippet Print to a Bluetooth POS-receipt printer with matching codepage - KMatle    Mar 2, 2017   (16 reactions)   tags: print bluetooth, B4A Print Bluetooth POS Original thread: https://www.b4x.com/android/forum/threads/bluetooth-printing-via-spp.17692/page-12 I simlified the above's example to print on a BT POS printer like this 53390 with the correct codepage to print special chars like "äöüßéè", etc. (codepage 1252). Steps: - switch...) - run the app and print #Region Module Attributes #FullScreen: False #IncludeTitle: True #ApplicationLabel: Bluetooth POS Printing #VersionCode: 1 #VersionName... B4R Code Snippet ESP32CAM - Print Logs Workaround - b4xlib included - hatzisn    Oct 24, 2022   (3 reactions) All of you that have bought the ESP32CAM you know that it does not print logs in B4R. So if you cannot go through a problem, just go around it. The around way is to post in MQTT server the logs and display them in B4J app. And it works. b4xlib usage: Sub Process_Globals Public Serial1 As Serial Private wifi As ESP8266WiFi Public wificlient As WiFiSocket Private tim As Timer End Sub Private Sub AppStart Serial1.Initialize(115200) 'example of connecting to... B4J Library Printer Example - Print text with the jFX8 Printer library - stevel05    May 16, 2023   (8 reactions) This is an example of printing text using the jFX8 Print library with TextFlow and Text class... it creates multiple pages and prints them to one print job. There are also options to break on word... in the printed node, the text is selectable in a PDF viewer. 135145 This example was printed to PDF... 135160 A straight forward print of text from a String variable. It will also print from a file. Dependencies: jFX8Print Library - B4xlib TextFlow Library - B4xlib jReflection I haven't created... B4A Tutorial Print Made Easy - Hamied Abou Hulaikah    Jul 25, 2023   (3 reactions) After understanding this approach, printing will be painless for you forever. Requirements: - Any... Base64EncodeDecodeImage lib. - Rawbt printing service app, it is free and most downloaded app in play market specialized in printing. - Don't forget to configure Rawbt app for first time only (run as a service + select printer + page width). sub print(html as string) 'convert your print content to pdf file Dim phtmltopdf As PalmoHtmlToPdf phtmltopdf.Initialize... B4A Tutorial BlueTooth Printing via SPP - timwil    May 9, 2012   (15 reactions) 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 ... 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... Page: 1   2   3   4   5   6   7   |