★ wanayoo — archive 1999 http://www.php.net/manual/function.pdf-open.phpNouvelle recherche | Portail wanayoo

PHP Home Page

Manual Table of Contents
Up to PDF
Quick Reference
German version of this pageJapanese version of this pageItalian version of this pageFrench version of this pageHungarian version of this page
PDF
* PDF_get_info
* PDF_set_info
* PDF_open
* PDF_close
* PDF_begin_page
* PDF_end_page
* PDF_show
* PDF_show_boxed
* PDF_show_xy
* PDF_set_font
* PDF_set_leading
* PDF_set_parameter
* PDF_get_parameter
* PDF_set_value
* PDF_get_value
* PDF_set_text_rendering
* PDF_set_horiz_scaling
* PDF_set_text_rise
* PDF_set_text_matrix
* PDF_set_text_pos
* PDF_set_char_spacing
* PDF_set_word_spacing
* PDF_skew
* PDF_continue_text
* PDF_stringwidth
* PDF_save
* PDF_restore
* PDF_translate
* PDF_scale
* PDF_rotate
* PDF_setflat
* PDF_setlinejoin
* PDF_setlinecap
* PDF_setmiterlimit
* PDF_setlinewidth
* PDF_setdash
* PDF_moveto
* PDF_curveto
* PDF_lineto
* PDF_circle
* PDF_arc
* PDF_rect
* PDF_closepath
* PDF_stroke
* PDF_closepath_stroke
* PDF_fill
* PDF_fill_stroke
* PDF_closepath_fill_stroke
* PDF_endpath
* PDF_clip
* PDF_setgray_fill
* PDF_setgray_stroke
* PDF_setgray
* PDF_setrgbcolor_fill
* PDF_setrgbcolor_stroke
* PDF_setrgbcolor
* PDF_add_outline
* PDF_set_transition
* PDF_set_duration
* PDF_open_gif
* PDF_open_png
* PDF_open_memory_image
* PDF_open_jpeg
* PDF_close_image
* PDF_place_image
* PDF_put_image
* PDF_execute_image
* pdf_add_annotation
* PDF_set_border_style
* PDF_set_border_color
* PDF_set_border_dash
Manual: PDF_open
View the source code for this pageSearch the site



Previous page
 PDF_set_info
 Updated
Sat, 12 Aug 2000
PDF_close 
Next page


PDF_open

(unknown)

PDF_open -- Opens a new pdf document

Description

int pdf_open (int file, int info)

The PDF_open() function opens a new pdf document. The corresponding file has to be opened with fopen() and the file descriptor passed as argument file. info is the info structure that has to be created with pdf_get_info(). The info structure will be deleted within this function.

Note: The return value is needed as the first parameter in all other functions writing to the pdf document.

Note: This function does not allow the second parameter if pdflib 2.0 support is activated.

See also fopen(), PDF_get_info(), PDF_close().


User Contributed Notes: PDF_open


nospamryan@ribbett.com
10-Aug-1999 01:43
This currently does not work on any Windows distribution I've seen. There is a rumor that if you find pdflib version 2.01 compiled for Windows it may work, but I haven't seen it. 0.6 is the only version I've found in Windows distributions and it dies.

<>< Ryan



hyeni@hotmail.com
22-Feb-2000 09:12
Hi,
where can we find pdflib 2.01 in order to work with PDF_Open on WINDOWS NT with IIS?



bobl@alerton.com
08-Apr-2000 02:53
PDF_open doesn't work on Windows from php3_pdflib.dll (with the version 0.6). Is there anyone who has a 2.01 pdflib.dll?


Andrew@BlueRibbonInternet.com
29-Jun-2000 11:15
With the help of someone else, I have created a Binary that works for PDFlib and PHP. If you want a copy feel free to email me.


 About Notes


Previous page
 PDF_set_info
 Updated
Sat, 12 Aug 2000
PDF_close 
Next page





Who's responsible for this?
Top of this page

Site
Hosting:



Located in
United States
Elements of this website are subject to copyright.
Questions about installing or using PHP should be directed to one of the mailing lists.
Only questions about the website should be directed to webmaster@php.net.