summaryrefslogtreecommitdiff
path: root/doc/help/cupspm.html
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2020-01-20 14:34:50 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2020-01-20 14:34:50 +0900
commit18f845d5c45ec8fd9baf396e4fbe071a9be7ed6a (patch)
tree170b685c30fa45a45667e629a19059523a0d2938 /doc/help/cupspm.html
parentcc669fe9bb14b037c6c7d88bea780cf053664b15 (diff)
downloadcups-18f845d5c45ec8fd9baf396e4fbe071a9be7ed6a.tar.gz
cups-18f845d5c45ec8fd9baf396e4fbe071a9be7ed6a.tar.bz2
cups-18f845d5c45ec8fd9baf396e4fbe071a9be7ed6a.zip
Imported Upstream version 2.2.5upstream/2.2.5
Diffstat (limited to 'doc/help/cupspm.html')
-rw-r--r--doc/help/cupspm.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/help/cupspm.html b/doc/help/cupspm.html
index d0d6600..ba52cad 100644
--- a/doc/help/cupspm.html
+++ b/doc/help/cupspm.html
@@ -8,7 +8,7 @@
<meta name="creator" content="Mini-XML v2.11">
<meta name="author" content="Michael R Sweet">
<meta name="copyright" content="Copyright &#xa9; 2007-2017 by Apple Inc. All Rights Reserved.">
- <meta name="version" content="2.2.4">
+ <meta name="version" content="2.2.5">
<style type="text/css"><!--
body, p, h1, h2, h3, h4 {
font-family: sans-serif;
@@ -1098,7 +1098,7 @@ if ((attr = ippFindAttribute(response, &quot;printer-state&quot;,
IPP_TAG_ENUM)) != NULL)
{
printf(&quot;printer-state=%s\n&quot;,
- ippTagString(&quot;printer-state&quot;, ippGetInteger(attr, 0)));
+ ippEnumString(&quot;printer-state&quot;, ippGetInteger(attr, 0)));
}
else
puts(&quot;printer-state=unknown&quot;);
@@ -1122,7 +1122,7 @@ if ((attr = ippFindAttribute(response, &quot;printer-state-reasons&quot;,
</code></pre>
<p>The <code>ippGetCount</code> function returns the number of values in an attribute.</p>
<p>The <code>ippGetInteger</code> and <code>ippGetString</code> functions return a single integer or string value from an attribute.</p>
- <p>The <code>ippTagString</code> function converts a enum value to its keyword (string) equivalent.</p>
+ <p>The <code>ippEnumString</code> function converts a enum value to its keyword (string) equivalent.</p>
<p>Once you are done using the IPP response message, free it using the <code>ippDelete</code> function:</p>
<pre><code>ippDelete(response);
</code></pre>