Printer 函数
PHP 手册

printer_close

(PECL printer SVN)

printer_closeClose an open printer connection

说明

void printer_close ( resource $printer_handle )

This function closes the printer connection. printer_close() also closes the active device context.

参数

printer_handle

printer_handle must be a valid handle to a printer.

返回值

没有返回值。

范例

Example #1 printer_close() example

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


Printer 函数
PHP 手册