I'm trying to create a pdf file from a clv content. I have followed guides on this forum and arrived with the attached but i still need help because the image is squeezed when the content is alot.
In my approach, i save the clv content as an bitmap and insert it in the...
I use this small vbs script to print all documents (in my case pdf files) on the standard printer (works fine in a WIN 10 production system). Call it via jShell with the folder as a parameter where the docs are. Printing PDF's is very easy as you don't need to know the installed PDF viever and...
Hello hope your'e well.
Apps are getting more and more complicate and to work with the user needs a manual. This examples shows how you can add an help dialog to your B4XPages Project. The help information is taken from a pdf file. The help index is created from the app. If you do not like to...
I'm developing an api to interact with mssql.
Now I'm trying to generate a PDF file with an external exe, to do so I call shell.run an powershell script and wait for it to close to write a response, but while the external exe is running the server not respond any other request.
Hola amigos de B4A, mi consulta es: Estoy desarrollado una app de Gimnasios y mi idea es que cuando una persona venga a querer pagar su abono el dueño del gimnasio lo haga atravesar de la app.
Mi idea es que cuando la transacción se haga, halla una opción de que el usuario apreté y mande un...
I was wondering if anyone can help. I have a bunch of PDF files created by another application (unknown quantity but known filenames) and I would like to merge them into 1 PDF file so that it can be attached and emailed as a unit. I have searched all over bu the solutions out there involve...
I use the print library to print PDF content, as described at the post below. It works just fine.
Now, I need to print PDF on one part of the page, and HTML on the same page.
Would it be possible to do that with the print library ?
Here are 3 classes :
- PdfCreator : create PDF
- PDFViewer : render PDF
- clsFormPDF : form to preview PDF (Page navigation, Zoom, Print, Save)
PdfCreator and PDFViewer wraps PDFBox
You have to download pdfbox-app-2.0.20.jar and copy it in the additional folder
You have to download...
I am using the ab material framework template
it is running fine. but there is following seciton in the code
' add an image to say what we really mean....
' note where the image is derived from. Go find it in the folder and replace it with your own image (if you wish)...
I was trying to use the PDF printing library discussed at https://www.b4x.com/android/forum/threads/printing-and-pdf-creation.76712/ but pictures were terrible.
The values posted as example are for a resolution of 72dpi, which is quite inadequate.
Here is what I do to get 300dpi printing...
This is a class 'clsPDFViewer' which use PDFBOX to render a pdf file.
Use the form clsPDFPreview to preview a PDF file.
You can browse pages, zoom in and out, print and save the pdf.
You can add custom button for others actions.
Don't forget to add the jar file...
Salve a tutti 👋
In questi giorni di clausura forzata causa Covid-19 sto studiando B4A per realizzare un'App per la mia associazione; Molte cose le ho già "digerite" e ci sto prendendo gusto ma moltissime, ovviamente, sono quelle ancora da capire.
Ora mi sono arenato nel tentativo di far aprire...
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.