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.
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...