Questions tagged as 'pdf'

8
answers

Exporting an HTML / PHP page to PDF

How to export an HTML page to a PDF file? Having a default document where you can change variables within this template, then export that page to an A4 format PDF file, without spoiling the layout. Code sample: $conteudo_html = ' <...
asked by 20.12.2013 / 16:23
5
answers

Compress PDF files

There is this PDF Compressor site that compresses files from 300k to 90k , was looking for in Google and I could not find anything related to doing in c# . Does anyone know of an algorithm that does the same thing in C...
asked by 03.07.2015 / 18:44
5
answers

Turn HTML into PDF

I noticed that on Banco do Brasil's website it is possible to choose the output format of a proof of payment in txt , pdf , csv without having to resubmit the page. Is there any library that will convert the html displayed on...
asked by 13.07.2015 / 14:12
3
answers

View PDF in HTML page

I wonder if you can view the PDF in an HTML page. I do not want a link to open the PDF Or do I have to switch from PDF to an image?     
asked by 19.01.2015 / 16:28
3
answers

How to format a table (data.frame) with publication quality in pdf (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", "B"), class = "factor"), Média = c(0.26550866...
asked by 08.03.2014 / 02:13
1
answer

How to change font in PDF generated by iReport?

I created a report using iReport and changed the text font to a custom font here. The report is viewed using the iReport viewer itself and works smoothly with the font I placed, but when generating the report in PDF the font I placed is chang...
asked by 22.01.2014 / 12:01
1
answer

Is it possible to determine if a byte array represents a pdf file that can not be edited?

Context I have two steps in my service, uploading and downloading the file. In uploading to the service I get the data through an array of ASCII bytes . This data is stored in a database. In the download, the data related to the file is s...
asked by 14.06.2017 / 16:40
1
answer

Count number of PDF pages with JavaScript

I am generating a PDF file with reports generated through PHP. In the PDF file, an x number of reports is generated and each report has a number of pages. I need to know if this number y is even or odd, if it's odd I need to add a blank page....
asked by 25.08.2016 / 14:34
3
answers

Error "HTML contains invalid UTF-8 character (s)" 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 on a PDF page. The problem is that if any table value has an accent (example: "Hello") the error appears:    "HTML con...
asked by 06.07.2014 / 15:57
2
answers

PDF for text arranging the columns

I am doing scraping to extract .pdf files, and I need these files as an organized text, since for each line of text of the file there are 3 different columns. For example in this file, you can see the 3 columns in question. I can read...
asked by 24.04.2017 / 21:30