DwZone Forum DwZone Forum
Welcome to the DwZone-it Forum
 
  FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups  
    RegisterRegister -->   LoginLogin  
HTML to PDF  
DwZone Forum Index -> HTML to PDF
.
Moderators: AdministratorsModerators 
Hint: For improved responsiveness, use Internet Explorer 4 (or above) with Javascript enabled, choose 'Dynamic' from the View dropdown and hit 'Set Options' to save your changes.
New Topic Search for
 View     Per page     Messages Since 
Messages 1 to 10 of 74 (Total: 73) First |  Prev |  Next |  Last  
 Subject Author Date  
   https  
View this persons public profile  gunther   14:15 4 Oct 2019  
   Re: https  
View this persons public profile  Gianluigi   15:23 4 Oct 2019  
   Pdf generator ignoring Session Variables  
View this persons public profile  MiguelQuintero   12:20 3 Oct 2017  
   Re: Pdf generator ignoring Session Variables  
View this persons public profile  Gianluigi   10:03 4 Oct 2017  
   Re: Pdf generator ignoring Session Variables  
View this persons public profile  MiguelQuintero   11:20 6 Oct 2017  
   table width  
View this persons public profile  gunther   13:54 28 Sep 2017  
   Re: table width  
View this persons public profile  Gianluigi   15:22 28 Sep 2017  
   Re: table width  
View this persons public profile  gunther   11:10 29 Sep 2017  
    pdf is not creating  
View this persons public profile  Daniel   15:09 17 Sep 2017  
 
Hi I applied the behavior but I got this error:

Notice: ob_clean(): failed to delete buffer. No buffer to delete in /Applications/MAMP/htdocs/cool/dwzHtmlPdf/dwzPdfClass.php on line 284

Fatal error: Uncaught <span style="color: #AA0000; font-weight: bold;">ERROR n°1</span><br>File : /Applications/MAMP/htdocs/cool/dwzHtmlPdf/html2pdf.class.php<br>Line : 1251<br><br>The tag <b><NAV></b> does not yet exist.<br><br>If you want to add it, you must create the methods <b>o_NAV</b> (for opening) and <b>c_NAV</b> (for closure) by following the model of existing tags.<br><br>If you create these methods, do not hesitate to send me an email to [email protected] to included them in the next version of HTML2PDF. thrown in /Applications/MAMP/htdocs/cool/dwzHtmlPdf/html2pdf.class.php on line 1251

This is my pdf configuration:

<?php
//***********************
//* http://www.DwZone-it.com
//* Php HTML to PDF
//* Version 1.0.30
//***********************
$dwzPdf_1 = new dwzPhpPdf();
$dwzPdf_1->SetPageInstance("1");
$dwzPdf_1->Init();
$dwzPdf_1->SetDestinationFolder("/pedidos/PDF");
$dwzPdf_1->SetPdfName("pedido.pdf");
$dwzPdf_1->SetMainPar("Download (save)@_@@_@Unique name@_@A5@_@@_@@_@0@_@P@_@20@_@20@_@20@_@20@_@#FFFFFF@_@@_@Middle center@_@@_@@_@mm@_@@_@px@_@false@_@5600@_@@_@@_@@_@@_@default@_@SinglePage@_@UseNone@_@@_@false@_@false@_@false@_@false@_@utf-8;utf-8;utf-8@_@false@_@Arial@_@true@_@false@_@false@_@ONLOAD@_@");
$dwzPdf_1->SetSourcePar("Post@_@/pedidos/pedidos.php@_@");
$dwzPdf_1->SetHeaderPar("0@_@@_@@_@");
$dwzPdf_1->SetFooterPar("0@_@@_@@_@");
$dwzPdf_1->SetPagePath(__FILE__);
$dwzPdf_1->CreatePdf();
//******************
// Php HTML to PDF
// End code
//******************
?>

Thanks for the help.
Regards,

Daniel
 
Reply to this current thread  View this persons public profile  Send Private Message
   Re: pdf is not creating  
View this persons public profile  Gianluigi   9:51 18 Sep 2017  
Last Visit: Thursday 25 Apr, 2024 6:51 am First |  Prev |  Next |  Last  
 Login
Username:  Password:    
Read Message Read Message   Unread message Unread message
Read message [popular] Read message [popular]   Unread message [popular] Unread message [popular]
Read message [locked] Read message [locked]   Unread message [locked] Unread message [locked]
All times are GMT-2

Jump to: