ps_set_value

(PECL ps >= 1.1.0) Sets certain values bool ps_set_value ( resource $psdoc, string $name, float $value ) Sets several values which are used by many functions. Parameters are by definition float values. Parameters: psdoc Resource identifier of the postscript file as returned by ps_new(). name The name can be one of the following:

ps_set_text_pos

(PECL ps >= 1.1.0) Sets position for text output bool ps_set_text_pos ( resource $psdoc, float $x, float $y ) Set the position for the next text output. You may alternatively set the x and y value separately by calling ps_set_value() and choosing textx respectively texty as the value name. If you want to output text at a certain position it is more convenient to use ps_show_xy() instead of setting the text position and

ps_set_parameter

(PECL ps >= 1.1.0) Sets certain parameters bool ps_set_parameter ( resource $psdoc, string $name, string $value ) Sets several parameters which are used by many functions. Parameters are by definition string values. Parameters: psdoc Resource identifier of the postscript file as returned by ps_new(). name For a list of possible names

ps_set_info

(PECL ps >= 1.1.0) Sets information fields of document bool ps_set_info ( resource $p, string $key, string $val ) Sets certain information fields of the document. This fields will be shown as a comment in the header of the PostScript file. If the document is converted to pdf this fields will also be used for the document information. The BoundingBox is usually set to the value given to the first page. This only works if

ps_set_border_style

(PECL ps >= 1.1.0) Sets border style of annotations bool ps_set_border_style ( resource $psdoc, string $style, float $width ) Links added with one of the functions ps_add_weblink(), ps_add_pdflink(), etc. will be displayed with a surounded rectangle when the postscript document is converted to pdf and viewed in a pdf viewer. This rectangle is not visible in the postscript document. This function sets the appearance and wi

ps_set_border_dash

(PECL ps >= 1.1.0) Sets length of dashes for border of annotations bool ps_set_border_dash ( resource $psdoc, float $black, float $white ) Links added with one of the functions ps_add_weblink(), ps_add_pdflink(), etc. will be displayed with a surounded rectangle when the postscript document is converted to pdf and viewed in a pdf viewer. This rectangle is not visible in the postscript document. This function sets the leng

ps_set_border_color

(PECL ps >= 1.1.0) Sets color of border for annotations bool ps_set_border_color ( resource $psdoc, float $red, float $green, float $blue ) Links added with one of the functions ps_add_weblink(), ps_add_pdflink(), etc. will be displayed with a surounded rectangle when the postscript document is converted to pdf and viewed in a pdf viewer. This rectangle is not visible in the postscript document. This function sets the col

ps_scale

(PECL ps >= 1.1.0) Sets scaling factor bool ps_scale ( resource $psdoc, float $x, float $y ) Sets horizontal and vertical scaling of the coordinate system. Parameters: psdoc Resource identifier of the postscript file as returned by ps_new(). x Scaling factor in horizontal direction. y Scaling facto

ps_save

(PECL ps >= 1.1.0) Save current context bool ps_save ( resource $psdoc ) Saves the current graphics context, containing colors, translation and rotation settings and some more. A saved context can be restored with ps_restore(). Parameters: psdoc Resource identifier of the postscript file as returned by ps_new(). Returns: Returns TRUE on succes

ps_rotate

(PECL ps >= 1.1.0) Sets rotation factor bool ps_rotate ( resource $psdoc, float $rot ) Sets the rotation of the coordinate system. Parameters: psdoc Resource identifier of the postscript file as returned by ps_new(). rot Angle of rotation in degree. Returns: Returns TRUE on success or FALSE on failure.