All Questions
725
questions
0
votes
2
answers
44
views
Force download a pdf on mobile device
I want to force a pdf to be downloaded on mobile/tablet device to avoid open it in a new tab.
I tried with the download attribute:
<a href="file.pdf" download target="_blank">...
0
votes
0
answers
34
views
Html2Pdf Error [2] Unable to get the size of the image [image1/2.png]
So I have a form whose data is connected to MySQL, specifically the image data is stored in the form/image1 folder, then I want to use that data in my PDF template, but when I try to insert an image ...
0
votes
0
answers
51
views
Can't Upload PDF - XAMPP using PHP (MAC)
I am trying to upload pdf's (cv's). I am not sure why I can't, but for some reason the pdf's won't upload.
I am new to PHP and HTML, so if you have any security tips for file uploads, that would be ...
-1
votes
1
answer
70
views
PHP to Drupal Node with HTML
I am working on a custom module with Drupal.
My module needs to let the user upload a PDF file, and then the modules creates a Node of type:decision and in the field_decision_text I want to put the ...
2
votes
0
answers
30
views
html to PDF with new page detection
I'm writing a PDF document using html. The PDF have multiple pages and the length of each page can vary. I would like to show an image at the start of each page. For this, I need to detect when there ...
1
vote
1
answer
112
views
Not able to render non ANSI characters in PDF using DOMPDF
I am trying to create a PDF using DOMPDF in Pimcore which functionality works absolutly fine, but I am having issues while trying to include non ANSI characters in PDF, like Thai, Koread, Chinese ...
0
votes
0
answers
110
views
DOMPDF - Script to convert HTML to PDF using DomPdf library
I have written a scrip to create a pdf using dompdf using a simple textarea post to collect the code to be converted. When I download the document, it doesn't render correctly.
The pdf displays ...
1
vote
1
answer
65
views
Dompdf Laravel error "Image not found or type unknown "
i cannot download pdf file with my image, iam using dompdf in my laravel project.
here is my controller code :
public function downloadPdf()
{
$cakes = Cake::all();
$data = [
...
0
votes
0
answers
55
views
Problem TCPDF automatically added html extension to the PDF file in android browser
Here my code
in contoller
TCPDF::writeHTML($html_content, true, false, true, false, '');
return TCPDF::Output('test.pdf', 'D');
in blade
<a href="/tes.pdf" type="button" ...
0
votes
0
answers
33
views
wkhtmltopdf in PHP - problem with splitting table into pages
I'm using wkhtmltopdf and mikehaertl PDF plugin in PHP to generate PDFs.
I have troubles properly splitting tables in PDF. In the picture below, I want that rows can be splitted in the middle, without ...
0
votes
0
answers
178
views
The barryvdh/laravel-dompdf set orientation to landscape not dispaly unicode correctly
I have a project where I need to display Unicode characters. I've successfully displayed them in portrait paper orientation. However, when I switch to landscape orientation, the characters do not ...
-1
votes
1
answer
44
views
Direct conversion of html page into PDf
I am converting html form into pdf soon after after entering values. Its working fine. But when I want to directly convert html form to pdf with some calculation then its generating error. for example ...
0
votes
1
answer
59
views
Anchor tag mailto issue in pdf
Im using laravel PDF to convert HTML contents to pdf, but in pdf file anchor tag is not clickable. Seems issue is with acute accent, but im confused how to fix this issue. Below is the HTML code:
<...
1
vote
1
answer
130
views
The table header and body is not aligning in the 2nd page while creating pdf with TCPDF
I want to generate an invoice with TCPDF which contained a dynamic table depends on the size of the items. It works fine until the table size does not cross the first page. From the second page the ...
0
votes
0
answers
536
views
mPDF - Image not appearing in PDF when inserted via HTML
I'm using mPDF to create a PDF with PHP. When trying to insert an image with HTML it is not appearing in the generated PDF.
I'm trying to insert the image like this:
$pdf_html = '<div style="...