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

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -