printing

  1. 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...
  2. 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...
  3. 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...
  4. 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.
  5. 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...
  6. 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...
  7. 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...
  8. 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...
  9. 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...
  10. 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...
  11. 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...
  12. 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