<?xml version="1.0"?>
<!--
This file contains information related to printer capabilities and features.  It is recommended
that this file NOT be edited directly, but used in conjunction with HP's Web JetAdmin printer
installation utility or with the HP Printing System Customization Utility contained on the
CDROM that shipped with this product.

Editing this file by hand may result in unexpected feature settings in the printer driver UI.
-->
<device>
    <software>
        <component>
            dmc_driver
            <component_header>
                <config_file>hpj6400t.exp</config_file>
        <config_file_version>1.0.0.6</config_file_version>
        <!-- September 12, 2007 -->
                <config_timestamp/>
                <config_version>1.0</config_version>
                <!-- Resource DLL Identifier-->
                <component_resource>hpbcfgre.dll</component_resource>
            </component_header>
            <!-- Pre-Configuration Settings Stored in <Current> Element -->
            <current>
                <physical/>
                <printing/>
                <custom/>
            </current>
            <factory>
                <!-- !!!!!!!!!!!!!!!!!!!!!!!!  PHYSICAL FEATURES !!!!!!!!!!!!!!!!!!!!!!! -->
                <physical resource_id="18">
                  <!-- Default DuplexUnit Installed -->
                  <feature resource_id="662" caption_id="10048" typical="TRUE">
                    DuplexUnit
                    <current_option>Installed</current_option>
                    <option resource_id="1">
                      Installed
                      <constraint>Show_Duplex_Automatic</constraint>
                    </option>
                    <option resource_id="2">
                      NotInstalled
                      <constraint>Hide_Duplex_Automatic</constraint>
                    </option>
                  </feature>
                </physical>
                <!-- !!!!!!!!!!!!!!!!!!!!!!!! PRINTING FEATURES !!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
                <printing resource_id="17">
                    <!-- TYPICAL FEATURES - (reverse order from display) -->                

                   <!-- Feature for ColorManagement -->
                    <feature resource_id="20857" typical="TRUE">
                        HPInputColorSpace
                        <current_option>COLORSMART</current_option>
                        <option resource_id="20852">
                            COLORSMART
                        </option>
                        <option resource_id="20847">
                            ADOBERGB
                        </option>
                    </feature>

                    <!-- Default MediaType Selection -->
                    <feature resource_id="550" caption_id="10017" typical="TRUE" lock="FALSE">
                        MediaType
                        <current_option>AUTOMATIC</current_option>

                        <option resource_id="16">
                            AUTOMATIC
                            <constraint>SnapTo_PrintQuality_Normal</constraint>
                        </option>
                        <option resource_id="20651">
                            PLAIN
                            <constraint>SnapTo_PrintQuality_Normal</constraint>
                        </option>
                        <option resource_id="595">
                            HP_BRIGHT_WHITE_INKJET_PAPER
                            <constraint>SnapTo_PrintQuality_Normal</constraint>
                        </option>
                        <option resource_id="610">
                            HP_PREM_INKJET_PAPER
                            <constraint>SnapTo_PrintQuality_Normal</constraint>
                        </option>
                        <option resource_id="20576">
                            HP_PREM_INKJET_PRESENTATION_PAPER
                            <constraint>SnapTo_PrintQuality_Normal</constraint>
                        </option>
                        <option resource_id="20654">
                            OTHER_INKJET_PAPERS
                            <constraint>SnapTo_PrintQuality_Normal</constraint>
                        </option>
            <option resource_id="20655" PHOTO_MEDIATYPE="TRUE" PHOTO_MEDIATYPE_DEFAULT="TRUE">
                          HP_PREMIUM_PLUS_PHOTO_PAPER
                            <constraint>Lockout_Duplex_Manual_And_Automatic</constraint>
                            <constraint>SnapTo_PrintQuality_Normal</constraint>
                        </option>
            <option resource_id="20656" PHOTO_MEDIATYPE="TRUE">
                          HP_PREMIUM_PHOTO_PAPER
                          <constraint>Lockout_Duplex_Manual_And_Automatic</constraint>
                            <constraint>SnapTo_PrintQuality_Best</constraint>
                        </option>
            <option resource_id="20598" PHOTO_MEDIATYPE="TRUE">
                          HP_ADVANCED_PHOTO_PAPER
                          <constraint>Lockout_Duplex_Manual_And_Automatic</constraint>
                            <constraint>SnapTo_PrintQuality_Best</constraint>
                        </option>
            <option resource_id="645" PHOTO_MEDIATYPE="TRUE">
                          HP_EVERYDAY_PHOTO_PAPER_SEMI_GLOSS
                          <constraint>Lockout_Duplex_Manual_And_Automatic</constraint>
                            <constraint>SnapTo_PrintQuality_Best</constraint>
                        </option>
            <option resource_id="20657" PHOTO_MEDIATYPE="TRUE">
                          OTHER_PHOTO_PAPER
                          <constraint>Lockout_Duplex_Manual_And_Automatic</constraint>
                            <constraint>SnapTo_PrintQuality_Best</constraint>
                        </option>
                        <option resource_id="611" >
                          HP_PREMIUM_INKJET_TRANSPARENCY
                          <constraint>Lockout_Duplex_Manual_And_Automatic</constraint>
                          <constraint>Lockout_Borderless_Paper_sizes</constraint>
                            <constraint>SnapTo_PrintQuality_Normal</constraint>
                        </option>
                        <option resource_id="20658">
                          OTHER_TRANSPARENCY_FILMS
                          <constraint>Lockout_Duplex_Manual_And_Automatic</constraint>
                          <constraint>Lockout_Borderless_Paper_sizes</constraint>
                            <constraint>SnapTo_PrintQuality_Normal</constraint>
                        </option>
                        <option resource_id="614">
                          HP_IRON_ON_TRANSFER
                          <constraint>Lockout_Duplex_Manual_And_Automatic</constraint>
                            <constraint>SnapTo_PrintQuality_Normal</constraint>
                        </option>
                        <option resource_id="20584">
                            HP_NOTE_CARDS
                            <constraint>SnapTo_PrintQuality_Normal</constraint>
                        </option>
                        <option resource_id="20606">
                            HP_MATTE_POSTCARDS
                            <constraint>SnapTo_PrintQuality_Normal</constraint>
                        </option>
                        <option resource_id="20659">
                          HP_PHOTO_CARDS
                          <constraint>Lockout_Duplex_Automatic</constraint>
                            <constraint>SnapTo_PrintQuality_Normal</constraint>
                        </option>
                        <option resource_id="20660">
                            OTHER_SPECIALTY_PAPERS
                            <constraint>SnapTo_PrintQuality_Normal</constraint>
                        </option>
                        <option resource_id="616">
                          HP_PHOTO_GREETING_CARDS
                          <constraint>Lockout_Duplex_Automatic</constraint>
                            <constraint>SnapTo_PrintQuality_Best</constraint>
                        </option>
                        <option resource_id="615">
                            HP_MATTE_GREETING_CARD
                            <constraint>SnapTo_PrintQuality_Best</constraint>
                        </option>
                        <option resource_id="626">
                            OTHER_GREETING_CARDS
                            <constraint>SnapTo_PrintQuality_Normal</constraint>
                        </option>
                        <option resource_id="20652">
                            HP_PROFESSIONAL_BROCHURE_PAPER_GLOSSY
                            <constraint>SnapTo_PrintQuality_Best</constraint>
                        </option>
                        <option resource_id="20653">
                            HP_PROFESSIONAL_BROCHURE_PAPER_MATTE
                            <constraint>SnapTo_PrintQuality_Normal</constraint>
                        </option>
                        <option resource_id="20596">
                            HP_PLAIN_HAGAKI
                            <constraint>SnapTo_PrintQuality_Normal</constraint>
                        </option>
                        <option resource_id="20662">
                            INKJET_HAGAKI
                            <constraint>SnapTo_PrintQuality_Normal</constraint>
                        </option>
                    </feature>

                    <!-- Default Paper Size Selection -->
                    <feature resource_id="200" caption_id="10012" typical="TRUE">
                        PaperSize
                        <current_option>LETTER</current_option>

            <option resource_id="219" PAPERSIZE_PHYSICAL_WIDTH="1480" PAPERSIZE_PHYSICAL_HEIGHT="2100" PAPERSIZE_LEFT_MARGIN="32" PAPERSIZE_TOP_MARGIN="30" PAPERSIZE_RIGHT_MARGIN="32" PAPERSIZE_BOTTOM_MARGIN="30">
                          A5
                          <constraint>SnapTo_MediaType_Automatic</constraint>
                          <constraint>SnapTo_Orientation_Portrait</constraint>
                        </option>
            <option resource_id="20247" PAPERSIZE_PHYSICAL_WIDTH="1820" PAPERSIZE_PHYSICAL_HEIGHT="2570" PAPERSIZE_LEFT_MARGIN="30" PAPERSIZE_TOP_MARGIN="30" PAPERSIZE_RIGHT_MARGIN="30" PAPERSIZE_BOTTOM_MARGIN="30">
                          B5
                          <constraint>SnapTo_MediaType_Automatic</constraint>
                          <constraint>SnapTo_Orientation_Portrait</constraint>
                        </option>
            <option resource_id="221" PAPERSIZE_PHYSICAL_WIDTH="1820" PAPERSIZE_PHYSICAL_HEIGHT="2570" PAPERSIZE_LEFT_MARGIN="30" PAPERSIZE_TOP_MARGIN="30" PAPERSIZE_RIGHT_MARGIN="30" PAPERSIZE_BOTTOM_MARGIN="30">
                          B5_JIS
                          <constraint>SnapTo_MediaType_Automatic</constraint>
                          <constraint>SnapTo_Orientation_Portrait</constraint>
                        </option>
            <option resource_id="215" PAPERSIZE_PHYSICAL_WIDTH="1841" PAPERSIZE_PHYSICAL_HEIGHT="2667" PAPERSIZE_LEFT_MARGIN="30" PAPERSIZE_TOP_MARGIN="30" PAPERSIZE_RIGHT_MARGIN="30" PAPERSIZE_BOTTOM_MARGIN="30">
                          EXECUTIVE
                          <constraint>SnapTo_MediaType_Automatic</constraint>
                          <constraint>SnapTo_Orientation_Portrait</constraint>
                        </option>
            <option resource_id="217" PAPERSIZE_PHYSICAL_WIDTH="2100" PAPERSIZE_PHYSICAL_HEIGHT="2970" PAPERSIZE_LEFT_MARGIN="30" PAPERSIZE_TOP_MARGIN="30" PAPERSIZE_RIGHT_MARGIN="30" PAPERSIZE_BOTTOM_MARGIN="30">
                          A4
                          <constraint>SnapTo_MediaType_Automatic</constraint>
                          <constraint>SnapTo_Orientation_Portrait</constraint>
                        </option>
            <option resource_id="209" PAPERSIZE_PHYSICAL_WIDTH="2159" PAPERSIZE_PHYSICAL_HEIGHT="2794" PAPERSIZE_LEFT_MARGIN="33" PAPERSIZE_TOP_MARGIN="30" PAPERSIZE_RIGHT_MARGIN="33" PAPERSIZE_BOTTOM_MARGIN="30">
                          LETTER
                          <constraint>SnapTo_MediaType_Automatic</constraint>
                          <constraint>SnapTo_Orientation_Portrait</constraint>
                        </option>
            <option resource_id="213" PAPERSIZE_PHYSICAL_WIDTH="2159" PAPERSIZE_PHYSICAL_HEIGHT="3556" PAPERSIZE_LEFT_MARGIN="33" PAPERSIZE_TOP_MARGIN="30" PAPERSIZE_RIGHT_MARGIN="33" PAPERSIZE_BOTTOM_MARGIN="30">
                          LEGAL
                          <constraint>Lockout_Duplex_Manual_And_Automatic</constraint>
                          <constraint>SnapTo_MediaType_Automatic</constraint>
                          <constraint>SnapTo_Orientation_Portrait</constraint>
                        </option>
            <option resource_id="20314" BORDERLESS="TRUE" PAPERSIZE_PHYSICAL_WIDTH="889" PAPERSIZE_PHYSICAL_HEIGHT="1270" PAPERSIZE_LEFT_MARGIN="0" PAPERSIZE_TOP_MARGIN="0" PAPERSIZE_RIGHT_MARGIN="0" PAPERSIZE_BOTTOM_MARGIN="0">
              HP_BORDERLESS_L
                          <constraint>Lockout_Duplex_Manual_And_Automatic</constraint>
                          <constraint>Lockout_Mediatype_Not_Supported_For_Borderless</constraint>
                          <constraint>SnapTo_MediaType_PremiumPlusPhoto</constraint>
                          
                        </option>
            <option resource_id="20304" BORDERLESS="TRUE" PAPERSIZE_PHYSICAL_WIDTH="889" PAPERSIZE_PHYSICAL_HEIGHT="1270" PAPERSIZE_LEFT_MARGIN="0" PAPERSIZE_TOP_MARGIN="0" PAPERSIZE_RIGHT_MARGIN="0" PAPERSIZE_BOTTOM_MARGIN="0">
                          HP_BORDERLESS_3_5_X_5
                          <constraint>Lockout_Duplex_Manual_And_Automatic</constraint>
                          <constraint>Lockout_Mediatype_Not_Supported_For_Borderless</constraint>
                          <constraint>SnapTo_MediaType_PremiumPlusPhoto</constraint>
                          
                        </option>
            <option resource_id="20342" BORDERLESS="TRUE" PAPERSIZE_PHYSICAL_WIDTH="878" PAPERSIZE_PHYSICAL_HEIGHT="1249" PAPERSIZE_LEFT_MARGIN="0" PAPERSIZE_TOP_MARGIN="0" PAPERSIZE_RIGHT_MARGIN="0" PAPERSIZE_BOTTOM_MARGIN="0">
                        HP_BORDERLESS_B7
                        <constraint>Lockout_Duplex_Manual_And_Automatic</constraint>
                        <constraint>Lockout_Mediatype_Not_Supported_For_Borderless</constraint>
                        <constraint>SnapTo_MediaType_PremiumPlusPhoto</constraint>
                        
                      </option>
            <option resource_id="20271" BORDERLESS="TRUE" PAPERSIZE_PHYSICAL_WIDTH="1000" PAPERSIZE_PHYSICAL_HEIGHT="1480" PAPERSIZE_LEFT_MARGIN="0" PAPERSIZE_TOP_MARGIN="0" PAPERSIZE_RIGHT_MARGIN="0" PAPERSIZE_BOTTOM_MARGIN="0">
                          HP_BORDERLESS_HAGAKI_CARD
                          <!--<constraint>Lockout_Duplex_Automatic</constraint>-->
                          <constraint>Lockout_Mediatype_Not_Supported_For_Borderless</constraint>
                            
                        </option>
            <option resource_id="20279" BORDERLESS="TRUE" PHOTO_PAPERSIZE_NONUS_DEFAULT="TRUE" PAPERSIZE_PHYSICAL_WIDTH="1016" PAPERSIZE_PHYSICAL_HEIGHT="1524" PAPERSIZE_LEFT_MARGIN="0" PAPERSIZE_TOP_MARGIN="0" PAPERSIZE_RIGHT_MARGIN="0" PAPERSIZE_BOTTOM_MARGIN="0">
                          HP_BORDERLESS_PHOTO_10_X_15_CM
                          <constraint>Lockout_Duplex_Manual_And_Automatic</constraint>
                          <constraint>Lockout_Mediatype_Not_Supported_For_Borderless</constraint>
                          <constraint>SnapTo_MediaType_PremiumPlusPhoto</constraint>
                          
                        </option>
            <option resource_id="20234" BORDERLESS="TRUE" PHOTO_PAPERSIZE_US_DEFAULT="TRUE" PAPERSIZE_PHYSICAL_WIDTH="1016" PAPERSIZE_PHYSICAL_HEIGHT="1524" PAPERSIZE_LEFT_MARGIN="0" PAPERSIZE_TOP_MARGIN="0" PAPERSIZE_RIGHT_MARGIN="0" PAPERSIZE_BOTTOM_MARGIN="0">
                          HP_BORDERLESS_4_X_6_IN
                          <constraint>Lockout_Duplex_Manual_And_Automatic</constraint>
                          <constraint>Lockout_Mediatype_Not_Supported_For_Borderless</constraint>
                          <constraint>SnapTo_MediaType_PremiumPlusPhoto</constraint>
                          
                        </option>
            <option resource_id="20280" BORDERLESS="TRUE" PAPERSIZE_PHYSICAL_WIDTH="1016" PAPERSIZE_PHYSICAL_HEIGHT="1524" PAPERSIZE_LEFT_MARGIN="0" PAPERSIZE_TOP_MARGIN="0" PAPERSIZE_RIGHT_MARGIN="0" PAPERSIZE_BOTTOM_MARGIN="0">
                          HP_BORDERLESS_PHOTO_10_X_15_CM_WT
                          <constraint>Lockout_Duplex_Manual_And_Automatic</constraint>
                          <constraint>Lockout_Mediatype_Not_Supported_For_Borderless</constraint>
                          <constraint>SnapTo_MediaType_PremiumPlusPhoto</constraint>
                          
                        </option>
            <option resource_id="20235" BORDERLESS="TRUE" PAPERSIZE_PHYSICAL_WIDTH="1016" PAPERSIZE_PHYSICAL_HEIGHT="1524" PAPERSIZE_LEFT_MARGIN="0" PAPERSIZE_TOP_MARGIN="0" PAPERSIZE_RIGHT_MARGIN="0" PAPERSIZE_BOTTOM_MARGIN="0">
                          HP_BORDERLESS_4_X_6_IN_WT
                          <constraint>Lockout_Duplex_Manual_And_Automatic</constraint>
                          <constraint>Lockout_Mediatype_Not_Supported_For_Borderless</constraint>
                          <constraint>SnapTo_MediaType_PremiumPlusPhoto</constraint>
                          
                        </option>
            <option resource_id="20254" BORDERLESS="TRUE" PAPERSIZE_PHYSICAL_WIDTH="1016" PAPERSIZE_PHYSICAL_HEIGHT="2032" PAPERSIZE_LEFT_MARGIN="0" PAPERSIZE_TOP_MARGIN="0" PAPERSIZE_RIGHT_MARGIN="0" PAPERSIZE_BOTTOM_MARGIN="0">
                          HP_BORDERLESS_CARD_10_X_20_CM_WT
                          <constraint>Lockout_Duplex_Manual_And_Automatic</constraint>
                          <constraint>Lockout_Mediatype_Not_Supported_For_Borderless</constraint>
                          <constraint>SnapTo_MediaType_PhotoCards</constraint>
                          
                        </option>
            <option resource_id="20253" BORDERLESS="TRUE" PAPERSIZE_PHYSICAL_WIDTH="1016" PAPERSIZE_PHYSICAL_HEIGHT="2032" PAPERSIZE_LEFT_MARGIN="0" PAPERSIZE_TOP_MARGIN="0" PAPERSIZE_RIGHT_MARGIN="0" PAPERSIZE_BOTTOM_MARGIN="0">
                          HP_BORDERLESS_4_x_8_IN_WT
                            <constraint>Lockout_Duplex_Manual_And_Automatic</constraint>
                          <constraint>Lockout_Mediatype_Not_Supported_For_Borderless</constraint>
                            <constraint>SnapTo_MediaType_PhotoCards</constraint>
                            
                        </option>
            <option resource_id="20341" BORDERLESS="TRUE" PAPERSIZE_PHYSICAL_WIDTH="1010" PAPERSIZE_PHYSICAL_HEIGHT="1800" PAPERSIZE_LEFT_MARGIN="0" PAPERSIZE_TOP_MARGIN="0" PAPERSIZE_RIGHT_MARGIN="0" PAPERSIZE_BOTTOM_MARGIN="0">
                          HP_BORDERLESS_HV_SIZE
                          <constraint>Lockout_Duplex_Manual_And_Automatic</constraint>
                          <constraint>Lockout_Mediatype_Not_Supported_For_Borderless</constraint>
                          <constraint>SnapTo_MediaType_PremiumPlusPhoto</constraint>
                          
                        </option>
            <option resource_id="20327" BORDERLESS="TRUE" PAPERSIZE_PHYSICAL_WIDTH="1049" PAPERSIZE_PHYSICAL_HEIGHT="1480" PAPERSIZE_LEFT_MARGIN="0" PAPERSIZE_TOP_MARGIN="0" PAPERSIZE_RIGHT_MARGIN="0" PAPERSIZE_BOTTOM_MARGIN="0">
                          HP_BORDERLESS_PHOTO_A6
                          <constraint>Lockout_Duplex_Manual_And_Automatic</constraint>
                          <constraint>Lockout_Mediatype_Not_Supported_For_Borderless</constraint>
                          <constraint>SnapTo_MediaType_PremiumPlusPhoto</constraint>
                          
                        </option>
            <option resource_id="20232" BORDERLESS="TRUE" PAPERSIZE_PHYSICAL_WIDTH="1198" PAPERSIZE_PHYSICAL_HEIGHT="1651" PAPERSIZE_LEFT_MARGIN="0" PAPERSIZE_TOP_MARGIN="0" PAPERSIZE_RIGHT_MARGIN="0" PAPERSIZE_BOTTOM_MARGIN="0">
                          HP_BORDERLESS_CABINET
                          <constraint>Lockout_Duplex_Manual_And_Automatic</constraint>
                          <constraint>Lockout_Mediatype_Not_Supported_For_Borderless</constraint>
                          <constraint>SnapTo_MediaType_PremiumPlusPhoto</constraint>
                          
                        </option>
            <option resource_id="20315" BORDERLESS="TRUE" PAPERSIZE_PHYSICAL_WIDTH="1270" PAPERSIZE_PHYSICAL_HEIGHT="1780" PAPERSIZE_LEFT_MARGIN="0" PAPERSIZE_TOP_MARGIN="0" PAPERSIZE_RIGHT_MARGIN="0" PAPERSIZE_BOTTOM_MARGIN="0">
                          HP_BORDERLESS_2L
                          <constraint>Lockout_Duplex_Manual_And_Automatic</constraint>
                          <constraint>Lockout_Mediatype_Not_Supported_For_Borderless</constraint>
                          <constraint>SnapTo_MediaType_PremiumPlusPhoto</constraint>
                          
                        </option>
            <option resource_id="20281" BORDERLESS="TRUE" PAPERSIZE_PHYSICAL_WIDTH="1270" PAPERSIZE_PHYSICAL_HEIGHT="1778" PAPERSIZE_LEFT_MARGIN="0" PAPERSIZE_TOP_MARGIN="0" PAPERSIZE_RIGHT_MARGIN="0" PAPERSIZE_BOTTOM_MARGIN="0">
                          HP_BORDERLESS_PHOTO_13_X_18
                          <constraint>Lockout_Duplex_Manual_And_Automatic</constraint>
                          <constraint>Lockout_Mediatype_Not_Supported_For_Borderless</constraint>
                          <constraint>SnapTo_MediaType_PremiumPlusPhoto</constraint>
                          
                        </option>
            <option resource_id="20335" BORDERLESS="TRUE" PAPERSIZE_PHYSICAL_WIDTH="1270" PAPERSIZE_PHYSICAL_HEIGHT="1778" PAPERSIZE_LEFT_MARGIN="0" PAPERSIZE_TOP_MARGIN="0" PAPERSIZE_RIGHT_MARGIN="0" PAPERSIZE_BOTTOM_MARGIN="0">
                          HP_BORDERLESS_PHOTO_5_X_7_IN
                          <constraint>Lockout_Duplex_Manual_And_Automatic</constraint>
                          <constraint>Lockout_Mediatype_Not_Supported_For_Borderless</constraint>
                          <constraint>SnapTo_MediaType_PremiumPlusPhoto</constraint>
                          
                        </option>
            <option resource_id="20276" BORDERLESS="TRUE" PAPERSIZE_PHYSICAL_WIDTH="1480" PAPERSIZE_PHYSICAL_HEIGHT="2100" PAPERSIZE_LEFT_MARGIN="0" PAPERSIZE_TOP_MARGIN="0" PAPERSIZE_RIGHT_MARGIN="0" PAPERSIZE_BOTTOM_MARGIN="0">
                          HP_BORDERLESS_A5
                          <constraint>Lockout_Duplex_Manual_And_Automatic</constraint>
                          <constraint>Lockout_Mediatype_Not_Supported_For_Borderless</constraint>
                          <constraint>SnapTo_MediaType_PremiumPlusPhoto</constraint>
                          
                        </option>
            <option resource_id="20316" BORDERLESS="TRUE" PAPERSIZE_PHYSICAL_WIDTH="1821" PAPERSIZE_PHYSICAL_HEIGHT="2570" PAPERSIZE_LEFT_MARGIN="0" PAPERSIZE_TOP_MARGIN="0" PAPERSIZE_RIGHT_MARGIN="0" PAPERSIZE_BOTTOM_MARGIN="0">
                          HP_BORDERLESS_B5
                          <constraint>Lockout_Duplex_Manual_And_Automatic</constraint>
                          <constraint>Lockout_Mediatype_Not_Supported_For_Borderless</constraint>
                          <constraint>SnapTo_MediaType_PremiumPlusPhoto</constraint>
                          
                        </option>
            <option resource_id="20282" BORDERLESS="TRUE" PAPERSIZE_PHYSICAL_WIDTH="2032" PAPERSIZE_PHYSICAL_HEIGHT="2540" PAPERSIZE_LEFT_MARGIN="0" PAPERSIZE_TOP_MARGIN="0" PAPERSIZE_RIGHT_MARGIN="0" PAPERSIZE_BOTTOM_MARGIN="0">
                          HP_BORDERLESS_8_X_10_IN
                          <constraint>Lockout_Duplex_Manual_And_Automatic</constraint>
                          <constraint>Lockout_Mediatype_Not_Supported_For_Borderless</constraint>
                          <constraint>SnapTo_MediaType_PremiumPlusPhoto</constraint>
                          
                        </option>
            <option resource_id="20334" BORDERLESS="TRUE" PAPERSIZE_PHYSICAL_WIDTH="2100" PAPERSIZE_PHYSICAL_HEIGHT="2969" PAPERSIZE_LEFT_MARGIN="0" PAPERSIZE_TOP_MARGIN="0" PAPERSIZE_RIGHT_MARGIN="0" PAPERSIZE_BOTTOM_MARGIN="0">
                          HP_BORDERLESS_PHOTO_A4
                          <constraint>Lockout_Duplex_Manual_And_Automatic</constraint>
                          <constraint>Lockout_Mediatype_Not_Supported_For_Borderless</constraint>
                          <constraint>SnapTo_MediaType_PremiumPlusPhoto</constraint>
                          
                        </option>
            <option resource_id="20270" BORDERLESS="TRUE" PAPERSIZE_PHYSICAL_WIDTH="2159" PAPERSIZE_PHYSICAL_HEIGHT="2794" PAPERSIZE_LEFT_MARGIN="0" PAPERSIZE_TOP_MARGIN="0" PAPERSIZE_RIGHT_MARGIN="0" PAPERSIZE_BOTTOM_MARGIN="0">
                          HP_BORDERLESS_8_5_X_11_IN
                          <constraint>Lockout_Duplex_Manual_And_Automatic</constraint>
                          <constraint>Lockout_Mediatype_Not_Supported_For_Borderless</constraint>
                          <constraint>SnapTo_MediaType_PremiumPlusPhoto</constraint>
                          
                        </option>
            <option resource_id="20283" BORDERLESS="TRUE" PAPERSIZE_PHYSICAL_WIDTH="1016" PAPERSIZE_PHYSICAL_HEIGHT="2540" PAPERSIZE_LEFT_MARGIN="0" PAPERSIZE_TOP_MARGIN="0" PAPERSIZE_RIGHT_MARGIN="0" PAPERSIZE_BOTTOM_MARGIN="0">
                          HP_BORDERLESS_PHOTO_PANORAMA_10x25
                          <constraint>Lockout_Duplex_Manual_And_Automatic</constraint>
                          <constraint>Lockout_Mediatype_Not_Supported_For_Borderless</constraint>
                          <constraint>SnapTo_MediaType_PremiumPlusPhoto</constraint>
                          
                        </option>
            <option resource_id="20328" BORDERLESS="TRUE" PAPERSIZE_PHYSICAL_WIDTH="1016" PAPERSIZE_PHYSICAL_HEIGHT="2540" PAPERSIZE_LEFT_MARGIN="0" PAPERSIZE_TOP_MARGIN="0" PAPERSIZE_RIGHT_MARGIN="0" PAPERSIZE_BOTTOM_MARGIN="0">
                        HP_BORDERLESS_PHOTO_PANORAMA_4_X_10_IN
                        <constraint>Lockout_Duplex_Manual_And_Automatic</constraint>
                        <constraint>Lockout_Mediatype_Not_Supported_For_Borderless</constraint>
                        <constraint>SnapTo_MediaType_PremiumPlusPhoto</constraint>
                        
                      </option>
            <option resource_id="20340" BORDERLESS="TRUE" PAPERSIZE_PHYSICAL_WIDTH="1016" PAPERSIZE_PHYSICAL_HEIGHT="2794" PAPERSIZE_LEFT_MARGIN="0" PAPERSIZE_TOP_MARGIN="0" PAPERSIZE_RIGHT_MARGIN="0" PAPERSIZE_BOTTOM_MARGIN="0">
                        HP_BORDERLESS_PHOTO_PANORAMA_10_X_28_IN
                        <constraint>Lockout_Duplex_Manual_And_Automatic</constraint>
                        <constraint>Lockout_Mediatype_Not_Supported_For_Borderless</constraint>
                        <constraint>SnapTo_MediaType_PremiumPlusPhoto</constraint>
                        
                      </option>
            <option resource_id="20329" BORDERLESS="TRUE" PAPERSIZE_PHYSICAL_WIDTH="1016" PAPERSIZE_PHYSICAL_HEIGHT="2794" PAPERSIZE_LEFT_MARGIN="0" PAPERSIZE_TOP_MARGIN="0" PAPERSIZE_RIGHT_MARGIN="0" PAPERSIZE_BOTTOM_MARGIN="0">
                        HP_BORDERLESS_PHOTO_PANORAMA_4_X_11_IN
                        <constraint>Lockout_Duplex_Manual_And_Automatic</constraint>
                        <constraint>Lockout_Mediatype_Not_Supported_For_Borderless</constraint>
                          <constraint>SnapTo_MediaType_PremiumPlusPhoto</constraint>
                          
                        </option>
            <option resource_id="20238" BORDERLESS="TRUE" PAPERSIZE_PHYSICAL_WIDTH="1016" PAPERSIZE_PHYSICAL_HEIGHT="3048" PAPERSIZE_LEFT_MARGIN="0" PAPERSIZE_TOP_MARGIN="0" PAPERSIZE_RIGHT_MARGIN="0" PAPERSIZE_BOTTOM_MARGIN="0">
                          HP_BORDERLESS_PHOTO_PANORAMA_10x30
                          <constraint>Lockout_Duplex_Manual_And_Automatic</constraint>
                          <constraint>Lockout_Mediatype_Not_Supported_For_Borderless</constraint>
                          <constraint>SnapTo_MediaType_PremiumPlusPhoto</constraint>
                          
                        </option>
            <option resource_id="20330" BORDERLESS="TRUE" PAPERSIZE_PHYSICAL_WIDTH="1016" PAPERSIZE_PHYSICAL_HEIGHT="3048" PAPERSIZE_LEFT_MARGIN="0" PAPERSIZE_TOP_MARGIN="0" PAPERSIZE_RIGHT_MARGIN="0" PAPERSIZE_BOTTOM_MARGIN="0">
                          HP_BORDERLESS_PHOTO_PANORAMA_4_X_12_IN
                          <constraint>Lockout_Duplex_Manual_And_Automatic</constraint>
                          <constraint>Lockout_Mediatype_Not_Supported_For_Borderless</constraint>
                          <constraint>SnapTo_MediaType_PremiumPlusPhoto</constraint>
                          
                        </option>
            <option resource_id="20278" BORDERLESS="TRUE" PAPERSIZE_PHYSICAL_WIDTH="2100" PAPERSIZE_PHYSICAL_HEIGHT="5941" PAPERSIZE_LEFT_MARGIN="0" PAPERSIZE_TOP_MARGIN="0" PAPERSIZE_RIGHT_MARGIN="0" PAPERSIZE_BOTTOM_MARGIN="0">
                          HP_BORDERLESS_DOUBLE_A4
                          <constraint>Lockout_Duplex_Manual_And_Automatic</constraint>
                          <constraint>Lockout_Mediatype_Not_Supported_For_Borderless</constraint>
                          <constraint>SnapTo_MediaType_PremiumPlusPhoto</constraint>
                          
                        </option>
            <option resource_id="20236" PAPERSIZE_PHYSICAL_WIDTH="889" PAPERSIZE_PHYSICAL_HEIGHT="1270" PAPERSIZE_LEFT_MARGIN="31" PAPERSIZE_TOP_MARGIN="30" PAPERSIZE_RIGHT_MARGIN="31" PAPERSIZE_BOTTOM_MARGIN="30">
                          L
                          <constraint>Lockout_Duplex_Automatic</constraint>
                          <constraint>SnapTo_MediaType_PremiumPlusPhoto</constraint>
                          
                        </option>
            <option resource_id="20298" PAPERSIZE_PHYSICAL_WIDTH="889" PAPERSIZE_PHYSICAL_HEIGHT="1270" PAPERSIZE_LEFT_MARGIN="31" PAPERSIZE_TOP_MARGIN="30" PAPERSIZE_RIGHT_MARGIN="31" PAPERSIZE_BOTTOM_MARGIN="30">
                          3_5_X_5
                          <constraint>Lockout_Duplex_Automatic</constraint>
                          <constraint>SnapTo_MediaType_PremiumPlusPhoto</constraint>
                          
                        </option>
            <option resource_id="20339" PAPERSIZE_PHYSICAL_WIDTH="878" PAPERSIZE_PHYSICAL_HEIGHT="1249" PAPERSIZE_LEFT_MARGIN="33" PAPERSIZE_TOP_MARGIN="30" PAPERSIZE_RIGHT_MARGIN="33" PAPERSIZE_BOTTOM_MARGIN="30">
                          B7
                          <constraint>Lockout_Duplex_Automatic</constraint>
                          <constraint>SnapTo_MediaType_Plain</constraint>
                        </option>
            <option resource_id="20321" PAPERSIZE_PHYSICAL_WIDTH="1000" PAPERSIZE_PHYSICAL_HEIGHT="1480" PAPERSIZE_LEFT_MARGIN="33" PAPERSIZE_TOP_MARGIN="30" PAPERSIZE_RIGHT_MARGIN="33" PAPERSIZE_BOTTOM_MARGIN="30">
                            HAGAKI_CARD                            
                            <constraint>SnapTo_MediaType_InkjetHagaki</constraint>
                        </option>
            <option resource_id="20226" PAPERSIZE_PHYSICAL_WIDTH="1016" PAPERSIZE_PHYSICAL_HEIGHT="1524" PAPERSIZE_LEFT_MARGIN="30" PAPERSIZE_TOP_MARGIN="30" PAPERSIZE_RIGHT_MARGIN="30" PAPERSIZE_BOTTOM_MARGIN="30">
                          10_X_15
                          <constraint>Lockout_Duplex_Automatic</constraint>
                          <constraint>SnapTo_MediaType_PremiumPlusPhoto</constraint>
                          
                        </option>
            <option resource_id="20229" PAPERSIZE_PHYSICAL_WIDTH="1016" PAPERSIZE_PHYSICAL_HEIGHT="1524" PAPERSIZE_LEFT_MARGIN="30" PAPERSIZE_TOP_MARGIN="30" PAPERSIZE_RIGHT_MARGIN="30" PAPERSIZE_BOTTOM_MARGIN="30">
                          4_X_6_IN
                          <constraint>Lockout_Duplex_Automatic</constraint>
                          <constraint>SnapTo_MediaType_PremiumPlusPhoto</constraint>
                          
                        </option>
            <option resource_id="20227" PAPERSIZE_PHYSICAL_WIDTH="1016" PAPERSIZE_PHYSICAL_HEIGHT="1524" PAPERSIZE_LEFT_MARGIN="30" PAPERSIZE_TOP_MARGIN="30" PAPERSIZE_RIGHT_MARGIN="30" PAPERSIZE_BOTTOM_MARGIN="30">
                          10_X_15_CM_WT
                          <constraint>Lockout_Duplex_Automatic</constraint>
                          <constraint>SnapTo_MediaType_PremiumPlusPhoto</constraint>
                        </option>
            <option resource_id="20257" PAPERSIZE_PHYSICAL_WIDTH="1016" PAPERSIZE_PHYSICAL_HEIGHT="1524" PAPERSIZE_LEFT_MARGIN="30" PAPERSIZE_TOP_MARGIN="30" PAPERSIZE_RIGHT_MARGIN="30" PAPERSIZE_BOTTOM_MARGIN="30">
                          4_X_6_IN_WT
                          <constraint>Lockout_Duplex_Automatic</constraint>
                          <constraint>SnapTo_MediaType_PremiumPlusPhoto</constraint>
                        </option>
            <option resource_id="20251" PAPERSIZE_PHYSICAL_WIDTH="1016" PAPERSIZE_PHYSICAL_HEIGHT="2032" PAPERSIZE_LEFT_MARGIN="30" PAPERSIZE_TOP_MARGIN="30" PAPERSIZE_RIGHT_MARGIN="30" PAPERSIZE_BOTTOM_MARGIN="30">
                          10_X_20_TAB
                          <constraint>Lockout_Duplex_Automatic</constraint>
                          <constraint>SnapTo_MediaType_PhotoCards</constraint>
                        </option>
            <option resource_id="20252" PAPERSIZE_PHYSICAL_WIDTH="1016" PAPERSIZE_PHYSICAL_HEIGHT="2032" PAPERSIZE_LEFT_MARGIN="30" PAPERSIZE_TOP_MARGIN="30" PAPERSIZE_RIGHT_MARGIN="30" PAPERSIZE_BOTTOM_MARGIN="30">
                          4_X_8_TAB
                          <constraint>Lockout_Duplex_Automatic</constraint>
                          <constraint>SnapTo_MediaType_PhotoCards</constraint>
                        </option>
            <option resource_id="20338" PAPERSIZE_PHYSICAL_WIDTH="1010" PAPERSIZE_PHYSICAL_HEIGHT="1800" PAPERSIZE_LEFT_MARGIN="31" PAPERSIZE_TOP_MARGIN="30" PAPERSIZE_RIGHT_MARGIN="31" PAPERSIZE_BOTTOM_MARGIN="30">
                          HV_SIZE
                          <constraint>Lockout_Duplex_Automatic</constraint>
                          <constraint>SnapTo_MediaType_PremiumPlusPhoto</constraint>
                        </option>
            <option resource_id="201" PAPERSIZE_PHYSICAL_WIDTH="1050" PAPERSIZE_PHYSICAL_HEIGHT="1480" PAPERSIZE_LEFT_MARGIN="30" PAPERSIZE_TOP_MARGIN="30" PAPERSIZE_RIGHT_MARGIN="30" PAPERSIZE_BOTTOM_MARGIN="30">
                          A6_CARD
                          <constraint>SnapTo_MediaType_Automatic</constraint>
                        </option>
            <option resource_id="20239" PAPERSIZE_PHYSICAL_WIDTH="1198" PAPERSIZE_PHYSICAL_HEIGHT="1651" PAPERSIZE_LEFT_MARGIN="30" PAPERSIZE_TOP_MARGIN="30" PAPERSIZE_RIGHT_MARGIN="30" PAPERSIZE_BOTTOM_MARGIN="30">
                          CABINET
                          <constraint>Lockout_Duplex_Automatic</constraint>
                          <constraint>SnapTo_MediaType_Plain</constraint>
                        </option>
            <option resource_id="20255" PAPERSIZE_PHYSICAL_WIDTH="1270" PAPERSIZE_PHYSICAL_HEIGHT="1780" PAPERSIZE_LEFT_MARGIN="32" PAPERSIZE_TOP_MARGIN="30" PAPERSIZE_RIGHT_MARGIN="32" PAPERSIZE_BOTTOM_MARGIN="30">
                          2L
                          <constraint>Lockout_Duplex_Automatic</constraint>                           
                          <constraint>SnapTo_MediaType_PremiumPlusPhoto</constraint>
                        </option>
            <option resource_id="20228" PAPERSIZE_PHYSICAL_WIDTH="1270" PAPERSIZE_PHYSICAL_HEIGHT="1778" PAPERSIZE_LEFT_MARGIN="32" PAPERSIZE_TOP_MARGIN="30" PAPERSIZE_RIGHT_MARGIN="32" PAPERSIZE_BOTTOM_MARGIN="30">
                          13_X_18_CM
                          <constraint>Lockout_Duplex_Automatic</constraint>
                          <constraint>SnapTo_MediaType_PremiumPlusPhoto</constraint>
                        </option>
            <option resource_id="20230" PAPERSIZE_PHYSICAL_WIDTH="1270" PAPERSIZE_PHYSICAL_HEIGHT="1778" PAPERSIZE_LEFT_MARGIN="32" PAPERSIZE_TOP_MARGIN="30" PAPERSIZE_RIGHT_MARGIN="32" PAPERSIZE_BOTTOM_MARGIN="30">
                          5_X_7_IN
                          <constraint>Lockout_Duplex_Automatic</constraint>
                          <constraint>SnapTo_MediaType_PremiumPlusPhoto</constraint>
                        </option>
            <option resource_id="30266" PAPERSIZE_PHYSICAL_WIDTH="1998" PAPERSIZE_PHYSICAL_HEIGHT="1480" PAPERSIZE_LEFT_MARGIN="30" PAPERSIZE_TOP_MARGIN="30" PAPERSIZE_RIGHT_MARGIN="30" PAPERSIZE_BOTTOM_MARGIN="30">
                          OFUKUHAGAKI
                          <constraint>SnapTo_MediaType_Plain</constraint>
                        </option>
            <option resource_id="20231" PAPERSIZE_PHYSICAL_WIDTH="2032" PAPERSIZE_PHYSICAL_HEIGHT="2540" PAPERSIZE_LEFT_MARGIN="30" PAPERSIZE_TOP_MARGIN="30" PAPERSIZE_RIGHT_MARGIN="30" PAPERSIZE_BOTTOM_MARGIN="30">
                          8_X_10_IN
                          <constraint>Lockout_Duplex_Automatic</constraint>
                          <constraint>SnapTo_MediaType_PremiumPlusPhoto</constraint>
                        </option>
            <option resource_id="20249" PAPERSIZE_PHYSICAL_WIDTH="1016" PAPERSIZE_PHYSICAL_HEIGHT="2540" PAPERSIZE_LEFT_MARGIN="30" PAPERSIZE_TOP_MARGIN="30" PAPERSIZE_RIGHT_MARGIN="30" PAPERSIZE_BOTTOM_MARGIN="30">
                          HP_PANORAMA_10_x_25
                          <constraint>Lockout_Duplex_Automatic</constraint>
                          <constraint>SnapTo_MediaType_PremiumPlusPhoto</constraint>
                        </option>
            <option resource_id="20331" PAPERSIZE_PHYSICAL_WIDTH="1016" PAPERSIZE_PHYSICAL_HEIGHT="2540" PAPERSIZE_LEFT_MARGIN="33" PAPERSIZE_TOP_MARGIN="30" PAPERSIZE_RIGHT_MARGIN="33" PAPERSIZE_BOTTOM_MARGIN="30">
                          HP_PANORAMA_4_x_10
                          <constraint>Lockout_Duplex_Automatic</constraint>
                          <constraint>SnapTo_MediaType_PremiumPlusPhoto</constraint>
                        </option>
            <option resource_id="20332" PAPERSIZE_PHYSICAL_WIDTH="1016" PAPERSIZE_PHYSICAL_HEIGHT="2794" PAPERSIZE_LEFT_MARGIN="33" PAPERSIZE_TOP_MARGIN="30" PAPERSIZE_RIGHT_MARGIN="33" PAPERSIZE_BOTTOM_MARGIN="30">
                          HP_PANORAMA_4_x_11
                          <constraint>Lockout_Duplex_Automatic</constraint>
                          <constraint>SnapTo_MediaType_PremiumPlusPhoto</constraint>
                        </option>
            <option resource_id="20250" PAPERSIZE_PHYSICAL_WIDTH="1016" PAPERSIZE_PHYSICAL_HEIGHT="2794" PAPERSIZE_LEFT_MARGIN="33" PAPERSIZE_TOP_MARGIN="30" PAPERSIZE_RIGHT_MARGIN="33" PAPERSIZE_BOTTOM_MARGIN="30">
                          HP_PANORAMA_10_x_28
                          <constraint>Lockout_Duplex_Automatic</constraint>
                          <constraint>SnapTo_MediaType_PremiumPlusPhoto</constraint>
                        </option>
            <option resource_id="20242" PAPERSIZE_PHYSICAL_WIDTH="1016" PAPERSIZE_PHYSICAL_HEIGHT="3048" PAPERSIZE_LEFT_MARGIN="30" PAPERSIZE_TOP_MARGIN="30" PAPERSIZE_RIGHT_MARGIN="30" PAPERSIZE_BOTTOM_MARGIN="30">
                          HP_PANORAMA_10_x_30
                          <constraint>Lockout_Duplex_Automatic</constraint>
                          <constraint>SnapTo_MediaType_PremiumPlusPhoto</constraint>
                        </option>
            <option resource_id="20333" PAPERSIZE_PHYSICAL_WIDTH="1016" PAPERSIZE_PHYSICAL_HEIGHT="3048" PAPERSIZE_LEFT_MARGIN="30" PAPERSIZE_TOP_MARGIN="30" PAPERSIZE_RIGHT_MARGIN="30" PAPERSIZE_BOTTOM_MARGIN="30">
                          HP_PANORAMA_4_x_12
                          <constraint>Lockout_Duplex_Automatic</constraint>
                          <constraint>SnapTo_MediaType_PremiumPlusPhoto</constraint>
                        </option>
            <option resource_id="20244" PAPERSIZE_PHYSICAL_WIDTH="2100" PAPERSIZE_PHYSICAL_HEIGHT="5941" PAPERSIZE_LEFT_MARGIN="30" PAPERSIZE_TOP_MARGIN="30" PAPERSIZE_RIGHT_MARGIN="30" PAPERSIZE_BOTTOM_MARGIN="30">
                          HP_PANORAMA_DOUBLE_A4
                          <constraint>Lockout_Duplex_Manual_And_Automatic</constraint>
                          <constraint>SnapTo_MediaType_PremiumPlusPhoto</constraint>
                        </option>
            <option resource_id="20337" PAPERSIZE_PHYSICAL_WIDTH="899" PAPERSIZE_PHYSICAL_HEIGHT="2049" PAPERSIZE_LEFT_MARGIN="33" PAPERSIZE_TOP_MARGIN="30" PAPERSIZE_RIGHT_MARGIN="33" PAPERSIZE_BOTTOM_MARGIN="30">
                          JENV_CHOU4
                          <constraint>Lockout_Duplex_Manual_And_Automatic</constraint>
                          <constraint>SnapTo_MediaType_Plain</constraint>
                        </option>
            <option resource_id="228" PAPERSIZE_PHYSICAL_WIDTH="1047" PAPERSIZE_PHYSICAL_HEIGHT="2413" PAPERSIZE_LEFT_MARGIN="32" PAPERSIZE_TOP_MARGIN="30" PAPERSIZE_RIGHT_MARGIN="32" PAPERSIZE_BOTTOM_MARGIN="30">
                            ENV_10
                            <constraint>Lockout_Duplex_Manual_And_Automatic</constraint>                            
                            <constraint>SnapTo_Orientation_Landscape</constraint>
                            <constraint>SnapTo_MediaType_Plain</constraint>
                        </option>
            <option resource_id="235" PAPERSIZE_PHYSICAL_WIDTH="1100" PAPERSIZE_PHYSICAL_HEIGHT="2200" PAPERSIZE_LEFT_MARGIN="31" PAPERSIZE_TOP_MARGIN="30" PAPERSIZE_RIGHT_MARGIN="31" PAPERSIZE_BOTTOM_MARGIN="30">
                          ENV_DL
                          <constraint>Lockout_Duplex_Manual_And_Automatic</constraint>                            
                          <constraint>SnapTo_Orientation_Landscape</constraint>
                          <constraint>SnapTo_MediaType_Plain</constraint>
                        </option>
            <option resource_id="239" PAPERSIZE_PHYSICAL_WIDTH="1140" PAPERSIZE_PHYSICAL_HEIGHT="1620" PAPERSIZE_LEFT_MARGIN="31" PAPERSIZE_TOP_MARGIN="30" PAPERSIZE_RIGHT_MARGIN="31" PAPERSIZE_BOTTOM_MARGIN="30">
                          ENV_C6
                          <constraint>Lockout_Duplex_Manual_And_Automatic</constraint>                            
                          <constraint>SnapTo_Orientation_Landscape</constraint>
                          <constraint>SnapTo_MediaType_Plain</constraint>
                        </option>
            <option resource_id="20336" PAPERSIZE_PHYSICAL_WIDTH="1199" PAPERSIZE_PHYSICAL_HEIGHT="2349" PAPERSIZE_LEFT_MARGIN="30" PAPERSIZE_TOP_MARGIN="30" PAPERSIZE_RIGHT_MARGIN="30" PAPERSIZE_BOTTOM_MARGIN="30">
                          JENV_CHOU3
                          <constraint>Lockout_Duplex_Manual_And_Automatic</constraint>
                          <constraint>SnapTo_MediaType_Plain</constraint>
                        </option>
            <option resource_id="20284" PAPERSIZE_PHYSICAL_WIDTH="762" PAPERSIZE_PHYSICAL_HEIGHT="1270" PAPERSIZE_LEFT_MARGIN="32" PAPERSIZE_TOP_MARGIN="30" PAPERSIZE_RIGHT_MARGIN="32" PAPERSIZE_BOTTOM_MARGIN="30">
                          INDEX_CARD_3X5
                          <constraint>SnapTo_MediaType_Plain</constraint>
                        </option>
            <option resource_id="20285" PAPERSIZE_PHYSICAL_WIDTH="1016" PAPERSIZE_PHYSICAL_HEIGHT="1524" PAPERSIZE_LEFT_MARGIN="30" PAPERSIZE_TOP_MARGIN="30" PAPERSIZE_RIGHT_MARGIN="30" PAPERSIZE_BOTTOM_MARGIN="30">
                          INDEX_CARD_4X6
                          <constraint>SnapTo_MediaType_Plain</constraint>
                        </option>
            <option resource_id="20286" PAPERSIZE_PHYSICAL_WIDTH="1270" PAPERSIZE_PHYSICAL_HEIGHT="2032" PAPERSIZE_LEFT_MARGIN="32" PAPERSIZE_TOP_MARGIN="30" PAPERSIZE_RIGHT_MARGIN="32" PAPERSIZE_BOTTOM_MARGIN="30">
                          INDEX_CARD_5X8
                          <constraint>SnapTo_MediaType_Plain</constraint>
                        </option>
                    </feature>

                    <!-- Print Quality-->
                    <feature editable="FALSE" typical="TRUE">
                        PrintQuality_Dummy
                        <current_option>Normal</current_option>

                        <option>
                            FastDraft
                        </option>
                        <option>
                            Normal
                        </option>
                        <option>
                            Best
                        </option>
                        <option>
                            4800x1200
                        </option>
                    </feature>

                    <!-- Print Quality-->
                    <feature resource_id="760" typical="true" caption_id="10019">
                        PrintQuality
                        <current_option>Normal</current_option>

                        <option resource_id="794" PHOTO_PRINTQUALITY="TRUE">
                            FastDraft
                            <constraint>SnapTo_PrintQualityDummy_FastDraft</constraint>
                        </option>
                        <option resource_id="769" PHOTO_PRINTQUALITY="TRUE">
                            Normal
                            <constraint>SnapTo_PrintQualityDummy_Normal</constraint>
                        </option>
                        <option resource_id="768" PHOTO_PRINTQUALITY="TRUE" PHOTO_PRINTQUALITY_DEFAULT="TRUE">
                            Best
                            <constraint>SnapTo_PrintQualityDummy_Best</constraint>
                        </option>
                        <option resource_id="798" PHOTO_PRINTQUALITY="TRUE">
                            4800x1200
                            <constraint>SnapTo_PrintQualityDummy_4800x1200</constraint>
                        </option>
                    </feature>

                    
                    <!-- Print in Grayscale -->
                    <feature resource_id="836" typical="true" caption_id="10056" lock="FALSE">
                        PrintColorAsGray
                        <current_option>FALSE</current_option>

                        <option resource_id="5">
                            FALSE
                        </option>
                        <option resource_id="4">
                            TRUE

                            <feature resource_id="20829" caption_id="10091">
                                PrintColorAsGrayOptions
                                <current_option>HighQuality</current_option>

                                <option resource_id="20855">
                                    HighQuality
                                </option>
                                <option resource_id="20856">
                                    BlackOnly
                                </option>
                            </feature>

                        </option>
                    </feature>

                    <!-- Default Orientation Setting -->
                    <feature resource_id="850" caption_id="10013" typical="TRUE">
                        Orientation
                        <current_option>Portrait</current_option>

                        <option resource_id="851">
                            Portrait
                        </option>
                        <option resource_id="852">
                            Landscape
                        </option>
                    </feature>

                  <feature resource_id="1000" caption_id="10014" typical="TRUE" lock="FALSE">
                    Duplex
                    <current_option>FALSE</current_option>
                    <option resource_id="14" editable="True">
                      FALSE
                      <constraint>Set_UseAutoDuplexUnit_To_False</constraint>
                      <constraint>Set_PrintOnBothSidesManually_To_False</constraint>
                      <constraint>Set_Booklet_Printing_To_Off</constraint>
                      <!-- DuplexEdge -->
                      <feature resource_id="1001" caption_id="10063" typical="TRUE" editable="False">
                        DuplexEdge
                        <current_option>OFF</current_option>
                        <option resource_id="14">
                          OFF
                        </option>
                      </feature>
                    </option>
                    <option resource_id="819" typical="TRUE" editable="True">
                      MANUAL
                      <constraint>Check_PaperSizes_That_Cant_Be_Manual_Duplexed</constraint>
                      <constraint>Check_MediaTypes_That_Cant_Be_Manual_Duplexed</constraint>
                      <constraint>Set_UseAutoDuplexUnit_To_False</constraint>
                      <constraint>Set_PrintOnBothSidesManually_To_True</constraint>
                      <!-- DuplexEdge -->
                      <feature resource_id="1001" caption_id="10063" typical="TRUE">
                        DuplexEdge
                        <current_option>LongEdge</current_option>
                        <option resource_id="1002">
                          LongEdge
                        </option>
                        <option resource_id="1003">
                          ShortEdge
                        </option>
                      </feature>
                    </option>

                    <option resource_id="818" typical="TRUE" editable="True">
                      AUTOMATIC
                      <constraint>Check_PaperSizes_That_Cant_Be_Auto_Duplexed</constraint>
                      <constraint>Check_MediaTypes_That_Cant_Be_Auto_Duplexed</constraint>
                      <constraint>Set_PrintOnBothSidesManually_To_False</constraint>
                      <constraint>Set_UseAutoDuplexUnit_To_True</constraint>
                      <!-- DuplexEdge -->
                      <feature resource_id="1001" caption_id="10063" typical="TRUE">
                        DuplexEdge
                        <current_option>LongEdge</current_option>
                        <option resource_id="1002">
                          LongEdge
                        </option>
                        <option resource_id="1003">
                          ShortEdge
                        </option>
                      </feature>
                    </option>
                  </feature>

                  <!-- Sreeharsha,
                  HPUseAutoDuplexUnit is responsible for setting the Two sided Printing feature to "Automatic" in the UI.
                  In the UI when the option Automatic is selected, HPUseAutoDuplexUnit is Set to True.
                  using this we are updating the Duplex value in the ticket to "Automatic" -->

                  <feature editable="False" typical="TRUE">
                    HPUseAutoDuplexUnit
                    <current_option>False</current_option>
                    <option>
                      True
                      <constraint>Set_HPUseAutoDuplexUnit_Dummy_To_True</constraint>
                      <constraint>Set_Duplex_To_Automatic</constraint>
                    </option>
                    <option>
                      False
                      <constraint>Set_HPUseAutoDuplexUnit_Dummy_To_False</constraint>
                      <constraint>Set_AutoDuplex_To_OFF</constraint>
                    </option>
                  </feature>

                  <!-- Sreeharsha,Using Dummy features to overcome the Circular Snapping -->
                  <feature editable="False" typical="TRUE">
                    HPUseAutoDuplexUnit_Dummy
                    <current_option>False</current_option>
                    <option>
                      True
                    </option>
                    <option>
                      False
                    </option>
                  </feature>

                  <!--Sreeharsha,
                  HPPrintOnBothSidesManually is responsible for setting the Two sided Printing feature to "Manual" in the UI.
                  In the UI when the option Automatic is selected, HPPrintOnBothSidesManually is Set to True.
                  using this we are updating the Duplex value in the ticket to "Manual" -->
                  <feature editable="False" typical="TRUE">
                    HPPrintOnBothSidesManually
                    <current_option>False</current_option>
                    <option>
                      True
                      <constraint>Set_PrintOnBothSidesManually_Dummy_To_True</constraint>
                      <constraint>Set_Duplex_To_Manual</constraint>
                    </option>
                    <option>
                      False
                      <constraint>Set_PrintOnBothSidesManually_Dummy_To_False</constraint>
                      <constraint>Set_ManualDuplex_To_OFF</constraint>
                    </option>
                  </feature>
                  <!-- Sreeharsha,Using Dummy features to overcome the Circular Snapping -->
                  <feature editable="False" typical="TRUE">
                    PrintOnBothSidesManually_dummy
                    <current_option>False</current_option>
                    <option>
                      True
                    </option>
                    <option>
                      False
                    </option>
                  </feature>

                    <!-- ADVANCED FEATURES - (same order as display) -->
                  <!--Ink Volume -->
                  <feature resource_id="847" caption_id="10077">
                    InkVolume
                    <current_option>Normal</current_option>
                    <option>
                      Heavier
                    </option>
                    <option resource_id="569">
                      Heavy
                    </option>
                    <option resource_id="769">
                      Normal
                    </option>
                    <option resource_id="638">
                      Light
                    </option>
                    <option>
                      Lighter
                    </option>
                  </feature>
                  
                  <!-- Mirror Print -->
                  <feature resource_id="5007" caption_id="-1">
                    HPMirrorPrint
                    <current_option>FALSE</current_option>

                    <option resource_id="9">
                      FALSE
                    </option>
                    <option resource_id="10">
                      TRUE
                    </option>
                  </feature>

                  <!-- NUpChoice -->
                  <feature resource_id="1100" caption_id="10021">
                    NUpChoice
                    <current_option>OneUp</current_option>
                    <option resource_id="1101">
                      OneUp
                      <constraint>Force_Booklet_To_Off</constraint>
                    </option>
                    <option resource_id="1102">
                      TwoUp
                      <!-- NUpPageOrderChoice -->
                      <feature resource_id="1137" caption_id="10054">
                        NUpPageOrderChoice
                        <current_option>RightThenDown</current_option>
                        <option resource_id="1131">
                          RightThenDown
                        </option>
                        <option resource_id="1132">
                          DownThenRight
                        </option>
                        <option resource_id="1133">
                          LeftThenDown
                        </option>
                        <option resource_id="1134">
                          DownThenLeft
                        </option>
                      </feature>
                    </option>
                    <option resource_id="1103">
                      FourUp
                      <!-- NUpPageOrderChoice -->
                      <constraint>Is_Booklet_On</constraint>
                      <feature resource_id="1137" caption_id="10054">
                        NUpPageOrderChoice
                        <current_option>RightThenDown</current_option>
                        <option resource_id="1131">
                          RightThenDown
                        </option>
                        <option resource_id="1132">
                          DownThenRight
                        </option>
                        <option resource_id="1133">
                          LeftThenDown
                        </option>
                        <option resource_id="1134">
                          DownThenLeft
                        </option>
                      </feature>
                    </option>
                    <option resource_id="1104">
                      SixUp
                      <!-- NUpPageOrderChoice -->
                      <constraint>Is_Booklet_On</constraint>
                      <feature resource_id="1137" caption_id="10054">
                        NUpPageOrderChoice
                        <current_option>RightThenDown</current_option>
                        <option resource_id="1131">
                          RightThenDown
                        </option>
                        <option resource_id="1132">
                          DownThenRight
                        </option>
                        <option resource_id="1133">
                          LeftThenDown
                        </option>
                        <option resource_id="1134">
                          DownThenLeft
                        </option>
                      </feature>
                    </option>
                    <option resource_id="1105">
                      NineUp
                      <!-- NUpPageOrderChoice -->
                      <constraint>Is_Booklet_On</constraint>
                      <feature resource_id="1137" caption_id="10054">
                        NUpPageOrderChoice
                        <current_option>RightThenDown</current_option>
                        <option resource_id="1131">
                          RightThenDown
                        </option>
                        <option resource_id="1132">
                          DownThenRight
                        </option>
                        <option resource_id="1133">
                          LeftThenDown
                        </option>
                        <option resource_id="1134">
                          DownThenLeft
                        </option>
                      </feature>
                    </option>
                    <option resource_id="1106">
                      SixteenUp
                      <!-- NUpPageOrderChoice -->
                      <constraint>Is_Booklet_On</constraint>
                      <feature resource_id="1137" caption_id="10054">
                        NUpPageOrderChoice
                        <current_option>RightThenDown</current_option>
                        <option resource_id="1131">
                          RightThenDown
                        </option>
                        <option resource_id="1132">
                          DownThenRight
                        </option>
                        <option resource_id="1133">
                          LeftThenDown
                        </option>
                        <option resource_id="1134">
                          DownThenLeft
                        </option>
                      </feature>
                    </option>
                  </feature>

                  <!-- BookletPrintingChoice -->
                  <feature resource_id="1120" caption_id="10023">
                    BookletPrintingChoice
                    <current_option>OFF</current_option>
                    <option resource_id="14">
                      OFF
                    </option>
                    <option resource_id="1121">
                      LeftEdge
                      <constraint>Check_NUP_Booklet</constraint>
                      <constraint>Check_Duplex_To_Allow_Booklet</constraint>
                      <constraint>Force_NUP_To_Twoup</constraint>
                    </option>
                    <option resource_id="1122">
                      RightEdge
                      <constraint>Check_NUP_Booklet</constraint>
                      <constraint>Check_Duplex_To_Allow_Booklet</constraint>
                      <constraint>Force_NUP_To_Twoup</constraint>
                    </option>
                  </feature>
                  
                </printing>

                <!-- CONSTRAINTS SECTION "Physical" features            -->
                <constraints>

                    <!-- Orientation automation -->

                    <constraint>
                        SnapTo_Orientation_Landscape
                        <requires>
                            <item force="TRUE">printing/Orientation == Landscape</item>
                        </requires>
                    </constraint>

                    <constraint>
                        SnapTo_Orientation_Portrait
                        <requires>
                            <item force="TRUE">printing/Orientation == Portrait</item>
                        </requires>
                    </constraint>

                    <!-- Paper Type automation -->

                    <constraint>
                        SnapTo_MediaType_Automatic
                        <requires>
                            <item force="TRUE">printing/Mediatype == AUTOMATIC</item>
                        </requires>
                    </constraint>

                    <constraint onexportonly="TRUE">
                        SnapTo_MediaType_PremiumPlusPhoto
                        <requires>
                            <item force="TRUE">printing/Mediatype == HP_PREMIUM_PLUS_PHOTO_PAPER</item>
                        </requires>
                    </constraint>

                    <constraint>
                        SnapTo_MediaType_Plain
                        <requires>
                            <item force="TRUE">printing/Mediatype == PLAIN</item>
                        </requires>
                    </constraint>

                    <constraint>
                        SnapTo_MediaType_InkjetHagaki
                        <requires>
                            <item force="TRUE">printing/Mediatype == INKJET_HAGAKI</item>
                        </requires>
                    </constraint>

                    <constraint>
                        SnapTo_MediaType_PhotoCards
                        <requires>
                            <item force="TRUE">printing/Mediatype == HP_PHOTO_CARDS</item>
                        </requires>
                    </constraint>                    
                    
                    <!-- CD/DVD Tattoo constraints -->

                    <constraint>
                        SnapTo_PaperSize_5x7
                        <requires>
                            <item>printing/PaperSize == 5_X_7_IN</item>
                        </requires>
                        <requires>
                            <item force="TRUE">printing/PaperSize == 5_X_7_IN</item>
                        </requires>
                    </constraint>

                    <constraint>
                        Lockout_PaperSize_Incompatible_CDDVDTray
                        <forbids>
                            <item>printing/PaperSize == 10_X_15</item>
                            <item>printing/PaperSize == 10_X_15_CM_WT</item>
                            <item>printing/PaperSize == 13_X_18_CM</item>
                            <item>printing/PaperSize == 2L</item>
                            <item>printing/PaperSize == 3_5_X_5</item>
                            <item>printing/PaperSize == 4_X_6_IN</item>
                            <item>printing/PaperSize == 4_X_6_IN_WT</item>
                            <item>printing/PaperSize == 5_X_7_IN</item>
                            <item>printing/PaperSize == 8_X_10_IN</item>
                            <item>printing/PaperSize == A4</item>
                            <item>printing/PaperSize == A5</item>
                            <item>printing/PaperSize == A6_CARD</item>
                            <item>printing/PaperSize == B5</item>
                            <item>printing/PaperSize == B5_JIS</item>
                            <item>printing/PaperSize == CABINET</item>
                            <item>printing/PaperSize == ENV_10</item>
                            <item>printing/PaperSize == ENV_C6</item>
                            <item>printing/PaperSize == ENV_DL</item>
                            <item>printing/PaperSize == EXECUTIVE</item>
                            <item>printing/PaperSize == HAGAKI_CARD</item>
                            <item>printing/PaperSize == HP_BORDERLESS_PHOTO_10_X_15_CM</item>
                            <item>printing/PaperSize == HP_BORDERLESS_PHOTO_10_X_15_CM_WT</item>
                            <item>printing/PaperSize == HP_BORDERLESS_2L</item>
                            <item>printing/PaperSize == HP_BORDERLESS_3_5_X_5</item>
                            <item>printing/PaperSize == HP_BORDERLESS_4_X_6_IN</item>
                            <item>printing/PaperSize == HP_BORDERLESS_4_X_6_IN_WT</item>
                            <item>printing/PaperSize == HP_BORDERLESS_8_5_X_11_IN</item>
                            <item>printing/PaperSize == HP_BORDERLESS_8_X_10_IN</item>
                            <item>printing/PaperSize == HP_BORDERLESS_PHOTO_A4</item>
                            <item>printing/PaperSize == HP_BORDERLESS_A5</item>
                            <item>printing/PaperSize == HP_BORDERLESS_B5</item>
                            <item>printing/PaperSize == HP_BORDERLESS_CABINET</item>
                            <item>printing/PaperSize == HP_BORDERLESS_CARD_10_X_20_CM_WT</item>
                            <item>printing/PaperSize == HP_BORDERLESS_4_x_8_IN_WT</item>
                            <item>printing/PaperSize == HP_BORDERLESS_DOUBLE_A4</item>
                            <item>printing/PaperSize == HP_BORDERLESS_HAGAKI_CARD</item>
                            <item>printing/PaperSize == HP_BORDERLESS_PHOTO_13_X_18</item>
                            <item>printing/PaperSize == HP_BORDERLESS_PHOTO_5_X_7_IN</item>
                            <item>printing/PaperSize == HP_BORDERLESS_PHOTO_A6</item>
                            <item>printing/PaperSize == HP_BORDERLESS_L</item>
                            <item>printing/PaperSize == HP_BORDERLESS_PHOTO_PANORAMA_10x25</item>
                            <item>printing/PaperSize == HP_BORDERLESS_PHOTO_PANORAMA_10x30</item>
                            <item>printing/PaperSize == HP_BORDERLESS_PHOTO_PANORAMA_4_X_10_IN</item>
                            <item>printing/PaperSize == HP_BORDERLESS_PHOTO_PANORAMA_4_X_12_IN</item>
                            <item>printing/PaperSize == HP_PANORAMA_10_x_25</item>
                            <item>printing/PaperSize == HP_PANORAMA_10_x_30</item>
                            <item>printing/PaperSize == HP_PANORAMA_4_x_10</item>
                            <item>printing/PaperSize == HP_PANORAMA_4_x_12</item>
                            <item>printing/PaperSize == HP_PANORAMA_DOUBLE_A4</item>
                            <item>printing/PaperSize == INDEX_CARD_3X5</item>
                            <item>printing/PaperSize == INDEX_CARD_4X6</item>
                            <item>printing/PaperSize == INDEX_CARD_5X8</item>
                            <item>printing/PaperSize == JENV_CHOU3</item>
                            <item>printing/PaperSize == JENV_CHOU4</item>
                            <item>printing/PaperSize == L</item>
                            <item>printing/PaperSize == LEGAL</item>
                            <item>printing/PaperSize == LETTER</item>
                            <item>printing/PaperSize == OFUKUHAGAKI</item>
                            <item>printing/PaperSize == 10_X_20_TAB</item>
                            <item>printing/PaperSize == 4_X_8_TAB</item>
                        </forbids>
                    </constraint>

                    <constraint>
                        Lockout_PaperSize_Incompatible_PhotoTray
                        <forbids>
                            <item>printing/PaperSize == 8_X_10_IN</item>
                            <item>printing/PaperSize == A4</item>
                            <item>printing/PaperSize == A5</item>
                            <item>printing/PaperSize == A6_CARD</item>
                            <item>printing/PaperSize == B5</item>
                            <item>printing/PaperSize == B5_JIS</item>
                            <item>printing/PaperSize == ENV_10</item>
                            <item>printing/PaperSize == ENV_C6</item>
                            <item>printing/PaperSize == ENV_DL</item>
                            <item>printing/PaperSize == EXECUTIVE</item>
                            <item>printing/PaperSize == HAGAKI_CARD</item>
                            <item>printing/PaperSize == HP_BORDERLESS_8_5_X_11_IN</item>
                            <item>printing/PaperSize == HP_BORDERLESS_8_X_10_IN</item>
                            <item>printing/PaperSize == HP_BORDERLESS_PHOTO_A4</item>
                            <item>printing/PaperSize == HP_BORDERLESS_A5</item>
                            <item>printing/PaperSize == HP_BORDERLESS_B5</item>
                            <item>printing/PaperSize == HP_BORDERLESS_CARD_10_X_20_CM_WT</item>
                            <item>printing/PaperSize == HP_BORDERLESS_4_x_8_IN_WT</item>
                            <item>printing/PaperSize == HP_BORDERLESS_DOUBLE_A4</item>
                            <item>printing/PaperSize == HP_BORDERLESS_PHOTO_PANORAMA_10x25</item>
                            <item>printing/PaperSize == HP_BORDERLESS_PHOTO_PANORAMA_10x30</item>
                            <item>printing/PaperSize == HP_BORDERLESS_PHOTO_PANORAMA_4_X_10_IN</item>
                            <item>printing/PaperSize == HP_BORDERLESS_PHOTO_PANORAMA_4_X_12_IN</item>
                            <item>printing/PaperSize == HP_PANORAMA_10_x_25</item>
                            <item>printing/PaperSize == HP_PANORAMA_10_x_30</item>
                            <item>printing/PaperSize == HP_PANORAMA_4_x_10</item>
                            <item>printing/PaperSize == HP_PANORAMA_4_x_12</item>
                            <item>printing/PaperSize == HP_PANORAMA_DOUBLE_A4</item>
                            <item>printing/PaperSize == INDEX_CARD_5X8</item>
                            <item>printing/PaperSize == JENV_CHOU3</item>
                            <item>printing/PaperSize == JENV_CHOU4</item>
                            <item>printing/PaperSize == L</item>
                            <item>printing/PaperSize == LEGAL</item>
                            <item>printing/PaperSize == LETTER</item>
                            <item>printing/PaperSize == OFUKUHAGAKI</item>
                            <item>printing/PaperSize == 10_X_20_TAB</item>
                            <item>printing/PaperSize == 4_X_8_TAB</item>
                        </forbids>
                    </constraint>


                    <!-- Print Quality automation -->

                    <constraint onexportonly="TRUE">
                        SnapTo_PrintQuality_Normal
                        <requires>
                            <item>printing/PrintQuality == Normal</item>
                        </requires>
                        <requires>
                            <item force="TRUE">printing/PrintQuality == Normal</item>
                        </requires>
                    </constraint>

                    <constraint onexportonly="TRUE">
                        SnapTo_PrintQuality_Best
                        <requires>
                            <item>printing/PrintQuality == Best</item>
                        </requires>
                        <requires>
                            <item force="TRUE">printing/PrintQuality == Best</item>
                        </requires>
                    </constraint>
                    
                    <!-- Print Quality dummy automation -->

                    <constraint onexportonly="TRUE">
                        SnapTo_PrintQualityDummy_FastDraft
                        <requires>
                            <item>printing/PrintQuality_Dummy == FastDraft</item>
                        </requires>
                        <requires>
                            <item force="TRUE">printing/PrintQuality_Dummy == FastDraft</item>
                        </requires>
                    </constraint>

                    <constraint onexportonly="TRUE">
                        SnapTo_PrintQualityDummy_Normal
                        <requires>
                            <item>printing/PrintQuality_Dummy == Normal</item>
                        </requires>
                        <requires>
                            <item force="TRUE">printing/PrintQuality_Dummy == Normal</item>
                        </requires>
                    </constraint>

                    <constraint onexportonly="TRUE">
                        SnapTo_PrintQualityDummy_Best
                        <requires>
                            <item>printing/PrintQuality_Dummy == Best</item>
                        </requires>
                        <requires>
                            <item force="TRUE">printing/PrintQuality_Dummy == Best</item>
                        </requires>
                    </constraint>

                    <constraint onexportonly="TRUE">
                        SnapTo_PrintQualityDummy_4800x1200
                        <requires>
                            <item>printing/PrintQuality_Dummy == 4800x1200</item>
                        </requires>
                        <requires>
                            <item force="TRUE">printing/PrintQuality_Dummy == 4800x1200</item>
                        </requires>
                    </constraint>


                    <constraint>
                      Check_PQ_Not_Supported
                      <forbids>
                        <item>printing/PrintQuality_Dummy== FastDraft</item>
                      </forbids>
                    </constraint>

                  <!-- Duplex Constraints-->

                  <constraint>
                    Lockout_Duplex_Manual_And_Automatic
                    <forbids>
                      <item>printing/Duplex == MANUAL</item>
                      <item>printing/Duplex == AUTOMATIC</item>
                    </forbids>
                  </constraint>

                  <constraint>
                    Lockout_Duplex_Automatic
                    <forbids>
                      <item>printing/Duplex == AUTOMATIC</item>
                    </forbids>
                  </constraint>

                  <constraint>
                    Check_PaperSizes_That_Cant_Be_Auto_Duplexed
                    <forbids>
                      <item>printing/PaperSize == LEGAL</item>
                      <item>printing/PaperSize == HP_BORDERLESS_L</item>
                      <item>printing/PaperSize == HP_BORDERLESS_3_5_X_5</item>
                      <item>printing/PaperSize == HP_BORDERLESS_B7</item>                      
                      <!--<item>printing/PaperSize == HP_BORDERLESS_HAGAKI_CARD</item>-->                      
                      <item>printing/PaperSize == HP_BORDERLESS_PHOTO_10_X_15_CM</item>
                      <item>printing/PaperSize == HP_BORDERLESS_4_X_6_IN</item>
                      <item>printing/PaperSize == HP_BORDERLESS_PHOTO_10_X_15_CM_WT</item>
                      <item>printing/PaperSize == HP_BORDERLESS_4_X_6_IN_WT</item>
                      <item>printing/PaperSize == HP_BORDERLESS_CARD_10_X_20_CM_WT</item>
                      <item>printing/PaperSize == HP_BORDERLESS_4_x_8_IN_WT</item>
                      <item>printing/PaperSize == HP_BORDERLESS_HV_SIZE</item>
                      <item>printing/PaperSize == HP_BORDERLESS_PHOTO_A6</item>
                      <item>printing/PaperSize == HP_BORDERLESS_CABINET</item>
                      <item>printing/PaperSize == HP_BORDERLESS_2L</item>
                      <item>printing/PaperSize == HP_BORDERLESS_PHOTO_13_X_18</item>
                      <item>printing/PaperSize == HP_BORDERLESS_PHOTO_5_X_7_IN</item>
                      <item>printing/PaperSize == HP_BORDERLESS_A5</item>
                      <item>printing/PaperSize == HP_BORDERLESS_B5</item>
                      <item>printing/PaperSize == HP_BORDERLESS_8_X_10_IN</item>
                      <item>printing/PaperSize == HP_BORDERLESS_PHOTO_A4</item>
                      <item>printing/PaperSize == HP_BORDERLESS_8_5_X_11_IN</item>
                      <item>printing/PaperSize == HP_BORDERLESS_PHOTO_PANORAMA_10x25</item>
                      <item>printing/PaperSize == HP_BORDERLESS_PHOTO_PANORAMA_4_X_10_IN</item>
                      <item>printing/PaperSize == HP_BORDERLESS_PHOTO_PANORAMA_10_X_28_IN</item>
                      <item>printing/PaperSize == HP_BORDERLESS_PHOTO_PANORAMA_4_X_11_IN</item>
                      <item>printing/PaperSize == HP_BORDERLESS_PHOTO_PANORAMA_10x30</item>
                      <item>printing/PaperSize == HP_BORDERLESS_PHOTO_PANORAMA_4_X_12_IN</item>
                      <item>printing/PaperSize == HP_BORDERLESS_DOUBLE_A4</item>
                      <item>printing/PaperSize == HP_PANORAMA_DOUBLE_A4</item>
                      <item>printing/PaperSize == JENV_CHOU4</item>
                      <item>printing/PaperSize == ENV_10</item>
                      <item>printing/PaperSize == ENV_DL</item>
                      <item>printing/PaperSize == ENV_C6</item>
                      <item>printing/PaperSize == JENV_CHOU3</item>
                      <item>printing/PaperSize == L</item>
                      <item>printing/PaperSize == 3_5_X_5</item>
                      <item>printing/PaperSize == B7</item>
                      <item>printing/PaperSize == 10_X_15</item>
                      <item>printing/PaperSize == 4_X_6_IN</item>
                      <item>printing/PaperSize == 10_X_15_CM_WT</item>
                      <item>printing/PaperSize == 4_X_6_IN_WT</item>
                      <item>printing/PaperSize == 10_X_20_TAB</item>
                      <item>printing/PaperSize == 4_X_8_TAB</item>
                      <item>printing/PaperSize == HV_SIZE</item>
                      <item>printing/PaperSize == CABINET</item>
                      <item>printing/PaperSize == 2L</item>
                      <item>printing/PaperSize == 13_X_18_CM</item>
                      <item>printing/PaperSize == 5_X_7_IN</item>
                      <item>printing/PaperSize == 8_X_10_IN</item>
                      <item>printing/PaperSize == HP_PANORAMA_10_x_25</item>
                      <item>printing/PaperSize == HP_PANORAMA_4_x_10</item>
                      <item>printing/PaperSize == HP_PANORAMA_4_x_11</item>
                      <item>printing/PaperSize == HP_PANORAMA_10_x_28</item>
                      <item>printing/PaperSize == HP_PANORAMA_10_x_30</item>
                      <item>printing/PaperSize == HP_PANORAMA_4_x_12</item>
                  </forbids>
                  </constraint>

                  <constraint>
                    Check_PaperSizes_That_Cant_Be_Manual_Duplexed
                    <forbids>
                      <item>printing/PaperSize == LEGAL</item>
                      <item>printing/PaperSize == HP_BORDERLESS_L</item>
                      <item>printing/PaperSize == HP_BORDERLESS_3_5_X_5</item>
                      <item>printing/PaperSize == HP_BORDERLESS_B7</item>
                      <item>printing/PaperSize == HP_BORDERLESS_PHOTO_10_X_15_CM</item>
                      <item>printing/PaperSize == HP_BORDERLESS_4_X_6_IN</item>
                      <item>printing/PaperSize == HP_BORDERLESS_PHOTO_10_X_15_CM_WT</item>
                      <item>printing/PaperSize == HP_BORDERLESS_4_X_6_IN_WT</item>
                      <item>printing/PaperSize == HP_BORDERLESS_CARD_10_X_20_CM_WT</item>
                      <item>printing/PaperSize == HP_BORDERLESS_4_x_8_IN_WT</item>
                      <item>printing/PaperSize == HP_BORDERLESS_HV_SIZE</item>
                      <item>printing/PaperSize == HP_BORDERLESS_PHOTO_A6</item>
                      <item>printing/PaperSize == HP_BORDERLESS_CABINET</item>
                      <item>printing/PaperSize == HP_BORDERLESS_2L</item>
                      <item>printing/PaperSize == HP_BORDERLESS_PHOTO_13_X_18</item>
                      <item>printing/PaperSize == HP_BORDERLESS_PHOTO_5_X_7_IN</item>
                      <item>printing/PaperSize == HP_BORDERLESS_A5</item>
                      <item>printing/PaperSize == HP_BORDERLESS_B5</item>
                      <item>printing/PaperSize == HP_BORDERLESS_8_X_10_IN</item>
                      <item>printing/PaperSize == HP_BORDERLESS_PHOTO_A4</item>
                      <item>printing/PaperSize == HP_BORDERLESS_8_5_X_11_IN</item>
                      <item>printing/PaperSize == HP_BORDERLESS_PHOTO_PANORAMA_10x25</item>
                      <item>printing/PaperSize == HP_BORDERLESS_PHOTO_PANORAMA_4_X_10_IN</item>
                      <item>printing/PaperSize == HP_BORDERLESS_PHOTO_PANORAMA_10_X_28_IN</item>
                      <item>printing/PaperSize == HP_BORDERLESS_PHOTO_PANORAMA_4_X_11_IN</item>
                      <item>printing/PaperSize == HP_BORDERLESS_PHOTO_PANORAMA_10x30</item>
                      <item>printing/PaperSize == HP_BORDERLESS_PHOTO_PANORAMA_4_X_12_IN</item>
                      <item>printing/PaperSize == HP_BORDERLESS_DOUBLE_A4</item>
                      <item>printing/PaperSize == HP_PANORAMA_DOUBLE_A4</item>
                      <item>printing/PaperSize == JENV_CHOU4</item>
                      <item>printing/PaperSize == ENV_10</item>
                      <item>printing/PaperSize == ENV_DL</item>
                      <item>printing/PaperSize == ENV_C6</item>
                      <item>printing/PaperSize == JENV_CHOU3</item>
                    </forbids>
                  </constraint>

                  <constraint>
                    Check_MediaTypes_That_Cant_Be_Manual_Duplexed
                    <forbids>
                      <item>printing/MediaType == HP_PREMIUM_PLUS_PHOTO_PAPER</item>
                      <item>printing/MediaType == HP_PREMIUM_PHOTO_PAPER</item>
                      <item>printing/MediaType == HP_ADVANCED_PHOTO_PAPER</item>
                      <item>printing/MediaType == HP_EVERYDAY_PHOTO_PAPER_SEMI_GLOSS</item>
                      <item>printing/MediaType == OTHER_PHOTO_PAPER</item>
                      <item>printing/MediaType == HP_PREMIUM_INKJET_TRANSPARENCY</item>
                      <item>printing/MediaType == OTHER_TRANSPARENCY_FILMS</item>
                      <item>printing/MediaType == HP_IRON_ON_TRANSFER</item>
                    </forbids>
                  </constraint>

                  <constraint>
                    Check_MediaTypes_That_Cant_Be_Auto_Duplexed
                    <forbids>
                      <item>printing/MediaType == HP_PREMIUM_PLUS_PHOTO_PAPER</item>
                      <item>printing/MediaType == HP_PREMIUM_PHOTO_PAPER</item>
                      <item>printing/MediaType == HP_ADVANCED_PHOTO_PAPER</item>
                      <item>printing/MediaType == HP_EVERYDAY_PHOTO_PAPER_SEMI_GLOSS</item>
                      <item>printing/MediaType == OTHER_PHOTO_PAPER</item>
                      <item>printing/MediaType == HP_PREMIUM_INKJET_TRANSPARENCY</item>
                      <item>printing/MediaType == OTHER_TRANSPARENCY_FILMS</item>
                      <item>printing/MediaType == HP_IRON_ON_TRANSFER</item>
                      <item>printing/MediaType == HP_PHOTO_CARDS</item>
                      <item>printing/MediaType == HP_PHOTO_GREETING_CARDS</item>
                    </forbids>
                  </constraint>

                  <!-- Borderless Constraints -->
                  <constraint>
                    Lockout_Mediatype_Not_Supported_For_Borderless
                    <forbids>
                    <item>printing/MediaType == HP_PREMIUM_INKJET_TRANSPARENCY</item>
                    <item>printing/MediaType == OTHER_TRANSPARENCY_FILMS</item>
                    </forbids>
                  </constraint>


                  <constraint>
                    Lockout_Borderless_Paper_sizes
                    <forbids>
                      <item>printing/PaperSize == HP_BORDERLESS_L</item>
                      <item>printing/PaperSize == HP_BORDERLESS_3_5_X_5</item>
                      <item>printing/PaperSize == HP_BORDERLESS_B7</item>
                      <item>printing/PaperSize == HP_BORDERLESS_HAGAKI_CARD</item>
                      <item>printing/PaperSize == HP_BORDERLESS_PHOTO_10_X_15_CM</item>
                      <item>printing/PaperSize == HP_BORDERLESS_4_X_6_IN</item>
                      <item>printing/PaperSize == HP_BORDERLESS_PHOTO_10_X_15_CM_WT</item>
                      <item>printing/PaperSize == HP_BORDERLESS_4_X_6_IN_WT</item>
                      <item>printing/PaperSize == HP_BORDERLESS_CARD_10_X_20_CM_WT</item>
                      <item>printing/PaperSize == HP_BORDERLESS_4_x_8_IN_WT</item>
                      <item>printing/PaperSize == HP_BORDERLESS_HV_SIZE</item>
                      <item>printing/PaperSize == HP_BORDERLESS_PHOTO_A6</item>
                      <item>printing/PaperSize == HP_BORDERLESS_CABINET</item>
                      <item>printing/PaperSize == HP_BORDERLESS_2L</item>
                      <item>printing/PaperSize == HP_BORDERLESS_PHOTO_13_X_18</item>
                      <item>printing/PaperSize == HP_BORDERLESS_PHOTO_5_X_7_IN</item>
                      <item>printing/PaperSize == HP_BORDERLESS_A5</item>
                      <item>printing/PaperSize == HP_BORDERLESS_B5</item>
                      <item>printing/PaperSize == HP_BORDERLESS_8_X_10_IN</item>
                      <item>printing/PaperSize == HP_BORDERLESS_PHOTO_A4</item>
                      <item>printing/PaperSize == HP_BORDERLESS_8_5_X_11_IN</item>
                      <item>printing/PaperSize == HP_BORDERLESS_PHOTO_PANORAMA_10x25</item>
                      <item>printing/PaperSize == HP_BORDERLESS_PHOTO_PANORAMA_4_X_10_IN</item>
                      <item>printing/PaperSize == HP_BORDERLESS_PHOTO_PANORAMA_10_X_28_IN</item>
                      <item>printing/PaperSize == HP_BORDERLESS_PHOTO_PANORAMA_4_X_11_IN</item>
                      <item>printing/PaperSize == HP_BORDERLESS_PHOTO_PANORAMA_10x30</item>
                      <item>printing/PaperSize == HP_BORDERLESS_PHOTO_PANORAMA_4_X_12_IN</item>
                      <item>printing/PaperSize == HP_BORDERLESS_DOUBLE_A4</item>                      
                    </forbids>
                    </constraint>

                  <constraint OnExportOnly="TRUE">
                    Set_UseAutoDuplexUnit_To_True
                    <requires>
                      <item>printing/HPUseAutoDuplexUnit_Dummy == True</item>
                    </requires>
                    <requires>
                      <item force="TRUE">printing/HPUseAutoDuplexUnit == True</item>
                    </requires>
                  </constraint>


                  <constraint OnExportOnly="TRUE">
                    Set_UseAutoDuplexUnit_To_False
                    <requires>
                      <item>printing/HPUseAutoDuplexUnit_Dummy == False</item>
                    </requires>
                    <requires>
                      <item force="TRUE">printing/HPUseAutoDuplexUnit == False</item>
                    </requires>
                  </constraint>



                  <constraint OnExportOnly="TRUE">
                    Set_Duplex_To_Automatic
                    <!--<requires>
                      <item>printing/HPUseAutoDuplexUnit_Dummy == True</item>
                    </requires>-->
                    <requires>
                      <item force="TRUE">printing/Duplex == AUTOMATIC</item>
                    </requires>
                  </constraint>
                  <constraint OnExportOnly="TRUE">
                    Set_AutoDuplex_To_OFF
                    <requires>
                      <item>printing/HPUseAutoDuplexUnit_Dummy == False</item>
                    </requires>
                    <requires>
                      <item force="TRUE">printing/Duplex == FALSE</item>
                    </requires>
                  </constraint>

                  <constraint OnExportOnly="TRUE">
                    Set_HPUseAutoDuplexUnit_Dummy_To_True
                    <requires>
                      <item force="TRUE"> printing/HPUseAutoDuplexUnit_Dummy = True </item>
                    </requires>
                  </constraint>

                  <constraint OnExportOnly="TRUE">
                    Set_HPUseAutoDuplexUnit_Dummy_To_False
                    <requires>
                      <item force="TRUE"> printing/HPUseAutoDuplexUnit_Dummy = False </item>
                    </requires>
                  </constraint>
                  <!-- --------------------------------------------- Manual ----------------------------- -->

                  <constraint OnExportOnly="TRUE">
                    Set_PrintOnBothSidesManually_To_True
                    <requires>
                      <item>printing/PrintOnBothSidesManually_Dummy == True</item>
                    </requires>
                    <requires>
                      <item force="TRUE">printing/HPPrintOnBothSidesManually == True</item>
                    </requires>
                  </constraint>


                  <constraint OnExportOnly="TRUE">
                    Set_PrintOnBothSidesManually_To_False
                    <requires>
                      <item>printing/PrintOnBothSidesManually_Dummy == False</item>
                    </requires>
                    <requires>
                      <item force="TRUE">printing/HPPrintOnBothSidesManually == False</item>
                    </requires>
                  </constraint>

                  <constraint OnExportOnly="TRUE">
                    Set_Duplex_To_Manual
                    <!--<requires>
                      <item>printing/PrintOnBothSidesManually_Dummy == True</item>
                    </requires>-->
                    <requires>
                      <item force="TRUE">printing/Duplex == MANUAL</item>
                    </requires>
                  </constraint>
                  <constraint OnExportOnly="TRUE">
                    Set_ManualDuplex_To_OFF
                    <requires>
                      <item>printing/PrintOnBothSidesManually_Dummy == False</item>
                    </requires>
                    <requires>
                      <item force="TRUE">printing/Duplex == FALSE</item>
                    </requires>
                  </constraint>

                  <constraint OnExportOnly="TRUE">
                    Set_PrintOnBothSidesManually_Dummy_To_True
                    <requires>
                      <item force="TRUE"> printing/PrintOnBothSidesManually_Dummy = True </item>
                    </requires>
                  </constraint>

                  <constraint OnExportOnly="TRUE">
                    Set_PrintOnBothSidesManually_Dummy_To_False
                    <requires>
                      <item force="TRUE"> printing/PrintOnBothSidesManually_Dummy = False </item>
                    </requires>
                  </constraint>

                  <constraint>
                    Show_Duplex_Automatic
                    <requires>
                      <item force="TRUE">
                        printing/Duplex == FALSE
                      </item>
                        <item force="TRUE">
                          printing/Duplex[FALSE] ~~ FALSE
                          <option_attrib editable="TRUE"/>
                        </item>
                        <item force="TRUE">
                          printing/Duplex[MANUAL] ~~ MANUAL
                          <option_attrib editable="TRUE"/>
                        </item>
                      <item force="TRUE">
                        printing/Duplex[AUTOMATIC] ~~ AUTOMATIC
                        <option_attrib editable="TRUE"/>
                      </item>
                    </requires>
                  </constraint>

                  <constraint>
                    Hide_Duplex_Automatic
                    <requires>
                      <item force="TRUE">
                        printing/Duplex == FALSE
                      </item>
                      <item force="TRUE">
                        printing/Duplex[FALSE] ~~ FALSE
                        <option_attrib editable="TRUE"/>
                      </item>
                      <item force="TRUE">
                        printing/Duplex[MANUAL] ~~ MANUAL
                        <option_attrib editable="TRUE"/>
                      </item>
                      <item force="TRUE">
                        printing/Duplex[AUTOMATIC] ~~ AUTOMATIC
                        <option_attrib editable="FALSE"/>
                      </item>
                    </requires>
                  </constraint>

                  <constraint>
                    Check_NUP
                    <forbids>
                      <item>printing/NUpChoice != OneUp</item>
                    </forbids>
                  </constraint>

                  <constraint>
                    Check_NUP_Booklet
                    <forbids>
                      <item>printing/NUpChoice == FourUp</item>
                      <item>printing/NUpChoice == SixUp</item>
                      <item>printing/NUpChoice == NineUp</item>
                      <item>printing/NUpChoice == SixteenUp</item>
                    </forbids>
                  </constraint>

                  <constraint>
                    Force_NUP_To_TWOUP
                    <requires>
                      <item force="TRUE">printing/NUpChoice == TwoUp</item>
                    </requires>
                  </constraint>

                  <constraint>
                    Force_Booklet_To_Off
                    <requires>
                      <item force="TRUE">printing/BookletPrintingChoice == OFF</item>
                    </requires>
                  </constraint>

                  <constraint>
                    Check_Duplex_To_Allow_Booklet
                    <forbids>
                      <item>printing/Duplex == FALSE</item>
                    </forbids>
                  </constraint>

                  <constraint>
                    Check_PaperSizes_To_Allow_Booklet
                    <forbids>
                      <item>printing/PaperSize == A5</item>
                      <item>printing/PaperSize == A6</item>
                      <item>printing/PaperSize == 6x8 in.</item>
                      <item>printing/PaperSize == B5_JIS</item>
                      <item>printing/PaperSize == EXECUTIVE</item>
                      <item>printing/PaperSize == STATEMENT</item>
                      <item>printing/PaperSize == ENV_10</item>
                      <item>printing/PaperSize == ENV_C5</item>
                      <item>printing/PaperSize == ENV_C6</item>
                      <item>printing/PaperSize == ENV_DL</item>
                      <item>printing/PaperSize == ENV_MONARCH</item>
                      <item>printing/PaperSize == HP_GREETING_CARD_ENV</item>
                      <item>printing/PaperSize == PHOTO_5X7_IN</item>
                      <item>printing/PaperSize == INDEX_CARD_4X6</item>
                      <item>printing/PaperSize == INDEX_CARD_5X8</item>
                    </forbids>
                  </constraint>

                  <!-- Booklet and NUP are Incompatible -->
                  <constraint>
                    Is_Booklet_On
                    <forbids>
                      <item>printing/BookletPrintingChoice == LeftEdge</item>
                      <item>printing/BookletPrintingChoice == RightEdge</item>
                    </forbids>
                  </constraint>

                  <constraint>
                    Set_Booklet_Printing_To_Off
                    <requires>
                      <item force="True">printing/BookletPrintingChoice == OFF </item>
                    </requires>
                  </constraint>
                </constraints>
            </factory>
        </component>
    </software>
</device>
