PHP Manual
Prev |  | Next

# printer_close

(PECL)

printer_close -- Close an open printer connection

## Description

void printer_close ( resource handle )

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

handle must be a valid handle to a printer.

Example 1. printer_close() example

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

Prev | Home | Next
printer_abort | Up | printer_create_brush