I want to generate 3000 above pdf files from prestashop back end -
i using tcpdf pdf generator generating eticket, same prestahsop generates pdf files invoices , trying generate pdf files of tickets( selling tickets online) ,3000 tickets daily need print end how 3000 tickets printing ??i mean how generate 3000 tickets of pdf in 1 click ? need validate printing whether 3000 pdf corresponding ticket generated or not how validation(count validation).
public function generatepdf($object, $template) { switch($template) { case pdf::template_eticket: $format = 'jis_b5'; // replace desired size office eticket break; default: $format = 'a4'; // replace normal size } $pdf = new pdf($object, $template, context::getcontext()->smarty,'p', $format); $pdf = $pdf->render(false); return true; }
Comments
Post a Comment