dompdf

DOMPDF: files with 0 bytes and text/plain mime-type

Hi, I'm using Kohana 3 and pdfview/DOMPDF to generate pdf files but they are generated with 0 bytes and text/plain mime-type. Controller: public function action_pdf() { if(isset($_POST['dados'])) { $pdf = View_PDF::factory('export/pdf'); $pdf->title = ''; $pdf->headers = array(); $pdf->data = array()...

DOMPDF Image quality

Hi all, I would like to know why the quality of my image is low in DOM PDF. The following image: http://img517.imageshack.us/img517/6996/top3.gif The borders are 1px and everything looks sharp. If I include the image in a HTML document with DOMPDF, everything works great, but the quality of the image is not really sharp. Output: img...

DOMPDF - show custom text on image using css

I am trying to show custom text on the image using dompdf <div class="image" style="font-size:25px"> <img alt="" src="image-url.jpg" /> <div class="name" style="margin-top: -575px; margin-right: 0; margin-bottom: 0; margin-left: 235px; position: absolute;"> <font face="High Tower Text"><em><?php print $some-value; ?></em></font>...

Is it possible to dynamically merge one PDF with another using dompdf?

I am trying to take the raw data from a previously made PDF, and append it to a new PDF using DOMPDF. Is this possible? Thanks for any help,Metropolis ...

Dompdf library: can I store files to hard disk ?

Hi, i'm using dompdf library to render some html content into pdf files. I actually don't need to send the file back to the client but just to store it in the hard disk or even better to send an email with it as attachment. I've searched in the documentation but I could only find the stream method: http://www.digitaljunkies.ca/dompdf/...

dompdf: loading html files to render, doesn't work

hi, dompdf is not able to generate a pdf from a page of my website. However, I've saved the page and uploaded it as simple static html file, and it worked! So, I dunno if the issue is with the url, or something else.. this is the error I get: Warning: require_once(/home/o110334/public_html/dompdf/include/firephp.cls.php) [function.req...

How does `page-break-before` CSS property work?

According to DOMPDF's FAQ, you can use page-break-before and the similar to force page breaks. I had to lay out my page with tables, as DOMPDF does not support floats. On a <tr> element, I have placed style="page-break-before: always" but the generated PDF doesn't seem to follow this rule. Is it because I have placed it on a tr elemen...

dompdf: how to remove borders from the rendered table in pdf ?

hi, I'm having some issues in displaying a table with dompdf: http://dl.dropbox.com/u/72686/domPdfTable.png The table contains all borders I don't have in my original table in html: http://dl.dropbox.com/u/72686/htmltable.png how can I remove these borders from the final pdf document ? thanks ...

dompdf: how can I remove the additional symbol before the currency ?

hi, I'm having some issues in displaying a table with dompdf. In the rendered pdf I have an additional symbol before the currency £: http://dl.dropbox.com/u/72686/domPdfTable.png how can I remove this symbol from the final pdf document ? thanks ...

Problem using background image using dompdf

For some reason, the background image doesn't show no matter what I try. I've put the direct url as well. None of them worked. Can someone with dompdf experience tell me what I need to do? It's important to note that other images appear just fine. It's only the bakground images that are causing issues. Here is one of the background...

DOMPDF 0.5.1 - new server environment breaks PDF output formatting

I'm using DOMPDF to generate PDFs inside of a symfony application. On my current production server, it works great. I was tasked with moving it to a new server. I checked out the code on the new server, and while it does generate a PDF still, most of the formatting is broken. Here's an example of what happens: http://geoffreymaddock....

dompdf - internal server error on pdf_create

Getting Internal server in godaddy server when trying to generate pdf(dompdf). When i tried to print the data as html, its printing in a sec. But when trying to generate the pdf using pdf_create its showing internal server error. Need help! ...

dompdf: seems to stumble over an <a> tag with <em> tags inside it

Hey StackOverflow, I'm a new member but still hoping someone might be able to help if they can! I'm using dompdf to generate PDFs in PHP. All is well when it parses a standard <a href="...">[Link]</a> style link: the generated PDF contains clickable hyperlinks. However, my source text (i.e. the content of the PDF) contains anchor tags ...

Create PDF file with contents from the database.

I would want to print tickets in pdf. I was already able to retrieve the ticket details like customer name, order id, order items, and total bill. I would want to put this details in the .pdf file ready for printing. I'm using html and php tags in retrieving these ticket details from the database. How can I convert to .pdf all items echo...

Table cell with space appears squashed

Edit: I am using domPDF 0.5.1, hosted http://code.google.com/p/dompdf/ I am using HTML table to generate boxes inside which I place one character each, eg. the following table contains the name "kinjal dixit" <table> <tr> <td>k</td><td>i</td><td>n</td><td>j</td><td>a</td><td>l</td> <td>&nbsp;</td> <td>d</td><td>i</td><td>x</td><td>i</t...

Strange DOMPDF issue with Codeigniter

Hello, Just a quickie. I have tested DOMPDF in a Doctrine enabled Codeigniter 1.7.2 installation and everything works fine. However, when the Cart library and URL Helper are autoloaded as well, DOMPDF doesn't work. BUT, if you 'un-autoload' (ie. dont use) any one of Doctrine, the URL Helper or the Cart Library, DOMPDF works. Is ju...

How to use dompdf within Zend-Framework?

Hi. I have the following code inside my controller but I can't open the pdf it produces. $html = "<html><head><meta http-equiv='Content-Type' content='text/html; charset=utf-8'></head><body>trial</body></html>"; $dompdf = new DOMPDF(); $dompdf->load_html($html); $dompdf->render(); $dompdf->stream("sample.pdf"); ...

html to pdf very large files php

hi i am trying to create a pdf files in php useing dompdf-0.5.1 i am creating these files from html i have a large number of data everytime i try to create a big file its getting stuck giving me errors is therey any library that i can use for large pdf files from html also its working for small and normal files thanks Fatal error: ...

Any Smarty Users out there? Here's a domPDF challenge.

I have a working dynamic content query/echo file that I need to convert to template for use with domPDF. Would someone look at my code that's not executing to see where I'm going wrong? (Btw, the sendPDF.tpl file is in path: /Smarty/mg/templates/ -- sendPDF.php is in /Smarty/mg/ and smartyTEST.php is in my root path) thanks much Allen ...