XC. Printer Functions 简介 These functions are only available under Windows 9.x, ME, NT4 and 2000. They have been added in PHP 4.0.4. 安装 Add the line extension=php_printer.dll to your php.ini file. <?php $handle = printer_open("\\\\DOMAIN_NAME\\Printer_Name"); ?> 具体看php手册吧,有这个函数,但是自己没有用过
<script>
window.print();
</script>
不知道window.print()可不可以加参数就可以直接打印的
<script>
window.print();
</script>
简介
These functions are only available under Windows 9.x, ME, NT4 and 2000. They have been added in PHP 4.0.4. 安装
Add the line extension=php_printer.dll to your php.ini file. <?php
$handle = printer_open("\\\\DOMAIN_NAME\\Printer_Name");
?>
具体看php手册吧,有这个函数,但是自己没有用过