1 /**************************************************************************/ 2 /* */ 3 /* Copyright (c) Microsoft Corporation. All rights reserved. */ 4 /* */ 5 /* This software is licensed under the Microsoft Software License */ 6 /* Terms for Microsoft Azure RTOS. Full text of the license can be */ 7 /* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ 8 /* and in the root directory of this software. */ 9 /* */ 10 /**************************************************************************/ 11 12 13 /**************************************************************************/ 14 /**************************************************************************/ 15 /** */ 16 /** USBX Component */ 17 /** */ 18 /** PictBridge Host Class */ 19 /** */ 20 /**************************************************************************/ 21 /**************************************************************************/ 22 #define UX_SOURCE_CODE 23 24 25 /* Include necessary system files. */ 26 27 #include "ux_api.h" 28 #include "ux_pictbridge.h" 29 30 /**************************************************************************/ 31 /* */ 32 /* COMPONENT DEFINITION RELEASE */ 33 /* */ 34 /* ux_pictbridge_data.c PORTABLE C */ 35 /* 6.1 */ 36 /* AUTHOR */ 37 /* */ 38 /* Chaoqiong Xiao, Microsoft Corporation */ 39 /* */ 40 /* DESCRIPTION */ 41 /* */ 42 /* This file contains all the data items for the pictbridge class */ 43 /* */ 44 /* RELEASE HISTORY */ 45 /* */ 46 /* DATE NAME DESCRIPTION */ 47 /* */ 48 /* 05-19-2020 Chaoqiong Xiao Initial Version 6.0 */ 49 /* 09-30-2020 Chaoqiong Xiao Modified comment(s), */ 50 /* resulting in version 6.1 */ 51 /* */ 52 /**************************************************************************/ 53 54 /* Prototypes for all XML items. */ 55 UX_PICTBRIDGE_XML_ITEM _ux_pictbridge_xml_item_input[]; 56 UX_PICTBRIDGE_XML_ITEM _ux_pictbridge_xml_item_root[]; 57 UX_PICTBRIDGE_XML_ITEM _ux_pictbridge_xml_item_output[]; 58 UX_PICTBRIDGE_XML_ITEM _ux_pictbridge_xml_item_input_configureprintservice[]; 59 UX_PICTBRIDGE_XML_ITEM _ux_pictbridge_xml_item_output_configureprintservice[]; 60 UX_PICTBRIDGE_XML_ITEM _ux_pictbridge_xml_item_input_getcapability[]; 61 UX_PICTBRIDGE_XML_ITEM _ux_pictbridge_xml_item_output_getcapability[]; 62 UX_PICTBRIDGE_XML_ITEM _ux_pictbridge_xml_item_input_getcapability_capability[]; 63 UX_PICTBRIDGE_XML_ITEM _ux_pictbridge_xml_item_output_getcapability_capability[]; 64 UX_PICTBRIDGE_XML_ITEM _ux_pictbridge_xml_item_output_getjobstatus[]; 65 UX_PICTBRIDGE_XML_ITEM _ux_pictbridge_xml_item_output_getdevicestatus[]; 66 UX_PICTBRIDGE_XML_ITEM _ux_pictbridge_xml_item_input_startjob[]; 67 UX_PICTBRIDGE_XML_ITEM _ux_pictbridge_xml_item_input_startjob_printinfo[]; 68 UX_PICTBRIDGE_XML_ITEM _ux_pictbridge_xml_item_input_startjob_jobconfig[]; 69 UX_PICTBRIDGE_XML_ITEM _ux_pictbridge_xml_item_input_abortjob[]; 70 UX_PICTBRIDGE_XML_ITEM _ux_pictbridge_xml_item_input_notifyjobstatus[]; 71 UX_PICTBRIDGE_XML_ITEM _ux_pictbridge_xml_item_input_notifydevicestatus[]; 72 UX_PICTBRIDGE_XML_ITEM _ux_pictbridge_xml_item_output_getfileid[]; 73 UX_PICTBRIDGE_XML_ITEM _ux_pictbridge_xml_item_input_getfileid[]; 74 UX_PICTBRIDGE_XML_ITEM _ux_pictbridge_xml_item_output_getfileinfo[]; 75 UX_PICTBRIDGE_XML_ITEM _ux_pictbridge_xml_item_input_getfileinfo[]; 76 UX_PICTBRIDGE_XML_ITEM _ux_pictbridge_xml_item_output_getthumb[]; 77 UX_PICTBRIDGE_XML_ITEM _ux_pictbridge_xml_item_input_getthumb[]; 78 UX_PICTBRIDGE_XML_ITEM _ux_pictbridge_xml_item_output_getfile[]; 79 UX_PICTBRIDGE_XML_ITEM _ux_pictbridge_xml_item_input_getfile[]; 80 UX_PICTBRIDGE_XML_ITEM _ux_pictbridge_xml_item_output_getpartialfile[]; 81 UX_PICTBRIDGE_XML_ITEM _ux_pictbridge_xml_item_input_getpartialfile[]; 82 UX_PICTBRIDGE_XML_ITEM _ux_pictbridge_xml_item_output_getfilelist[]; 83 UX_PICTBRIDGE_XML_ITEM _ux_pictbridge_xml_item_input_getfilelist[]; 84 85 86 /* Define Pictbridge XML input get File List. */ 87 UX_PICTBRIDGE_XML_ITEM _ux_pictbridge_xml_item_input_getfilelist[] = 88 { 89 { 90 "fileType", 91 0, 92 UX_PICTBRIDGE_XML_LEAF, 93 _ux_pictbridge_xml_item_input, 94 _ux_pictbridge_xml_function_input_getfilelist_filetype, 95 }, 96 97 { 98 "parentFileID", 99 0, 100 UX_PICTBRIDGE_XML_LEAF, 101 _ux_pictbridge_xml_item_input, 102 _ux_pictbridge_xml_function_input_getfilelist_parentfileid, 103 }, 104 105 { 106 "maxNumIDs", 107 0, 108 UX_PICTBRIDGE_XML_LEAF, 109 _ux_pictbridge_xml_item_input, 110 _ux_pictbridge_xml_function_input_getfilelist_maxnumids, 111 }, 112 113 { "\0", 0, UX_NULL, UX_NULL, UX_NULL } 114 }; 115 116 /* Define Pictbridge XML output get File List. */ 117 UX_PICTBRIDGE_XML_ITEM _ux_pictbridge_xml_item_output_getfilelist[] = 118 { 119 { 120 "fileIDs", 121 0, 122 UX_PICTBRIDGE_XML_LEAF, 123 _ux_pictbridge_xml_item_output, 124 _ux_pictbridge_xml_function_output_getfilelist_fileids, 125 }, 126 { 127 "numIDs", 128 0, 129 UX_PICTBRIDGE_XML_LEAF, 130 _ux_pictbridge_xml_item_output, 131 _ux_pictbridge_xml_function_output_getfilelist_numids, 132 }, 133 134 { "\0", 0, UX_NULL, UX_NULL, UX_NULL } 135 }; 136 137 /* Define Pictbridge XML input get partial File. */ 138 UX_PICTBRIDGE_XML_ITEM _ux_pictbridge_xml_item_input_getpartialfile[] = 139 { 140 { 141 "fileID", 142 0, 143 UX_PICTBRIDGE_XML_LEAF, 144 _ux_pictbridge_xml_item_input, 145 _ux_pictbridge_xml_function_input_getpartialfile_fileid, 146 }, 147 148 { 149 "offset", 150 0, 151 UX_PICTBRIDGE_XML_LEAF, 152 _ux_pictbridge_xml_item_input, 153 _ux_pictbridge_xml_function_input_getpartialfile_offset, 154 }, 155 156 { 157 "maxSize", 158 0, 159 UX_PICTBRIDGE_XML_LEAF, 160 _ux_pictbridge_xml_item_input, 161 _ux_pictbridge_xml_function_input_getpartialfile_maxsize, 162 }, 163 164 { "\0", 0, UX_NULL, UX_NULL, UX_NULL } 165 }; 166 167 /* Define Pictbridge XML output get Partial File. */ 168 UX_PICTBRIDGE_XML_ITEM _ux_pictbridge_xml_item_output_getpartialfile[] = 169 { 170 { 171 "bytesRead", 172 0, 173 UX_PICTBRIDGE_XML_LEAF, 174 _ux_pictbridge_xml_item_output, 175 _ux_pictbridge_xml_function_output_getpartialfile_bytesread, 176 }, 177 178 { "\0", 0, UX_NULL, UX_NULL, UX_NULL } 179 }; 180 181 /* Define Pictbridge XML input get File. */ 182 UX_PICTBRIDGE_XML_ITEM _ux_pictbridge_xml_item_input_getfile[] = 183 { 184 { 185 "fileID", 186 0, 187 UX_PICTBRIDGE_XML_LEAF, 188 _ux_pictbridge_xml_item_input, 189 _ux_pictbridge_xml_function_input_getfile_fileid, 190 }, 191 192 { "\0", 0, UX_NULL, UX_NULL, UX_NULL } 193 }; 194 195 /* Define Pictbridge XML output get File. */ 196 UX_PICTBRIDGE_XML_ITEM _ux_pictbridge_xml_item_output_getfile[] = 197 { 198 { 199 "bytesRead", 200 0, 201 UX_PICTBRIDGE_XML_LEAF, 202 _ux_pictbridge_xml_item_output, 203 _ux_pictbridge_xml_function_output_getfile_bytesread, 204 }, 205 206 { "\0", 0, UX_NULL, UX_NULL, UX_NULL } 207 }; 208 209 /* Define Pictbridge XML input get Thumb. */ 210 UX_PICTBRIDGE_XML_ITEM _ux_pictbridge_xml_item_input_getthumb[] = 211 { 212 { 213 "fileID", 214 0, 215 UX_PICTBRIDGE_XML_LEAF, 216 _ux_pictbridge_xml_item_input, 217 _ux_pictbridge_xml_function_input_getthumb_fileid, 218 }, 219 220 { "\0", 0, UX_NULL, UX_NULL, UX_NULL } 221 }; 222 223 /* Define Pictbridge XML output get Thumb. */ 224 UX_PICTBRIDGE_XML_ITEM _ux_pictbridge_xml_item_output_getthumb[] = 225 { 226 { 227 "bytesRead", 228 0, 229 UX_PICTBRIDGE_XML_LEAF, 230 _ux_pictbridge_xml_item_output, 231 _ux_pictbridge_xml_function_output_getthumb_bytesread, 232 }, 233 234 { "\0", 0, UX_NULL, UX_NULL, UX_NULL } 235 }; 236 /* Define Pictbridge XML input get File Info. */ 237 UX_PICTBRIDGE_XML_ITEM _ux_pictbridge_xml_item_input_getfileinfo[] = 238 { 239 { 240 "fileID", 241 0, 242 UX_PICTBRIDGE_XML_LEAF, 243 _ux_pictbridge_xml_item_input, 244 _ux_pictbridge_xml_function_input_getfileid_fileid, 245 }, 246 247 { "\0", 0, UX_NULL, UX_NULL, UX_NULL } 248 }; 249 250 /* Define Pictbridge XML output get File ID. */ 251 UX_PICTBRIDGE_XML_ITEM _ux_pictbridge_xml_item_output_getfileinfo[] = 252 { 253 { 254 "fileType", 255 0, 256 UX_PICTBRIDGE_XML_LEAF, 257 _ux_pictbridge_xml_item_output, 258 _ux_pictbridge_xml_function_output_getfileinfo_filetype, 259 }, 260 261 { 262 "fileSize", 263 0, 264 UX_PICTBRIDGE_XML_LEAF, 265 _ux_pictbridge_xml_item_output, 266 _ux_pictbridge_xml_function_output_getfileinfo_filesize, 267 }, 268 269 { 270 "thumbFormat", 271 0, 272 UX_PICTBRIDGE_XML_LEAF, 273 _ux_pictbridge_xml_item_output, 274 _ux_pictbridge_xml_function_output_getfileinfo_thumbformat, 275 }, 276 277 { 278 "thumbsize", 279 0, 280 UX_PICTBRIDGE_XML_LEAF, 281 _ux_pictbridge_xml_item_output, 282 _ux_pictbridge_xml_function_output_getfileinfo_thumbsize, 283 }, 284 285 { "\0", 0, UX_NULL, UX_NULL, UX_NULL } 286 }; 287 288 /* Define Pictbridge XML input get File ID. */ 289 UX_PICTBRIDGE_XML_ITEM _ux_pictbridge_xml_item_input_getfileid[] = 290 { 291 { 292 "basePathID", 293 0, 294 UX_PICTBRIDGE_XML_LEAF, 295 _ux_pictbridge_xml_item_input, 296 _ux_pictbridge_xml_function_input_getfileid_basepathid, 297 }, 298 299 { 300 "filePath", 301 0, 302 UX_PICTBRIDGE_XML_LEAF, 303 _ux_pictbridge_xml_item_input, 304 _ux_pictbridge_xml_function_input_getfileid_filepath, 305 }, 306 307 { "\0", 0, UX_NULL, UX_NULL, UX_NULL } 308 }; 309 310 311 /* Define Pictbridge XML output get File ID. */ 312 UX_PICTBRIDGE_XML_ITEM _ux_pictbridge_xml_item_output_getfileid[] = 313 { 314 { 315 "basePathID", 316 0, 317 UX_PICTBRIDGE_XML_LEAF, 318 _ux_pictbridge_xml_item_output, 319 _ux_pictbridge_xml_function_output_getfileid_basepathid, 320 }, 321 322 { 323 "filePath", 324 0, 325 UX_PICTBRIDGE_XML_LEAF, 326 _ux_pictbridge_xml_item_output, 327 _ux_pictbridge_xml_function_output_getfileid_filepath, 328 }, 329 330 { "\0", 0, UX_NULL, UX_NULL, UX_NULL } 331 }; 332 333 /* Define Pictbridge XML output get device status. */ 334 UX_PICTBRIDGE_XML_ITEM _ux_pictbridge_xml_item_input_notifydevicestatus[] = 335 { 336 { 337 "dpsPrintServiceStatus", 338 0, 339 UX_PICTBRIDGE_XML_LEAF, 340 _ux_pictbridge_xml_item_input, 341 _ux_pictbridge_xml_function_input_notifydevicestatus_dpsprintservicestatus, 342 }, 343 344 { 345 "jobEndReason", 346 0, 347 UX_PICTBRIDGE_XML_LEAF, 348 _ux_pictbridge_xml_item_input, 349 _ux_pictbridge_xml_function_input_notifydevicestatus_jobendreason, 350 }, 351 352 { 353 "errorStatus", 354 0, 355 UX_PICTBRIDGE_XML_LEAF, 356 _ux_pictbridge_xml_item_input, 357 _ux_pictbridge_xml_function_input_notifydevicestatus_errorstatus, 358 }, 359 { 360 "errorReason", 361 0, 362 UX_PICTBRIDGE_XML_LEAF, 363 _ux_pictbridge_xml_item_input, 364 _ux_pictbridge_xml_function_input_notifydevicestatus_errorreason, 365 }, 366 { 367 "disconnectEnable", 368 0, 369 UX_PICTBRIDGE_XML_LEAF, 370 _ux_pictbridge_xml_item_input, 371 _ux_pictbridge_xml_function_input_notifydevicestatus_disconnectenable, 372 }, 373 374 { 375 "capabilityChanged", 376 0, 377 UX_PICTBRIDGE_XML_LEAF, 378 _ux_pictbridge_xml_item_input, 379 _ux_pictbridge_xml_function_input_notifydevicestatus_capabilitychanged, 380 }, 381 382 { 383 "newJobOK", 384 0, 385 UX_PICTBRIDGE_XML_LEAF, 386 _ux_pictbridge_xml_item_input, 387 _ux_pictbridge_xml_function_input_notifydevicestatus_newjobok, 388 }, 389 390 { "\0", 0, UX_NULL, UX_NULL, UX_NULL } 391 }; 392 393 394 /* Define Pictbridge XML input notify job. */ 395 UX_PICTBRIDGE_XML_ITEM _ux_pictbridge_xml_item_input_notifyjobstatus[] = 396 { 397 { 398 "prtPID", 399 0, 400 UX_PICTBRIDGE_XML_LEAF, 401 _ux_pictbridge_xml_item_input, 402 _ux_pictbridge_xml_function_input_notifyjobstatus_prtpid, 403 }, 404 { 405 "filepath", 406 0, 407 UX_PICTBRIDGE_XML_LEAF, 408 _ux_pictbridge_xml_item_input, 409 _ux_pictbridge_xml_function_input_notifyjobstatus_filepath, 410 }, 411 { 412 "copyID", 413 0, 414 UX_PICTBRIDGE_XML_LEAF, 415 _ux_pictbridge_xml_item_input, 416 _ux_pictbridge_xml_function_input_notifyjobstatus_copyid, 417 }, 418 { 419 "progress", 420 0, 421 UX_PICTBRIDGE_XML_LEAF, 422 _ux_pictbridge_xml_item_input, 423 _ux_pictbridge_xml_function_input_notifyjobstatus_progress, 424 }, 425 { 426 "imagesPrinted", 427 0, 428 UX_PICTBRIDGE_XML_LEAF, 429 _ux_pictbridge_xml_item_input, 430 _ux_pictbridge_xml_function_output_notifyjobstatus_imagesprinted, 431 }, 432 433 { "\0", 0, UX_NULL, UX_NULL, UX_NULL } 434 }; 435 436 /* Define Pictbridge XML input abort job. */ 437 UX_PICTBRIDGE_XML_ITEM _ux_pictbridge_xml_item_input_abortjob[] = 438 { 439 { 440 "abortStyle", 441 0, 442 UX_PICTBRIDGE_XML_LEAF, 443 _ux_pictbridge_xml_item_input, 444 _ux_pictbridge_xml_function_input_abortjob, 445 }, 446 447 { "\0", 0, UX_NULL, UX_NULL, UX_NULL } 448 }; 449 450 /* Define Pictbridge XML input start job job config. */ 451 UX_PICTBRIDGE_XML_ITEM _ux_pictbridge_xml_item_input_startjob_jobconfig[] = 452 { 453 { 454 "quality", 455 0, 456 UX_PICTBRIDGE_XML_LEAF, 457 _ux_pictbridge_xml_item_input_startjob, 458 _ux_pictbridge_xml_function_input_startjob_jobconfig_quality, 459 }, 460 { 461 "paperSize", 462 0, 463 UX_PICTBRIDGE_XML_LEAF, 464 _ux_pictbridge_xml_item_input_startjob, 465 _ux_pictbridge_xml_function_input_startjob_jobconfig_papersize, 466 }, 467 { 468 "paperType", 469 0, 470 UX_PICTBRIDGE_XML_LEAF, 471 _ux_pictbridge_xml_item_input_startjob, 472 _ux_pictbridge_xml_function_input_startjob_jobconfig_papertype, 473 }, 474 { 475 "fileType", 476 0, 477 UX_PICTBRIDGE_XML_LEAF, 478 _ux_pictbridge_xml_item_input_startjob, 479 _ux_pictbridge_xml_function_input_startjob_jobconfig_filetype, 480 }, 481 { 482 "datePrint", 483 0, 484 UX_PICTBRIDGE_XML_LEAF, 485 _ux_pictbridge_xml_item_input_startjob, 486 _ux_pictbridge_xml_function_input_startjob_jobconfig_dateprint, 487 }, 488 { 489 "fileNamePrint", 490 0, 491 UX_PICTBRIDGE_XML_LEAF, 492 _ux_pictbridge_xml_item_input_startjob, 493 _ux_pictbridge_xml_function_input_startjob_jobconfig_filenameprint, 494 }, 495 { 496 "imageOptimize", 497 0, 498 UX_PICTBRIDGE_XML_LEAF, 499 _ux_pictbridge_xml_item_input_startjob, 500 _ux_pictbridge_xml_function_input_startjob_jobconfig_imageoptimize, 501 }, 502 { 503 "layout", 504 0, 505 UX_PICTBRIDGE_XML_LEAF, 506 _ux_pictbridge_xml_item_input_startjob, 507 _ux_pictbridge_xml_function_input_startjob_jobconfig_layout, 508 }, 509 { 510 "fixedSize", 511 0, 512 UX_PICTBRIDGE_XML_LEAF, 513 _ux_pictbridge_xml_item_input_startjob, 514 _ux_pictbridge_xml_function_input_startjob_jobconfig_fixedsize, 515 }, 516 { 517 "cropping", 518 0, 519 UX_PICTBRIDGE_XML_LEAF, 520 _ux_pictbridge_xml_item_input_startjob, 521 _ux_pictbridge_xml_function_input_startjob_jobconfig_cropping, 522 }, 523 524 { "\0", 0, UX_NULL, UX_NULL, UX_NULL } 525 }; 526 527 528 /* Define Pictbridge XML input print info. */ 529 UX_PICTBRIDGE_XML_ITEM _ux_pictbridge_xml_item_input_startjob_printinfo[] = 530 { 531 { 532 "croppingArea", 533 0, 534 UX_PICTBRIDGE_XML_LEAF, 535 _ux_pictbridge_xml_item_input_startjob, 536 _ux_pictbridge_xml_function_input_startjob_printinfo_croppingarea, 537 }, 538 { 539 "fileID", 540 0, 541 UX_PICTBRIDGE_XML_LEAF, 542 _ux_pictbridge_xml_item_input_startjob, 543 _ux_pictbridge_xml_function_input_startjob_printinfo_fileid, 544 }, 545 { 546 "fileName", 547 0, 548 UX_PICTBRIDGE_XML_LEAF, 549 _ux_pictbridge_xml_item_input_startjob, 550 _ux_pictbridge_xml_function_input_startjob_printinfo_filename, 551 }, 552 { 553 "date", 554 0, 555 UX_PICTBRIDGE_XML_LEAF, 556 _ux_pictbridge_xml_item_input_startjob, 557 _ux_pictbridge_xml_function_input_startjob_printinfo_date, 558 }, 559 { 560 "copies", 561 0, 562 UX_PICTBRIDGE_XML_LEAF, 563 _ux_pictbridge_xml_item_input_startjob, 564 _ux_pictbridge_xml_function_input_startjob_printinfo_copies, 565 }, 566 { 567 "prtPID", 568 0, 569 UX_PICTBRIDGE_XML_LEAF, 570 _ux_pictbridge_xml_item_input_startjob, 571 _ux_pictbridge_xml_function_input_startjob_printinfo_prtpid, 572 }, 573 { 574 "filepath", 575 0, 576 UX_PICTBRIDGE_XML_LEAF, 577 _ux_pictbridge_xml_item_input_startjob, 578 _ux_pictbridge_xml_function_input_startjob_printinfo_filepath, 579 }, 580 { 581 "copyID", 582 0, 583 UX_PICTBRIDGE_XML_LEAF, 584 _ux_pictbridge_xml_item_input_startjob, 585 _ux_pictbridge_xml_function_input_startjob_printinfo_copyid, 586 }, 587 588 { "\0", 0, UX_NULL, UX_NULL, UX_NULL } 589 }; 590 591 592 /* Define Pictbridge XML input start job. */ 593 UX_PICTBRIDGE_XML_ITEM _ux_pictbridge_xml_item_input_startjob[] = 594 { 595 { 596 "jobConfig", 597 0, 598 _ux_pictbridge_xml_item_input_startjob_jobconfig, 599 _ux_pictbridge_xml_item_input, 600 UX_NULL, 601 }, 602 { 603 "printInfo", 604 0, 605 _ux_pictbridge_xml_item_input_startjob_printinfo, 606 _ux_pictbridge_xml_item_input, 607 _ux_pictbridge_xml_function_input_startjob_printinfo, 608 }, 609 610 { "\0", 0, UX_NULL, UX_NULL, UX_NULL } 611 }; 612 613 614 /* Define Pictbridge XML output get device status. */ 615 UX_PICTBRIDGE_XML_ITEM _ux_pictbridge_xml_item_output_getdevicestatus[] = 616 { 617 { 618 "dpsPrintServiceStatus", 619 0, 620 UX_PICTBRIDGE_XML_LEAF, 621 _ux_pictbridge_xml_item_output, 622 _ux_pictbridge_xml_function_output_getdevicestatus_dpsprintservicestatus, 623 }, 624 625 { 626 "jobEndReason", 627 0, 628 UX_PICTBRIDGE_XML_LEAF, 629 _ux_pictbridge_xml_item_output, 630 _ux_pictbridge_xml_function_output_getdevicestatus_jobendreason, 631 }, 632 633 { 634 "errorStatus", 635 0, 636 UX_PICTBRIDGE_XML_LEAF, 637 _ux_pictbridge_xml_item_output, 638 _ux_pictbridge_xml_function_output_getdevicestatus_errorstatus, 639 }, 640 { 641 "errorReason", 642 0, 643 UX_PICTBRIDGE_XML_LEAF, 644 _ux_pictbridge_xml_item_output, 645 _ux_pictbridge_xml_function_output_getdevicestatus_errorreason, 646 }, 647 { 648 "disconnectEnable", 649 0, 650 UX_PICTBRIDGE_XML_LEAF, 651 _ux_pictbridge_xml_item_output, 652 _ux_pictbridge_xml_function_output_getdevicestatus_disconnectenable, 653 }, 654 655 { 656 "capabilityChanged", 657 0, 658 UX_PICTBRIDGE_XML_LEAF, 659 _ux_pictbridge_xml_item_output, 660 _ux_pictbridge_xml_function_output_getdevicestatus_capabilitychanged, 661 }, 662 663 { 664 "newJobOK", 665 0, 666 UX_PICTBRIDGE_XML_LEAF, 667 _ux_pictbridge_xml_item_output, 668 _ux_pictbridge_xml_function_output_getdevicestatus_newjobok, 669 }, 670 671 { "\0", 0, UX_NULL, UX_NULL, UX_NULL } 672 }; 673 674 675 /* Define Pictbridge XML output get job status. */ 676 UX_PICTBRIDGE_XML_ITEM _ux_pictbridge_xml_item_output_getjobstatus[] = 677 { 678 { 679 "prtPID", 680 0, 681 UX_PICTBRIDGE_XML_LEAF, 682 _ux_pictbridge_xml_item_output, 683 _ux_pictbridge_xml_function_output_getjobstatus_prtpid, 684 }, 685 { 686 "filePath", 687 0, 688 UX_PICTBRIDGE_XML_LEAF, 689 _ux_pictbridge_xml_item_output, 690 _ux_pictbridge_xml_function_output_getjobstatus_filepath, 691 }, 692 { 693 "copyID", 694 0, 695 UX_PICTBRIDGE_XML_LEAF, 696 _ux_pictbridge_xml_item_output, 697 _ux_pictbridge_xml_function_output_getjobstatus_copyid, 698 }, 699 700 { 701 "progress", 702 0, 703 UX_PICTBRIDGE_XML_LEAF, 704 _ux_pictbridge_xml_item_output, 705 _ux_pictbridge_xml_function_output_getjobstatus_progress, 706 }, 707 708 { 709 "imagesPrinted", 710 0, 711 UX_PICTBRIDGE_XML_LEAF, 712 _ux_pictbridge_xml_item_output, 713 _ux_pictbridge_xml_function_output_getjobstatus_imagesprinted, 714 }, 715 716 { "\0", 0, UX_NULL, UX_NULL, UX_NULL } 717 }; 718 719 720 /* Define Pictbridge XML input get capability elements. */ 721 UX_PICTBRIDGE_XML_ITEM _ux_pictbridge_xml_item_input_getcapability_capability[] = 722 { 723 { 724 "qualities", 725 UX_PICTBRIDGE_IR_GC_QUALITIES, 726 UX_PICTBRIDGE_XML_LEAF, 727 _ux_pictbridge_xml_item_input_getcapability, 728 _ux_pictbridge_xml_function_input_getcapability_capability_qualities, 729 }, 730 { 731 "paperSizes", 732 UX_PICTBRIDGE_IR_GC_PAPER_SIZES, 733 UX_PICTBRIDGE_XML_LEAF, 734 _ux_pictbridge_xml_item_input_getcapability, 735 _ux_pictbridge_xml_function_input_getcapability_capability_papersizes, 736 }, 737 { 738 "paperTypes", 739 UX_PICTBRIDGE_IR_GC_PAPER_TYPES, 740 UX_PICTBRIDGE_XML_LEAF, 741 _ux_pictbridge_xml_item_input_getcapability, 742 _ux_pictbridge_xml_function_input_getcapability_capability_papertypes, 743 }, 744 { 745 "fileTypes", 746 UX_PICTBRIDGE_IR_GC_FILE_TYPES, 747 UX_PICTBRIDGE_XML_LEAF, 748 _ux_pictbridge_xml_item_input_getcapability, 749 _ux_pictbridge_xml_function_input_getcapability_capability_filetypes, 750 }, 751 { 752 "datePrints", 753 UX_PICTBRIDGE_IR_GC_DATE_PRINTS, 754 UX_PICTBRIDGE_XML_LEAF, 755 _ux_pictbridge_xml_item_input_getcapability, 756 _ux_pictbridge_xml_function_input_getcapability_capability_dateprints, 757 }, 758 { 759 "fileNamePrints", 760 UX_PICTBRIDGE_IR_GC_FILE_NAME_PRINTS, 761 UX_PICTBRIDGE_XML_LEAF, 762 _ux_pictbridge_xml_item_input_getcapability, 763 _ux_pictbridge_xml_function_input_getcapability_capability_filenameprints, 764 }, 765 { 766 "imageOptimizes", 767 UX_PICTBRIDGE_IR_GC_IMAGE_OPTIMIZES, 768 UX_PICTBRIDGE_XML_LEAF, 769 _ux_pictbridge_xml_item_input_getcapability, 770 _ux_pictbridge_xml_function_input_getcapability_capability_imageoptimizes, 771 }, 772 { 773 "layouts", 774 UX_PICTBRIDGE_IR_GC_LAYOUTS, 775 UX_PICTBRIDGE_XML_LEAF, 776 _ux_pictbridge_xml_item_input_getcapability, 777 _ux_pictbridge_xml_function_input_getcapability_capability_layouts, 778 }, 779 { 780 "fixedSizes", 781 UX_PICTBRIDGE_IR_GC_FIXED_SIZES, 782 UX_PICTBRIDGE_XML_LEAF, 783 _ux_pictbridge_xml_item_input_getcapability, 784 _ux_pictbridge_xml_function_input_getcapability_capability_fixedsizes, 785 }, 786 { 787 "croppings", 788 UX_PICTBRIDGE_IR_GC_CROPPINGS, 789 UX_PICTBRIDGE_XML_LEAF, 790 _ux_pictbridge_xml_item_input_getcapability, 791 _ux_pictbridge_xml_function_input_getcapability_capability_croppings, 792 }, 793 { 794 "charRepertoires", 795 UX_PICTBRIDGE_IR_GC_CHAR_REPERTOIRES, 796 UX_PICTBRIDGE_XML_LEAF, 797 _ux_pictbridge_xml_item_input_getcapability, 798 _ux_pictbridge_xml_function_input_getcapability_capability_charrepertoires, 799 }, 800 801 { "\0", 0, UX_NULL, UX_NULL, UX_NULL } 802 }; 803 804 805 /* Define Pictbridge XML get capability elements. */ 806 UX_PICTBRIDGE_XML_ITEM _ux_pictbridge_xml_item_input_getcapability[] = 807 { 808 { 809 "capability", 810 0, 811 _ux_pictbridge_xml_item_input_getcapability_capability, 812 _ux_pictbridge_xml_item_input, 813 UX_NULL, 814 }, 815 816 { "\0", 0, UX_NULL, UX_NULL, UX_NULL } 817 818 }; 819 820 /* Define Pictbridge XML output get capability elements. */ 821 UX_PICTBRIDGE_XML_ITEM _ux_pictbridge_xml_item_output_getcapability_capability[] = 822 { 823 { 824 "qualities", 825 UX_PICTBRIDGE_IR_GC_QUALITIES, 826 UX_PICTBRIDGE_XML_LEAF, 827 _ux_pictbridge_xml_item_output_getcapability, 828 _ux_pictbridge_xml_function_output_getcapability_capability_qualities, 829 }, 830 { 831 "paperSizes", 832 UX_PICTBRIDGE_IR_GC_PAPER_SIZES, 833 UX_PICTBRIDGE_XML_LEAF, 834 _ux_pictbridge_xml_item_output_getcapability, 835 _ux_pictbridge_xml_function_output_getcapability_capability_papersizes, 836 }, 837 { 838 "paperTypes", 839 UX_PICTBRIDGE_IR_GC_PAPER_TYPES, 840 UX_PICTBRIDGE_XML_LEAF, 841 _ux_pictbridge_xml_item_output_getcapability, 842 _ux_pictbridge_xml_function_output_getcapability_capability_papertypes, 843 }, 844 { 845 "fileTypes", 846 UX_PICTBRIDGE_IR_GC_FILE_TYPES, 847 UX_PICTBRIDGE_XML_LEAF, 848 _ux_pictbridge_xml_item_output_getcapability, 849 _ux_pictbridge_xml_function_output_getcapability_capability_filetypes, 850 }, 851 { 852 "datePrints", 853 UX_PICTBRIDGE_IR_GC_DATE_PRINTS, 854 UX_PICTBRIDGE_XML_LEAF, 855 _ux_pictbridge_xml_item_output_getcapability, 856 _ux_pictbridge_xml_function_output_getcapability_capability_dateprints, 857 }, 858 { 859 "fileNamePrints", 860 UX_PICTBRIDGE_IR_GC_FILE_NAME_PRINTS, 861 UX_PICTBRIDGE_XML_LEAF, 862 _ux_pictbridge_xml_item_output_getcapability, 863 _ux_pictbridge_xml_function_output_getcapability_capability_filenameprints, 864 }, 865 { 866 "imageOptimizes", 867 UX_PICTBRIDGE_IR_GC_IMAGE_OPTIMIZES, 868 UX_PICTBRIDGE_XML_LEAF, 869 _ux_pictbridge_xml_item_output_getcapability, 870 _ux_pictbridge_xml_function_output_getcapability_capability_imageoptimizes, 871 }, 872 { 873 "layouts", 874 UX_PICTBRIDGE_IR_GC_LAYOUTS, 875 UX_PICTBRIDGE_XML_LEAF, 876 _ux_pictbridge_xml_item_output_getcapability, 877 _ux_pictbridge_xml_function_output_getcapability_capability_layouts, 878 }, 879 { 880 "fixedSizes", 881 UX_PICTBRIDGE_IR_GC_FIXED_SIZES, 882 UX_PICTBRIDGE_XML_LEAF, 883 _ux_pictbridge_xml_item_output_getcapability, 884 _ux_pictbridge_xml_function_output_getcapability_capability_fixedsizes, 885 }, 886 { 887 "croppings", 888 UX_PICTBRIDGE_IR_GC_CROPPINGS, 889 UX_PICTBRIDGE_XML_LEAF, 890 _ux_pictbridge_xml_item_output_getcapability, 891 _ux_pictbridge_xml_function_output_getcapability_capability_croppings, 892 }, 893 { 894 "charRepertoires", 895 UX_PICTBRIDGE_IR_GC_CHAR_REPERTOIRES, 896 UX_PICTBRIDGE_XML_LEAF, 897 _ux_pictbridge_xml_item_output_getcapability, 898 _ux_pictbridge_xml_function_output_getcapability_capability_charrepertoires, 899 }, 900 901 { "\0", 0, UX_NULL, UX_NULL, UX_NULL } 902 }; 903 904 /* Define Pictbridge XML get capability elements. */ 905 UX_PICTBRIDGE_XML_ITEM _ux_pictbridge_xml_item_output_getcapability[] = 906 { 907 { 908 "capability", 909 0, 910 _ux_pictbridge_xml_item_output_getcapability_capability, 911 _ux_pictbridge_xml_item_output, 912 UX_NULL, 913 }, 914 915 { "\0", 0, UX_NULL, UX_NULL, UX_NULL } 916 917 }; 918 919 920 /* Define Pictbridge XML configure print service elements. */ 921 UX_PICTBRIDGE_XML_ITEM _ux_pictbridge_xml_item_input_configureprintservice[] = 922 { 923 { 924 "dpsVersions", 925 UX_PICTBRIDGE_IR_CPS_DPS_VERSIONS, 926 UX_PICTBRIDGE_XML_LEAF, 927 _ux_pictbridge_xml_item_input, 928 _ux_pictbridge_xml_function_input_dpsversion, 929 }, 930 { 931 "vendorName", 932 UX_PICTBRIDGE_IR_CPS_VENDOR_NAME, 933 UX_PICTBRIDGE_XML_LEAF, 934 _ux_pictbridge_xml_item_input, 935 _ux_pictbridge_xml_function_input_vendorname, 936 }, 937 { 938 "vendorSpecificVersion", 939 UX_PICTBRIDGE_IR_CPS_VENDOR_SPECIFIC_VERSION, 940 UX_PICTBRIDGE_XML_LEAF, 941 _ux_pictbridge_xml_item_input, 942 _ux_pictbridge_xml_function_input_vendorspecificversion, 943 }, 944 { 945 "productName", 946 UX_PICTBRIDGE_IR_CPS_PRODUCT_NAME, 947 UX_PICTBRIDGE_XML_LEAF, 948 _ux_pictbridge_xml_item_input, 949 _ux_pictbridge_xml_function_input_productname, 950 }, 951 { 952 "serialNo", 953 UX_PICTBRIDGE_IR_CPS_SERIAL_NO, 954 UX_PICTBRIDGE_XML_LEAF, 955 _ux_pictbridge_xml_item_input, 956 _ux_pictbridge_xml_function_input_serialno, 957 }, 958 959 { "\0", 0, UX_NULL, UX_NULL, UX_NULL } 960 }; 961 962 963 /* Define Pictbridge XML configure print service elements. */ 964 UX_PICTBRIDGE_XML_ITEM _ux_pictbridge_xml_item_output_configureprintservice[] = 965 { 966 { 967 "printServiceAvailable", 968 0, 969 UX_NULL, 970 _ux_pictbridge_xml_item_output, 971 _ux_pictbridge_xml_function_output_printserviceavailable, 972 }, 973 { 974 "dpsVersions", 975 0, 976 UX_NULL, 977 _ux_pictbridge_xml_item_output, 978 _ux_pictbridge_xml_function_output_dpsversion, 979 }, 980 { 981 "vendorName", 982 0, 983 UX_NULL, 984 _ux_pictbridge_xml_item_output, 985 _ux_pictbridge_xml_function_output_vendorname, 986 }, 987 { 988 "vendorSpecificVersion", 989 0, 990 UX_NULL, 991 _ux_pictbridge_xml_item_output, 992 _ux_pictbridge_xml_function_output_vendorspecificversion, 993 }, 994 { 995 "productName", 996 0, 997 UX_NULL, 998 _ux_pictbridge_xml_item_output, 999 _ux_pictbridge_xml_function_output_productname, 1000 }, 1001 { 1002 "serialNo", 1003 0, 1004 UX_NULL, 1005 _ux_pictbridge_xml_item_output, 1006 _ux_pictbridge_xml_function_output_serialno, 1007 }, 1008 1009 { "\0", 0, UX_NULL, UX_NULL, UX_NULL } 1010 }; 1011 1012 1013 /* Define Pictbridge XML input elements. */ 1014 UX_PICTBRIDGE_XML_ITEM _ux_pictbridge_xml_item_input[] = 1015 { 1016 { 1017 "configurePrintService", 1018 UX_PICTBRIDGE_IR_CONFIGURE_PRINT_SERVICE, 1019 _ux_pictbridge_xml_item_input_configureprintservice, 1020 _ux_pictbridge_xml_item_root, 1021 UX_NULL, 1022 }, 1023 { 1024 "getCapability", 1025 UX_PICTBRIDGE_IR_GET_CAPABILITY, 1026 _ux_pictbridge_xml_item_input_getcapability, 1027 _ux_pictbridge_xml_item_root, 1028 UX_NULL, 1029 }, 1030 { 1031 "getDeviceStatus", 1032 UX_PICTBRIDGE_IR_GET_DEVICE_STATUS, 1033 UX_NULL, 1034 _ux_pictbridge_xml_item_root, 1035 UX_NULL, 1036 }, 1037 { 1038 "getJobStatus", 1039 UX_PICTBRIDGE_IR_GET_JOB_STATUS, 1040 UX_NULL, 1041 _ux_pictbridge_xml_item_root, 1042 _ux_pictbridge_xml_function_input_getjobstatus, 1043 }, 1044 { 1045 "startJob", 1046 UX_PICTBRIDGE_IR_START_JOB, 1047 _ux_pictbridge_xml_item_input_startjob, 1048 _ux_pictbridge_xml_item_root, 1049 _ux_pictbridge_xml_function_input_startjob, 1050 }, 1051 { 1052 "abortJob", 1053 UX_PICTBRIDGE_IR_ABORT_JOB, 1054 _ux_pictbridge_xml_item_input_abortjob, 1055 _ux_pictbridge_xml_item_root, 1056 UX_NULL, 1057 }, 1058 { 1059 "continueJob", 1060 UX_PICTBRIDGE_IR_CONTINUE_JOB, 1061 UX_NULL, 1062 _ux_pictbridge_xml_item_root, 1063 _ux_pictbridge_xml_function_input_continuejob, 1064 }, 1065 { 1066 "notifyJobStatus", 1067 UX_PICTBRIDGE_IR_NOTIFY_JOB_STATUS, 1068 _ux_pictbridge_xml_item_input_notifyjobstatus, 1069 _ux_pictbridge_xml_item_root, 1070 _ux_pictbridge_xml_function_input_notifyjobstatus, 1071 }, 1072 { 1073 "notifyDeviceStatus", 1074 UX_PICTBRIDGE_IR_NOTIFY_DEVICE_STATUS, 1075 _ux_pictbridge_xml_item_input_notifydevicestatus, 1076 _ux_pictbridge_xml_item_root, 1077 _ux_pictbridge_xml_function_input_notifydevicestatus, 1078 }, 1079 { 1080 "getFileID", 1081 0, 1082 _ux_pictbridge_xml_item_input_getfileid, 1083 _ux_pictbridge_xml_item_root, 1084 UX_NULL, 1085 }, 1086 { 1087 "getFileInfo", 1088 0, 1089 _ux_pictbridge_xml_item_input_getfileinfo, 1090 _ux_pictbridge_xml_item_root, 1091 UX_NULL, 1092 }, 1093 { 1094 "getFile", 1095 0, 1096 _ux_pictbridge_xml_item_input_getfile, 1097 _ux_pictbridge_xml_item_root, 1098 UX_NULL, 1099 }, 1100 { 1101 "getPartialFile", 1102 0, 1103 _ux_pictbridge_xml_item_input_getpartialfile, 1104 _ux_pictbridge_xml_item_root, 1105 UX_NULL, 1106 }, 1107 { 1108 "getFileList", 1109 0, 1110 _ux_pictbridge_xml_item_input_getfilelist, 1111 _ux_pictbridge_xml_item_root, 1112 UX_NULL, 1113 }, 1114 { 1115 "getThumb", 1116 0, 1117 _ux_pictbridge_xml_item_input_getthumb, 1118 _ux_pictbridge_xml_item_root, 1119 UX_NULL, 1120 }, 1121 1122 { "\0", 0, UX_NULL, UX_NULL, UX_NULL } 1123 1124 }; 1125 1126 /* Define Pictbridge XML output elements. */ 1127 UX_PICTBRIDGE_XML_ITEM _ux_pictbridge_xml_item_output[] = 1128 { 1129 { 1130 "result", 1131 0, 1132 UX_NULL, 1133 _ux_pictbridge_xml_item_root, 1134 _ux_pictbridge_xml_function_output_result, 1135 }, 1136 { 1137 "configurePrintService", 1138 UX_PICTBRIDGE_IR_CONFIGURE_PRINT_SERVICE, 1139 _ux_pictbridge_xml_item_output_configureprintservice, 1140 _ux_pictbridge_xml_item_root, 1141 UX_NULL, 1142 }, 1143 { 1144 "getCapability", 1145 UX_PICTBRIDGE_IR_GET_CAPABILITY, 1146 _ux_pictbridge_xml_item_output_getcapability, 1147 _ux_pictbridge_xml_item_root, 1148 UX_NULL, 1149 }, 1150 { 1151 "getDeviceStatus", 1152 UX_PICTBRIDGE_IR_GET_DEVICE_STATUS, 1153 _ux_pictbridge_xml_item_output_getdevicestatus, 1154 _ux_pictbridge_xml_item_root, 1155 UX_NULL, 1156 }, 1157 { 1158 "getJobStatus", 1159 UX_PICTBRIDGE_IR_GET_JOB_STATUS, 1160 _ux_pictbridge_xml_item_output_getjobstatus, 1161 _ux_pictbridge_xml_item_root, 1162 UX_NULL, 1163 }, 1164 { 1165 "startJob", 1166 UX_PICTBRIDGE_IR_START_JOB, 1167 UX_NULL, 1168 _ux_pictbridge_xml_item_root, 1169 _ux_pictbridge_xml_function_output_startjob, 1170 }, 1171 { 1172 "abortJob", 1173 UX_PICTBRIDGE_IR_ABORT_JOB, 1174 UX_NULL, 1175 _ux_pictbridge_xml_item_root, 1176 _ux_pictbridge_xml_function_output_abortjob, 1177 }, 1178 { 1179 "continueJob", 1180 UX_PICTBRIDGE_IR_CONTINUE_JOB, 1181 UX_NULL, 1182 _ux_pictbridge_xml_item_root, 1183 _ux_pictbridge_xml_function_output_continuejob, 1184 }, 1185 { 1186 "notifyJobStatus", 1187 0, 1188 UX_NULL, 1189 _ux_pictbridge_xml_item_root, 1190 _ux_pictbridge_xml_function_output_notifyjobstatus, 1191 }, 1192 { 1193 "notifyDeviceStatus", 1194 0, 1195 UX_NULL, 1196 _ux_pictbridge_xml_item_root, 1197 _ux_pictbridge_xml_function_output_notifydevicestatus, 1198 }, 1199 { 1200 "getFileID", 1201 0, 1202 _ux_pictbridge_xml_item_output_getfileid, 1203 _ux_pictbridge_xml_item_root, 1204 UX_NULL, 1205 }, 1206 { 1207 "getFileInfo", 1208 0, 1209 _ux_pictbridge_xml_item_output_getfileinfo, 1210 _ux_pictbridge_xml_item_root, 1211 UX_NULL, 1212 }, 1213 { 1214 "getFile", 1215 0, 1216 _ux_pictbridge_xml_item_output_getfile, 1217 _ux_pictbridge_xml_item_root, 1218 UX_NULL, 1219 }, 1220 { 1221 "getPartialFile", 1222 0, 1223 _ux_pictbridge_xml_item_output_getpartialfile, 1224 _ux_pictbridge_xml_item_root, 1225 UX_NULL, 1226 }, 1227 { 1228 "getFileList", 1229 0, 1230 _ux_pictbridge_xml_item_output_getfilelist, 1231 _ux_pictbridge_xml_item_root, 1232 UX_NULL, 1233 }, 1234 { 1235 "getThumb", 1236 0, 1237 _ux_pictbridge_xml_item_output_getthumb, 1238 _ux_pictbridge_xml_item_root, 1239 UX_NULL, 1240 }, 1241 1242 { "\0", 0, UX_NULL, UX_NULL, UX_NULL } 1243 1244 }; 1245 1246 1247 /* Define Pictbridge XML Root elements. */ 1248 UX_PICTBRIDGE_XML_ITEM _ux_pictbridge_xml_item_root[] = 1249 { 1250 { 1251 "xml", 1252 0, 1253 UX_NULL, 1254 UX_NULL, 1255 _ux_pictbridge_xml_function_root_xml, 1256 }, 1257 1258 { 1259 "dps", 1260 0, 1261 UX_NULL, 1262 UX_NULL, 1263 _ux_pictbridge_xml_function_root_dps, 1264 }, 1265 { 1266 "input", 1267 0, 1268 _ux_pictbridge_xml_item_input, 1269 UX_NULL, 1270 _ux_pictbridge_xml_function_root_input, 1271 }, 1272 { 1273 "output", 1274 0, 1275 _ux_pictbridge_xml_item_output, 1276 UX_NULL, 1277 _ux_pictbridge_xml_function_root_output, 1278 }, 1279 1280 { "\0", 0, UX_NULL, UX_NULL, UX_NULL } 1281 1282 }; 1283 1284 1285 /* Define Pictbridge Discovery file names. */ 1286 UCHAR _ux_pictbridge_ddiscovery_name[] = "DDISCVRY.DPS"; 1287 UCHAR _ux_pictbridge_hdiscovery_name[] = "HDISCVRY.DPS"; 1288 UCHAR _ux_pictbridge_hrequest_name[] = "HREQUEST.DPS"; 1289 UCHAR _ux_pictbridge_hrsponse_name[] = "HRSPONSE.DPS"; 1290 UCHAR _ux_pictbridge_drequest_name[] = "DREQUEST.DPS"; 1291 UCHAR _ux_pictbridge_drsponse_name[] = "DRSPONSE.DPS"; 1292 1293 /* Define Pictbridge client volume strings. */ 1294 UCHAR _ux_pictbridge_volume_description[] = "PIMA Client Storage Volume"; 1295 UCHAR _ux_pictbridge_volume_label[] = "PIMA Client Storage Label"; 1296 1297 /* Define Pictbridge XML tag lines or tag names. */ 1298 UCHAR _ux_pictbridge_xml_tag_line_xmlversion[] = "?xml version=\"1.0\"?" ; 1299 UCHAR _ux_pictbridge_xml_tag_line_dpsxmlns[] = "dps xmlns=\"http://www.cipa.jp/dps/schema/\""; 1300 UCHAR _ux_pictbridge_xml_tag_line_dps[] = "dps"; 1301 UCHAR _ux_pictbridge_xml_tag_line_output[] = "output"; 1302 UCHAR _ux_pictbridge_xml_tag_line_input[] = "input"; 1303 UCHAR _ux_pictbridge_xml_tag_line_result[] = "result"; 1304 UCHAR _ux_pictbridge_xml_tag_line_configureprintservice[] = "configurePrintService"; 1305 UCHAR _ux_pictbridge_xml_tag_line_printserviceavailable[] = "printServiceAvailable"; 1306 UCHAR _ux_pictbridge_xml_tag_line_dpsversions[] = "dpsVersions"; 1307 UCHAR _ux_pictbridge_xml_tag_line_vendorname[] = "vendorName"; 1308 UCHAR _ux_pictbridge_xml_tag_line_vendorspecificversion[] = "vendorSpecificVersion"; 1309 UCHAR _ux_pictbridge_xml_tag_line_productname[] = "productName"; 1310 UCHAR _ux_pictbridge_xml_tag_line_serialno[] = "serialNo"; 1311 UCHAR _ux_pictbridge_xml_tag_line_capability[] = "capability"; 1312 UCHAR _ux_pictbridge_xml_tag_line_getcapability[] = "getCapability"; 1313 UCHAR _ux_pictbridge_xml_tag_line_qualities[] = "qualities"; 1314 UCHAR _ux_pictbridge_xml_tag_line_papersizes[] = "paperSizes"; 1315 UCHAR _ux_pictbridge_xml_tag_line_papertypes[] = "paperTypes"; 1316 UCHAR _ux_pictbridge_xml_tag_line_filetypes[] = "fileTypes"; 1317 UCHAR _ux_pictbridge_xml_tag_line_dateprints[] = "datePrints"; 1318 UCHAR _ux_pictbridge_xml_tag_line_filenameprints[] = "fileNamePrints"; 1319 UCHAR _ux_pictbridge_xml_tag_line_imageoptimizes[] = "imageOptimizes"; 1320 UCHAR _ux_pictbridge_xml_tag_line_layouts[] = "layouts"; 1321 UCHAR _ux_pictbridge_xml_tag_line_fixedsizes[] = "fixedSizes"; 1322 UCHAR _ux_pictbridge_xml_tag_line_croppings[] = "croppings"; 1323 UCHAR _ux_pictbridge_xml_tag_line_charrepertoires[] = "charRepertoires"; 1324 UCHAR _ux_pictbridge_xml_tag_line_getdevicestatus[] = "getDeviceStatus"; 1325 UCHAR _ux_pictbridge_xml_tag_line_dpsprintservicestatus[] = "dpsPrintServiceStatus"; 1326 UCHAR _ux_pictbridge_xml_tag_line_jobendreason[] = "jobEndReason"; 1327 UCHAR _ux_pictbridge_xml_tag_line_errorstatus[] = "errorStatus"; 1328 UCHAR _ux_pictbridge_xml_tag_line_errorreason[] = "errorReason"; 1329 UCHAR _ux_pictbridge_xml_tag_line_disconnectenable[] = "disconnectEnable"; 1330 UCHAR _ux_pictbridge_xml_tag_line_capabilitychanged[] = "capabilityChanged"; 1331 UCHAR _ux_pictbridge_xml_tag_line_newjobok[] = "newJobOK"; 1332 UCHAR _ux_pictbridge_xml_tag_line_notifydevicestatus[] = "notifyDeviceStatus"; 1333 UCHAR _ux_pictbridge_xml_tag_line_notifyjobstatus[] = "notifyJobStatus"; 1334 UCHAR _ux_pictbridge_xml_tag_line_progress[] = "progress"; 1335 UCHAR _ux_pictbridge_xml_tag_line_imagesprinted[] = "imagesPrinted"; 1336 UCHAR _ux_pictbridge_xml_tag_line_startjob[] = "startJob"; 1337 UCHAR _ux_pictbridge_xml_tag_line_abortjob[] = "abortJob"; 1338 UCHAR _ux_pictbridge_xml_tag_line_abortstyle[] = "abortStyle"; 1339 UCHAR _ux_pictbridge_xml_tag_line_continuejob[] = "continueJob"; 1340 UCHAR _ux_pictbridge_xml_tag_line_quality[] = "quality"; 1341 UCHAR _ux_pictbridge_xml_tag_line_papersize[] = "paperSize"; 1342 UCHAR _ux_pictbridge_xml_tag_line_papertype[] = "paperType"; 1343 UCHAR _ux_pictbridge_xml_tag_line_filetype[] = "fileType"; 1344 UCHAR _ux_pictbridge_xml_tag_line_dateprint[] = "datePrint"; 1345 UCHAR _ux_pictbridge_xml_tag_line_filenameprint[] = "fileNamePrint"; 1346 UCHAR _ux_pictbridge_xml_tag_line_imageoptimize[] = "imageOptimize"; 1347 UCHAR _ux_pictbridge_xml_tag_line_layout[] = "layout"; 1348 UCHAR _ux_pictbridge_xml_tag_line_fixedsize[] = "fixedSize"; 1349 UCHAR _ux_pictbridge_xml_tag_line_cropping[] = "cropping"; 1350 UCHAR _ux_pictbridge_xml_tag_line_jobconfig[] = "jobConfig"; 1351 UCHAR _ux_pictbridge_xml_tag_line_printinfo[] = "printInfo"; 1352 UCHAR _ux_pictbridge_xml_tag_line_fileid[] = "fileID"; 1353 UCHAR _ux_pictbridge_xml_tag_line_filename[] = "fileName"; 1354 UCHAR _ux_pictbridge_xml_tag_line_date[] = "date"; 1355 1356 /* Define Pictbridge XML variable names. */ 1357 UCHAR _ux_pictbridge_xml_variable_papersize[] = "paperSize"; 1358 UCHAR _ux_pictbridge_xml_variable_version[] = "version"; 1359 UCHAR _ux_pictbridge_xml_variable_xmlns[] = "xmlns"; 1360 1361 /* Define Pictbridge XML string names. */ 1362 UCHAR _ux_pictbridge_xml_string_xmlns[] = "http://www.cipa.jp/dps/schema/"; 1363 1364