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

search for in the

ps_open_image_file> <ps_new
[edit] Last updated: Fri, 17 May 2013

view this page in

ps_open_file

(PECL ps >= 1.1.0)

ps_open_fileAbrir un fichero para su impresión

Descripción

bool ps_open_file ( resource $psdoc [, string $filename ] )

Crea un fichero en disco y escribe el documento PostScript en él. El fichero será cerrado cuando se llame a la función ps_close().

Parámetros

psdoc

El identificador de recursos del fichero postscript, como el devuelto por la función ps_new().

filename

El nombre del fichero postscript. Si no se proporciona filename el documento será creado en memoria y todas las salidas irán directas al visualizador.

Valores devueltos

Devuelve TRUE en caso de éxito o FALSE en caso de error.

Ver también



add a note add a note User Contributed Notes ps_open_file - [1 notes]
up
0
php at catchall dot toao dot net
3 years ago
Today, I used this function and did not specify a path to the file name.  The file was created in C:\Program Files\Apache2.2 instead of the current working directory.  When using this function, be sure to specify the full path to the file that should be created.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites