---
name: "PS_set_info"
section: "3"
platform: "linux"
package: "pslib-dev"
version: "0.4.8-1+b1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/PS_set_info"
---

# PS\_set\_info(3)

Sets information fields of document

## NAME

PS\_set\_info — Sets information fields of document

## SYNOPSIS

\#include \<pslib.h\>

void PS\_set\_info(PSDoc \*p, const char \*key, const char \*val)

## DESCRIPTION

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, 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(3)](/PS_findfont/3.md) has not been called before.  In such cases the BoundingBox would be left unset unless you set  it explicitly with this function.

## SEE ALSO

[PS\_findfont(3)](/PS_findfont/3.md), [PS\_begin\_page(3)](/PS_begin_page/3.md)

## AUTHOR

This manual page was written by Uwe Steinmann uwe@steinmann.cx.
