No cache version.
Caching disabled. Default setting for this page:enabled (code LNG204)
If the display is too slow, you can disable the user mode to view the cached version.
ps_get_parameter
(PECL ps >= 1.1.0)
ps_get_parameter — Gets certain parameters
Description
$psdoc
, string $name
[, float $modifier
] ) : stringGets several parameters which were directly set by ps_set_parameter() or indirectly by one of the other functions. Parameters are by definition string values. This function cannot be used to retrieve resources which were also set by ps_set_parameter().
The parameter name
can have the following values.
- fontname
-
The name of the currently active font or the font whose identifier is passed in parameter
modifier
. - fontencoding
-
The encoding of the currently active font.
- dottedversion
-
The version of the underlying pslib library in the format <major>.<minor>.<subminor>
- scope
-
The current drawing scope. Can be object, document, null, page, pattern, path, template, prolog, font, glyph.
- ligaturedisolvechar
-
The character which dissolves a ligature. If your are using a font which contains the ligature `ff' and `|' is the char to dissolve the ligature, then `f|f' will result in two `f' instead of the ligature `ff'.
- imageencoding
-
The encoding used for encoding images. Can be either hex or 85. hex encoding uses two bytes in the postscript file each byte in the image. 85 stand for Ascii85 encoding.
- linenumbermode
-
Set to paragraph if lines are numbered within a paragraph or box if they are numbered within the surrounding box.
- linebreak
-
Only used if text is output with ps_show_boxed(). If set to
TRUE
a carriage return will add a line break. - parbreak
-
Only used if text is output with ps_show_boxed(). If set to
TRUE
a carriage return will start a new paragraph. - hyphenation
-
Only used if text is output with ps_show_boxed(). If set to
TRUE
the paragraph will be hyphenated if a hypen dictionary is set and exists. - hyphendict
-
Filename of the dictionary used for hyphenation pattern.
Parameters
-
psdoc
-
Resource identifier of the postscript file as returned by ps_new().
-
name
-
Name of the parameter.
-
modifier
-
An identifier needed if a parameter of a resource is requested, e.g. the size of an image. In such a case the resource id is passed.
English translation
You have asked to visit this site in English. For now, only the interface is translated, but not all the content yet.If you want to help me in translations, your contribution is welcome. All you need to do is register on the site, and send me a message asking me to add you to the group of translators, which will give you the opportunity to translate the pages you want. A link at the bottom of each translated page indicates that you are the translator, and has a link to your profile.
Thank you in advance.
Document created the 30/01/2003, last modified the 26/10/2018
Source of the printed document:https://www.gaudry.be/en/php-rf-ps-get-parameter.html
The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.
References
These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.