diff options
author | Michael Sweet <michael.r.sweet@gmail.com> | 2017-05-31 22:22:40 -0400 |
---|---|---|
committer | Michael Sweet <michael.r.sweet@gmail.com> | 2017-05-31 22:22:40 -0400 |
commit | 53af7f21603aaf2100a8915e88329ff5d002a086 (patch) | |
tree | b2dc6388e5f25c5b415b0530e145c8c54a962a78 /cups/cupspm.md | |
parent | f50db552c566e2525bada17e5c50606701a1a0d7 (diff) | |
download | cups-53af7f21603aaf2100a8915e88329ff5d002a086.tar.gz |
Documentation updates.
Diffstat (limited to 'cups/cupspm.md')
-rw-r--r-- | cups/cupspm.md | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/cups/cupspm.md b/cups/cupspm.md index 97f2049d6..5bbce4b5a 100644 --- a/cups/cupspm.md +++ b/cups/cupspm.md @@ -294,8 +294,8 @@ destination attributes: - "printer-state-reasons": Additional comma-delimited state keywords for the destination such as "media-tray-empty-error" and "toner-low-warning". - "printer-type": The `cups_ptype_t` value associated with the destination. -- "printer-uri": The URI associated with the destination; if not set, this - destination was discovered but is not yet setup as a local printer. +- "printer-uri-supported": The URI associated with the destination; if not set, + this destination was discovered but is not yet setup as a local printer. Use the `cupsGetOption` function to retrieve the value. For example, the following code gets the make and model of a destination: @@ -304,6 +304,7 @@ following code gets the make and model of a destination: dest->num_options, dest->options); + ## Detailed Destination Information Once a destination has been chosen, the `cupsCopyDestInfo` function can be used @@ -321,6 +322,7 @@ supported options and their supported, ready, and default values. It also can report constraints between different options and values, and recommend changes to resolve those constraints. + ### Getting Supported Options and Values The `cupsCheckDestSupported` function can be used to test whether a particular |