I am trying to integrate pdf generation in my application using the
bakery article: 
http://bakery.cakephp.org/articles/view/creating-pdf-files-with-cakephp-and-tcpdf


I am trying to create a pdf, then save it to disk, without ever
outputting it to the screen.

[code]$tcpdf->Output('filename.pdf', 'F');[/code]

Using the F parameter in the output function to force the save to
disk, creates the pdf, and saves it to disk properly, however, i am
still left with a popup error everytime from Adode Reader..."File does
not begin with '%PDF-'" ...almost like it is still trying to display
the pdf to the screen as well. Does anyone know how i can just save it
to disk, for future use, without ever outputting anything to the
screen?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to