From: Michael Sweet
Date: Wed, 29 Nov 2017 23:03:55 +0000 (-0500)
Subject: Update documentation.
X-Git-Tag: v2.3b1~42
X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63b75fbef93c854583d3cb22b951f12ecb75efa3;p=thirdparty%2Fcups.git
Update documentation.
---
diff --git a/doc/help/cupspm.epub b/doc/help/cupspm.epub
index e857f988bc..4809c2e46e 100644
Binary files a/doc/help/cupspm.epub and b/doc/help/cupspm.epub differ
diff --git a/doc/help/cupspm.html b/doc/help/cupspm.html
index b07dadb00e..cb8b8460a2 100644
--- a/doc/help/cupspm.html
+++ b/doc/help/cupspm.html
@@ -198,6 +198,7 @@ h3.title {
Functions
- cupsAddDest
+ - cupsAddDestMediaOptions
- cupsAddIntegerOption
- cupsAddOption
- cupsCancelDestJob
@@ -1171,6 +1172,29 @@ a copy of that destination's options.
Use the cupsSaveDests function to save the updated list of
destinations to the user's lpoptions file.
+
+ Add the option corresponding to the specified media size.
+
+int cupsAddDestMediaOptions(http_t *http, cups_dest_t *dest, cups_dinfo_t *dinfo, unsigned flags, cups_size_t *size, int num_options, cups_option_t **options);
+Parameters
+
+| http |
+ Connection to destination |
+| dest |
+ Destination |
+| dinfo |
+ Destination information |
+| flags |
+ Media matching flags |
+| size |
+ Media size |
+| num_options |
+ Current number of options |
+| options |
+ Options |
+
+Return Value
+ New number of options
Add an integer option to an option array.