NB: Update browser settings to view PDF internally!!!
We started with BANanoPDFMake, which was a coding based approach to creating PDF Documents. To be able to display the documents in the browser using the pre-built in PDF viewer, we went on to BANanoPDFView
The nice thing...
Well, this basically does what it says. It uses the built-in PDF viewer to view your PDF files.
Just pass it the URL of the pdf file and the width and height of the HTML element you want to render to and whalla!
Ive tested it on Edge, Firefox, Opera, Chrome
Phew. A dream come through. Very excited right now...
What I have tried to do here is to simplify this as much as possible. This means one can create a PDF document as simply as..
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...
I have a WebSocket Class that generates a pdf report and saves it to a browser accessible location based on dynamically generated (from this same WebSocket class) controls to get report parameter input from the browser user. I can WebUtils.redirect to the generated pdf file but I want to either...
I found this library that work in B4A made by @MarcoRome
I would like to know if works in B4J too, because i test it and no results.
I would like to extract text raw from a PFD.
I have looked briefly at the jPDFjet library but it seems like a heavyweight option aimed primarily at the finer points of PDF authoring rather than engineering in the opposite direction. Is there a simpler option I have missed?
As per subject matter this lesson is about a data-table with a pager and also functionality to export its contents to PNG, PDF, CSV and XLSX.
It's so amazing that with just a few object (map) settings and then a few simple calls webix does...
My check app is coming along fine, thanks to B4A, but I am facing a show stopper with both laser printers HP and Brother.
First time around, I get a preview, and the printer prints nicely.
Second time I try to print, I get a preview, then printer error. No detail available. I cannot release...
I am implementing PDF generation with the Printing library as described here:
It works well with a HP MFP M227fdw printer, but a Brother HL-L3210CW has errors with exactly the same code.
It seems like the...
I found the printing library describe here
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.
OUR 237Pos App is Upgraded to B4X and 2 new Versions (B4i,B4J) adding the capability of Holding Sales.
237POS Cross Platform Point Of Sale Application built with B4X tools that will run on Desktops(Windows,macOS,Linux) Android Tablets And iPads.
Try The Android version...
How can I show a multi page pdf in a CustomlistView and set each page so that the user is able to zoom the image?
I also tried using Webview but it does not work:-
dim image as imageview
Private CLV1 As CustomListView
For i = 0 To pdf.PageCount-1
Dim p As B4XView =...
I've created this library that converts an html file (or string) to a pdf file programmatically.
A couple of important notes: it only works on devices with SDK versions >= 21 and it cannot read files from the asset folder (you can either copy the file to the internal folder...
We've a need trying to convert HTML document to PDF.
I know, there is a way to convert HTML to a bitmap (using a webview) and then convert in PDF (like an image).
However we need some more control over PDF created (for example using page_break_inside: avoid). Obviously this is not possible...
Regarding the new PDF library wrapper by @DonManfred
Hi, I still get the ontap issue - if I tap the pdf, I get the error below with the sample code (no change)
java.lang.Exception: Sub pdfium_ontap was not found.