<HTML ><HEAD ><TITLE >Printer functions</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK REL="HOME" TITLE="PHP Manual" HREF="index.html"><LINK REL="UP" TITLE="Function Reference" HREF="funcref.html"><LINK REL="PREVIOUS" TITLE="system" HREF="function.system.html"><LINK REL="NEXT" TITLE="printer_abort" HREF="function.printer-abort.html"><META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=ISO-8859-1"></HEAD ><BODY CLASS="reference" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >PHP Manual</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="function.system.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="function.printer-abort.html" ACCESSKEY="N" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><DIV CLASS="reference" ><A NAME="ref.printer" ></A ><DIV CLASS="TITLEPAGE" ><H1 CLASS="title" >LXXXIV. Printer functions</H1 ><DIV CLASS="PARTINTRO" ><A NAME="AEN78953" ></A ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="printer.intro" ></A >Introduction</H1 ><P > These functions are only available under Windows 9.x, ME, NT4 and 2000. They have been added in PHP 4.0.4. </P ></DIV ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="printer.installation" ></A >Installation</H1 ><P > Add the line <TT CLASS="filename" >extension=php_printer.dll</TT > to your <TT CLASS="filename" >php.ini</TT > file. </P ></DIV ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="printer.configuration" ></A >Runtime Configuration</H1 ><P > The behaviour of these functions is affected by settings in <TT CLASS="filename" >php.ini</TT >. </P ><P > <DIV CLASS="table" ><A NAME="AEN78967" ></A ><P ><B >Table 1. Printer configuration options</B ></P ><TABLE BORDER="1" CLASS="CALSTABLE" ><THEAD ><TR ><TH ALIGN="LEFT" VALIGN="MIDDLE" >Name</TH ><TH ALIGN="LEFT" VALIGN="MIDDLE" >Default</TH ><TH ALIGN="LEFT" VALIGN="MIDDLE" >Changeable</TH ></TR ></THEAD ><TBODY ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >printer.default_printer</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >""</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >PHP_INI_ALL</TD ></TR ></TBODY ></TABLE ></DIV > For further details and definition of the PHP_INI_* constants see <A HREF="function.ini-set.html" ><B CLASS="function" >ini_set()</B ></A >. </P ></DIV ></DIV ><DIV CLASS="TOC" ><DL ><DT ><B >Table of Contents</B ></DT ><DT ><A HREF="function.printer-abort.html" >printer_abort</A > -- Deletes the printer's spool file</DT ><DT ><A HREF="function.printer-close.html" >printer_close</A > -- Close an open printer connection</DT ><DT ><A HREF="function.printer-create-brush.html" >printer_create_brush</A > -- Create a new brush</DT ><DT ><A HREF="function.printer-create-dc.html" >printer_create_dc</A > -- Create a new device context</DT ><DT ><A HREF="function.printer-create-font.html" >printer_create_font</A > -- Create a new font</DT ><DT ><A HREF="function.printer-create-pen.html" >printer_create_pen</A > -- Create a new pen</DT ><DT ><A HREF="function.printer-delete-brush.html" >printer_delete_brush</A > -- Delete a brush</DT ><DT ><A HREF="function.printer-delete-dc.html" >printer_delete_dc</A > -- Delete a device context</DT ><DT ><A HREF="function.printer-delete-font.html" >printer_delete_font</A > -- Delete a font</DT ><DT ><A HREF="function.printer-delete-pen.html" >printer_delete_pen</A > -- Delete a pen</DT ><DT ><A HREF="function.printer-draw-bmp.html" >printer_draw_bmp</A > -- Draw a bmp</DT ><DT ><A HREF="function.printer-draw-chord.html" >printer_draw_chord</A > -- Draw a chord</DT ><DT ><A HREF="function.printer-draw-elipse.html" >printer_draw_elipse</A > -- Draw an ellipse</DT ><DT ><A HREF="function.printer-draw-line.html" >printer_draw_line</A > -- Draw a line</DT ><DT ><A HREF="function.printer-draw-pie.html" >printer_draw_pie</A > -- Draw a pie</DT ><DT ><A HREF="function.printer-draw-rectangle.html" >printer_draw_rectangle</A > -- Draw a rectangle</DT ><DT ><A HREF="function.printer-draw-roundrect.html" >printer_draw_roundrect</A > -- Draw a rectangle with rounded corners</DT ><DT ><A HREF="function.printer-draw-text.html" >printer_draw_text</A > -- Draw text</DT ><DT ><A HREF="function.printer-end-doc.html" >printer_end_doc</A > -- Close document</DT ><DT ><A HREF="function.printer-end-page.html" >printer_end_page</A > -- Close active page</DT ><DT ><A HREF="function.printer-get-option.html" >printer_get_option</A > -- Retrieve printer configuration data</DT ><DT ><A HREF="function.printer-list.html" >printer_list</A > -- Return an array of printers attached to the server </DT ><DT ><A HREF="function.printer-logical-fontheight.html" >printer_logical_fontheight</A > -- Get logical font height</DT ><DT ><A HREF="function.printer-open.html" >printer_open</A > -- Open connection to a printer</DT ><DT ><A HREF="function.printer-select-brush.html" >printer_select_brush</A > -- Select a brush</DT ><DT ><A HREF="function.printer-select-font.html" >printer_select_font</A > -- Select a font</DT ><DT ><A HREF="function.printer-select-pen.html" >printer_select_pen</A > -- Select a pen</DT ><DT ><A HREF="function.printer-set-option.html" >printer_set_option</A > -- Configure the printer connection</DT ><DT ><A HREF="function.printer-start-doc.html" >printer_start_doc</A > -- Start a new document</DT ><DT ><A HREF="function.printer-start-page.html" >printer_start_page</A > -- Start a new page</DT ><DT ><A HREF="function.printer-write.html" >printer_write</A > -- Write data to the printer</DT ></DL ></DIV ></DIV ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="function.system.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="function.printer-abort.html" ACCESSKEY="N" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >system</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="funcref.html" ACCESSKEY="U" >Up</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >printer_abort</TD ></TR ></TABLE ></DIV ></BODY ></HTML >