Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $pdf = new Zend_Pdf();
- $page = new Zend_Pdf_Page(Zend_Pdf_Page::SIZE_A4);
- $font = new Zend_Pdf_Font::fontWithName(Zend_Pdf_Font::FONT_HELVETICA);
- $page->setFont($font,24)
- ->drawText("Hello world!",72,720);
- $pdf->$page;
- $pdf->save("example.pdf");
- Parse error: syntax error, unexpected 'fontWithName' (T_STRING), expecting variable (T_VARIABLE) or '$' in /Users/pawel/Sites/Zend/application/modules/default/controllers/IndexController.php on line 83
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement