Questions tagged as 'pdf'

0
answers

How to convert HTML to PDF in Javascript?

I need to convert an HTML made in TinyMCE to PDF editor. It turns out that text written in the editor will contain tags that will be exchanged for database record values, such as a mail merge. I was able to do this using HtmlToPDF, but it did no...
asked by 05.06.2017 / 22:30
1
answer

TCPDF how to redirect the page if the code is invalid?

I am making a print report with TCPDF, but I am experiencing some difficulties in redirecting if the code is invalid. see the following code: if(isset($_GET['CODIGO']) AND $_GET['CODIGO'] != ''){ $html = ''; $item = 1;...
asked by 15.03.2017 / 20:11
0
answers

Convert txt, docx, doc, to pdf using Php

I have to make a script in PHP where it will read several files and turn all into PDF. I'm using FPDF but I'm having difficulty logically in having it read each file in my directory and turn it into PDF. Can someone give me a light? <?php /...
asked by 17.03.2017 / 20:18
1
answer

Configure page headers with DOMPDF

Is there any way to configure DOMPDF to place a header on all pages of the generated PDF? I am generating a report and would like all the pages of the report to have the header of the first one. //define o estilo da página pdf $style='...
asked by 09.09.2015 / 19:02
0
answers

How to calculate fields in an AcrobatDC form using javascript? [closed]

I have a PDF form and I want one of the items to work as follows: After the fields A, B, C, and D are filled, at another point on the form, A, B, C, and D appear as options for one listbox. According to the chosen option, the original field (A,...
asked by 21.11.2016 / 02:21
1
answer

Send .pdf, in base64, by email

I get a string through an external%%, which comes directly from the client (I only take care of the website, making it impossible to change the type of information I receive). This string is a API that was encrypted in .pdf and I n...
asked by 01.11.2016 / 19:58
0
answers

Slow PDF creation - DOMPDF Laravel5 [closed]

I'm currently using Barryvdh \ DomPDF to create reports on a system made with Laravel 5.1 , but it's very slow because of the size of the reports, so that often (almost always), it ends up running out of time for loading. I make the e...
asked by 16.08.2016 / 15:17
0
answers

I am trying to generate a pdf file with php, but it generates a corrupted file

Follow the code of the file to display the pdf. This pdf is saved in the database. On a machine with old php it works. However on the online server it generates the corrupted pdf file. <?php if (!empty($_GET['id'])) { $file = $banco =...
asked by 01.11.2016 / 19:10
0
answers

PDF in ASP.Net c #

I need to display a PDF file that will be on my server or database (I have not decided yet) on a web page, made in ASP.Net C #. The problem is that this file has to be all "locked". The user will not be able to print, download, save, copy tex...
asked by 27.06.2016 / 21:09
0
answers

Mark PDF text with C #

I have an application where some names in a given PDF file will be searched. When I find the name I must mark with a "mark text" the words found. Does anyone know of any library that does this? I'm trying to find everywhere in the world and n...
asked by 13.06.2016 / 18:23