printing

  1. G

    Android Question Printing on Thermal Printer (58mm)

    Hello Everyone. I am currently exploring the best way for printing on a thermal printer. I've been experimenting with "PrintHtml," but I've noticed that the print quality is not good. Could anyone offer any suggestions or recommendations for achieving higher quality prints on a thermal...
  2. H

    Android Tutorial Print Made Easy

    After understanding this approach, printing will be painless for you forever. Requirements: - Any pdf file generation tool, I used HtmlToPdf lib. - Any base64 converting tool, I used Base64EncodeDecodeImage lib. - Rawbt printing service app, it is free and most downloaded app in play market...
  3. N

    Android Question creating pdf

    hello and sorry if this question is repetitive, I want to make an app with an image which it has some labels and radio buttons on it and what I want to know is: how can I make whole of this pic and all objects on it to pdf document in size A4, I read and took some examples in forum but none of...
  4. I

    Android Question How to find out paper width for an ESC/POS printer?

    I have been using this class by @agraham to print on a Bluetooth thermal printer and it works great. Now my client is planning to get new printers with different paper sizes. Previously all printers were of the same paper size. Now with varying size, I am looking for a way to dynamically figure...
  5. AKJammer

    B4J Question Printing a Node

    I'm working on printing on this project and am using the BFX8Printer libraries. I build a form using the Internal Designer and place everything onto a pane I call pnPrint. At startup I load a couple tableviews and some labels with my data then pass pnPrint into the printing libraries. I'd...
  6. I

    Android Question How to set default paper size to A4 on printing dialog

    I am using the code given by Erel here to generate a PDF file in A4 size and use print framework to print it. But when the print preview comes up, the paper size is always Letter. User has to manually change to A4 before printing. I found a java code with which we can set the default print size...
  7. William Lancee

    B4J Question [Solved] Printing BBCodeview using jFX8Print, scaling and background color

    I can't get the background to show as white, and after scaling, I can't get the BBCodeview back to original scaling. Any ideas? I should add that my printer is a black and white HP laser printer, so the faint gray background I see on paper could be a faint color. I don't know...
  8. MitchBu

    Android Question Bitmaps less bulky for printing purposes ?

    I am still struggling with printing. PDF printing creates random errors, so I am exploring bitmap printing. But to get to 300 dpi requires a picture 2550x3300 for a letter size printing. As a result, the resulting default bitmap format chokes the printer. Would it be possible to use a less...
  9. MitchBu

    Android Question Printing library most recent version ?

    I found the printing library describe here https://www.b4x.com/android/forum/threads/printing-and-pdf-creation.76712/#content I downloaded the zip file from there, but am confused about the version number. The page states that it was updated to Version 1.10, but in the XML file, it is still 1.06.
  10. MitchBu

    Android Question android.support.v4.print.PrintHelper ClassNotFoundException

    I have a working example of printing from a WebView. I copied it's methods to my app, and made sure to copy the content of #Region ActivityAttributes. Sub PrintBitmap (mybmp As Bitmap) Dim ctxt As JavaObject ctxt.InitializeContext Dim photoPrinter As JavaObject...
  11. AKJammer

    B4J Question Printing a form

    I have a form that I've formatted using TableView that I want to be able to send to a dymo label printer. I've looked at PrintHtml, jPrint, and few other libraries that do printing, but nothing that just prints what's on a form. Are there any examples of doing this? Or something like...
  12. Pedro Caldeira

    B4J Question B4J Printing in Windows with JFX8

    Hello All I Built a form to act as my report layout to print using JavaFX8 Lib, and I am printing in a USB windows POS printer. It has no standard paper size,like A4, A5, etc, instead it used a 80mm X user defined length I can print everthing correctly with the execption of the margins. I am...
  13. C

    Android Question Bluetooth Printing with AsyncStreams

    I wrote an application a little while ago to print to a Bluetooth printer. It worked, but occasionally it would lock up. I was using a TextWriter, which I subsequently found out was not the way to go, with AsyncStreams being the preferred way to go. I've just created a small sample application...
  14. C

    Android Question Bluetooth printing aborts

    Since some months our app aborts printing via bluetooth on a DPP-250 printer in the middle of the text. I wrote a minimal app to test this (see attached zip). The jpg shows some tests: The first works, the next two abort, the next works, the last aborts. I'm using B4A 8.50 with Serial 1.26...
  15. C

    Bug? Bluetooth printing aborts

    Since some months our app aborts printing via bluetooth on a DPP-250 printer in the middle of the text. I wrote a minimal app to test this (see attached zip). The jpg shows some tests: The first works, the next two abort, the next works, the last aborts. I'm using B4A 8.50 with Serial 1.26...
  16. Peter Simpson

    B4J Tutorial šŸ’” Printing on A4 and Letter sized paper

    Hello all, As the title say, this is a quick tutorial on how to print on A4 or Letter sized paper using the follow information provided by Steve Laming (better known as @stevel05). CLICK HERE for B4J Print JavaFX 8 I have attached two PDF files showing example printouts for both A4 and letter...
  17. Mashiane

    B4J Question [ABMaterial] Custom Component Print Functionality

    Hi there I havent tried this yet but just want to be sure. For a custom component to be printable? is there something special that you need to define when creating it or it will just work? #NewBie2ABMPrinting Thanks
Top