Home > PHP > Function > Printer > printer_end_doc()

printer_end_doc()

printer_end_doc - Close document

Syntax

bool printer_end_doc (resource $printer_handle)

Arguments

  • printer_handle - printer_handle must be a valid handle to a printer.

Description

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

Version

PHP PECL printer SVN

Return value

Returns TRUE on success or FALSE on failure.