<option type="enum" id="opt/st640X-Resolution">
  <arg_shortname>
    <en>Quality</en>
  </arg_shortname>
  <arg_longname>
    <en>Resolution, Color Mode, Media Type</en>
  </arg_longname>
  <arg_execution>
    <arg_group>General</arg_group>
    <arg_order>100</arg_order>
    <arg_spot>B</arg_spot>
    <arg_substitution />
    <arg_proto>@%s.upp</arg_proto>
  </arg_execution>
  <constraints>
    <constraint sense="true">
      <driver>st640X.upp</driver>
      <arg_defval>ev/st640X-360Plain</arg_defval>
    </constraint>
  </constraints>
  <enum_vals>
    <enum_val id="ev/st640X-1440x720Inkjet">
      <ev_longname>
        <en>1440x720dpi, inkjet paper</en>
      </ev_longname>
      <ev_shortname>
        <en>1440x720Inkjet</en>
      </ev_shortname>
      <ev_driverval>st640ih</ev_driverval>
    </enum_val>
    <enum_val id="ev/st640X-1440x720InkjetGray">
      <ev_longname>
        <en>1440x720dpi, inkjet paper, grayscale</en>
      </ev_longname>
      <ev_shortname>
        <en>1440x720InkjetGray</en>
      </ev_shortname>
      <ev_driverval>st640ihg</ev_driverval>
    </enum_val>
    <enum_val id="ev/st640X-360Plain">
      <ev_longname>
        <en>360x360 DPI, Plain Paper</en>
      </ev_longname>
      <ev_shortname>
        <en>360Plain</en>
      </ev_shortname>
      <ev_driverval>st640pl</ev_driverval>
    </enum_val>
    <enum_val id="ev/st640X-360PlainGray">
      <ev_longname>
        <en>360x360dpi, Grayscale, Plain Paper</en>
      </ev_longname>
      <ev_shortname>
        <en>360PlainGray</en>
      </ev_shortname>
      <ev_driverval>st640plg</ev_driverval>
    </enum_val>
    <enum_val id="ev/st640X-720Inkjet">
      <ev_longname>
        <en>720x720dpi, inkjet paper</en>
      </ev_longname>
      <ev_shortname>
        <en>720Inkjet</en>
      </ev_shortname>
      <ev_driverval>stc640p</ev_driverval>
    </enum_val>
    <enum_val id="ev/st640X-720Plain">
      <ev_longname>
        <en>720x720 DPI, Plain Paper</en>
      </ev_longname>
      <ev_shortname>
        <en>720Plain</en>
      </ev_shortname>
      <ev_driverval>st640p</ev_driverval>
    </enum_val>
    <enum_val id="ev/st640X-720PlainGray">
      <ev_longname>
        <en>720x720dpi, plain paper, grayscale</en>
      </ev_longname>
      <ev_shortname>
        <en>720PlainGray</en>
      </ev_shortname>
      <ev_driverval>st640pg</ev_driverval>
    </enum_val>
  </enum_vals>
</option>
