Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > by-pkgid > 05cd670d8a02b2b4a0ffb1756f2e8308 > files > 12244

php-manual-zh-5.2.4-1mdv2008.1.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML
><HEAD
><TITLE
>Printer Functions</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
REL="HOME"
TITLE="PHP 手册"
HREF="index.html"><LINK
REL="UP"
TITLE="函数参考"
HREF="funcref.html"><LINK
REL="PREVIOUS"
TITLE="PDO::pgsqlLOBUnlink"
HREF="function.pdo-pgsqllobunlink.html"><LINK
REL="NEXT"
TITLE="printer_abort"
HREF="function.printer-abort.html"><META
HTTP-EQUIV="Content-type"
CONTENT="text/html; charset=UTF-8"></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 手册</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="function.pdo-pgsqllobunlink.html"
ACCESSKEY="P"
>上一页</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"
>下一页</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="reference"
><A
NAME="ref.printer"
></A
><DIV
CLASS="TITLEPAGE"
><H1
CLASS="title"
>CXXIX. Printer Functions</H1
><DIV
CLASS="PARTINTRO"
><A
NAME="AEN187641"
></A
><DIV
CLASS="section"
><H1
CLASS="section"
><A
NAME="printer.intro"
>简介</A
></H1
><P
>&#13;     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
></H1
><P
>&#13;  This <A
HREF="http://pecl.php.net"
TARGET="_top"
>PECL</A
> extension is not bundled with PHP.
 </P
><P
>&#13;  Windows users must enable <TT
CLASS="filename"
>php_printer.dll</TT
> inside
  of <TT
CLASS="filename"
>php.ini</TT
> in order to use these functions.
  可以从不同的
<ACRONYM
CLASS="acronym"
>PECL</ACRONYM
> 页面(选择适合自己 PHP 版本的库)取得未绑定的
<ACRONYM
CLASS="acronym"
>PECL</ACRONYM
> 扩展:<A
HREF="http://snaps.php.net/win32/PECL_4_3/"
TARGET="_top"
>PECL for PHP
4.3.x</A
>,<A
HREF="http://snaps.php.net/win32/PECL_5_0/"
TARGET="_top"
>PECL for PHP 5.0.x
</A
> 或 <A
HREF="http://snaps.php.net/win32/PECL_UNSTABLE/"
TARGET="_top"
>PECL Unstable</A
>。
 </P
></DIV
><DIV
CLASS="section"
><H1
CLASS="section"
><A
NAME="printer.configuration"
>运行时配置</A
></H1
><P
>这些函数的行为受 <TT
CLASS="filename"
>php.ini</TT
> 的影响。</P
><P
>&#13; <DIV
CLASS="table"
><A
NAME="AEN187662"
></A
><P
><B
>表 1. Printer configuration options</B
></P
><TABLE
BORDER="1"
CLASS="CALSTABLE"
><COL><COL><COL><COL><THEAD
><TR
><TH
>Name</TH
><TH
>Default</TH
><TH
>Changeable</TH
><TH
>Changelog</TH
></TR
></THEAD
><TBODY
><TR
><TD
>printer.default_printer</TD
><TD
>""</TD
><TD
>PHP_INI_ALL</TD
><TD
>&nbsp;</TD
></TR
></TBODY
></TABLE
></DIV
>
 有关 PHP_INI_* 常量进一步的细节与定义参见<A
HREF="ini.html"
>附录 H</A
>。
 </P
></DIV
><DIV
CLASS="section"
><H1
CLASS="section"
><A
NAME="printer.resources"
>资源类型</A
></H1
><P
>&#13;     This extension defines handles to a printer connection, to a brush, to a
     font and to a pen.
    </P
></DIV
></DIV
><DIV
CLASS="TOC"
><DL
><DT
><B
>目录</B
></DT
><DT
><A
HREF="function.printer-abort.html"
>printer_abort</A
>&nbsp;--&nbsp;Deletes the printer's spool file</DT
><DT
><A
HREF="function.printer-close.html"
>printer_close</A
>&nbsp;--&nbsp;Close an open printer connection</DT
><DT
><A
HREF="function.printer-create-brush.html"
>printer_create_brush</A
>&nbsp;--&nbsp;Create a new brush</DT
><DT
><A
HREF="function.printer-create-dc.html"
>printer_create_dc</A
>&nbsp;--&nbsp;Create a new device context</DT
><DT
><A
HREF="function.printer-create-font.html"
>printer_create_font</A
>&nbsp;--&nbsp;Create a new font</DT
><DT
><A
HREF="function.printer-create-pen.html"
>printer_create_pen</A
>&nbsp;--&nbsp;Create a new pen</DT
><DT
><A
HREF="function.printer-delete-brush.html"
>printer_delete_brush</A
>&nbsp;--&nbsp;Delete a brush</DT
><DT
><A
HREF="function.printer-delete-dc.html"
>printer_delete_dc</A
>&nbsp;--&nbsp;Delete a device context</DT
><DT
><A
HREF="function.printer-delete-font.html"
>printer_delete_font</A
>&nbsp;--&nbsp;Delete a font</DT
><DT
><A
HREF="function.printer-delete-pen.html"
>printer_delete_pen</A
>&nbsp;--&nbsp;Delete a pen</DT
><DT
><A
HREF="function.printer-draw-bmp.html"
>printer_draw_bmp</A
>&nbsp;--&nbsp;Draw a bmp</DT
><DT
><A
HREF="function.printer-draw-chord.html"
>printer_draw_chord</A
>&nbsp;--&nbsp;Draw a chord</DT
><DT
><A
HREF="function.printer-draw-elipse.html"
>printer_draw_elipse</A
>&nbsp;--&nbsp;Draw an ellipse</DT
><DT
><A
HREF="function.printer-draw-line.html"
>printer_draw_line</A
>&nbsp;--&nbsp;Draw a line</DT
><DT
><A
HREF="function.printer-draw-pie.html"
>printer_draw_pie</A
>&nbsp;--&nbsp;Draw a pie</DT
><DT
><A
HREF="function.printer-draw-rectangle.html"
>printer_draw_rectangle</A
>&nbsp;--&nbsp;Draw a rectangle</DT
><DT
><A
HREF="function.printer-draw-roundrect.html"
>printer_draw_roundrect</A
>&nbsp;--&nbsp;Draw a rectangle with rounded corners</DT
><DT
><A
HREF="function.printer-draw-text.html"
>printer_draw_text</A
>&nbsp;--&nbsp;Draw text</DT
><DT
><A
HREF="function.printer-end-doc.html"
>printer_end_doc</A
>&nbsp;--&nbsp;Close document</DT
><DT
><A
HREF="function.printer-end-page.html"
>printer_end_page</A
>&nbsp;--&nbsp;Close active page</DT
><DT
><A
HREF="function.printer-get-option.html"
>printer_get_option</A
>&nbsp;--&nbsp;Retrieve printer configuration data</DT
><DT
><A
HREF="function.printer-list.html"
>printer_list</A
>&nbsp;--&nbsp;Return an array of printers attached to the server
    </DT
><DT
><A
HREF="function.printer-logical-fontheight.html"
>printer_logical_fontheight</A
>&nbsp;--&nbsp;Get logical font height</DT
><DT
><A
HREF="function.printer-open.html"
>printer_open</A
>&nbsp;--&nbsp;Open connection to a printer</DT
><DT
><A
HREF="function.printer-select-brush.html"
>printer_select_brush</A
>&nbsp;--&nbsp;Select a brush</DT
><DT
><A
HREF="function.printer-select-font.html"
>printer_select_font</A
>&nbsp;--&nbsp;Select a font</DT
><DT
><A
HREF="function.printer-select-pen.html"
>printer_select_pen</A
>&nbsp;--&nbsp;Select a pen</DT
><DT
><A
HREF="function.printer-set-option.html"
>printer_set_option</A
>&nbsp;--&nbsp;Configure the printer connection</DT
><DT
><A
HREF="function.printer-start-doc.html"
>printer_start_doc</A
>&nbsp;--&nbsp;Start a new document</DT
><DT
><A
HREF="function.printer-start-page.html"
>printer_start_page</A
>&nbsp;--&nbsp;Start a new page</DT
><DT
><A
HREF="function.printer-write.html"
>printer_write</A
>&nbsp;--&nbsp;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.pdo-pgsqllobunlink.html"
ACCESSKEY="P"
>上一页</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>起始页</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="function.printer-abort.html"
ACCESSKEY="N"
>下一页</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>PDO::pgsqlLOBUnlink</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="funcref.html"
ACCESSKEY="U"
>上一级</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>printer_abort</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>