printer_close

(PECL printer SVN)

printer_closeClose an open printer connection

Description

void printer_close ( resource $printer_handle )

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

Parameters

printer_handle

printer_handle must be a valid handle to a printer.

Return Values

No value is returned.

Examples

Example #1 printer_close() example

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