<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE DeviceCap SYSTEM "UPDF.dtd" >
<!-- 
    This is an example UPDF for the HP Color LaserJet 4500.
    This is a very basic UPDF file with just the minimum required
    tags according to the updf.dtd.
-->
<DeviceCap FileTypeIdentification="Master description of device or optional unit">
  <!-- ......................................................-->
  <!--                                                       -->
  <!--  UPDF Version info                                    -->
  <!--                                                       -->
  <!-- ......................................................-->
  <UPDFVersion FormatVersion="1.00" FileVersion="001017"/>
  <!-- ......................................................-->
  <!--                                                       -->
  <!--    Global Device Header info                          -->
  <!--                                                       -->
  <!-- ......................................................-->
  <DeviceCap.Header>
    <FileVersion>0.10</FileVersion>
    <Manufacturer>Hewlett-Packard</Manufacturer>
    <Product>HP LaserJet 8150</Product>
    <ModelName>HP LaserJet 8150-PS</ModelName>
    <NickName>HP LaserJet 8150-PS v2014.200</NickName>
    <DeviceId fDeviceId="FALSE">
      <DeviceId.Mfc/>
      <DeviceId.Mdl/>
      <DeviceId.Cmd/>
      <DeviceId.Cls/>
      <DeviceId.Des/>
      <DeviceId.Cid/>
    </DeviceId>
    <LocaleList>
      <!-- ............................................................. -->
      <!--ISSUE: *LanguageEncoding: IsoLatin1
           *LanguageVersion: English
    These work in tandem in the PPD. The UPDF Encoding is always UTF-8.

    Locales supported by this UPDF file.-->
      <!-- ............................................................. -->
      <Locale LocaleId="en_AU"/>
      <Locale LocaleId="en_GB"/>
      <Locale LocaleId="en_US"/>
      <Locale LocaleId="da_DK"/>
      <CustomLocale CustomLocaleId="en_UK"/>
      <CustomLocale CustomLocaleId="aa_BB"/>
    </LocaleList>
    <FileName>CLJ4500.xml</FileName>
    <CustomDeviceCapTags>
      <CustomTag TagLabel="TTRasterizer" TagValue="Type42"/>
    </CustomDeviceCapTags>
  </DeviceCap.Header>
  <!-- ......................................................-->
  <!--                                                       -->
  <!--  Device Cap features info                             -->
  <!--                                                       -->
  <!-- ......................................................-->
  <DeviceCap.Features>
    <PrinterCap>
      <PrinterCap.Header>
        <Printer>What goes here?
            </Printer>
        <Languages>
          <Language>
            <!-- ............................................................. -->
            <!--    ISSUE: Want to be able to specify multiple languages - at least three -->
            <!-- ............................................................. -->
            <Language.PDL PDLMajorLevel="PS2" PDLMinorLevel="2"/>
            <Language.JCL JCLMajorLevel="PJL" JCLMinorLevel="0"/>
          </Language>
        </Languages>
        <ModuleNames/>
      </PrinterCap.Header>
      <Features>
        <Physical>
          <Engine EngineType="LBP"/>
          <RAM fRAM="TRUE">
            <RAM.Internal RAMInternalSizeKb="32768" RAMInternalWorkSizeKb="4096"/>
          </RAM>
          <ROM fROM="FALSE"/>
          <INSERTERS NumInserter="0" tInserter="DISABLE"/>
          <STORAGES NumStorage="0" tStorage="DISABLE"/>
        </Physical>
        <Platform>
          <ModuleNames/>
          <HostRendering fHostRendering="FALSE"/>
          <ObjectSignature RasterSignatureWord="0" VectorSignatureWord="0"/>
          <DDBProc fDisableReversingDDB="FALSE"/>
          <CacheProc fDisableObjectCache="FALSE"/>
        </Platform>
        <Resource/>
        <PrintMediaHandling>
          <MediaSizesList MediaSizesList_Name_ID="MediaSize_Prompt">
            <MediaSize ID="Letter" MediaSize_Global_ID="na-letter.8500-11000" x="215900" y="279400" MediaSize_Name_ID="MediaSize_Letter" RotatedFormat="FALSE" FeedingMethod="LongEdge" CommandSequence_ID="Size_Letter">
              <HardwareMargins top="4234" bottom="4234" left="6350" right="6350"/>
              <HardwareMarginsLandscape top="4234" bottom="4234" left="5080" right="5080"/>
            </MediaSize>
            <MediaSize ID="Legal" MediaSize_Global_ID="na-letter.8500-11000" x="215900" y="355600" MediaSize_Name_ID="MediaSize_Legal" RotatedFormat="FALSE" FeedingMethod="ShortEdge" CommandSequence_ID="Size_Legal">
              <HardwareMargins top="4234" bottom="4234" left="6350" right="6350"/>
              <HardwareMarginsLandscape top="4234" bottom="4234" left="5080" right="5080"/>
            </MediaSize>
            <MediaSize ID="Executive" MediaSize_Global_ID="na-letter.8500-11000" x="184100" y="266700" MediaSize_Name_ID="MediaSize_Executive" RotatedFormat="FALSE" FeedingMethod="ShortEdge" CommandSequence_ID="Size_Executive">
              <HardwareMargins top="4234" bottom="4234" left="6350" right="6350"/>
              <HardwareMarginsLandscape top="4234" bottom="4234" left="5080" right="5080"/>
            </MediaSize>
            <MediaSize ID="A3" MediaSize_Global_ID="na-letter.8500-11000" x="297000" y="420000" MediaSize_Name_ID="MediaSize_A3" RotatedFormat="FALSE" FeedingMethod="ShortEdge" CommandSequence_ID="Size_A3">
              <HardwareMargins top="4234" bottom="4234" left="6012" right="6012"/>
              <HardwareMarginsLandscape top="4234" bottom="4234" left="4996" right="4996"/>
            </MediaSize>
            <MediaSize ID="A4" MediaSize_Global_ID="na-letter.8500-11000" x="210000" y="297000" MediaSize_Name_ID="MediaSize_A4" RotatedFormat="FALSE" FeedingMethod="LongEdge" CommandSequence_ID="Size_A4">
              <HardwareMargins top="4234" bottom="4234" left="6012" right="6012"/>
              <HardwareMarginsLandscape top="4234" bottom="4234" left="4996" right="4996"/>
            </MediaSize>
            <MediaSize ID="A5" MediaSize_Global_ID="na-letter.8500-11000" x="148000" y="210000" MediaSize_Name_ID="MediaSize_A5" RotatedFormat="FALSE" FeedingMethod="ShortEdge" CommandSequence_ID="Size_A5">
              <HardwareMargins top="4234" bottom="4234" left="6012" right="6012"/>
              <HardwareMarginsLandscape top="4234" bottom="4234" left="4996" right="4996"/>
            </MediaSize>
            <MediaSize ID="Com10" MediaSize_Global_ID="na-letter.8500-11000" x="104700" y="241300" MediaSize_Name_ID="MediaSize_Com10" RotatedFormat="FALSE" FeedingMethod="ShortEdge" CommandSequence_ID="Size_Com10">
              <HardwareMargins top="4234" bottom="4234" left="6350" right="6350"/>
              <HardwareMarginsLandscape top="4234" bottom="4234" left="5080" right="5080"/>
            </MediaSize>
            <MediaSize ID="DL" MediaSize_Global_ID="na-letter.8500-11000" x="110000" y="220000" MediaSize_Name_ID="MediaSize_DL" RotatedFormat="FALSE" FeedingMethod="ShortEdge" CommandSequence_ID="Size_DL">
              <HardwareMargins top="4234" bottom="4234" left="6012" right="6012"/>
              <HardwareMarginsLandscape top="4234" bottom="4234" left="4996" right="4996"/>
            </MediaSize>
            <MediaSize ID="C5" MediaSize_Global_ID="na-letter.8500-11000" x="162000" y="229000" MediaSize_Name_ID="MediaSize_C5" RotatedFormat="FALSE" FeedingMethod="ShortEdge" CommandSequence_ID="Size_C5">
              <HardwareMargins top="4234" bottom="4234" left="6012" right="6012"/>
              <HardwareMarginsLandscape top="4234" bottom="4234" left="4996" right="4996"/>
            </MediaSize>
            <MediaSize ID="B5" MediaSize_Global_ID="na-letter.8500-11000" x="176000" y="250000" MediaSize_Name_ID="MediaSize_B5" RotatedFormat="FALSE" FeedingMethod="ShortEdge" CommandSequence_ID="Size_B5">
              <HardwareMargins top="4234" bottom="4234" left="6012" right="6012"/>
              <HardwareMarginsLandscape top="4234" bottom="4234" left="4996" right="4996"/>
            </MediaSize>
            <MediaSize ID="Monarch" MediaSize_Global_ID="na-letter.8500-11000" x="98400" y="190500" MediaSize_Name_ID="MediaSize_Monarch" RotatedFormat="FALSE" FeedingMethod="ShortEdge" CommandSequence_ID="Size_Monarch">
              <HardwareMargins top="4234" bottom="4234" left="6350" right="6350"/>
              <HardwareMarginsLandscape top="4234" bottom="4234" left="5080" right="5080"/>
            </MediaSize>
            <MediaSize ID="11x17" MediaSize_Global_ID="na-letter.8500-11000" x="279400" y="431800" MediaSize_Name_ID="MediaSize_11x17" RotatedFormat="FALSE" FeedingMethod="ShortEdge" CommandSequence_ID="Size_11x17">
              <HardwareMargins left="4234" top="4234" right="4234" bottom="4234"/>
            </MediaSize>
            <MediaSize ID="JISB4" MediaSize_Global_ID="na-letter.8500-11000" x="257000" y="364000" MediaSize_Name_ID="MediaSize_JISB4" RotatedFormat="FALSE" FeedingMethod="ShortEdge" CommandSequence_ID="Size_JISB4">
              <HardwareMargins left="4234" top="4234" right="4234" bottom="4234"/>
            </MediaSize>
            <MediaSize ID="JISB5" MediaSize_Global_ID="na-letter.8500-11000" x="182000" y="257000" MediaSize_Name_ID="MediaSize_JISB5" RotatedFormat="FALSE" FeedingMethod="ShortEdge" CommandSequence_ID="Size_JISB5">
              <HardwareMargins top="4234" bottom="4234" left="6012" right="6012"/>
              <HardwareMarginsLandscape top="4234" bottom="4234" left="4996" right="4996"/>
            </MediaSize>
            <MediaSize ID="Double Postcard" MediaSize_Global_ID="na-letter.8500-11000" x="147900" y="199900" MediaSize_Name_ID="MediaSize_DoublePostcard" RotatedFormat="FALSE" FeedingMethod="ShortEdge" CommandSequence_ID="Size_DoublePostcard">
              <HardwareMargins left="4234" top="4234" right="4234" bottom="4234"/>
            </MediaSize>
            <MediaSize ID="JISEXEC" MediaSize_Global_ID="na-letter.8500-11000" x="215900" y="329900" MediaSize_Name_ID="MediaSize_JISEXEC" RotatedFormat="FALSE" FeedingMethod="ShortEdge" CommandSequence_ID="Size_JISEXEC">
              <HardwareMargins top="4234" bottom="4234" left="6350" right="6350"/>
              <HardwareMarginsLandscape top="4234" bottom="4234" left="5080" right="5080"/>
            </MediaSize>
            <MediaSize ID="ROC16K" MediaSize_Global_ID="na-letter.8500-11000" x="196800" y="273000" MediaSize_Name_ID="MediaSize_ROC16K" RotatedFormat="FALSE" FeedingMethod="ShortEdge" CommandSequence_ID="Size_ROC16K">
              <HardwareMargins top="4234" bottom="4234" left="6350" right="6350"/>
              <HardwareMarginsLandscape top="4234" bottom="4234" left="5080" right="5080"/>
            </MediaSize>
            <MediaSize ID="ROC8K" MediaSize_Global_ID="na-letter.8500-11000" x="273000" y="393700" MediaSize_Name_ID="MediaSize_ROC8K" RotatedFormat="FALSE" FeedingMethod="ShortEdge" CommandSequence_ID="Size_ROC8K">
              <HardwareMargins left="4234" top="4234" right="4234" bottom="4234"/>
            </MediaSize>
          </MediaSizesList>
        </PrintMediaHandling>
        <FontHandling/>
        <Overlays/>
        <Forms/>
        <Communication/>
        <Global>
          <UserInterface>
            <Dialog>
              <Tab Text="Paper" UILocalize="TRUE">
                <UIFeatures>
                  <UIFeature>
                    <!-- <UIAttributes UIDisplayName="Paper size" UILocalize="TRUE" HelpText="HelpMe" ShortcutKey="z"/>PaperSize -->
                    <!-- remove "Paper Size" from end -->
                    <UIAttributes UIDisplayName="Paper size" UILocalize="TRUE" HelpText="HelpMe" ShortcutKey="z"/>
                    <UIControl>
                      <List Orientation="Horizontal" ScrollBar="TRUE">
                        <ItemInList UILabel="US Letter" Src="letter.bmp" Command="blank for now"/>
                        <ItemInList UILabel="US Legal" Src="legal.bmp" Command=" "/>
                        <ItemInList UILabel="Executive" Src="executive.bmp" Command=" "/>
                        <ItemInList UILabel="A4" Src="A4.bmp" Command=" "/>
                        <ItemInList UILabel="A5" Src="A5.bmp" Command=" "/>
                      </List>
                    </UIControl>
                  </UIFeature>
                  <UIFeature>
                    <!-- <UIAttributes UIDisplayName="Layout" UILocalize="TRUE" HelpText="HelpMe" ShortcutKey="y"/>Layout -->
                    <!-- remove "Layout" from end -->
                    <UIAttributes UIDisplayName="Layout" UILocalize="TRUE" HelpText="HelpMe" ShortcutKey="y"/>
                    <UIControl>
                      <RadioButtonGroup NumButtons="3" DefaultButton="1 up">
                        <RadioButton UILabel="1 up" Command="cmd"/>
                        <RadioButton UILabel="2 up" Command="cmd"/>
                        <RadioButton UILabel="4 up" Command="cmd"/>
                      </RadioButtonGroup>
                    </UIControl>
                    <UIControl>
                      <SrcImage SoucreImage="FALSE"/>
                    </UIControl>
                    <UIControl>
                      <SrcImage SoucreImage="FALSE"/>
                    </UIControl>
                    <UIControl>
                      <SrcImage SoucreImage="FALSE"/>
                    </UIControl>
                  </UIFeature>
                  <UIFeature>
                    <!-- <UIAttributes UIDisplayName="Orientation" UILocalize="TRUE" HelpText="HelpMe" ShortcutKey="O"/>Orientation -->
                    <!-- remove "Orientation" from end -->
                    <UIAttributes UIDisplayName="Orientation" UILocalize="TRUE" HelpText="HelpMe" ShortcutKey="O"/>
                    <UIControl>
                      <RadioButtonGroup NumButtons="2" DefaultButton="Portrait">
                        <RadioButton UILabel="Portrait" ShortcutKey="P" Command="cmd"/>
                        <RadioButton UILabel="Landscape" ShortcutKey="L" Command="cmd"/>
                      </RadioButtonGroup>
                    </UIControl>
                    <UIControl>
                      <CheckBox CheckBoxSetting="FALSE"/>
                    </UIControl>
                  </UIFeature>
                  <UIFeature>
                    <!-- <UIAttributes UIDisplayName="Paper Source" UILocalize="TRUE" HelpText="HelpMe" ShortcutKey="O"/>PaperSource -->
                    <!-- remove "PaperSource" from end -->
                    <UIAttributes UIDisplayName="Paper Source" UILocalize="TRUE" HelpText="HelpMe" ShortcutKey="O"/>
                    <UIControl>
                      <CheckBox CheckBoxSetting="FALSE"/>
                    </UIControl>
                  </UIFeature>
                </UIFeatures>
              </Tab>
              <Tab Text="Graphics" UILocalize="TRUE"/>
            </Dialog>
            <Dialog>
              <Tab Text="Paper" UILocalize="TRUE">
                <UIFeatures>
                  <UIFeature>
                    <!-- <UIAttributes UIDisplayName="Print on both sides" UILocalize="TRUE" HelpText="HelpMe" ShortcutKey="d"/>Duplex -->
                    <!-- remove "Duplex" from end -->
                    <UIAttributes UIDisplayName="Print on both sides" UILocalize="TRUE" HelpText="HelpMe" ShortcutKey="d"/>
                    <UIControl>
                      <RadioButtonGroup NumButtons="3" DefaultButton="None">
                        <RadioButton UILabel="None" Command="Duplex false Tumble false setpagedevice"/>
                        <RadioButton UILabel="Flip on Long Edge" Command="cmd"/>
                        <RadioButton UILabel="Flip on Short Edge" Command="cmd"/>
                      </RadioButtonGroup>
                    </UIControl>
                  </UIFeature>
                  <UIFeature>
                    <!-- <UIAttributes UIDisplayName="Media:" UILocalize="TRUE" HelpText="HelpMe"/>Media -->
                    <!-- remove "Media" from end -->
                    <UIAttributes UIDisplayName="Media:" UILocalize="TRUE" HelpText="HelpMe"/>
                    <UIControl>
                      <List ScrollBar="FALSE">
                        <ItemInList UILabel="Plain" Command="cmd"/>
                      </List>
                    </UIControl>
                  </UIFeature>
                  <UIFeature>
                    <UIControl>
                      <Button>
                        <Label Text="OK" UILocalize="TRUE"/>
                        <Image/>
                      </Button>
                    </UIControl>
                  </UIFeature>
                </UIFeatures>
              </Tab>
            </Dialog>
            <PrinterMemoryManage PrinterMemoryManageId="NONE"/>
            <PAGEPROTECTS NumPageProtect="0" fPageProtect="FALSE"/>
            <RESOLUTIONS NumResolution="1">
              <DefaultResolution DefaultResolutionDPI="600" DefaultResolutionUnit="inch"/>
              <Resolution ResoltuionDPI="600" ResolutionDM="DMRES_MEDIUM"/>
            </RESOLUTIONS>
            <TONERSAVES NumTonerSave="0" fTonerSave="FALSE"/>
            <SMOOTHINGMODES NumSmoothingMode="0" fSmoothingMode="FALSE"/>
            <DITHERSMOOTHINGS NumDitherSmoothing="0" fDitherSmoothing="FALSE"/>
            <DITHERS/>
            <UIConstraints/>
          </UserInterface>
          <Colors>
            <ColorProcessing>
              <COLORSPACES fColorSpace="TRUE" NumColorSpace="1">
                <ColorSpace ColorSpaceId="Gray"/>
              </COLORSPACES>
            </ColorProcessing>
            <PIXELDEPTHS NumPixelDepth="0" fPixelDepth="FALSE"/>
          </Colors>
        </Global>
      </Features>
      <Constraints>
        <Constraint>
          <Condition Feature="MediaSize">
            <ConditionSetting Relation="E" Value="A3"/>
            <Condition Feature="InputTray">
              <ConditionSetting Relation="E" Value="Tray2"/>
            </Condition>
          </Condition>
          <ActionFilter/>
        </Constraint>
      </Constraints>
    </PrinterCap>
    <FaxCap>
      <FaxCap.Header>
        <Fax/>
      </FaxCap.Header>
    </FaxCap>
    <ScanCap>
      <ScanCap.Header>
        <Scan/>
      </ScanCap.Header>
    </ScanCap>
  </DeviceCap.Features>
</DeviceCap>

