diff options
author | Ray Johnston <ray.johnston@artifex.com> | 2018-09-10 07:42:13 -0700 |
---|---|---|
committer | Chris Liddell <chris.liddell@artifex.com> | 2018-09-10 17:43:48 +0100 |
commit | 7738ffa5136549dd0cdcdf89974e339187246998 (patch) | |
tree | 5185243067aac4b826dc2c9dc4009bb781a00db1 | |
parent | 7146378240f90bf4171ae7a2a00cc9d46eaec86d (diff) | |
download | ghostpdl-7738ffa5136549dd0cdcdf89974e339187246998.tar.gz |
Correct getdeviceprops documentation
-rw-r--r-- | doc/Language.htm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/Language.htm b/doc/Language.htm index bc2acf1cf..73bdfeda2 100644 --- a/doc/Language.htm +++ b/doc/Language.htm @@ -958,7 +958,7 @@ time, and returns the same instance thereafter.</dd> <dl> <dt><code><devicename> findprotodevice <device></code></dt> <dd>Finds the prototype of a device specified by name. A prototype can be -used with <code>.getdeviceparams</code> or other parameter-reading +used with <code>getdeviceprops</code> or other parameter-reading operators, but it is read-only and cannot be set with <code>setdevice</code>: it must be copied first.</dd> </dl> @@ -1510,7 +1510,7 @@ same name. Using PostScript there are several methods:</p> <pre> currentpagedevice /pageneutralcolor get - mark currentdevice //null .getdeviceprops .dicttomark /pageneutralcolor get + mark currentdevice getdeviceprops .dicttomark /pageneutralcolor get /pageneutralcolor /GetDeviceParam .special_op { exch pop }{ //false } ifelse </pre> |