GoLang ps_new

request it (363)
GoLang replacement for PHP's ps_new [edit | history]

Do you know a GoLang replacement for PHP's ps_new? Write it!

PHP ps_new

PHP original manual for ps_new [ show | php.net ]


(PECL ps >= 1.1.0)

ps_newCreates a new PostScript document object


resource ps_new ( void )

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.

Return Values

Resource of PostScript document or FALSE on failure. The return value is passed to all other functions as the first argument.

See Also

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