downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

printer_start_page> <printer_set_option
Last updated: Fri, 14 Aug 2009

view this page in

printer_start_doc

(PECL printer CVS)

printer_start_docCommence un nouveau document

Description

bool printer_start_doc ( resource $printer_handle [, string $document ] )

Crée un nouveau document dans la file d'attente de l'imprimante handle . Un document peut contenir plusieurs pages, et il est programmé pour s'imprimer.

Liste de paramètres

printer_handle

printer_handle doit être une ressource d'imprimante valide.

document

Le paramètre optionnel document sert à donner un nom au document.

Valeurs de retour

Cette fonction retourne TRUE en cas de succès, FALSE en cas d'échec.

Exemples

Exemple #1 Exemple avec printer_start_doc()

<?php
$handle 
printer_open();
printer_start_doc($handle"Mon Document");
printer_start_page($handle);

printer_end_page($handle);
printer_end_doc($handle);
printer_close($handle);
?>



add a note add a note User Contributed Notes
printer_start_doc
There are no user contributed notes for this page.

printer_start_page> <printer_set_option
Last updated: Fri, 14 Aug 2009
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites