diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2020-01-20 14:34:50 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2020-01-20 14:34:50 +0900 |
commit | 18f845d5c45ec8fd9baf396e4fbe071a9be7ed6a (patch) | |
tree | 170b685c30fa45a45667e629a19059523a0d2938 /doc/help/cupspm.html | |
parent | cc669fe9bb14b037c6c7d88bea780cf053664b15 (diff) | |
download | cups-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.html | 6 |
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 © 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, "printer-state", IPP_TAG_ENUM)) != NULL) { printf("printer-state=%s\n", - ippTagString("printer-state", ippGetInteger(attr, 0))); + ippEnumString("printer-state", ippGetInteger(attr, 0))); } else puts("printer-state=unknown"); @@ -1122,7 +1122,7 @@ if ((attr = ippFindAttribute(response, "printer-state-reasons", </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> |