printer_end_doc

(PECL printer SVN)

printer_end_docClose document

Description

bool printer_end_doc ( resource $printer_handle )

Closes a new document in the printer spooler. The document is now ready for printing. For an example see printer_start_doc().

Parameters

printer_handle

printer_handle must be a valid handle to a printer.

Return Values

Returns TRUE on success or FALSE on failure.