Printer 函数
PHP 手册

printer_abort

(PECL printer SVN)

printer_abortDeletes the printer's spool file

说明

void printer_abort ( resource $printer_handle )

This function deletes the printers spool file.

参数

printer_handle

printer_handle must be a valid handle to a printer.

返回值

没有返回值。

范例

Example #1 printer_abort() example

<?php
$handle 
printer_open();
printer_abort($handle);
printer_close($handle);
?>


Printer 函数
PHP 手册