【发布时间】:2012-08-10 19:20:56
【问题描述】:
我试图弄清楚如何在不创建物理 TXT 文件来打印数据的情况下打印出动态内容。
换句话说,我正在调用mytext.php 并写出内容...mytext.php 看起来像这样:
<?php echo "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.";
PDF 是由文本中的所有内容生成的......所以<?php echo "Lorem..."
打印动态内容的最佳方式是什么?
【问题讨论】:
标签: pdf-generation fpdf