PHP 手册
后退 |  | 前进

# ps_set_info

(PECL)

ps_set_info -- 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. The values which can be set are Keywords, Subject, Title, Creator, Author, BoundingBox, and Orientation. Be aware that some of them has a meaning to PostScript viewers.

The BoundingBox is usually set to the value given to the first page. This only works if ps_findfont() has not been called before. In such cases the BoundingBox would be left unset unless you set it explicitly with this function.

## 返回值

如果成功则返回 `TRUE`，失败则返回 `FALSE`。

## 参见

ps_findfont()
ps_begin_page()

后退 | 起点 | 前进
ps_set_border_style | 上一级 | ps_set_parameter