Most voted "pdf" questions
Portable Document Format (PDF) is an open standard for electronic document exchange maintained by the International Organization for Standardization. Questions can be tagged with this tag when the subject is about creating, reading, editing Pdfs using different languages.
Learn more…353 questions
Sort by count of
-
68
votes8
answers67841
viewsHow to export an HTML/PHP page to PDF
How to export an HTML page to a PDF file? Having a standard document where you can change variables within that template and then export that page to a PDF file in A4 format, without spoiling the…
-
17
votes5
answers2046
viewsCompressing PDF files
Is there such a site PDF compressor which compresses the files of 300k in 90k, I was googling and I couldn’t find anything related to do on c#. Does anyone know of an algorithm that does the same…
-
12
votes3
answers68478
viewsDisplay PDF file in the body of the HTML page
I am creating an HTML page and would like to know if it is possible to display a PDF file in the body of the page, so that it can be viewed without having to open the file or download. Or I will…
-
12
votes4
answers24420
viewsTurning HTML into PDF
I noticed that on the website of Banco do Brasil it is possible to choose the output format of a voucher txt, pdf, csv without the need to resubmit the page. Is there a library that converts the…
-
10
votes2
answers29411
viewsHow to export a DIV HTML to PDF by rederizing CSS?
Does anyone have a code that can export a DIV to PDF by rendering all the CSS of this DIV? Is it better to do this in the backend (Java) or in the frontend (Javascript)? If anyone can help, thank…
-
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…
-
9
votes3
answers1784
viewsHow to format a table (data.frame) with pdf publishing quality (latex) in R?
Suppose the following table: tabela <- structure(list(Sexo = structure(c(1L, 1L, 2L, 2L), .Label = c("Homem", "Mulher"), class = "factor"), Grupo = structure(c(1L, 2L, 1L, 2L), .Label = c("A",…
-
9
votes1
answer292
viewsIs it possible to determine whether an array of bytes represents a pdf file that cannot be edited?
Context I have two steps in my service, uploading and downloading the file. When uploading to the service I receive the data through an array of ASCII bytes. This data is stored in a database. In…
-
8
votes3
answers7725
views"HTML contains invalid UTF-8 Character(s)" error when using mpdf
I have a problem using mPDF. Basically, I have a code that makes a select of a table and then displays the values in a PDF page. The problem is that if any table value has an accent (example:…
-
8
votes1
answer1309
viewsCount number of PDF pages with Javascript
I am generating a PDF file with reports generated through PHP. In the PDF file are generated a number x of reports and each report has a number y of pages. I need to know if this y number is even or…
-
7
votes1
answer792
viewsHow to export an HTML/C#(Razor) page that contains SVG elements to PDF?
I am currently working with Highcharts, a javascript library that generates graphics. It has an export component, but only exports the chart itself, still need to assemble the PDF layout. For the…
-
7
votes3
answers11278
viewsHow to force a PDF to be displayed in the browser
I have a sequence of PDF files that I can link normally, only as soon as I click on one of them it downloads, and I need the PDF to be displayed in the browser itself. I tried to use this on my link…
-
7
votes1
answer1357
viewsProblem placing multiple data from a list in a report
Good morning guys, this is a somewhat complicated question to explain, so I will do my best to make the question clear. I have a list <UnimedLote>. In this list I have several data, among…
-
7
votes2
answers10715
viewsSimplest way to generate a PDF of an HTML, client-side input
I am developing a didactic material in web language, and within it, there are some exercises where the user has to answer some questions, writing a brief dissertation within a Text Area. After…
-
7
votes2
answers604
viewsPDF to text organizing columns
I am scraping to extract files .pdf, and I need these files as an organized text, since for each line of text in the file there are 3 different columns. For example in this file, you can see the 3…
-
6
votes1
answer5078
viewsConfigure page headers with DOMPDF
Is there any way to set up DOMPDF to put a header on all pages of the generated PDF? I am generating a report and I would like all pages of the report to have the header of the first. //define o…
-
6
votes1
answer1262
viewsHow to change filename for download?
I am generating a PDF file and use HTML5 to display it on the screen: $("#conteudo-pdf").append('<object data="' + meuData + '" type="application/pdf" style="width: 100%; height:…
-
6
votes2
answers525
viewsOpen java PDF on another machine
I did a function that I can open a PDF, but this function is only working on my local machine. When I run . jar generated on another machine, an error is issued that the Pdfnão file exists. The…
-
6
votes2
answers305
viewsIs it possible to run Acrobat Reader without putting all the way of its executable?
I am opening files in PDF format by Java and for this I am running Acrobat by Java also, follows the path line to the Acrobat executable: String cmd = "C:\\Program Files (x86)\\Adobe\\Acrobat Reader…
-
6
votes2
answers2294
viewsScraping in Python - read pdf
I made a Scrapping in Python that takes a URL of any PDF, reads and returns, but in some Pdfs I’m having the problem of coming with some characters like this: ".\nO xc3 xb3rg xc3 xa3o tamb xc3 xa9m…
-
5
votes4
answers2060
viewsHow to create a PDF stream in PHP?
Is there any alternative to implement a stream of Pdfs files that are on the server? I would like the browser to download the pdf as it is viewed. Same as the preview of google books…
-
5
votes1
answer460
viewsWeb scraping for scientific papers collection at Sciencedirect
I am trying to use R to select articles from the Sciencedirect page using Keywords. I was able to extract pdfs from a page last week, using the source information of the page. The code used was the…
-
5
votes1
answer1324
viewsC# Image and PDF Manipulation
I wonder if there’s a way to turn multiple images into a single PDF file. On my app I’m already pulling their address.
-
5
votes2
answers1198
viewsDOMPDF: Frame not found in cellmap. What causes this error?
This problem has been haunting me for a long time and I still haven’t found a solution for it. I have developed a system, where in a given location, the user can print a report, which is generated…
-
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.…
-
5
votes1
answer2787
viewsHow to read PDF data in R?
I have numerous PDF files containing water well reports from CPRM, like this: http://siagasweb.cprm.gov.br/layout/pdf/exportar_pdf.php?ponto=4300000556 Inside these files are information about the…
-
4
votes2
answers1514
viewsView Razor to PDF
I need to convert Views of my MVC 5 application to C# using Razor to PDF. I already searched, and the free tools depend on iTextSharp, which I searched for has a different marking. But I need to…
-
4
votes2
answers402
viewsWrong formatting when opening a latex generated PDF
In my program I need to open a PDF file and pick up the text that contains it. But when opening the PDF, the text comes badly formatted. For example: Please to `my fam ? read by ? measure efforts…
-
4
votes1
answer686
viewsTurn Stream into PDF to send with attachment in email
I am making a page to send email, and I need to turn a specific page into pdf to be attached to the email. The page I already managed to turn into Stream, now how can I do to turn it into pdf and…
-
4
votes1
answer1369
viewsPDF Data Import in PHP
It may be a stupid question, but I still have to ask: You can import data from a file in pdf in the php and save in bank mysql?
-
4
votes1
answer727
viewsGenerate pdf in java
Good afternoon, I would like a help regarding generating a pdf report in java. Well I am using the first faces to export this report. I created the first line with the fields as you can see in the…
-
4
votes2
answers956
viewsPDF Decode Base64
I’m setting up a job where I need to release the file download on pdf, however this file is saved in the database it is in format base64. My idea is to do when the comrade clicks on the line he does…
-
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
votes1
answer1504
viewsHow to resolve memory size error for large files generated with Dompdf?
What happens is that when the HTML (dynamically generated) gets too large, the pdf is not created, and returns this error: Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to…
-
4
votes2
answers1536
viewsConvert string in binary format to PDF
I would like to know how to Gero a PDF file through a string with binary values, the values should actually turn a text (according to the ASCII table) and be written in PDF. I tried to do it this…
-
4
votes1
answer580
viewsLine break with <br> tag causes spacing in PDF generated
When converting html to pdf using Flying saucer in java, the following failure occurs in the pdf file; a spacing between the last sentences, before the line break of the paragraph. This gives the…
-
4
votes1
answer524
viewsPdf reading via R
I need to convert the PDF data below into a data frame: http://www2.alerj.rj.gov.br/leideacesso/verArquivo.asp?idArquivo=635 Doing a search for found the How to Read PDF Data in R. I had some…
-
4
votes1
answer134
viewsConcatenate files according to the order of the list C#
I have a program that concatenates PDF files. First it does the SPLIT of all pages of each file and store them in a temporary folder. When I press the end button, it calls a function GetFiles() that…
-
3
votes2
answers985
viewsHow to export an HTML/C#(Razor) page to PDF?
I have some simple tables and need to export them to PDF. I found the library itextsharp, but in the compressed file there are many folders and files and do not know how to add the reference in my…
-
3
votes1
answer2624
viewsHow to separate a PDF file line by line, in Java?
I need a way that I can read line by line from a pdf file. I am reading the entire pdf file at once on this command line: String conteudo=PdfTextExtractor.getTextFromPage(reader, 1); However I need…
-
3
votes2
answers807
viewsDo not view PDF inside the browser
I have the following anchor: <a href="http://localhost/refazer/uploads/0503-14.pdf">Conteúdo</a> By clicking this link automatically the browser recognizes that it is PDF and views it.…
-
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
answer398
viewsExport data table to PDF
I’m using the plugin JS Webix to create grid dynamic. It has a functionality to export to PDF/Excel, on the site has the following example: grid = new webix.ui({ view:"datatable", columns:[...],…
-
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
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
votes1
answer4614
viewsUse bootstrap style to generate pdf file with php
Is there any way to use bootstrap to style an html page that will later become a pdf? I’m using the mpdf60 plugin in php, and I only need the style boostrap offers to use it in exporting a pdf file.…
-
3
votes1
answer2162
viewsCreate new PDF from existing PDF with PHP
I’m with a project that I need to add header/footer/watermark, dynamically in existing PDF files, via PHP language. I’ve done a lot of research and I still can’t find a way to do this. You can edit…
-
3
votes1
answer1716
viewsHow to export a DIV with graphics to PDF
Does anyone have any javascript code that exports a graphic div to a file. PDF?
-
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…