Lines Matching defs:printer

52  * This modules contains the code required to manipulate printer objects in
65 #define ATTR_URI "printer-uri"
66 #define ATTR_PNAME "printer-name"
67 #define ATTR_XRISUP "printer-xri-supported"
68 #define ATTR_BSDADDR "sun-printer-bsdaddr"
69 #define ATTR_KVP "sun-printer-kvp"
86 "printer-uri",
87 "printer-xri-supported",
88 /* Not allowed "printer-name", */
89 "printer-natural-language-configured",
90 "printer-location",
91 "printer-info",
92 "printer-more-info",
93 "printer-make-and-model",
94 "printer-charset-configured",
95 "printer-charset-supported",
96 "printer-generated-natural-language-supported",
97 "printer-document-format-supported",
98 "printer-color-supported",
99 "printer-compression-supported",
100 "printer-pages-per-minute",
101 "printer-pages-per-minute-color",
102 "printer-finishings-supported",
103 "printer-number-up-supported",
104 "printer-sides-supported",
105 "printer-media-supported",
106 "printer-media-local-supported",
107 "printer-resolution-supported",
108 "printer-print-quality-supported",
109 "printer-job-priority-supported",
110 "printer-copies-supported",
111 "printer-job-k-octets-supported",
112 "printer-current-operator",
113 "printer-service-person",
114 "printer-delivery-orientation-supported",
115 "printer-stacking-order-supported",
116 "printer-output-features-supported",
122 "printer-ipp-versions-supported",
123 "printer-multiple-document-jobs-supported",
128 /* Not allowed "sun-printer-bsdaddr", */
129 /* Not allowed "sun-printer-kvp", */
140 ATTR_PNAME, /* printer-name */
183 * Description: Action the request to change a printer object in the LDAP
196 * Input: const ns_printer_t *printer
198 * char *printerName - name of the printer
203 * for the printer object. If the object does
218 ldap_put_printer(const ns_printer_t *printer)
237 if ((printer != NULL) &&
238 (printer->attributes == NULL) && (printer->name != NULL))
242 printerName = printer->name;
243 cred = printer->cred;
244 if (printer->nsdata != NULL)
246 attrList = ((NS_LDAPDATA *)(printer->nsdata))->attrList;
276 * could not find the printer by printer-name,
278 * so if the printer-uri was given check if
331 * Modify the printer object to
343 * add new printer object into the
398 * char *printerName - printer name used only for error messages
514 * Description: Construct the DN for the printer object from its name and NS
515 * domain DN. If the printer-uri is given in the attrList then
521 * char **attrList - this list is searched for printer-uri
541 /* first search for printer-uri in the attribute list */
611 * Description: Check that the printer object for the printerName exists in the
618 * uchar_t *printerName - printer name
620 * Output: uchar_t **printerDN - DN of the printer - the caller should
706 * Description: Check that the printer object for the DN exists in the
768 * Description: Check that the printer object for the printerDN is a sunPrinter
773 * Output: uchar_t *printerDN - DN of the printer
809 /* check that the printer object exists */
839 * Description: For the given printerName add a printer object into the
841 * supplied attribute values. Note: if the printer's uri is
842 * given that is used as the RDN otherwise the printer's
847 * uchar_t *printerName - Name of printer to be added
848 * uchar_t *domainDN - DN of the domain to add the printer
878 * construct a DN for the printer from the
879 * printerName and printer-uri if given.
937 * Description: Modify the given LDAP printer object to set the new attributes
938 * in the attribute list. If the printer's URI (specified in the
943 * uchar_t *printerDN - DN of printer object to modify
944 * uchar_t *printerName - Name of printer to be modified
945 * uchar_t *domainDN - DN of the domain the printer is in
976 * The user may have requested that the printer object
978 * printer from the printerName or the printer-uri (if
1030 * printer-uri name change has been requested
1032 * a new printer object is created
1454 * LDAPMod array for the printer object to be added. Default
1459 * uchar_t *printerName - Name of printer to be added
1486 * setup printer object attribute values in an LDAPMod structure
1545 * sun-printer-kvp=description=printer
1587 * LDAPMod array for the printer object to be modified
1590 * Input: uchar_t *printerName - name of printer to be modified
1672 * sun-printer-kvp=description=printer
1775 * Description: For the 2 given printer object DNs compare the naming part
1776 * part of the DN (printer-uri) to see if they are the same.
1809 /* terminate each string after the printer-uri */
2027 * sun printer objectclass. Note: some attributes are handled
2074 * Description: For the given printer object read the current set of values
2075 * the object has for the sun-printer-kvp (Key Value pair)