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

search for in the

ps_lineto> <ps_hyphenate
Last updated: Wed, 23 Jul 2008

view this page in

ps_include_file

(PECL ps:1.3.4-1.3.5)

ps_include_fileReads an external file with raw PostScript code

Description

bool ps_include_file ( resource $psdoc , string $file )

Warning

This function is currently not documented; only its argument list is available.

Parameters

psdoc

Resource identifier of the postscript file as returned by ps_new().

file

Return Values

Returns TRUE on success or FALSE on failure.



add a note add a note User Contributed Notes
ps_include_file
lindsay at dingos dot net
14-Mar-2008 02:43
This method allows you to insert raw postscript at any point in the postscript document.
You can use this function to include 'Barcodes in pure PostScript' in the prolog of your postscript document, and then create a temporary file that contains the necessary postscript to actually call the barcode generating postscript function at whatever point in your document you want it to appear.

it would be nice if there was an alternate form of this function that allowed you to just insert the raw postscript other than make a temporary file to be opened by the function.

ps_lineto> <ps_hyphenate
Last updated: Wed, 23 Jul 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites