我使用DOMPDF来做html-> PDF。这一切都运作良好,但我的问题是IM使用
#footer {
position: fixed;
left: 0;
right: 0;
//color: #aaa;
//font-size: 0.9em;
}
#footer {
bottom: 15;
border-top: 0.1pt solid #aaa
}
和
<div id="footer">
<p class="center"><small>$settings_business_name, $setting_address, $setting_city, $setting_state $setting_zip - Phone: $setting_phone_office~; if ($setting_phone_cell) { print $fileHandle qq~ - Direct Cell: $setting_phone_cell~;} print $fileHandle qq~ <br>Email: $setting_email_billing<br />
Please make checks payable to: $settings_business_name</small></p>
</div> <div style="page-break-after:always;"></div>
按照预期显示在pdf上,我的问题是当用户去纸上打印硬拷贝页脚消失时。难道我做错了什么?页脚显示在pdf上,但当您打印PDF时,它不会打印。