B4J Code Snippet [PyBridge] Create pdf with fpdf2 - Erel    
Mar 26, 2025   
(13 reactions)https://py-pdf.github.io/fpdf2/index.html
This is a console app, based on the console template... HtmlToPDF (Html As Object, img As Object) As PyWrapper
Dim Code As String = $"
import fpdf...
link: a little bit. Need no connection to the net for making a HTML to PDF. I have a local HTML to convert to...
link: Global / Local Python runtimes are explained here: https://www.b4x.com/android/forum/threads/pybridg...
link: Erel's example and the PDF was created.
So next is to modifying his subroutine for running...
B4J Code Snippet [PyBridge] - creating PDF417 2D barcodes - Johan Schoeman    
Dec 3, 2025https://www.b4x.com/android/forum/threads/pybridge-create-barcodes.165642/post-1038800...
B4J Library PDFBox (beta). Editing PDF AcroForm Fieldvalues, creating PDFs with new AcroForm - DonManfred    
Mar 4, 2020   
(27 reactions) AcroForms and building new PDF with AcroForm.
It is also possible to create some javascript which...:/sample_form.pdf")
doc.close()
The attached sample_form.pdf is the PDF created...
link: Can you please refresh the link to the libraries ?
Thanks...
link: I am looking for a way of merging PDF files into a single from code, would this be able to do that?...
link: Thanks. I will try with version 11 or 14 and if the issue still persists, will open a new thread....
B4J Tutorial [BANano] Creating PDF Documents with jsPDF using BANanoJsPDFAD - Mashiane    
Jun 17, 2021   
(1 reaction)Ola
As you are aware, the BANanoJsPDFAD tool is out. Its developed using jsPDF and it uses the abstract designer for you to create pdf Documents.
You can insert text, triangles, images, ellipses...
link: Hi @james_sgp , I see, this seems to be a b4j error, sadly, but I could also be wrong.
Usually when...
link: here you go......
link:
Mashiane, thanks for the fast response. However, I`m getting an error in the log window when I ope...
B4A Library PDF - Create PDF using android.jar built-in methods - DonManfred    
Jan 3, 2017   
(19 reactions)   
tags: pdf As int
Basically the code to create a pdf with some pages (find it attached) is
Sub Button1_Click...This is a wrap for the Android PdfDocument and Page as described here.
Requirements: Android...
link: Thank you DonManfred :)...
link: use this lIbrary instead: https://www.b4x.com/android/forum/threads/printing-and-pdf-creation.76712...
link: Nice Library ;)
Its very good .... :)
But in TextRec.draw any idea to add (Aligns type) like "...
B4A Tutorial Create PDF with b4a and php - DonManfred    
May 30, 2014   
(14 reactions)Hallo,
from time to time someone is asking on how to create a pdf with b4a.
I dont know how to do... the pdf using fpdf.
ATTENTION: This b4a-example uses CreateMap so you need B4A V3.8 for it to work...
link: Thank you very much, that help......
link: Here an B4J Example plus the resulting pdf...
link: Ist the Webadress ok to testing ?
i did run the b4a example this morning. The webadress is still onl...
B4A Question how can i print or create pdf from a BBCodeView - ivanomonti    
Apr 14, 2023I would like to create a paginated pdf I tried the PDFGen class but I find obstacles despite being a well done class, are there any alternatives?
I use the BBCodeView library and I noticed that it has a print section but I didn't understand how it works, there is an example to study!...
link: BBCodeView doesn't have built-in support for printing. You can take snapshots of the control but you will need to manage pagination yourself. It will not be trivial....
B4A Question [Solved] B4X Create PDF, (HTML?, RTF?) - Print - best/simplest solution? - MrKim    
Jan 24, 2021   
(3 reactions)
#End If
Note - I did not try to print directly. Just create the pdf, I have a seperate button to... the snapshot feature to make a Bitmap, which I then sent to a PDF file. In my real business my partner does... the part that fills in the CLV:
'Code to open the file - Dim pdf As PdfDocument, DestRect... IF
If File.Exists(D, "YourFileName.pdf") Then
File.Delete(D, "YourFileName.pdf")
End If
#If B4A
ProgressDialogShow2("Formatting Page 1"...
B4A Example Create PDF's on an Android devices & send them to a B4J app - KMatle    
Jan 17, 2018   
(8 reactions) creating pdf's. With Erel's example (https://www.b4x.com/android/forum/threads/printing-and-pdf-creation.76712/) how to create pdf's on Android devices (it's a build in function of Android 4.4+) I came to the idea to use a phone/tablet to create pdf's and send them to a B4J app.
How it works:
B4A -> create 100 PDF's -> convert to byte array -> AsyncStream -> B4J -> store PDF's as files
What is it good for?
- Create PDF's for free
- usage of x...
B4i Question B4X - Creating pdf files - B4i, B4A, (B4J?) - MrKim    
Aug 19, 2020I need to create a document for printing. It needs to be the same regardless of device. B4i or....InitializePDF(File.DirDocuments, "1.pdf", 612, 792)
'Note that 612 x 792 is the standard document size.
In B4A it says:
pdf.Initialize
pdf.StartPage(595, 842) 'A4 size
So my question... these two.
Any other tips on crating pdfs greatly appreciated....
link: It should be simple to test. Copy the PDF to your PC and compare them....
Page: 1  
2  
3  
4