Questions tagged as 'pdf'

2
answers

Error downloading pdf with php

I am trying to make the user download a pdf file with php, the problem is that when the files are downloaded I get the following error: My code is as follows: $file="$file.pdf"; $filename = $this->config->item('RUTA_CFDi').$file...
asked by 07.07.2017 / 19:06
1
answer

How can I create a PDF document with PHP [closed]

Hello good day I am looking to create a pdf document of a report that I generate with php and mysql. in my query I just drag all the user's data and I simply want to pass them in the pdf file. what tool could you use to create the document...
asked by 06.06.2017 / 23:57
5
answers

Send with phpMailer as attachment a $ pdf created?

I clearly state the problem: My .php file does two things: 1) Create a pdf (already verified, which is stored in the variable $ pdf ) and 2) Send an email using phpMailer. The problem ?: The file $ pdf I can not send it with $ma...
asked by 04.06.2016 / 20:56
2
answers

PDF Generator Dompdf with css styles Bootstrap in Laravel 5.1

I have a problem with DomPDF and Bootstrap. I am using Laravel 5.1 as PHP framework and I added the DomPDF service. It worked very well with CSS styles created by me, but when I include the CSS styles of Bootstrap I get the following error:  ...
asked by 05.02.2016 / 15:24
1
answer

Determine the destination of a generated PDF

Good community, I ask for your help again, this time it is about the generation of a PDF document with the mPDF library. The query is as follows: How do I determine the destination of my PDF generated? That is, I know that when the...
asked by 27.12.2017 / 23:38
1
answer

Align content of ItexSharp cells in C #

Good morning, I'm working with C # with the Itextsharp library. Which by pressing a button creates a PDF and inside a small table where it shows the totals. I would like to know how I can align the contents of the cells in a centered way,...
asked by 16.08.2018 / 20:53
1
answer

create a pdf of a specific div with jspdf

When I try to create a pdf with jsPdf I can not take the div specific, I tried everything but it does not leave me, any help is well received. <script> $(document).on('ready', function(){ $('.buttonNext').on('cl...
asked by 12.01.2017 / 03:36
1
answer

How to create a new page with a format already established in FPDF?

I have an application already prepared in which one of its modules is to generate PDF reports, the report is generated excellent, the detail is that I need every 20 records to generate a new page of this report but it is generated in white and t...
asked by 05.05.2016 / 22:42
1
answer

Embed [src]="src" does not work in Angular 7, unsafe url

I am trying to create a PDF viewer in Angular but when passing it the variable gives error. Can you give me a hand, please? HTML: <embed [src]="selectedFile" class="p-col-12" style="height: 800px;"> TS: private pathFiles = [...
asked by 07.12.2018 / 10:41
1
answer

How to add a pdf file in html to see it on my website?

I am trying to create a section on my website with the studies I have, which are not many. I want to show the diplomas, which I have in PDF. With this code is shown, but clicking on the link: <a href="pdf/html.pdf">Haz clic aquí para el...
asked by 11.11.2017 / 23:51