Page 1 of 1

File upload print pdf

Posted: Fri Jul 26, 2013 6:29 am
by joaoisobr

Which component to use to print a file upload field in pdf?

I need to print the contents of a file that did downlad him, on a screen inside the browser in a form, without needing to dawnload file by clicking the ...

I do not want to upload and print the pdf file that did Download

I want to print on a page within the browse, file I downloaded, if cared a drawing a drawing will be printed if a book will be cared printed all the pages of the book when I click on the name of the imported file

I write this code in php?


Re: File upload print pdf

Posted: Fri Jul 26, 2013 7:54 am
by Webmaster

Customize method Export() of class cExportPdf in the extension. Read DOMPDF documentation about the stream() method at:
https://code.google.com/p/dompdf/wiki/U ... s_directly

Instead of forcing the browser to open download dialog, set 'Attachment' to 0 to open the PDF file in your browser (if you have installed PDF reader), then you can print with your browser.


Re: File upload print pdf

Posted: Fri Jul 26, 2013 8:35 am
by joaoisobr

Dear friend, thank you for your attention!
I study your orientation and apply what you guided me, and once you have the result you present ...
thank you!!