I have configuration from demo site:
$dwzPdf_1 = new dwzPhpPdf(); $dwzPdf_1->SetPageInstance("1"); $dwzPdf_1->Init(); $dwzPdf_1->SetDestinationFolder("/public/pdf"); $dwzPdf_1->SetPdfName("pdf_name"); $dwzPdf_1->SetMainPar("Link@_@@_@Overwrite@_@A4@_@@_@@_@0@_@P@_@15@_@15@_@15@_@15@_@#FFFFCC@_@@_@Middle center@_@10@_@25@_@mm@_@50@_@%@_@false@_@5600@_@This is a demo pdf@_@Subject of demo pdf@[email protected]@_@pdf test@_@fullpage@_@SinglePage@_@UseNone@_@@_@false@_@false@_@false@_@false@_@utf-8;utf-8;utf-8@_@false@_@Arial@_@true@_@true@_@true@_@ONLOAD@_@"); $dwzPdf_1->SetSourcePar("Get@_@/SourceCode/about.php@_@URL variable;id;id;"); $dwzPdf_1->SetHeaderPar("1@_@15@_@@_@/SourceCode/about_header.html"); $dwzPdf_1->SetFooterPar("1@_@15@_@@_@/SourceCode/about_footer.html"); $dwzPdf_1->SetPagePath(__FILE__); $dwzPdf_1->CreatePdf(); |
|
|