Now I can create a pdf file in php,here is some code:
..............................
$p = PDF_new();
PDF_open_file($p, "");
PDF_set_info($p, "Creator", "sendingfax.php");
PDF_set_info($p, "Author", "yt");
PDF_set_info($p, "Title", "fax preview");
PDF_set_text_pos($p, 50, 730);
PDF_set_font($p, "STSong-Light", 11, "GB-EUC-H");
PDF_show($p, "content:");
PDF_set_text_pos($p, 130, 730);
PDF_continue_text($p, "$faxtext");
.....................................
the line "PDF_continue_text($p, "$faxtext");" I want to show long text in my pdf file,but it only show one line String.
why? what shall I do?(variable $faxtext contained long text)
thanks for your help🙂