* Returns 1 if there is a conflict, 0 if there are no conflicts, and -1 if
* there was an unrecoverable error such as a resolver loop.
*
- * If "num_conflicts" and "conflicts" are not NULL, they are set to contain the
- * list of conflicting option/value pairs. Similarly, if "num_resolved" and
- * "resolved" are not NULL they will be set to the list of changes needed to
- * resolve the conflict.
+ * If "num_conflicts" and "conflicts" are not @code NULL@, they are set to
+ * contain the list of conflicting option/value pairs. Similarly, if
+ * "num_resolved" and "resolved" are not @code NULL@ they will be set to the
+ * list of changes needed to resolve the conflict.
*
* If cupsCopyDestConflicts returns 1 but "num_resolved" and "resolved" are set
- * to 0 and NULL, respectively, then the conflict cannot be resolved.
+ * to 0 and @code NULL@, respectively, then the conflict cannot be resolved.
*
* @since CUPS 1.6/OS X 10.8@
*/
/*
* 'cupsGetDestMediaByName()' - Get media names, dimensions, and margins.
*
- * The "media" string is a PWG media name, while "width" and "length" are the
- * dimensions in hundredths of millimeters. "flags" provides some matching
+ * The "media" string is a PWG media name. "Flags" provides some matching
* guidance (multiple flags can be combined):
*
- * CUPS_MEDIA_FLAGS_DEFAULT = find the closest size supported by the printer
- * CUPS_MEDIA_FLAGS_BORDERLESS = find a borderless size
- * CUPS_MEDIA_FLAGS_DUPLEX = find a size compatible with 2-sided printing
- * CUPS_MEDIA_FLAGS_EXACT = find an exact match for the size
+ * CUPS_MEDIA_FLAGS_DEFAULT = find the closest size supported by the printer,
+ * CUPS_MEDIA_FLAGS_BORDERLESS = find a borderless size,
+ * CUPS_MEDIA_FLAGS_DUPLEX = find a size compatible with 2-sided printing,
+ * CUPS_MEDIA_FLAGS_EXACT = find an exact match for the size, and
* CUPS_MEDIA_FLAGS_READY = if the printer supports media sensing, find the
* size amongst the "ready" media.
*
/*
* 'cupsGetDestMediaBySize()' - Get media names, dimensions, and margins.
*
- * The "media" string is a PWG media name, while "width" and "length" are the
- * dimensions in hundredths of millimeters. "flags" provides some matching
- * guidance (multiple flags can be combined):
+ * "Width" and "length" are the dimensions in hundredths of millimeters.
+ * "Flags" provides some matching guidance (multiple flags can be combined):
*
- * CUPS_MEDIA_FLAGS_DEFAULT = find the closest size supported by the printer
- * CUPS_MEDIA_FLAGS_BORDERLESS = find a borderless size
- * CUPS_MEDIA_FLAGS_DUPLEX = find a size compatible with 2-sided printing
- * CUPS_MEDIA_FLAGS_EXACT = find an exact match for the size
+ * CUPS_MEDIA_FLAGS_DEFAULT = find the closest size supported by the printer,
+ * CUPS_MEDIA_FLAGS_BORDERLESS = find a borderless size,
+ * CUPS_MEDIA_FLAGS_DUPLEX = find a size compatible with 2-sided printing,
+ * CUPS_MEDIA_FLAGS_EXACT = find an exact match for the size, and
* CUPS_MEDIA_FLAGS_READY = if the printer supports media sensing, find the
* size amongst the "ready" media.
*
Returns 1 if there is a conflict, 0 if there are no conflicts, and -1 if
there was an unrecoverable error such as a resolver loop.<br>
<br>
-If "num_conflicts" and "conflicts" are not NULL, they are set to contain the
-list of conflicting option/value pairs. Similarly, if "num_resolved" and
-"resolved" are not NULL they will be set to the list of changes needed to
-resolve the conflict.<br>
+If "num_conflicts" and "conflicts" are not <code>NULL</code>, they are set to
+contain the list of conflicting option/value pairs. Similarly, if
+"num_resolved" and "resolved" are not <code>NULL</code> they will be set to the
+list of changes needed to resolve the conflict.<br>
<br>
If cupsCopyDestConflicts returns 1 but "num_resolved" and "resolved" are set
-to 0 and NULL, respectively, then the conflict cannot be resolved.
+to 0 and <code>NULL</code>, respectively, then the conflict cannot be resolved.
</p>
<h3 class="function"><span class="info"> CUPS 1.6/OS X 10.8 </span><a name="cupsCopyDestInfo">cupsCopyDestInfo</a></h3>
<h4 class="returnvalue">Return Value</h4>
<p class="description">1 on match, 0 on failure</p>
<h4 class="discussion">Discussion</h4>
-<p class="discussion">The "media" string is a PWG media name, while "width" and "length" are the
-dimensions in hundredths of millimeters. "flags" provides some matching
+<p class="discussion">The "media" string is a PWG media name. "Flags" provides some matching
guidance (multiple flags can be combined):<br>
<br>
-CUPS_MEDIA_FLAGS_DEFAULT = find the closest size supported by the printer
-CUPS_MEDIA_FLAGS_BORDERLESS = find a borderless size
-CUPS_MEDIA_FLAGS_DUPLEX = find a size compatible with 2-sided printing
-CUPS_MEDIA_FLAGS_EXACT = find an exact match for the size
+CUPS_MEDIA_FLAGS_DEFAULT = find the closest size supported by the printer,
+CUPS_MEDIA_FLAGS_BORDERLESS = find a borderless size,
+CUPS_MEDIA_FLAGS_DUPLEX = find a size compatible with 2-sided printing,
+CUPS_MEDIA_FLAGS_EXACT = find an exact match for the size, and
CUPS_MEDIA_FLAGS_READY = if the printer supports media sensing, find the
size amongst the "ready" media.<br>
<br>
<h4 class="returnvalue">Return Value</h4>
<p class="description">1 on match, 0 on failure</p>
<h4 class="discussion">Discussion</h4>
-<p class="discussion">The "media" string is a PWG media name, while "width" and "length" are the
-dimensions in hundredths of millimeters. "flags" provides some matching
-guidance (multiple flags can be combined):<br>
+<p class="discussion">"Width" and "length" are the dimensions in hundredths of millimeters.
+"Flags" provides some matching guidance (multiple flags can be combined):<br>
<br>
-CUPS_MEDIA_FLAGS_DEFAULT = find the closest size supported by the printer
-CUPS_MEDIA_FLAGS_BORDERLESS = find a borderless size
-CUPS_MEDIA_FLAGS_DUPLEX = find a size compatible with 2-sided printing
-CUPS_MEDIA_FLAGS_EXACT = find an exact match for the size
+CUPS_MEDIA_FLAGS_DEFAULT = find the closest size supported by the printer,
+CUPS_MEDIA_FLAGS_BORDERLESS = find a borderless size,
+CUPS_MEDIA_FLAGS_DUPLEX = find a size compatible with 2-sided printing,
+CUPS_MEDIA_FLAGS_EXACT = find an exact match for the size, and
CUPS_MEDIA_FLAGS_READY = if the printer supports media sensing, find the
size amongst the "ready" media.<br>
<br>