ps_new

(PECL ps >= 1.1.0)

ps_newCreates a new PostScript document object

说锟斤拷

ps_new ( void ) : resource

Creates a new document instance. It does not create the file on disk or in memory, it just sets up everything. ps_new() is usually followed by a call of ps_open_file() to actually create the postscript document.

锟斤拷锟斤拷值

Resource of PostScript document 锟斤拷锟斤拷锟斤拷失锟斤拷时锟斤拷锟斤拷 FALSE. The return value is passed to all other functions as the first argument.

锟轿硷拷

  • ps_delete() - Deletes all resources of a PostScript document