summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRay Johnston <ray.johnston@artifex.com>2018-09-10 07:42:13 -0700
committerChris Liddell <chris.liddell@artifex.com>2018-09-10 17:43:48 +0100
commit7738ffa5136549dd0cdcdf89974e339187246998 (patch)
tree5185243067aac4b826dc2c9dc4009bb781a00db1
parent7146378240f90bf4171ae7a2a00cc9d46eaec86d (diff)
downloadghostpdl-7738ffa5136549dd0cdcdf89974e339187246998.tar.gz
Correct getdeviceprops documentation
-rw-r--r--doc/Language.htm4
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>&lt;devicename&gt; findprotodevice &lt;device&gt;</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>