Questions tagged as 'fpdf'

1
answer

How can I adjust the cells of this FPDF document?

Greetings, I am trying to adjust this FPDF document (the header of each column) but I can not find it, I do not find where I have to adjust so that they appear next to each other after the 4th one throws it down. <?php require(...
asked by 22.08.2017 / 07:44
1
answer

FPDF throws errors in 000webhost

It worked in a localhost XAMMP, I put it in a free hosting 000webhost to try it Warning: A non-numeric value encountered in /storage/ssd2/023/3036023/public_html/pdf/fpdf/fpdf.php on line 580 Warning: A non-numeric value encountered in /stora...
asked by 27.09.2017 / 19:58
1
answer

Fpdf will be opened in a new window

my pdf is created correctly but what I want is that it will be in a new window This is my code but I will open it in a new tab and not in a window <input type="submit" Value="Ver Reporte" name="" class='btn btn-success' onClick="documen...
asked by 07.06.2018 / 19:42
0
answers

How can I assign coordinates in a pdf array?

good I am generating a pdf, the question is, when I print the data when using a foreach, at the time it gives the second round as I can assign the new coordinates and so for the q follow for example if there are 50 records, assign them the coord...
asked by 15.10.2018 / 19:58
0
answers

Error saving a PDF with FPDF php

When I try to save a pdf to the server I get the following message: FPDF error: Incorrect output destination: C: \ XAMPP \ HTDOCS \ MYPROYECT \ PUBLIC \ SYSTEM \ APP \ CONTROLLERS /../../ PUBLIC / FILES / PDF / POLIZA_5B7B44F8AF44A.PDF...
asked by 21.08.2018 / 01:29
1
answer

I can not list my BD records

I am starting to use the FPDF library and I need to generate a PDF document with the records of my "winners" table. So far I was able to generate the PDF document but I could not list the records of my table, I would appreciate any help. I kn...
asked by 09.03.2018 / 01:30
1
answer

How to take a line break when the end of the margin is reached with FPDF

I am generating a PDF document with the FPDF library and I could generate it, but I really do not know how to make it jump to the next line when I reach the end of the margin. The code I have puts the elements next to each other with a...
asked by 06.02.2018 / 20:58
1
answer

How can I get the data of a query in a PDF file?

Greetings, I am trying to obtain the data generated by a query in the PDF file, I do not know how to do it, that is why I request the help here, I would like the data that the query gives me when I click on the PDF button, open the PDF file w...
asked by 23.08.2017 / 03:36
1
answer

The text sent in the ticket is pasted

I'm using FPDF with php and the ticket goes like this: I use MultiCell but it does not leave a line without quantity and price to see the detail. the code is: $pdf = new FPDF('P','mm',array(100,150)); $pdf->SetLeftMargin(2); $...
asked by 21.12.2018 / 13:36
1
answer

Save file to the FPDF desktop

I'm trying to get FPDF to save the file directly to the desktop but I can not find it, I keep saving it in the downloads folder and it gives me the name of the file. Can someone help me? $pdf->Output('/C:/Users/Desktop/Fichas/ficha.pdf','D'...
asked by 05.03.2018 / 10:27