| 1 |
<!DOCTYPE node PUBLIC |
| 2 |
"-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" |
| 3 |
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"> |
| 4 |
|
| 5 |
<node name="/org/fedoraproject/Config/Printing" |
| 6 |
xmlns:doc="http://www.freedesktop.org/dbus/1.0/doc.dtd"> |
| 7 |
<interface name="org.fedoraproject.Config.Printing"> |
| 8 |
<doc:doc> |
| 9 |
<doc:description> |
| 10 |
<doc:para> |
| 11 |
This interface is for configuring printing. |
| 12 |
</doc:para> |
| 13 |
</doc:description> |
| 14 |
</doc:doc> |
| 15 |
|
| 16 |
<method name="NewPrinterDialog"> |
| 17 |
<doc:doc> |
| 18 |
<doc:description> |
| 19 |
<doc:para> |
| 20 |
Create a New Printer dialog object. |
| 21 |
</doc:para> |
| 22 |
</doc:description> |
| 23 |
</doc:doc> |
| 24 |
|
| 25 |
<arg name="path" type="s" direction="out"> |
| 26 |
<doc:doc> |
| 27 |
<doc:summary> |
| 28 |
<doc:para> |
| 29 |
Path of D-Bus object representing dialog. This object |
| 30 |
supports the interface |
| 31 |
org.fedoraproject.Config.Printing.NewPrinterDialog. |
| 32 |
</doc:para> |
| 33 |
</doc:summary> |
| 34 |
</doc:doc> |
| 35 |
</arg> |
| 36 |
</method> |
| 37 |
|
| 38 |
<method name="PrinterPropertiesDialog"> |
| 39 |
<doc:doc> |
| 40 |
<doc:description> |
| 41 |
<doc:para> |
| 42 |
Create a Printer Properties dialog object. |
| 43 |
</doc:para> |
| 44 |
</doc:description> |
| 45 |
</doc:doc> |
| 46 |
|
| 47 |
<arg name="name" type="s" direction="in"> |
| 48 |
<doc:doc> |
| 49 |
<doc:summary> |
| 50 |
<doc:para> |
| 51 |
Name of queue to create properties dialog for. |
| 52 |
</doc:para> |
| 53 |
</doc:summary> |
| 54 |
</doc:doc> |
| 55 |
</arg> |
| 56 |
|
| 57 |
<arg name="path" type="s" direction="out"> |
| 58 |
<doc:doc> |
| 59 |
<doc:summary> |
| 60 |
<doc:para> |
| 61 |
Path of D-Bus object representing dialog. This object |
| 62 |
supports the interface |
| 63 |
org.fedoraproject.Config.Printing.PrinterPropertiesDialog. |
| 64 |
</doc:para> |
| 65 |
</doc:summary> |
| 66 |
</doc:doc> |
| 67 |
</arg> |
| 68 |
</method> |
| 69 |
|
| 70 |
<method name="JobApplet"> |
| 71 |
<doc:doc> |
| 72 |
<doc:description> |
| 73 |
<doc:para> |
| 74 |
Create a new job applet if there is not already one running. |
| 75 |
</doc:para> |
| 76 |
</doc:description> |
| 77 |
</doc:doc> |
| 78 |
|
| 79 |
<arg name="path" type="s" direction="out"> |
| 80 |
<doc:doc> |
| 81 |
<doc:summary> |
| 82 |
<doc:para> |
| 83 |
Path of D-Bus object representing job applet. This |
| 84 |
object supports the interface |
| 85 |
org.fedoraproject.Config.Printing.JobApplet. |
| 86 |
</doc:para> |
| 87 |
</doc:summary> |
| 88 |
</doc:doc> |
| 89 |
</arg> |
| 90 |
</method> |
| 91 |
|
| 92 |
<method name="GetBestDrivers"> |
| 93 |
<doc:doc> |
| 94 |
<doc:description> |
| 95 |
<doc:para> |
| 96 |
Determine the best available drivers for a particular |
| 97 |
device. |
| 98 |
</doc:para> |
| 99 |
</doc:description> |
| 100 |
</doc:doc> |
| 101 |
|
| 102 |
<arg name="device_id" type="s" direction="in"> |
| 103 |
<doc:doc> |
| 104 |
<doc:summary> |
| 105 |
<doc:para> |
| 106 |
The IEEE 1284 Device ID of the device, if available. |
| 107 |
</doc:para> |
| 108 |
</doc:summary> |
| 109 |
</doc:doc> |
| 110 |
</arg> |
| 111 |
|
| 112 |
<arg name="device_make_and_model" type="s" direction="in"> |
| 113 |
<doc:doc> |
| 114 |
<doc:summary> |
| 115 |
<doc:para> |
| 116 |
The device-make-and-model string (for example, as |
| 117 |
reported by CUPS), if available. |
| 118 |
</doc:para> |
| 119 |
</doc:summary> |
| 120 |
</doc:doc> |
| 121 |
</arg> |
| 122 |
|
| 123 |
<arg name="device_uri" type="s" direction="in"> |
| 124 |
<doc:doc> |
| 125 |
<doc:summary> |
| 126 |
<doc:para> |
| 127 |
The device URI of the IPP device, if known. |
| 128 |
</doc:para> |
| 129 |
</doc:summary> |
| 130 |
</doc:doc> |
| 131 |
</arg> |
| 132 |
|
| 133 |
<arg name="drivers" type="a(ss)" direction="out"> |
| 134 |
<doc:doc> |
| 135 |
<doc:summary> |
| 136 |
<doc:para> |
| 137 |
A list of the best available drivers, and how good a fit |
| 138 |
they are; most preferred first. |
| 139 |
</doc:para> |
| 140 |
<doc:para> |
| 141 |
Each element of the list is a pair of (ppd-name,fit). |
| 142 |
The fit will be one of <doc:tt>exact-cmd</doc:tt> |
| 143 |
(strongest), <doc:tt>exact</doc:tt>, |
| 144 |
<doc:tt>close</doc:tt>, <doc:tt>generic</doc:tt>, |
| 145 |
<doc:tt>none</doc:tt> (weakest). |
| 146 |
</doc:para> |
| 147 |
</doc:summary> |
| 148 |
</doc:doc> |
| 149 |
</arg> |
| 150 |
</method> |
| 151 |
|
| 152 |
<method name="MissingExecutables"> |
| 153 |
<doc:doc> |
| 154 |
<doc:description> |
| 155 |
<doc:para> |
| 156 |
Determine whether a driver requires more packages to be |
| 157 |
installed. |
| 158 |
</doc:para> |
| 159 |
</doc:description> |
| 160 |
</doc:doc> |
| 161 |
|
| 162 |
<arg name="ppd_filename" type="s" direction="in"> |
| 163 |
<doc:doc> |
| 164 |
<doc:summary> |
| 165 |
<doc:para> |
| 166 |
The filename of the PPD to examine. |
| 167 |
</doc:para> |
| 168 |
</doc:summary> |
| 169 |
</doc:doc> |
| 170 |
</arg> |
| 171 |
|
| 172 |
<arg name="missing_executables" type="as" direction="out"> |
| 173 |
<doc:doc> |
| 174 |
<doc:summary> |
| 175 |
<doc:para> |
| 176 |
A list of missing executables required by the PPD. They |
| 177 |
may not be full pathnames if not known. |
| 178 |
</doc:para> |
| 179 |
</doc:summary> |
| 180 |
</doc:doc> |
| 181 |
</arg> |
| 182 |
</method> |
| 183 |
|
| 184 |
<method name="GroupPhysicalDevices"> |
| 185 |
<doc:doc> |
| 186 |
<doc:description> |
| 187 |
<doc:para> |
| 188 |
Identify groups of device URIs that belong to the same |
| 189 |
physical device. |
| 190 |
</doc:para> |
| 191 |
</doc:description> |
| 192 |
</doc:doc> |
| 193 |
|
| 194 |
<arg name="devices" type="a{sa{ss}}" direction="in"> |
| 195 |
<doc:doc> |
| 196 |
<doc:summary> |
| 197 |
<doc:para> |
| 198 |
A dictionary, indexed by device URI, of dictionaries of |
| 199 |
IPP attributes. Attributes that may be used include |
| 200 |
<doc:tt>device-id</doc:tt>, |
| 201 |
<doc:tt>device-make-and-model</doc:tt>, and |
| 202 |
<doc:tt>device-class</doc:tt>. |
| 203 |
</doc:para> |
| 204 |
</doc:summary> |
| 205 |
</doc:doc> |
| 206 |
</arg> |
| 207 |
|
| 208 |
<arg name="grouped_devices" type="aas" direction="out"> |
| 209 |
<doc:doc> |
| 210 |
<doc:summary> |
| 211 |
<doc:para> |
| 212 |
A list of physical devices, each physical device |
| 213 |
represented by a list of device URIs referring to it. |
| 214 |
</doc:para> |
| 215 |
</doc:summary> |
| 216 |
</doc:doc> |
| 217 |
</arg> |
| 218 |
</method> |
| 219 |
</interface> |
| 220 |
|
| 221 |
<interface name="org.fedoraproject.Config.Printing.NewPrinterDialog"> |
| 222 |
<doc:doc> |
| 223 |
<doc:description> |
| 224 |
<doc:para> |
| 225 |
This interface is for controlling the New Printer dialog. |
| 226 |
</doc:para> |
| 227 |
</doc:description> |
| 228 |
</doc:doc> |
| 229 |
|
| 230 |
<method name="NewPrinterFromDevice"> |
| 231 |
<doc:doc> |
| 232 |
<doc:description> |
| 233 |
<doc:para> |
| 234 |
Present the dialog without asking which device to use. |
| 235 |
</doc:para> |
| 236 |
</doc:description> |
| 237 |
</doc:doc> |
| 238 |
|
| 239 |
<arg name="xid" type="u" direction="in"> |
| 240 |
<doc:doc> |
| 241 |
<doc:summary> |
| 242 |
<doc:para> |
| 243 |
The window X ID of the parent. |
| 244 |
</doc:para> |
| 245 |
</doc:summary> |
| 246 |
</doc:doc> |
| 247 |
</arg> |
| 248 |
|
| 249 |
<arg name="device_uri" type="s" direction="in"> |
| 250 |
<doc:doc> |
| 251 |
<doc:summary> |
| 252 |
<doc:para> |
| 253 |
The device URI to use. |
| 254 |
</doc:para> |
| 255 |
</doc:summary> |
| 256 |
</doc:doc> |
| 257 |
</arg> |
| 258 |
|
| 259 |
<arg name="device_id" type="s" direction="in"> |
| 260 |
<doc:doc> |
| 261 |
<doc:summary> |
| 262 |
<doc:para> |
| 263 |
The IEEE 1284 Device ID of the device. |
| 264 |
</doc:para> |
| 265 |
</doc:summary> |
| 266 |
</doc:doc> |
| 267 |
</arg> |
| 268 |
</method> |
| 269 |
|
| 270 |
<method name="DownloadDriverForDeviceID"> |
| 271 |
<doc:doc> |
| 272 |
<doc:description> |
| 273 |
<doc:para> |
| 274 |
Search for downloadable drivers on OpenPrinting and present them for installation. |
| 275 |
</doc:para> |
| 276 |
</doc:description> |
| 277 |
</doc:doc> |
| 278 |
|
| 279 |
<arg name="xid" type="u" direction="in"> |
| 280 |
<doc:doc> |
| 281 |
<doc:summary> |
| 282 |
<doc:para> |
| 283 |
The window X ID of the parent. |
| 284 |
</doc:para> |
| 285 |
</doc:summary> |
| 286 |
</doc:doc> |
| 287 |
</arg> |
| 288 |
|
| 289 |
<arg name="device_id" type="s" direction="in"> |
| 290 |
<doc:doc> |
| 291 |
<doc:summary> |
| 292 |
<doc:para> |
| 293 |
The IEEE 1284 Device ID of the device. |
| 294 |
</doc:para> |
| 295 |
</doc:summary> |
| 296 |
</doc:doc> |
| 297 |
</arg> |
| 298 |
</method> |
| 299 |
|
| 300 |
<method name="ChangePPD"> |
| 301 |
<doc:doc> |
| 302 |
<doc:description> |
| 303 |
<doc:para> |
| 304 |
Present the dialog for changing the PPD of a queue. |
| 305 |
</doc:para> |
| 306 |
</doc:description> |
| 307 |
</doc:doc> |
| 308 |
|
| 309 |
<arg name="xid" type="u" direction="in"> |
| 310 |
<doc:doc> |
| 311 |
<doc:summary> |
| 312 |
<doc:para> |
| 313 |
The window X ID of the parent. |
| 314 |
</doc:para> |
| 315 |
</doc:summary> |
| 316 |
</doc:doc> |
| 317 |
</arg> |
| 318 |
|
| 319 |
<arg name="name" type="s" direction="in"> |
| 320 |
<doc:doc> |
| 321 |
<doc:summary> |
| 322 |
<doc:para> |
| 323 |
The name of the queue to modify. |
| 324 |
</doc:para> |
| 325 |
</doc:summary> |
| 326 |
</doc:doc> |
| 327 |
</arg> |
| 328 |
|
| 329 |
<arg name="device_id" type="s" direction="in"> |
| 330 |
<doc:doc> |
| 331 |
<doc:summary> |
| 332 |
<doc:para> |
| 333 |
The IEEE 1284 Device ID of the device. |
| 334 |
</doc:para> |
| 335 |
</doc:summary> |
| 336 |
</doc:doc> |
| 337 |
</arg> |
| 338 |
</method> |
| 339 |
|
| 340 |
<signal name="DialogCanceled"/> |
| 341 |
|
| 342 |
<signal name="PrinterAdded"> |
| 343 |
<arg name="name" type="s"> |
| 344 |
<doc:doc> |
| 345 |
<doc:summary> |
| 346 |
<doc:para> |
| 347 |
The queue name for the printer that was added. |
| 348 |
</doc:para> |
| 349 |
</doc:summary> |
| 350 |
</doc:doc> |
| 351 |
</arg> |
| 352 |
</signal> |
| 353 |
|
| 354 |
<signal name="PrinterModified"> |
| 355 |
<arg name="name" type="s"> |
| 356 |
<doc:doc> |
| 357 |
<doc:summary> |
| 358 |
<doc:para> |
| 359 |
The queue name for the printer that was modified. |
| 360 |
</doc:para> |
| 361 |
</doc:summary> |
| 362 |
</doc:doc> |
| 363 |
</arg> |
| 364 |
|
| 365 |
<arg name="ppd_has_changed" type="b"> |
| 366 |
<doc:doc> |
| 367 |
<doc:summary> |
| 368 |
<doc:para> |
| 369 |
Whether the printer is now using a different PPD. |
| 370 |
</doc:para> |
| 371 |
</doc:summary> |
| 372 |
</doc:doc> |
| 373 |
</arg> |
| 374 |
</signal> |
| 375 |
|
| 376 |
<signal name="DriverDownloadChecked"> |
| 377 |
<arg name="name" type="s"> |
| 378 |
<doc:doc> |
| 379 |
<doc:summary> |
| 380 |
<doc:para> |
| 381 |
List of newly installed files, separated by "|". |
| 382 |
</doc:para> |
| 383 |
</doc:summary> |
| 384 |
</doc:doc> |
| 385 |
</arg> |
| 386 |
</signal> |
| 387 |
</interface> |
| 388 |
|
| 389 |
<interface name="org.fedoraproject.Config.Printing.PrinterPropertiesDialog"> |
| 390 |
<doc:doc> |
| 391 |
<doc:description> |
| 392 |
<doc:para> |
| 393 |
This interface is for interacting with the printer properties |
| 394 |
dialog. |
| 395 |
</doc:para> |
| 396 |
</doc:description> |
| 397 |
</doc:doc> |
| 398 |
|
| 399 |
<method name="PrintTestPage"> |
| 400 |
<doc:doc> |
| 401 |
<doc:description> |
| 402 |
<doc:para> |
| 403 |
Attempt to print a test page. |
| 404 |
</doc:para> |
| 405 |
</doc:description> |
| 406 |
</doc:doc> |
| 407 |
</method> |
| 408 |
|
| 409 |
<signal name="Finished"/> |
| 410 |
</interface> |
| 411 |
|
| 412 |
<interface name="org.fedoraproject.Config.Printing.JobApplet"> |
| 413 |
<doc:doc> |
| 414 |
<doc:description> |
| 415 |
<doc:para> |
| 416 |
This interface is for interacting with the job applet. |
| 417 |
</doc:para> |
| 418 |
</doc:description> |
| 419 |
</doc:doc> |
| 420 |
|
| 421 |
<method name="Quit"> |
| 422 |
<doc:doc> |
| 423 |
<doc:description> |
| 424 |
<doc:para> |
| 425 |
Quit the job applet. |
| 426 |
</doc:para> |
| 427 |
</doc:description> |
| 428 |
</doc:doc> |
| 429 |
</method> |
| 430 |
|
| 431 |
<signal name="Finished"/> |
| 432 |
</interface> |
| 433 |
</node> |