cpdf_open
$cpdf = cpdf_open(0);
cpdf_page_init($cpdf, 1, 0, 595, 842);
cpdf_add_outline($cpdf, 0, 0, 0, 1, "Page 1");
cpdf_begin_text($cpdf);
cpdf_set_font($cpdf, "Times-Roman", 30, "WinAnsiEncoding");
cpdf_set_text_rendering($cpdf, 1);
cpdf_text($cpdf, "Times Roman outlined", 50, 750);
cpdf_end_text($cpdf);
cpdf_moveto($cpdf, 50, 740);
cpdf_lineto($cpdf, 330, 740);
cpdf_stroke($cpdf);
cpdf_finalize($cpdf);
Header("Content-type application/pdf");
cpdf_output_buffer($cpdf);
cpdf_close($cpdf);
?>
Он мне говорит, Call to undefined function. Что делать???
---------------------
You can use the PDF functions in PHP to create PDF files if you have the PDF library by Thomas Merz (available at http//www.ifconnection.de/~tm/)
---------------------
On 2001-07-31 1011, mike wrote
Надо установить модуль для работы с cpdf. Вот
---------------------
You can use the PDF functions in PHP to create PDF files if you have the PDF library by Thomas Merz (available at http//www.ifconnection.de/~tm/)
---------------------
</BLOCKQUOTE></FONT></TD></TR><TR><TD><HR></TD></TR></TABLE>
Искал, небольшая поправочка
http//www.pdflib.com/pdflib/download/index.html