Most voted "pdf-generation" questions
Any issue related to creating PDF files, with a library, PDF printers, PDF converters, or PDF authoring applications.
Learn more…100 questions
Sort by count of
-
13
votes1
answer967
viewsHow to adjust the top margin of PDF for the following problem in html2pdf.js?
This is the main reference The idea was that the image was behind, but the lib is a limited way to do it, and the text ended up being on top: Here is an example, see that although the image is…
-
9
votes1
answer5564
viewsHow to change PDF source generated by iReport?
I created a report using iReport and changed the source of the text to a custom font here in the company. The report is viewed using the iReport viewer itself and works smoothly with the source I…
-
7
votes2
answers653
viewsHow to generate PDF with little memory on the server?
I’m passing a table from my comic to PDF and I’m using the TCPDF. Only that first I have to pass my table to HTML and only then I can pass to PDF, which entails use of a lot memory and I have few…
-
5
votes3
answers10379
viewsHow to create web payment system using PHP
I would like to create an e-commerce, but I do not have much knowledge about it. And I still have the following question. How to create a payment system via boleto or card, is there any framework or…
-
5
votes1
answer6107
viewsHow to generate a PDF contract using PHP directly?
I need to generate a contract, which will come from an HTML form, whose data will be processed by a PHP. I need that the moment the user clicks the button GerarPDF the data entered by the user…
-
5
votes1
answer332
viewsDocumentation for creating files in PDF format
I am some time analyzing free libraries for creating PDF for use in commercial applications on Android, and so far I have not found one that meets all my expectations, functionalities and licenses.…
-
4
votes1
answer1383
viewsError while creating PDF file on Android
I have a problem to create a PDF using iText on Android. I have to save in the device’s internal memory, but this giving error because I do not know the way to save because in the tutorial he saved…
-
4
votes1
answer1682
viewsHow to obtain PDF content generated by Rotary?
I am using Rotary for PDF generation from a . cshtml I can download the file through the application correctly using the command below: DadosConvite convidado = new DadosConvite(); convidado.nome =…
-
4
votes1
answer1025
viewsConvert PDF to DOC
It is possible to convert a PDF to a word document by keeping all formatting, alignments, fonts and tables in the converted document, using apache-poi or some other api?
-
4
votes1
answer606
viewsPDF formatting
I would like to format the sizes of your cells and your text for PDF export. protected void ExportPDF() { int colCount = _gvConsultaRelatorio.Columns.Count - 1; PdfPTable table = new…
-
4
votes1
answer2121
viewsFPDF - Bold only part of the string in Multicell
My problem is this, I’m doing an FPDF certificate, and there are parts of strings that have to be bold for ex: CODE: $nome="Marco"; $string1="Certifica-se que ".$nome;…
-
4
votes2
answers662
viewsConvert HTML as image
I own a string with the page’s HTML, is there any way to save it as an image? Render the whole page as an image, and if possible, store it in an MemoryStream.
-
4
votes1
answer7792
viewsPDF Generator with Laravel Framework?
I need to do the snappy generate reports from BD. But for that I needed examples of using the snappy, in the documentation of github there’s an example, but that example didn’t help me. I needed an…
-
3
votes2
answers646
viewsHow do I convert an Html string into an image file?
I have a problem in Itextsharp to put certain HTML in the PDF, because it has some limitations in relation to CSS. So I thought of converting HTML into image and simply attaching it to my document.…
-
3
votes0
answers682
viewsHow do you create PDF file from ZERO (without frameworks)?
Well, I’m analyzing some possibilities to generate PDF’s on Android (offline), and none is fully satisfying, either by the license, features, large size framework, or support version of Android…
-
3
votes1
answer154
viewsPrint PDF by Firefox
I am using the following command to print a PDF that is inside iframe, and the PDF is even local, on the same server: window.frames["imprimirpdf"].focus(); window.frames["imprimirpdf"].print(); When…
-
3
votes1
answer493
viewsHow to convert HTML code to a PDF file in java?
I am developing an application where I need to convert an HTML code, which is saved in the database, into a .PDF. file.No need to save this file to the server. I’ve never done anything like this.…
-
3
votes2
answers1665
viewsedit docx file and save to PDF in php
I have a docx file, my goal is to edit docx, edit a specific string (do something like str_replace), and finally save the file in PDF. docx as an xml zipped file, I’m thinking of editing from there.…
-
3
votes4
answers12456
viewsVBA - How to split a word direct mail into multiple files . pdf
Personally, my case is as follows: I participate in the organization of some events in the area of IT and free software and the printing of certificates is always a problem. In the last event I…
-
3
votes1
answer64
viewsConverting from HTML/CSS to pdf using pandoc in R
Folks I’m having trouble converting my generated html/css file into Rmarkdown. You could help me? Follow my code: My file . Rmd --- title: "Table" output: html_document: css: "test.css" --- ```{r}…
-
2
votes0
answers58
viewsWhat is the process of generating pdf files?
How is the internal process to generate a pdf file? Indifferent to the programming language that is generating it.
software-architecture pdf pdf-generation functional-programmingasked 9 years, 10 months ago Rod 9,412 -
2
votes1
answer109
viewsIs there any function where I can mount a header in a pdf, through the javascript language?
I’m starting to mess with the HTML/Javascript language now and I need to generate a pdf with a header, but I don’t know how, I just found code in php and I don’t know if it works.
-
2
votes1
answer393
viewsHow to add an HTML element to the PDF via iTextSharp?
itextsharp allows me to add your PDF elements, example: _documento.Add(new Paragraph("Olá")); But I would like to add some elements of HTML such as a <h1>, or a <p>, how can I do?…
-
2
votes0
answers714
viewsError function Barcode.php while Gero PDF with MPDF
I’m on a project at the company to send the billet from here in an automatic way to the customers email. The fact is that the layout and the boleto are already working perfectly. The only problem is…
-
2
votes1
answer1207
viewsHow to save an html page in java
I have a project that I need to make a report for each code. And save it on disk in PDF format. After generating the report, I don’t know how to pass the page (generated) to Servlet and save it in…
-
2
votes1
answer1507
viewsUsing jsPDF, are there any templates ready?
I’m using the jsPDF to make a report from some user input data, however I am having many difficulties to make the report beautiful even more due to the fact that I do not know how to customize much…
-
2
votes1
answer780
viewsExport report to PDF
Use the pReport of the extinct VTK Tools as a report generator in the Delphi XE7. It does not have native export to PDF. Today, I export to PDF calling a virtual printer with parameters. But I don’t…
-
2
votes1
answer375
viewsWith export HTML string to PDF Compressed (zip)
I have this string: <HTML><HEAD></HEAD><body><FORM method="post"><table><tr><td>Nome:</td><td>JOÃO DA…
-
2
votes2
answers1339
viewsOpen PDF in browser automatically after download
The downalod from the PDF is executed correctly (is minimized at the bottom corner of the browser). How to make it open automatically in a new guide ?: <a href="#" class="download"…
-
2
votes1
answer1305
viewsGenerate more than one PDF in memory and export it in a compressed file
Currently the code below exports and compresses the PDF one at a time and need to export multiple PDF in one compressed file public ActionResult PDFTodosMesAtual(ProcessamentoRegistros…
-
2
votes1
answer687
viewsAdjust exported html file to pdf
I took an example from internet that is here : JS Fiddle to generate PDF from data that are in the HTML. however, in my case, the data was very misaligned.. let’s see; My HTML: <div…
-
2
votes1
answer42
viewsHow to save PDF from a site in Azure Functions?
I am developing an application where I will have to make a Crawler on a specific website. The application will contain an endpoint to an Azure Function where Crawler will capture. So far so good,…
-
2
votes1
answer131
viewsGenerate multiple PDFS via Itextsharp
I am developing an application that builds pdf’s dynamically through the Itextsharp library. It is working and providing the download correctly, but would like to generate a larger amount of…
-
2
votes1
answer107
viewsHow to generate pdf from a Django page with graphics, images and text (result of an Assessment)
I am developing an application with Django and need to display the result of an Assessment (test) that will have text, images and graphics. Initially I did this part using Chart.js based on this…
-
1
votes1
answer913
viewsGenerate PDF from selector on current page with CSS
I would like to know how to generate a PDF from a selector that I define and that all the formatting of this selector comes correctly in PDF? I want to make client-server. Example: Imagine that I…
-
1
votes0
answers401
viewsService or package to generate Nfe possessing only the Invoice key
With only the Nfe key I can access the Revenue website and view the Invoice in PDF. You can use a third-party service or bundle that manages such PDF in the same way as Recipe offers, possessing…
-
1
votes0
answers568
viewsPHP - Insert database image in pdf generated via fpdf
I am using the fpdf system to generate pdf files through an html form. But I would like to insert in the pdf an image that is uploaded in the mysql database. The sintese to insert image in pdf is:…
-
1
votes1
answer288
viewsiText framework generating empty file (0 kb)
I have a project that was generating the Pdfs normally, generating the texts and images in the file, it was a beauty, however, a while later it left unexpectedly to generate the file in the correct…
-
1
votes0
answers748
viewsView PDF in a Dialog
I am wanting to change the way the user views the system report I am developing, currently by clicking the button to view the report, is given the option for the user to download or open directly in…
-
1
votes0
answers101
viewsMark PDF text with C#
I have an application where some names will be searched in a given PDF file. When finding the name I should mark the words found with a "text tag". Does anyone know a library that can do that? I’m…
-
1
votes1
answer511
viewsInsert page break when generating PDF with Snappy PDF in Laravel 5
I am generating a PDF in Laravel using Snappy PDF. The problem is that it is not breaking the page in the place it should. I’ve tried using the page-break-after: always of the CSS in the place where…
-
1
votes0
answers188
viewsRemove pdf image using itext
I am adding image in pdf with itext, but in some moments I need to remove this same image.. How do I do this so as not to corrupt the reading of it? I have tried some ways, as follows:: The first…
-
1
votes1
answer5082
viewsCreate PDF from a LARGE HTML file with DOMPDF
I am trying to convert a 40mb html PDF file using DOMPDF. Even with 3600 seconds timeout, it does not generate the file, nor if I put it to as 1x cron task a day or run on command line. my script…
-
1
votes1
answer618
viewsAngularjs generation of PDF
Good morning. I am working with Angularjs version 1.5, and am having trouble generating PDF. Response receives a byte array would like some help.…
-
1
votes1
answer121
viewsConvert a text file to PDF without saving to a physical location
Well I made a method to convert a text file into PDF, but it saves the PDF on the machine. I wanted that the method returns a array without having to save the PDF to the machine or having to read…
-
1
votes2
answers2012
viewsSystem.Outofmemoryexception error
I don’t know how to solve this problem: As noted by Marcos Marques this is about the size for each record in total of 4 thousand records. Where can I improve the code: public ActionResult…
-
1
votes2
answers1795
viewsHow to create a PDF from Dictionary data extracted from a . txt (Python) file
I have a dict() with string data extracted from a arquivo.txt. dic = {} dic[valor[0]] = valor[1] print(dic) >>> dic = {'Almir': 44, 'Ana': 36 ....} I would like to save organized in PDF as…
-
1
votes0
answers129
viewsiTextSharp PDF coming blank
Good afternoon guys, I have the following code: public void GerarPDF(long id) { string HTMLemString = RenderizaHtmlComoString("~/Views/item/item.cshtml", id); var regex = new…
-
1
votes1
answer305
viewsGenerate pdf file from a pdf Object
I’m interested in making a crawler to work with pdf, but hit me a doubt here. I need to download files pdf of a python url, when it has a .pdf it’s easy and no problem, but when she’s a objeto pdf I…
-
1
votes1
answer74
viewsGenerate PDF with pdflatex
I’m trying to generate my pdf but I’m having difficulties, follow the images with the errors found…