%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/share/cups/drv/
Upload File :
Create Path :
Current File : //usr/share/cups/drv/hpcups.drv

// hpcups.drv - hpcups driver information file
//
// This driver information file (drv) produces PPD files for the CUPS interface solution.
// Multiple printers are supported by a finite set of device classes. This file defines the device classes
// and each model that is associated with that device class.
//
// All the PPDs created by this file are consumed by the /prnt/hpcups driver. Hpcups is a raster driver that
// produces printer-ready-bits. The hpcups driver only works CUPS. Hpcups does not use the APDK, but
// is based on re-purposed APDK code.
//
// Each device class will use the following Attributes to define what printer language and printer platform is
// used by hpcups.
//
//  Attribute "hpPrinterLanguage" "" "pcl3gui"
//  Attribute "hpPrinterPlatform" "" "dj970"
//
// Note the "cupsModelName" is no longer used and can be removed.
//
// The "hpPrinterLanguage" is required by all device classes. The "hpPrinterPlatform" is optional and is not
// required for all device classes. For example the pcl3gui2 does use the "hpPrinterPlatform" attribute.
//
// Print modes, paper sizes and printable regions parameters are all now defined in the PPDs. In the old APDK code
// these parameters were all hardcoded in the code.
//
// Each device class will have multiple model entrys.
//
//      ModelName "HP Deskjet 970c"
//      Attribute "NickName" "" "HP Deskjet 970c, $Version"
//      Attribute "ShortNickName" "" "HP Deskjet 970c"
//      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 970c;DES:deskjet 970c;"
//      PCFileName "hp-deskjet_970c.ppd"
//      Attribute "Product" "" "(HP Deskjet 970cxi Printer)"
//      Attribute "Product" "" "(HP Deskjet 970cse Printer)"
//      Attribute "Product" "" "(HP Deskjet 970c Printer)"
//
// The model entrys are filled in by the dat2drv.py script file. The dat2drv uses the model.dat file to determine
// what models belong to what device class. The output of the dat2drv is hpcups.drv.in. The configure command
// will create the final hpcups.drv file with the appropriate version number set.
//
// Normally the hpcups.drv.in file is built at bootstrap time and hpcups.drv file is build at configure time.
//
// The "ModelName" is a friendly name that can be displayed to the user for driver selection.
//
// The "PCFileName" should match the IEEE 1284 device-id model name. The model name is generated from the
// IEEE 1284 "MDL" field. Leading and trailing spaces are removed, in-line spaces are replaced with a single
// "_" character. Then an "hp-" prefix and "-hpijs.ppd" postfix is added/changed.
//
// The "1284DeviceID" is dummy IEEE 1284 device-id name. The name provides valid case insensitive MFG:, MDL: and DES fields.
// This provides third-party applications with a generic mechanism for auto-ppd-selection.
//
// There should be one drv model entry for every unique device-id supported by hpcups. This means one model entry
// may support more than one product. For example the DeskJet 970c, DeskJet 970cxi and DeskJet 950csi all have the
// same device-id "MFG:HP;MDL:deskjet 970c;DES:deskjet 970c;". In this case there will only be one model entry
// the "DeskJet 970c".
//
// Hpcups is a raster driver similar to hpijs. Hpcups is not a postscript driver. In order to discriminate hpcups
// from other drivers we will use the following PPD file naming convention.
//
// hpijs with foomatic-rip
//   hp-xxxxxxx-hpijs-zzz.ppd for
//
// hpcups with native CUPS
//   hp-xxxxxxx-zzz.ppd
//
// Postscript
//   hp-xxxxxxx-ps.ppd
//
// Where
//    xxxxxxx = normalized device-id model name (ie: deskjet_6100_series)
//    zzz = page description language (ie: pcl, zjs, lidil). Use only to provide alternative PPD file selections.
//
// History
//    1/7/08 dsuffield
//       New.
//
//    2/14/08 dsuffield
//       Tried using "#include xxx_margin.defs" inside the different device blocks, but CUPSDDK 1.2 did not handle it.
//       Driver "sizes" are deleted for every new block in ppdcSource::scan_file. So all xxx_margin.defs are in-lined.
//
//    4/20/09 dsuffield
//       All xxxDuplex papersizes have 1/8 inch subtracted from the length. Since ghostscript 8.63 cannot handle the same papersize
//       with different printable regions. The xxxDuplex printable region length is adjusted accordingly.
//
//    4/21/09 dsuffield
//       Ijsdump can no longer be used to update printable margins for xxxDuplex and xxxFB papersizes.
//
//    4/22/09 dsuffield
//       Since ijsdump is no longer useful, I collapsed most large format MediaSizes.
//
//    6/4/09 dsuffield
//       Converted papersizes to CustomMedia directive so that the PCL papersize can be specified with cupsInteger0.
//
//    10/27/09 jcallough
//       Corrected imageable areas for LJZjsMono, LJZjscolor on the following paper sizes:
//       3x5, Hagaki, A5, 5x8, Oufuku-Hagaki, B5, Executive, A2Envelope, C6Envelope, #4Envelope, and C5Envelope
//
//    10/27/09 jcallough
//       Corrected imageable areas for LJZjsMono, LJZjscolor on the following paper sizes:
//       JB5, A4, #4, Monarch, DL, and #3
//       Changed the margin limitations to match hpijs on LJFastRaster
//
//    10/28/09 jcallough
//       Corrected margin issues for the following printer classes:
//       LJZjsMono, LJZjsColor, LJFastRaster,
//       LJFastRaster: Changed the CupsInteger0 from a specific # to 96 to ensure that the image is printed correctly
//       LJJetReady: Changed some CupsInteger0 #'s, changed some Imageable area parameters
//
//    11/3/09 jcallough
//       Corrected margin for DJ9xx A6.Duplex, A4.Duplex, cupsInteger0 was changed from 10 to 101 so that the full image will print
//       with ExecutiveJIS and American Foolscap
//
//    11/5/09 jcallough
//       DJ850, DJ630, DJ600&6xx : Deleted 3x5 paper size (doesn't fit in printer), Changed cupsInteger0 to 101
//
//    11/5/09 jcallough
//       DJ890: changed ExecutiveJIS and American Foolscap to cupsIntege0 101 from 10, Changed A2 and C6 cupsInteger0 to 101,
//              Changed #4 Envelope to cupsInteger0 to 101, DL Envelope to 101, #3 Envelope to 101, 5x7 to CupsInteger0 101
//       DJ8xx: Changed A2 margins to 9 36 9 9,
//       DJ6xxPhoto:  Changed C6Envelope to CupsInteger0 101, Oufuku-Hagaki to CupsInteger0 101,
//
//    11/12/09 jcallough
//       DJ8x5: Removed ExecutiveJIS (paper size not supported), Removed American Foolscap (paper size not supported),
//              Changed 16k CupsInteger0 to 40,
//       DJ540: Changed ExecutiveJIS and AmericanFoolscap CupsInteger0 to 101,#10 Envelope CupsInteger0 to 101,DL Envelope
//              CupsInteger0 to 101,
//       DJ9xxVIP without 1200-dpi mode and without paper type sensor: Changed ExecutiveJIS and AmericanFoolscap CupsInteger0
//              to 101,
//
//     11/13/09 jcallough
//       DJ350: Removed paper sized smaller than JB5 (don't fit), Removed envelope sizes (don't fit), Oufuku-Hagaki CupsInteger0
//       to 101, ExecutiveJIS ad American Foolscap CupsInteger0 to 101
//       DJ130: Removed 3x5 Index Card (doesn't fit), Removed #4 Envelope (doesn't fit), Removed Monarch Envelope, Changed Imageable area
//       for all regular paper sizes to {9 36 9 9}, Changed Imageable area for all full bleed paper sizes to {0 0 0 ~46}
//       PSP470 5x7 4sided full bleed: Removed 3x5 Index, Oufuku-Hagaki, and A5 (don't fit); Monarch (not supported)
//       DJ630: Oufuku-Hagaki cupsInteger0 to 101,
//       DJ600 & 6xx, DJ6xxPhoto: Changed Hagaki, 4x6, A6, 5x8, Oufuku-Hagaki, #3 Envelope cupsInteger0 to 101;
//       DJGenericVIP 4x6 4sided Fullbleed: Removed 3x5 (doesn't fit) and Monarch Envelope (paper size not supported)
//
//     11/17/09 jcallough
//       DJ4100: Added the printer platform "djd2600" to the Deskjet D2660 printer under the DJ4100 class to allow for
//       proper grayscale printing
//
//     11/23/09 mubeen
//       Added Stabler class. More classes to follow.
//
//     12/08/09 mubeen
//       ViperPlusVIP, ViperMinusVIP, Corbett(OJPro8000) are new classes. (Removed Python)
//       Removed APDK device class attributes for all new classes
//       Borderless Overspray: Added cupsReal0 and cupsReal1 for left and top overspray for Fullbleed paper sizes
//       Stabler: Added 2L paper size. Updated Fullbleed paper sizes with overspray values
//                Upper Tray is identified as Main Tray now. (spec refers as main tray). PCL ID is taken from specs.
//       ViperPlusVIP: Media sources are Automatic and Main Tray
//                Added 2L paper size. Updated Fullbleed paper sizes with overspray values
//                Removed CD/DVD media and related constraints
//                Removed Draft mode and related constraints
//      ViperMinus: Removed all media sources. Updated Fullbleed paper sizes with overspray values
//                Removed Draft mode and related constraints
//                Removed CD/DVD media and related constraints
//      Corbett: Removed 3_L duplex size
//
//     12/09/09 mubeen
//       ViperPlusVIP: Added 2L, Mutsugiri paper sizes. Was not added earlier. Updated Cabinet.DB margin
//       ViperMinusVIP: Updated custom paper size margins
//       Stabler: Correct paper names for 3.5x5in, 3.5x5in FB, 2L
//       Corbett: Redid the class to align with the specs.
//
//      12/10/09 Shakil
//        Corbett: Changed the JB5.FB PCL ID to 45
//
//      12/10/09 mubeen
//        Corbett: Added UIConstraints for Draft and Fullbleed
//        Stabler, ViperPlusVIP, ViperMinusVIP: Added UIConstraints for FastDraft and Fullbleed
//        Changed Output mode order (RGB, High Quality Gray, Black only)
//        ViperPlus, ViperMinus: Updated overspray values.
//
//      12/11/09 adhir
//        Stabler: Margin correction of 0.3 for Hagaki.FB
//        ViperMinus: Margin correction for Executive and Legal; Added Card4x6, Photo4x6tab and Photo4x6tab.FB; Removed Photo4x6.FB
//        ViperPlus: Removed Media position section as it is not needed (as per specs).
//
//      12/15/09 adhir
//        Reverted Corbbet changes
//
//      01/15/10 adhir
//        Added ViperPlusTrim and ViperMinusTrim classes. Removed DJD2600 class.
//
//      01/18/10 mubeen
//        Added Corbett class
//
//      01/21/10 mubeen
//        Corbett: Updated corbett class with mechanical margin values for simplex and duplex papers
//                 Updated constraints for FB with Duplex
//
//      01/29/10 mubeen
//        Added new classes Python. Created NoAutoDuplex, and NoCDDVD sub-class
//
//      02/03/10 mubeen
//        Added new Python B-size(Python:LargeFormatA3:NoAutoDuplex) and OJ7000 class
//
//      02/11/10 mubeen
//        Added new tech subclass NoMaxDPI for Python class.
//        Python B-size: Added paper sizes: B7(ISO), B7(JIS), 10x20cm (tab), 4x10in, 4x11in, 4x12in, Double A4
//
//      05/07/10 adhir
//        Added new class for LjZjsMono with NoAutoDuplex and no multiple trays.
//
//      01/08/10 Parul Singh and Naga Samrat Chowdary, Narla
//        Added subclass (LargeFormatA3:SmallMargins) to OJ7000 Class
//
//      17 july 2010 Naga Samrat Chowdary, Narla
//        Added subclass (Trim) to ViperPlusVIP
//
//      15 July 2010 Yashwant Kumar Sahu
//		  ljZjsmono duplex:  Added UI constraint for non duplex paper types


//      24 August 2010 Sanjay
//        Added new classes Python10.
//

//      20 September 2010 Sanjay
//        Added new class mimas for slimfast.
//

//      21 February 2011 Goutam
//        Added new class StingrayOJ for Alpha
//
//      10 March 2011 Goutam
//         Corrected the Overspray values for borderless paper sizes in StingrayOJ class
//         replaced names PhotoL.FB with L.FB and Photo3.5x5.FB with PhotoL.FB

//       26 July 2011 Ani
//       Added new tech class Copperhead for Munich

//      3 August 2011 Ani
//        Added new tech class Ampere

//      13 September 2011 Goutam
//         Added AutoDuplex PaperSizes in Copperhead techclass


//      10 Jan 2012 Sanjay
//         Added the new tech class : Saipan

//      20 Feb 2012
//         Added New Tech Class PyramidPlus

//      26 Oct 2012 Ani
//          Added New Tech Class Kapan

//      5 December 2012
//       Added new tech class MimasTDR

//      04 May 2015 Sanjay
//         Added the new tech class : Saipan15B



// Include necessary files...
#include <font.defs>
//#include <media.defs>

// Driver-specific media sizes...
//#include "hplip_media.defs"

#define _VERSION "3.23.12"
#define Version "$_VERSION"

// Copyright for all drivers...
Copyright "(c) 2008 Copyright HP Development Company, LP"

// Driver version
Version $Version

// Custom driver
DriverType custom

//Color output
ColorDevice Yes

// All standard fonts...
Font *

// Generate copies manually
ManualCopies Yes

// 1 page per minute
Throughput 1

// CUPS filters...
Filter "application/vnd.cups-raster 0 hpcups"
//Filter "application/vnd.cups-command 0 commandtohpijs"

Attribute "RequiresPageRegion" "All" "True"

{
// Manufacturer - PPD spec has "HP" registered for "Hewlett-Packard"...
Manufacturer "HP"

///////// DJ9xx
{

  Attribute "cupsEvenDuplex" "" "True"
  Attribute "cupsBackSide" "" "Rotated"
  Attribute "cupsFlipDuplex" "" "True"
  Attribute "hpPrinterLanguage" "" "pcl3gui"
  Attribute "hpPrinterPlatform" "" "dj970"
  Attribute "HPMechOffset" "" "70"

  Group "General/General"

  Option "Duplex/Double-Sided Printing" PickOne AnySetup 10.0
    Choice "DuplexNoTumble/Long Edge (Standard)" "<</Duplex true/Tumble false>>setpagedevice"
    Choice "DuplexTumble/Short Edge (Flip)" "<</Duplex true/Tumble true>>setpagedevice"
    *Choice "None/Off" "<</Duplex false/Tumble false>>setpagedevice"

  // MediaPosition values map to MediaSource enumeration in global_types.h
  Option "InputSlot/Media Source" PickOne AnySetup 10.0
    *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"
    Choice "PhotoTray/Photo Tray" "<</MediaPosition 6>>setpagedevice"
    Choice "Upper/Upper Tray" "<</MediaPosition 1>>setpagedevice"
    Choice "Lower/Lower Tray" "<</MediaPosition 4>>setpagedevice"
    Choice "Envelope/Envelope Feeder" "<</MediaPosition 3>>setpagedevice"
    Choice "LargeCapacity/Large Capacity Tray" "<</MediaPosition 5>>setpagedevice"
    Choice "Manual/Manual Feeder" "<</MediaPosition 2>>setpagedevice"
    Choice "MPTray/Multi Purpose Tray" "<</MediaPosition 1>>setpagedevice"

  // cupsMediaType values map to MEDIATYPE from global_types.h
  Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0>>setpagedevice"
    Choice "Glossy/Photo Paper" "<</MediaType(Glossy)/cupsMediaType 3>>setpagedevice"

  // cupsCompression values map to QUALITY_MODE from global_types.h
  Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "NormalRGB/Normal Color" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 0/OutputType(0)/cupsString0(PlainNormalColor)/HWResolution[300 300]>>setpagedevice"
    Choice "NormalGray/Normal Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2/OutputType(0)/cupsString0(PlainNormalGrayK)/HWResolution[600 600]>>setpagedevice"
    Choice "DraftRGB/Draft Color" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 0/OutputType(-1)/cupsString0(PlainDraftColor)/HWResolution[300 300]>>setpagedevice"
    Choice "DraftGray/Draft Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2/OutputType(-1)/cupsString0(PlainDraftGrayK)/HWResolution[300 300]>>setpagedevice"
    Choice "BestRGB/Best Color" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 0/OutputType(1)/cupsString0(PlainBestColor)/HWResolution[600 600]>>setpagedevice"
    //Choice "BestGray/Best Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2/cupsCompression 2/HWResolution[600 600]>>setpagedevice"
    Choice "Photo/High-Resolution Photo" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 0/OutputType(2)/cupsString0(PhotoMaxDpiColor)/HWResolution[1200 1200]>>setpagedevice"

  // Duplexer is optional...
  Installable "OptionDuplex/Duplexer Installed"

  // Constraints
  //UIConstraints "*Duplex *OptionDuplex False"
  UIConstraints "*MediaType Glossy *OutputMode DraftGray"
  UIConstraints "*MediaType Plain *OutputMode Photo"
  UIConstraints "*PageSize Photo4x6 *Duplex"
  UIConstraints "*PageSize Photo5x7 *Duplex"
  UIConstraints "*PageSize A5 *Duplex"
  UIConstraints "*PageSize A6 *Duplex"
  UIConstraints "*PageSize B5 *Duplex"
  UIConstraints "*PageSize Oufuku *Duplex"
  UIConstraints "*PageSize Hagaki *Duplex"
  UIConstraints "*PageSize 16k *Duplex"
  UIConstraints "*PageSize Card3x5 *Duplex"
  UIConstraints "*PageSize Card5x8 *Duplex"
  UIConstraints "*PageSize Env10 *Duplex"
  UIConstraints "*PageSize EnvA2 *Duplex"
  UIConstraints "*PageSize EnvC6 *Duplex"
  UIConstraints "*PageSize EnvDL *Duplex"
  UIConstraints "*PageSize EnvC5 *Duplex"
  UIConstraints "*PageSize EnvB5 *Duplex"
  UIConstraints "*PageSize EnvChou3 *Duplex"
  UIConstraints "*PageSize EnvChou4 *Duplex"
  UIConstraints "*PageSize EnvMonarch *Duplex"

  Attribute "cupsModelName" "" "DESKJET 930"     // APDK device class

// 4x6 or smaller
  CustomMedia "Card3x5/Index Card 3x5in" 216 360 18 36 18 9 "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki/Hagaki 100x148mm" 284 420 9.00 36.00 9.00 9.00 "<</cupsInteger0 71/PageSize[284 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[284 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki.Duplex/Hagaki AutoDuplex 100x148mm" 284 411 9 27 9 36 "<</cupsInteger0 71/PageSize[284 411]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[284 411]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6/Photo 4x6in" 288 432 9 36 9 9 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6/A6 105x148mm" 297.36 419.76 9 36 9 9 "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6.Duplex/A6 AutoDuplex 105x148mm" 297 411 9.00 36.00 9.00 36.00 "<</cupsInteger0 73/PageSize[297 411]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[297 411]/ImagingBBox null>>setpagedevice"

// 5x7
  CustomMedia "Photo5x7/Photo 5x7in" 360 504 9 36 9 9 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card5x8/Index Card 5x8in" 360 576 18 36 18 9 "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card5x8.Duplex/Index Card AutoDuplex 5x8in" 360 567 9 27 9 36 "<</cupsInteger0 75/PageSize[360 567]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 567]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku/Oufuku-Hagaki 148x200mm" 567 420 18.00 36.00 18.00 9.00 "<</cupsInteger0 72/PageSize[567 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[567 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku.Duplex/Oufuku-Hagaki AutoDuplex 148x200mm" 567 411 9 27 9 36 "<</cupsInteger0 72/PageSize[567 411]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[567 411]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5/A5 148x210mm" 419.76 595.44 9 36 9 9 "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5.Duplex/A5 AutoDuplex 148x210mm" 420 586 18 27 18 36 "<</cupsInteger0 25/PageSize[420 586]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[420 586]/ImagingBBox null>>setpagedevice"

// Standard
  CustomMedia "B5/B5 176x250mm" 498.96 708.48 18 36 18 9 "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "B5.Duplex/B5 AutoDuplex 176x250mm" 499 699 18 27 18 36 "<</cupsInteger0 65/PageSize[499 699]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[499 699]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5/JB5 182x257mm" 516.24 728.64 18 36 18 9 "<</cupsInteger0 45/PageSize[516.24 728.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5.Duplex/JB5 AutoDuplex 182x257mm" 516 720 18 27 18 36 "<</cupsInteger0 45/PageSize[516 720]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [516 720]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive/Executive 7.25x10.5in" 522 756 18.00 36.00 18.00 9.00 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive.Duplex/Executive AutoDuplex 7.25x10.5in" 522 747 18 27 18 36 "<</cupsInteger0 1/PageSize[522 747]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 747]/ImagingBBox null>>setpagedevice"
  CustomMedia "16k/16k 7.75x10.75in" 558 774 18 36 18 9 "<</cupsInteger0 101/PageSize[558 774]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[558 774]/ImagingBBox null>>setpagedevice"   // custom
  *CustomMedia "Letter/Letter 8.5x11in" 612 792 18 36 18 9 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
  CustomMedia "Letter.Duplex/Letter AutoDuplex 8.5x11in" 612 783 18 27 18 36 "<</cupsInteger0 2/PageSize[612 783]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 783]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4/A4 210x297mm" 595.44 841.68 9.72 36 9.72 9.00 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4.Duplex/A4 AutoDuplex 210x297mm" 595 833 9.72 27 9.72 36 "<</cupsInteger0 26/PageSize[595 833]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595 833]/ImagingBBox null>>setpagedevice"
  CustomMedia "ExecutiveJIS/Executive (JIS) 8.5x12.986in" 612 936 18 36 18 9 "<</cupsInteger0 101/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "FLSA/American Foolscap 8.5x13in" 612 936 18.00 36.00 18.00 9.00 "<</cupsInteger0 101/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal/Legal 8.5x14in" 612 1008 18 36 18 9 "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal.Duplex/Legal AutoDuplex 8.5x14in" 612 999 18 27 18 36 "<</cupsInteger0 3/PageSize[612 999]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 999]/ImagingBBox null>>setpagedevice"

// Envelopes
  CustomMedia "EnvA2/A2 Envelope 4.37x5.75in" 314.64 414 9 42 9 9 "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.28 459.36 18.00 36.00 18.00 9.00 "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou4/#4 Japanese Envelope 90x205mm" 254.88 581.04 9 41 9 9 "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279 540 18.00 36.00 18.00 9.00 "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvDL/DL Envelope 110x220mm" 311.76 623.52 18.00 36.00 18.00 9.00 "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env10/#10 Envelope 4.12x9.5in" 297 684 18.00 36.00 18.00 9.00 "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 339.84 666  9 41 9 9 "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC5/C5 Envelope 162x229mm" 459 649 18.00 36.00 18.00 9.00 "<</cupsInteger0 91/PageSize[459 649]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 91/PageSize[459 649]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvB5/B5 Envelope 176x250mm" 499 709 18.00 36.00 18.00 9.00 "<</cupsInteger0 100/PageSize[499 709]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 100/PageSize[499 709]/ImagingBBox null>>setpagedevice"
  {
    // Custom page sizes from 1x4in to Legal
    HWMargins 18 36 18 36
    VariablePaperSize Yes
    MinSize 1in 4in
    MaxSize 8.5in 14in

    // <%DJ9xx:Normal%>
    {
      ModelName "HP Photosmart p1000"
      Attribute "NickName" "" "HP Photosmart p1000, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart p1000"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart p1000;DES:photosmart p1000;"
      PCFileName "hp-photosmart_p1000.ppd"
      Attribute "Product" "" "(HP Photosmart p1000/1000 Printer)"
      Attribute "Product" "" "(HP Photosmart p1000xi Printer)"
    }
    {
      ModelName "HP Photosmart p1100"
      Attribute "NickName" "" "HP Photosmart p1100, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart p1100"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart p1100;DES:photosmart p1100;"
      PCFileName "hp-photosmart_p1100.ppd"
      Attribute "Product" "" "(HP Photosmart p1100 Printer)"
      Attribute "Product" "" "(HP Photosmart p1100xi Printer)"
    }
    {
      ModelName "HP Officejet v30"
      Attribute "NickName" "" "HP Officejet v30, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet v30"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet v30;DES:officejet v30;"
      PCFileName "hp-officejet_v30.ppd"
      Attribute "Product" "" "(HP Officejet v30 All-in-one Printer)"
    }
    {
      ModelName "HP Deskjet 3810"
      Attribute "NickName" "" "HP Deskjet 3810, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 3810"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 3810;DES:deskjet 3810;"
      PCFileName "hp-deskjet_3810.ppd"
      Attribute "Product" "" "(HP Deskjet 3810 Color Inkjet Printer)"
    }
    {
      ModelName "HP Deskjet 3816"
      Attribute "NickName" "" "HP Deskjet 3816, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 3816"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 3816;DES:deskjet 3816;"
      PCFileName "hp-deskjet_3816.ppd"
      Attribute "Product" "" "(HP Deskjet 3816 Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 3818 Color Inkjet Printer)"
    }
    {
      ModelName "HP Deskjet 3819"
      Attribute "NickName" "" "HP Deskjet 3819, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 3819"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 3819;DES:deskjet 3819;"
      PCFileName "hp-deskjet_3819.ppd"
      Attribute "Product" "" "(HP Deskjet 3819 Color Inkjet Printer)"
    }
    {
      ModelName "HP Deskjet 3820"
      Attribute "NickName" "" "HP Deskjet 3820, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 3820"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 3820;DES:deskjet 3820;"
      PCFileName "hp-deskjet_3820.ppd"
      Attribute "Product" "" "(HP Deskjet 3820 Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 3820v Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 3820w Color Inkjet Printer)"
    }
    {
      ModelName "HP Deskjet 3822"
      Attribute "NickName" "" "HP Deskjet 3822, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 3822"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 3822;DES:deskjet 3822;"
      PCFileName "hp-deskjet_3822.ppd"
      Attribute "Product" "" "(HP Deskjet 3822 Color Inkjet Printer)"
    }
    {
      ModelName "HP Deskjet 3870"
      Attribute "NickName" "" "HP Deskjet 3870, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 3870"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 3870;DES:deskjet 3870;"
      PCFileName "hp-deskjet_3870.ppd"
      Attribute "Product" "" "(HP Deskjet 3870 Color Inkjet Printer)"
    }
    {
      ModelName "HP Officejet v40xi"
      Attribute "NickName" "" "HP Officejet v40xi, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet v40xi"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet v40xi;DES:officejet v40xi;"
      PCFileName "hp-officejet_v40xi.ppd"
      Attribute "Product" "" "(HP Officejet v40xi All-in-one Printer)"
    }
    {
      ModelName "HP Officejet v40"
      Attribute "NickName" "" "HP Officejet v40, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet v40"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet v40;DES:officejet v40;"
      PCFileName "hp-officejet_v40.ppd"
      Attribute "Product" "" "(HP Officejet v40 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet v40s All-in-one Printer)"
    }
    {
      ModelName "HP Officejet v45"
      Attribute "NickName" "" "HP Officejet v45, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet v45"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet v45;DES:officejet v45;"
      PCFileName "hp-officejet_v45.ppd"
      Attribute "Product" "" "(HP Officejet v45 All-in-one Printer)"
    }
    {
      ModelName "HP Officejet 5100 Series"
      Attribute "NickName" "" "HP Officejet 5100 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet 5100 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet 5100 series;DES:officejet 5100 series;"
      PCFileName "hp-officejet_5100_series.ppd"
      Attribute "Product" "" "(HP Officejet 5100 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 5105 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 5110v All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 5110xi All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 5110 All-in-one Printer)"
    }
    {
      ModelName "HP Officejet g55"
      Attribute "NickName" "" "HP Officejet g55, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet g55"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet g55;DES:officejet g55;"
      PCFileName "hp-officejet_g55.ppd"
      Attribute "Product" "" "(HP Officejet g55 All-in-one Printer)"
    }
    {
      ModelName "HP Officejet g55xi"
      Attribute "NickName" "" "HP Officejet g55xi, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet g55xi"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet g55xi;DES:officejet g55xi;"
      PCFileName "hp-officejet_g55xi.ppd"
      Attribute "Product" "" "(HP Officejet g55xi All-in-one Printer)"
    }
    {
      ModelName "HP Officejet k60xi"
      Attribute "NickName" "" "HP Officejet k60xi, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet k60xi"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet k60xi;DES:officejet k60xi;"
      PCFileName "hp-officejet_k60xi.ppd"
      Attribute "Product" "" "(HP Officejet k60xi All-in-one Printer)"
    }
    {
      ModelName "HP Officejet k60"
      Attribute "NickName" "" "HP Officejet k60, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet k60"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet k60;DES:officejet k60;"
      PCFileName "hp-officejet_k60.ppd"
      Attribute "Product" "" "(HP Officejet k60 All-in-one Printer)"
    }
    {
      ModelName "HP PSC 720"
      Attribute "NickName" "" "HP PSC 720, hpcups $Version"
      Attribute "ShortNickName" "" "HP PSC 720"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:psc 720;DES:psc 720;"
      PCFileName "hp-psc_720.ppd"
      Attribute "Product" "" "(HP PSC 720 All-in-one Printer)"
    }
    {
      ModelName "HP PSC 750xi"
      Attribute "NickName" "" "HP PSC 750xi, hpcups $Version"
      Attribute "ShortNickName" "" "HP PSC 750xi"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:psc 750xi;DES:psc 750xi;"
      PCFileName "hp-psc_750xi.ppd"
      Attribute "Product" "" "(HP PSC 750xi All-in-one Printer)"
    }
    {
      ModelName "HP PSC 750"
      Attribute "NickName" "" "HP PSC 750, hpcups $Version"
      Attribute "ShortNickName" "" "HP PSC 750"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:psc 750;DES:psc 750;"
      PCFileName "hp-psc_750.ppd"
      Attribute "Product" "" "(HP PSC 750 All-in-one Printer)"
    }
    {
      ModelName "HP PSC 760"
      Attribute "NickName" "" "HP PSC 760, hpcups $Version"
      Attribute "ShortNickName" "" "HP PSC 760"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:psc 760;DES:psc 760;"
      PCFileName "hp-psc_760.ppd"
      Attribute "Product" "" "(HP PSC 760 All-in-one Printer)"
    }
    {
      ModelName "HP PSC 780"
      Attribute "NickName" "" "HP PSC 780, hpcups $Version"
      Attribute "ShortNickName" "" "HP PSC 780"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:psc 780;DES:psc 780;"
      PCFileName "hp-psc_780.ppd"
      Attribute "Product" "" "(HP PSC 780 All-in-one Printer)"
    }
    {
      ModelName "HP PSC 780xi"
      Attribute "NickName" "" "HP PSC 780xi, hpcups $Version"
      Attribute "ShortNickName" "" "HP PSC 780xi"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:psc 780xi;DES:psc 780xi;"
      PCFileName "hp-psc_780xi.ppd"
      Attribute "Product" "" "(HP PSC 780xi All-in-one Printer)"
    }
    {
      ModelName "HP Officejet k80xi"
      Attribute "NickName" "" "HP Officejet k80xi, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet k80xi"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet k80xi;DES:officejet k80xi;"
      PCFileName "hp-officejet_k80xi.ppd"
      Attribute "Product" "" "(HP Officejet k80xi All-in-one Printer)"
    }
    {
      ModelName "HP Officejet k80"
      Attribute "NickName" "" "HP Officejet k80, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet k80"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet k80;DES:officejet k80;"
      PCFileName "hp-officejet_k80.ppd"
      Attribute "Product" "" "(HP Officejet k80 All-in-one Printer)"
    }
    {
      ModelName "HP Officejet g85"
      Attribute "NickName" "" "HP Officejet g85, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet g85"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet g85;DES:officejet g85;"
      PCFileName "hp-officejet_g85.ppd"
      Attribute "Product" "" "(HP Officejet g85 All-in-one Printer)"
    }
    {
      ModelName "HP Officejet g85xi"
      Attribute "NickName" "" "HP Officejet g85xi, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet g85xi"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet g85xi;DES:officejet g85xi;"
      PCFileName "hp-officejet_g85xi.ppd"
      Attribute "Product" "" "(HP Officejet g85xi All-in-one Printer)"
    }
    {
      ModelName "HP PSC 900 Series"
      Attribute "NickName" "" "HP PSC 900 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP PSC 900 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:psc 900 series;DES:psc 900 series;"
      PCFileName "hp-psc_900_series.ppd"
      Attribute "Product" "" "(HP PSC 900 All-in-one Printer)"
    }
    {
      ModelName "HP Deskjet 916c"
      Attribute "NickName" "" "HP Deskjet 916c, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 916c"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 916c;DES:deskjet 916c;"
      PCFileName "hp-deskjet_916c.ppd"
      Attribute "Product" "" "(HP Deskjet 916c Printer)"
    }
    {
      ModelName "HP Deskjet 920c"
      Attribute "NickName" "" "HP Deskjet 920c, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 920c"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 920c;DES:deskjet 920c;"
      PCFileName "hp-deskjet_920c.ppd"
      Attribute "Product" "" "(HP Deskjet 920c Printer)"
      Attribute "Product" "" "(HP Deskjet 920cvr Printer)"
      Attribute "Product" "" "(HP Deskjet 920cw Printer)"
      Attribute "Product" "" "(HP Deskjet 920cxi Printer)"
    }
    {
      ModelName "HP PSC 920"
      Attribute "NickName" "" "HP PSC 920, hpcups $Version"
      Attribute "ShortNickName" "" "HP PSC 920"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:psc 920;DES:psc 920;"
      PCFileName "hp-psc_920.ppd"
      Attribute "Product" "" "(HP PSC 920 All-in-one Printer)"
    }
    {
      ModelName "HP Deskjet 930c"
      Attribute "NickName" "" "HP Deskjet 930c, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 930c"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 930c;DES:deskjet 930c;"
      PCFileName "hp-deskjet_930c.ppd"
      Attribute "Product" "" "(HP Deskjet 930c Printer)"
      Attribute "Product" "" "(HP Deskjet 930cm Printer)"
    }
    {
      ModelName "HP Deskjet 932c"
      Attribute "NickName" "" "HP Deskjet 932c, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 932c"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 932c;DES:deskjet 932c;"
      PCFileName "hp-deskjet_932c.ppd"
      Attribute "Product" "" "(HP Deskjet 932c Printer)"
    }
    {
      ModelName "HP Deskjet 933c"
      Attribute "NickName" "" "HP Deskjet 933c, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 933c"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 933c;DES:deskjet 933c;"
      PCFileName "hp-deskjet_933c.ppd"
      Attribute "Product" "" "(HP Deskjet 933c Printer)"
    }
    {
      ModelName "HP Deskjet 934c"
      Attribute "NickName" "" "HP Deskjet 934c, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 934c"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 934c;DES:deskjet 934c;"
      PCFileName "hp-deskjet_934c.ppd"
      Attribute "Product" "" "(HP Deskjet 934c Printer)"
    }
    {
      ModelName "HP Deskjet 935c"
      Attribute "NickName" "" "HP Deskjet 935c, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 935c"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 935c;DES:deskjet 935c;"
      PCFileName "hp-deskjet_935c.ppd"
      Attribute "Product" "" "(HP Deskjet 935c Printer)"
    }
    {
      ModelName "HP Deskjet 940c"
      Attribute "NickName" "" "HP Deskjet 940c, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 940c"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 940c;DES:deskjet 940c;"
      PCFileName "hp-deskjet_940c.ppd"
      Attribute "Product" "" "(HP Deskjet 940cvr Printer)"
      Attribute "Product" "" "(HP Deskjet 940c Printer)"
      Attribute "Product" "" "(HP Deskjet 940cw Printer)"
      Attribute "Product" "" "(HP Deskjet 940cxi Printer)"
    }
    {
      ModelName "HP Deskjet 948c"
      Attribute "NickName" "" "HP Deskjet 948c, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 948c"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 948c;DES:deskjet 948c;"
      PCFileName "hp-deskjet_948c.ppd"
      Attribute "Product" "" "(HP Deskjet 948c Printer)"
    }
    {
      ModelName "HP Officejet g95"
      Attribute "NickName" "" "HP Officejet g95, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet g95"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet g95;DES:officejet g95;"
      PCFileName "hp-officejet_g95.ppd"
      Attribute "Product" "" "(HP Officejet g95 All-in-one Printer)"
    }
    {
      ModelName "HP Deskjet 950c"
      Attribute "NickName" "" "HP Deskjet 950c, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 950c"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 950c;DES:deskjet 950c;"
      PCFileName "hp-deskjet_950c.ppd"
      Attribute "Product" "" "(HP Deskjet 950c Printer)"
    }
    {
      ModelName "HP PSC 950xi"
      Attribute "NickName" "" "HP PSC 950xi, hpcups $Version"
      Attribute "ShortNickName" "" "HP PSC 950xi"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:psc 950xi;DES:psc 950xi;"
      PCFileName "hp-psc_950xi.ppd"
      Attribute "Product" "" "(HP PSC 950xi All-in-one Printer)"
    }
    {
      ModelName "HP PSC 950vr"
      Attribute "NickName" "" "HP PSC 950vr, hpcups $Version"
      Attribute "ShortNickName" "" "HP PSC 950vr"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:psc 950vr;DES:psc 950vr;"
      PCFileName "hp-psc_950vr.ppd"
      Attribute "Product" "" "(HP PSC 950vr All-in-one Printer)"
    }
    {
      ModelName "HP PSC 950"
      Attribute "NickName" "" "HP PSC 950, hpcups $Version"
      Attribute "ShortNickName" "" "HP PSC 950"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:psc 950;DES:psc 950;"
      PCFileName "hp-psc_950.ppd"
      Attribute "Product" "" "(HP PSC 950 All-in-one Printer)"
    }
    {
      ModelName "HP Deskjet 952c"
      Attribute "NickName" "" "HP Deskjet 952c, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 952c"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 952c;DES:deskjet 952c;"
      PCFileName "hp-deskjet_952c.ppd"
      Attribute "Product" "" "(HP Deskjet 952c Printer)"
    }
    {
      ModelName "HP Deskjet 955c"
      Attribute "NickName" "" "HP Deskjet 955c, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 955c"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 955c;DES:deskjet 955c;"
      PCFileName "hp-deskjet_955c.ppd"
      Attribute "Product" "" "(HP Deskjet 955c Printer)"
      Attribute "Product" "" "(HP Deskjet 995ck Color Inkjet Printer)"
    }
    {
      ModelName "HP Deskjet 957c"
      Attribute "NickName" "" "HP Deskjet 957c, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 957c"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 957c;DES:deskjet 957c;"
      PCFileName "hp-deskjet_957c.ppd"
      Attribute "Product" "" "(HP Deskjet 957c Printer)"
    }
    {
      ModelName "HP Deskjet 959c"
      Attribute "NickName" "" "HP Deskjet 959c, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 959c"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 959c;DES:deskjet 959c;"
      PCFileName "hp-deskjet_959c.ppd"
      Attribute "Product" "" "(HP Deskjet 959c Printer)"
    }
    {
      ModelName "HP Deskjet 970c"
      Attribute "NickName" "" "HP Deskjet 970c, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 970c"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 970c;DES:deskjet 970c;"
      PCFileName "hp-deskjet_970c.ppd"
      Attribute "Product" "" "(HP Deskjet 970cxi Printer)"
      Attribute "Product" "" "(HP Deskjet 970cse Printer)"
      Attribute "Product" "" "(HP Deskjet 970c Printer)"
    }
    {
      ModelName "HP Deskjet 975c"
      Attribute "NickName" "" "HP Deskjet 975c, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 975c"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 975c;DES:deskjet 975c;"
      PCFileName "hp-deskjet_975c.ppd"
      Attribute "Product" "" "(HP Deskjet 975c Printer)"
      Attribute "Product" "" "(HP Deskjet 975cse Printer)"
      Attribute "Product" "" "(HP Deskjet 975cxi Printer)"
    }
  } // End Supported media sizes.

  {
// Large format
  UIConstraints "*PageSize A3 *Duplex"
  UIConstraints "*PageSize B4 *Duplex"
  UIConstraints "*PageSize Ledger *Duplex"
  UIConstraints "*PageSize SuperB *Duplex"
  UIConstraints "*PageSize 8k *Duplex"

// Large
  CustomMedia "SuperB/SuperB 13x19in" 936 1368 14.40 36.00 14.40 9.00 "<</cupsInteger0 16/PageSize[936 1368]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 16/PageSize[936 1368]/ImagingBBox null>>setpagedevice"
  CustomMedia "B4/B4 257x364mm" 729 1033 18 36 18 9 "<</cupsInteger0 46/PageSize[729 1033]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 46/PageSize[729 1033]/ImagingBBox null>>setpagedevice"
  CustomMedia "B4.Duplex/B4 AutoDuplex 257x364mm" 729 1024 18 27 18 36 "<</cupsInteger0 1/PageSize[729 1024]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[729 1024]/ImagingBBox null>>setpagedevice"
  CustomMedia "8k/8k 10.75x15.5in" 774 1116 18 36 18 9 "<</cupsInteger0 101/PageSize[774 1116]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[774 1116]/ImagingBBox null>>setpagedevice"          // custom
  CustomMedia "Ledger/Ledger 11x17in" 792 1224 14.40 36.00 14.40 9.00 "<</cupsInteger0 6/PageSize[792 1224]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 6/PageSize[792 1224]/ImagingBBox null>>setpagedevice"
  CustomMedia "A3/A3 297x420mm" 842 1190 18 36 18 9 "<</cupsInteger0 27/PageSize[842 1190]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 27/PageSize[842 1190]/ImagingBBox null>>setpagedevice"
  CustomMedia "A3.Duplex/A3 AutoDuplex 297x420mm" 842 1181 18 27 18 36 "<</cupsInteger0 1/PageSize[842 1181]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[842 1181]/ImagingBBox null>>setpagedevice"


    // Custom page sizes from 1x4in to SuperB
    HWMargins 18 36 18 36
    VariablePaperSize Yes
    MinSize 1in 4in
    MaxSize 936 1368

    // <%DJ9xx:LargeFormatSuperB%>
    {
      ModelName "HP Deskjet 1220c"
      Attribute "NickName" "" "HP Deskjet 1220c, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 1220c"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 1220c;DES:deskjet 1220c;"
      PCFileName "hp-deskjet_1220c.ppd"
      Attribute "Product" "" "(HP Deskjet 1220c Printer)"
      Attribute "Product" "" "(HP Deskjet 1220cse Printer)"
      Attribute "Product" "" "(HP Deskjet 1220cxi Printer)"
      Attribute "Product" "" "(HP Deskjet 1220c/ps Printer)"
    }
    {
      ModelName "HP Deskjet 1280"
      Attribute "NickName" "" "HP Deskjet 1280, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 1280"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 1280;DES:deskjet 1280;"
      PCFileName "hp-deskjet_1280.ppd"
      Attribute "Product" "" "(HP Deskjet 1280 Printer)"
    }
    {
      ModelName "HP Deskjet 9300"
      Attribute "NickName" "" "HP Deskjet 9300, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 9300"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:hp deskjet 9300;DES:hp deskjet 9300;"
      PCFileName "hp-deskjet_9300.ppd"
      Attribute "Product" "" "(HP Deskjet 9300 Printer)"
    }

  }  // End Large format media sizes.
} // End DJ9xx

/////////// DJ9xx without photo modes
{

  Attribute "cupsEvenDuplex" "" "True"
  Attribute "cupsBackSide" "" "Rotated"
  Attribute "cupsFlipDuplex" "" "True"
  Attribute "hpPrinterLanguage" "" "pcl3gui"
  Attribute "hpPrinterPlatform" "" "dj970"
  Attribute "HPMechOffset" "" "70"

  Group "General/General"

  Option "Duplex/Double-Sided Printing" PickOne AnySetup 10.0
    Choice "DuplexNoTumble/Long Edge (Standard)" "<</Duplex true/Tumble false>>setpagedevice"
    Choice "DuplexTumble/Short Edge (Flip)" "<</Duplex true/Tumble true>>setpagedevice"
    *Choice "None/Off" "<</Duplex false/Tumble false>>setpagedevice"

  // MediaPosition values map to MediaSource enumeration in global_types.h
  Option "InputSlot/Media Source" PickOne AnySetup 10.0
    *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"
    Choice "PhotoTray/Photo Tray" "<</MediaPosition 6>>setpagedevice"
    Choice "Upper/Upper Tray" "<</MediaPosition 1>>setpagedevice"
    Choice "Lower/Lower Tray" "<</MediaPosition 4>>setpagedevice"
    Choice "Envelope/Envelope Feeder" "<</MediaPosition 3>>setpagedevice"
    Choice "LargeCapacity/Large Capacity Tray" "<</MediaPosition 5>>setpagedevice"
    Choice "Manual/Manual Feeder" "<</MediaPosition 2>>setpagedevice"
    Choice "MPTray/Multi Purpose Tray" "<</MediaPosition 1>>setpagedevice"

  // cupsMediaType values map to MEDIATYPE from global_types.h
  Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0>>setpagedevice"

  // cupsCompression values map to QUALITY_MODE from global_types.h
  Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "NormalRGB/Normal Color" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 0/OutputType(0)/cupsString0(PlainNormalColor)/HWResolution[300 300]>>setpagedevice"
    Choice "NormalGray/Normal Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2/OutputType(0)/cupsString0(PlainNormalGrayK)/HWResolution[600 600]>>setpagedevice"
    Choice "DraftRGB/Draft Color" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 0/OutputType(-1)/cupsString0(PlainDraftColor)/HWResolution[300 300]>>setpagedevice"
    Choice "DraftGray/Draft Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2/OutputType(-1)/cupsString0(PlainDraftGrayK)/HWResolution[300 300]>>setpagedevice"
    Choice "BestRGB/Best Color" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 0/OutputType(1)/cupsString0(PlainBestColor)/HWResolution[600 600]>>setpagedevice"
    //Choice "BestGray/Best Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2/cupsCompression 2/HWResolution[600 600]>>setpagedevice"

  // Duplexer is optional...
  Installable "OptionDuplex/Duplexer Installed"

  // Constraints
  //UIConstraints "*Duplex *OptionDuplex False"
  UIConstraints "*PageSize Photo4x6 *Duplex"
  UIConstraints "*PageSize Photo5x7 *Duplex"
  UIConstraints "*PageSize A5 *Duplex"
  UIConstraints "*PageSize A6 *Duplex"
  UIConstraints "*PageSize B5 *Duplex"
  UIConstraints "*PageSize Oufuku *Duplex"
  UIConstraints "*PageSize Hagaki *Duplex"
  UIConstraints "*PageSize 16k *Duplex"
  UIConstraints "*PageSize Card3x5 *Duplex"
  UIConstraints "*PageSize Card5x8 *Duplex"
  UIConstraints "*PageSize Env10 *Duplex"
  UIConstraints "*PageSize EnvA2 *Duplex"
  UIConstraints "*PageSize EnvC6 *Duplex"
  UIConstraints "*PageSize EnvDL *Duplex"
  UIConstraints "*PageSize EnvC5 *Duplex"
  UIConstraints "*PageSize EnvB5 *Duplex"
  UIConstraints "*PageSize EnvChou3 *Duplex"
  UIConstraints "*PageSize EnvChou4 *Duplex"
  UIConstraints "*PageSize EnvMonarch *Duplex"

  Attribute "cupsModelName" "" "DESKJET 930"     // APDK device class

// 4x6 or smaller
  CustomMedia "Card3x5/Index Card 3x5in" 216 360 18.00 36.00 18.00 9.00 "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki/Hagaki 100x148mm" 284 420 9.00 36.00 9.00 9.00 "<</cupsInteger0 71/PageSize[284 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[284 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki.Duplex/Hagaki AutoDuplex 100x148mm" 284 411 9 27 9 36 "<</cupsInteger0 71/PageSize[284 411]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[284 411]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6/Photo 4x6in" 288 432 9 36 9 9 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6/A6 105x148mm" 297.36 419.76 9.00 36.00 9.00 9.00 "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6.Duplex/A6 AutoDuplex 105x148mm)" 297 411 18 27 18 36 "<</cupsInteger0 73/PageSize[297 411]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[297 411]/ImagingBBox null>>setpagedevice"

// 5x7
  CustomMedia "Photo5x7/Photo 5x7in" 360 504 9 36 9 9 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card5x8/Index Card 5x8in" 360 576 18.00 36.00 18.00 9.00 "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card5x8.Duplex/Index Card AutoDuplex 5x8in" 360 567 9 27 9 36 "<</cupsInteger0 75/PageSize[360 567]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 567]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku/Oufuku-Hagaki 148x200mm" 567 420 9 36 9 9 "<</cupsInteger0 72/PageSize[567 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[567 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku.Duplex/Oufuku-Hagaki AutoDuplex 148x200mm" 567 411 18.00 36.00 18.00 9.00 "<</cupsInteger0 72/PageSize[567 411]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[567 411]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5/A5 148x210mm" 419.76 595.44 9.00 36.00 9.00 9.00 "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5.Duplex/A5 AutoDuplex 148x210mm" 420 586 18 27 18 36 "<</cupsInteger0 25/PageSize[420 586]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[420 586]/ImagingBBox null>>setpagedevice"

// Standard
  CustomMedia "B5/B5 176x250mm" 498.96 708.48 18 36 18 9 "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "B5.Duplex/B5 AutoDuplex 176x250mm" 499 699 18 27 18 36 "<</cupsInteger0 65/PageSize[499 699]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[499 699]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5/JB5 182x257mm" 516.24 728.64 18 36 18 9 "<</cupsInteger0 45/PageSize[516.24 728.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5.Duplex/JB5 AutoDuplex 182x257mm" 516 720 18 27 18 36 "<</cupsInteger0 45/PageSize[516 720]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [516 720]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive/Executive 7.25x10.5in" 522 756 18.00 36.00 18.00 9.00 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive.Duplex/Executive AutoDuplex 7.25x10.5in" 522 747 18 27 18 36 "<</cupsInteger0 1/PageSize[522 747]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 747]/ImagingBBox null>>setpagedevice"
  CustomMedia "16k/16k 7.75x10.75in" 558 774 18.00 36.00 18.00 9.00 "<</cupsInteger0 101/PageSize[558 774]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[558 774]/ImagingBBox null>>setpagedevice"   // custom
  *CustomMedia "Letter/Letter 8.5x11in" 612 792 18 36 18 9 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
  CustomMedia "Letter.Duplex/Letter AutoDuplex 8.5x11in" 612 783 18 27 18 36 "<</cupsInteger0 2/PageSize[612 783]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 783]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4/A4 210x297mm" 595.44 841.68 9.72 36.00 9.72 9.00 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4.Duplex/A4 AutoDuplex 210x297mm" 595 833 18 27 18 36 "<</cupsInteger0 26/PageSize[595 833]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595 833]/ImagingBBox null>>setpagedevice"
  CustomMedia "ExecutiveJIS/Executive (JIS) 8.5x12.986in" 612 936 18.00 36.00 18.00 9.00 "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "FLSA/American Foolscap 8.5x13in" 612 936 18.00 36.00 18.00 9.00 "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal/Legal 8.5x14in" 612 1008 18 36 18 9 "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal.Duplex/Legal AutoDuplex 8.5x14in" 612 999 18.00 36.00 18.00 9.00 "<</cupsInteger0 3/PageSize[612 999]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 999]/ImagingBBox null>>setpagedevice"

// Envelope
  CustomMedia "EnvA2/A2 Envelope 4.37x5.75in" 314.64 414 9 42 9 9 "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.28 459.36 18.00 36.00 18.00 9.00 "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou4/#4 Japanese Envelope 90x205mm" 254.88 581.04 9 41 9 9 "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279 540 18.00 36.00 18.00 9.00 "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvDL/DL Envelope 110x220mm" 311.76 623.52 18.00 36.00 18.00 9.00 "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env10/#10 Envelope 4.12x9.5in" 297 684 18.00 36.00 18.00 9.00 "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 339.84 666  9 41 9 9 "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC5/C5 Envelope 162x229mm" 459 649 18.00 36.00 18.00 9.00 "<</cupsInteger0 91/PageSize[459 649]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 91/PageSize[459 649]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvB5/B5 Envelope 176x250mm" 499 709 18.00 36.00 18.00 9.00 "<</cupsInteger0 100/PageSize[499 709]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 100/PageSize[499 709]/ImagingBBox null>>setpagedevice"

  {

    // Custom page sizes from 1x4in to Legal
    HWMargins 18 36 18 36
    VariablePaperSize Yes
    MinSize 1in 4in
    MaxSize 8.5in 14in

    // <%DJ9xx:NoPhotoMode%>
    {
      ModelName "HP 2000c"
      Attribute "NickName" "" "HP 2000c, hpcups $Version"
      Attribute "ShortNickName" "" "HP 2000c"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:hp 2000c;DES:hp 2000c;"
      PCFileName "hp-2000c.ppd"
      Attribute "Product" "" "(HP 2000cse Printer)"
      Attribute "Product" "" "(HP 2000c Printer)"
      Attribute "Product" "" "(HP 2000cn Printer)"
      Attribute "Product" "" "(HP 2000cxi Printer)"
    }
  } // End Supported media sizes.

  {
  // Large format
  UIConstraints "*PageSize A3 *Duplex"
  UIConstraints "*PageSize B4 *Duplex"
  UIConstraints "*PageSize Ledger *Duplex"
  UIConstraints "*PageSize SuperB *Duplex"
  UIConstraints "*PageSize 8k *Duplex"

// Large
  CustomMedia "SuperB/SuperB 13x19in" 936 1368 18 36 18 9 "<</cupsInteger0 16/PageSize[936 1368]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 16/PageSize[936 1368]/ImagingBBox null>>setpagedevice"
  CustomMedia "B4/B4 257x364mm" 729 1033 18 36 18 9 "<</cupsInteger0 46/PageSize[729 1033]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 46/PageSize[729 1033]/ImagingBBox null>>setpagedevice"
  CustomMedia "B4.Duplex/B4 AutoDuplex 257x364mm" 729 1024 18 27 18 36 "<</cupsInteger0 1/PageSize[729 1024]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[729 1024]/ImagingBBox null>>setpagedevice"
  CustomMedia "8k/8k 10.75x15.5in" 774 1116 18 36 18 9 "<</cupsInteger0 101/PageSize[774 1116]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[774 1116]/ImagingBBox null>>setpagedevice"          // custom
  CustomMedia "Ledger/Ledger 11x17in" 792 1224 18 36 18 9 "<</cupsInteger0 6/PageSize[792 1224]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 6/PageSize[792 1224]/ImagingBBox null>>setpagedevice"
  CustomMedia "A3/A3 297x420mm" 842 1190 18 36 18 9 "<</cupsInteger0 27/PageSize[842 1190]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 27/PageSize[842 1190]/ImagingBBox null>>setpagedevice"
  CustomMedia "A3.Duplex/A3 AutoDuplex 297x420mm" 842 1181 18 27 18 36 "<</cupsInteger0 1/PageSize[842 1181]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[842 1181]/ImagingBBox null>>setpagedevice"

    // Custom page sizes from 1x4in to SuperB
    HWMargins 18 36 18 36
    VariablePaperSize Yes
    MinSize 1in 4in
    MaxSize 936 1368

    // <%DJ9xx:NoPhotoMode:LargeFormatSuperB%>
    {
      ModelName "HP 2500c"
      Attribute "NickName" "" "HP 2500c, hpcups $Version"
      Attribute "ShortNickName" "" "HP 2500c"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:hp 2500c;DES:hp 2500c;"
      PCFileName "hp-2500c.ppd"
      Attribute "Product" "" "(HP 2500c Plus Printer)"
      Attribute "Product" "" "(HP 2500c Printer)"
      Attribute "Product" "" "(HP 2500cm Printer)"
      Attribute "Product" "" "(HP 2500cse Printer)"
      Attribute "Product" "" "(HP 2500cxi Printer)"
    }

  }  // End Large format media sizes.
} // End DJ9xx without photo modes

/////////// DJ9xx without photo/hires/best color modes
{

  Attribute "cupsEvenDuplex" "" "True"
  Attribute "cupsBackSide" "" "Rotated"
  Attribute "cupsFlipDuplex" "" "True"
  Attribute "hpPrinterLanguage" "" "pcl3gui"
  Attribute "hpPrinterPlatform" "" "dj970"
  Attribute "HPMechOffset" "" "70"

  Group "General/General"

  Option "Duplex/Double-Sided Printing" PickOne AnySetup 10.0
    Choice "DuplexNoTumble/Long Edge (Standard)" "<</Duplex true/Tumble false>>setpagedevice"
    Choice "DuplexTumble/Short Edge (Flip)" "<</Duplex true/Tumble true>>setpagedevice"
    *Choice "None/Off" "<</Duplex false/Tumble false>>setpagedevice"

  // MediaPosition values map to MediaSource enumeration in global_types.h
  Option "InputSlot/Media Source" PickOne AnySetup 10.0
    *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"
    Choice "PhotoTray/Photo Tray" "<</MediaPosition 6>>setpagedevice"
    Choice "Upper/Upper Tray" "<</MediaPosition 1>>setpagedevice"
    Choice "Lower/Lower Tray" "<</MediaPosition 4>>setpagedevice"
    Choice "Envelope/Envelope Feeder" "<</MediaPosition 3>>setpagedevice"
    Choice "LargeCapacity/Large Capacity Tray" "<</MediaPosition 5>>setpagedevice"
    Choice "Manual/Manual Feeder" "<</MediaPosition 2>>setpagedevice"
    Choice "MPTray/Multi Purpose Tray" "<</MediaPosition 1>>setpagedevice"

  // cupsMediaType values map to MEDIATYPE from global_types.h
  Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0>>setpagedevice"

  // cupsCompression values map to QUALITY_MODE from global_types.h
  Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "NormalRGB/Normal Color" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 0/OutputType(0)/cupsString0(PlainNormalColor)/HWResolution[300 300]>>setpagedevice"
    Choice "NormalGray/Normal Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2/OutputType(0)/cupsString0(PlainNormalGrayK)/HWResolution[600 600]>>setpagedevice"
    Choice "DraftRGB/Draft Color" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 0/OutputType(-1)/cupsString0(PlainDraftColor)/HWResolution[300 300]>>setpagedevice"
    Choice "DraftGray/Draft Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2/OutputType(-1)/cupsString0(PlainDraftGrayK)/HWResolution[300 300]>>setpagedevice"
    Choice "BestRGB/Best Color" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 0/OutputType(1)/cupsString0(PlainBestColor)/HWResolution[600 600]>>setpagedevice"
    //Choice "BestGray/Best Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2/cupsCompression 2/HWResolution[600 600]>>setpagedevice"

  // Duplexer is optional...
  Installable "OptionDuplex/Duplexer Installed"

  // Constraints
  //UIConstraints "*Duplex *OptionDuplex False"
  UIConstraints "*PageSize Letter *Duplex"
  UIConstraints "*PageSize Photo4x6 *Duplex"
  UIConstraints "*PageSize Photo5x7 *Duplex"
  UIConstraints "*PageSize A5 *Duplex"
  UIConstraints "*PageSize A6 *Duplex"
  UIConstraints "*PageSize B5 *Duplex"
  UIConstraints "*PageSize Oufuku *Duplex"
  UIConstraints "*PageSize Hagaki *Duplex"
  UIConstraints "*PageSize 16k *Duplex"
  UIConstraints "*PageSize Card3x5 *Duplex"
  UIConstraints "*PageSize Card5x8 *Duplex"
  UIConstraints "*PageSize Env10 *Duplex"
  UIConstraints "*PageSize EnvA2 *Duplex"
  UIConstraints "*PageSize EnvC6 *Duplex"
  UIConstraints "*PageSize EnvDL *Duplex"
  UIConstraints "*PageSize EnvC5 *Duplex"
  UIConstraints "*PageSize EnvB5 *Duplex"
  UIConstraints "*PageSize EnvChou3 *Duplex"
  UIConstraints "*PageSize EnvChou4 *Duplex"
  UIConstraints "*PageSize EnvMonarch *Duplex"

  // Large format
  UIConstraints "*PageSize A3 *Duplex"
  UIConstraints "*PageSize B4 *Duplex"
  UIConstraints "*PageSize Ledger *Duplex"
  UIConstraints "*PageSize SuperB *Duplex"
  UIConstraints "*PageSize 8k *Duplex"

  Attribute "cupsModelName" "" "DESKJET 930"     // APDK device class

  {
// 4x6 or smaller
  CustomMedia "Card3x5/Index Card 3x5in" 216 360 9 36 9 9 "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki/Hagaki 100x148mm" 284 420 9 36 9 9 "<</cupsInteger0 71/PageSize[284 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[284 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki.Duplex/Hagaki AutoDuplex 100x148mm" 284 411 9 27 9 36 "<</cupsInteger0 71/PageSize[284 411]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[284 411]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6/Photo 4x6in" 288 432 9 36 9 9 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6/A6 105x148mm" 297.36 419.76 9 36 9 9 "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6.Duplex/A6 AutoDuplex 105x148mm)" 297 411 18 27 18 36 "<</cupsInteger0 73/PageSize[297 411]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[297 411]/ImagingBBox null>>setpagedevice"

// 5x7
  CustomMedia "Photo5x7/Photo 5x7in" 360 504 9 36 9 9 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card5x8/Index Card 5x8in" 360 576 9 36 9 9 "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card5x8.Duplex/Index Card AutoDuplex 5x8in" 360 567 9 27 9 36 "<</cupsInteger0 75/PageSize[360 567]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 567]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku/Oufuku-Hagaki 148x200mm" 567 420 9 36 9 9 "<</cupsInteger0 72/PageSize[567 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[567 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku.Duplex/Oufuku-Hagaki AutoDuplex 148x200mm" 567 411 9 27 9 36 "<</cupsInteger0 72/PageSize[567 411]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[567 411]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5/A5 148x210mm" 419.76 595.44 9 36 9 9 "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5.Duplex/A5 AutoDuplex 148x210mm" 420 586 18 27 18 36 "<</cupsInteger0 25/PageSize[420 586]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[420 586]/ImagingBBox null>>setpagedevice"

// Standard
  CustomMedia "B5/B5 176x250mm" 498.96 708.48 18 36 18 9 "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "B5.Duplex/B5 AutoDuplex 176x250mm" 499 699 18 27 18 36 "<</cupsInteger0 65/PageSize[499 699]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[499 699]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5/JB5 182x257mm" 516.24 728.64 18 36 18 9 "<</cupsInteger0 45/PageSize[516.24 728.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5.Duplex/JB5 AutoDuplex 182x257mm" 516 720 18 27 18 36 "<</cupsInteger0 45/PageSize[516 720]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [516 720]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive/Executive 7.25x10.5in" 522 756 18 36 18 9 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive.Duplex/Executive AutoDuplex 7.25x10.5in" 522 747 18 27 18 36 "<</cupsInteger0 1/PageSize[522 747]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 747]/ImagingBBox null>>setpagedevice"
  CustomMedia "16k/16k 7.75x10.75in" 558 774 18 36 18 9 "<</cupsInteger0 101/PageSize[558 774]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[558 774]/ImagingBBox null>>setpagedevice"   // custom
  *CustomMedia "Letter/Letter 8.5x11in" 612 792 18 36 18 9 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
  CustomMedia "Letter.Duplex/Letter AutoDuplex 8.5x11in" 612 783 18 27 18 36 "<</cupsInteger0 2/PageSize[612 783]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 783]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4/A4 210x297mm" 595.44 841.68 18 36 18 9 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4.Duplex/A4 AutoDuplex 210x297mm" 595 833 18 27 18 36 "<</cupsInteger0 26/PageSize[595 833]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595 833]/ImagingBBox null>>setpagedevice"
  CustomMedia "ExecutiveJIS/Executive (JIS) 8.5x12.986in" 612 936 18 36 18 9 "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "FLSA/American Foolscap 8.5x13in" 612 936 18 36 18 9 "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal/Legal 8.5x14in" 612 1008 18 36 18 9 "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal.Duplex/Legal AutoDuplex 8.5x14in" 612 999 18 27 18 36 "<</cupsInteger0 3/PageSize[612 999]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 999]/ImagingBBox null>>setpagedevice"

// Large
  CustomMedia "SuperB/SuperB 13x19in" 936 1368 18 36 18 9 "<</cupsInteger0 16/PageSize[936 1368]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 16/PageSize[936 1368]/ImagingBBox null>>setpagedevice"
  CustomMedia "B4/B4 257x364mm" 729 1033 18 36 18 9 "<</cupsInteger0 46/PageSize[729 1033]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 46/PageSize[729 1033]/ImagingBBox null>>setpagedevice"
  CustomMedia "B4.Duplex/B4 AutoDuplex 257x364mm" 729 1024 18 27 18 36 "<</cupsInteger0 1/PageSize[729 1024]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[729 1024]/ImagingBBox null>>setpagedevice"
  CustomMedia "8k/8k 10.75x15.5in" 774 1116 18 36 18 9 "<</cupsInteger0 101/PageSize[774 1116]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[774 1116]/ImagingBBox null>>setpagedevice"          // custom
  CustomMedia "Ledger/Ledger 11x17in" 792 1224 18 36 18 9 "<</cupsInteger0 6/PageSize[792 1224]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 6/PageSize[792 1224]/ImagingBBox null>>setpagedevice"
  CustomMedia "A3/A3 297x420mm" 842 1190 18 36 18 9 "<</cupsInteger0 27/PageSize[842 1190]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 27/PageSize[842 1190]/ImagingBBox null>>setpagedevice"
  CustomMedia "A3.Duplex/A3 AutoDuplex 297x420mm" 842 1181 18 27 18 36 "<</cupsInteger0 1/PageSize[842 1181]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[842 1181]/ImagingBBox null>>setpagedevice"

// Envelope
  CustomMedia "EnvA2/A2 Envelope 4.37x5.75in" 314.64 414 9 42 9 9 "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.28 459.36 9 39 9 9 "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou4/#4 Japanese Envelope 90x205mm" 254.88 581.04 9 41 9 9 "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279 540 9 41 9 9 "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvDL/DL Envelope 110x220mm" 311.76 623.52 9 41 9 9 "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env10/#10 Envelope 4.12x9.5in" 297 684 9 41 9 9 "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 339.84 666  9 41 9 9 "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC5/C5 Envelope 162x229mm" 459 649 18 41 18 9 "<</cupsInteger0 91/PageSize[459 649]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 91/PageSize[459 649]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvB5/B5 Envelope 176x250mm" 499 709 18 41 18 9 "<</cupsInteger0 100/PageSize[499 709]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 100/PageSize[499 709]/ImagingBBox null>>setpagedevice"

    // Custom page sizes from 1x4in to SuperB
    HWMargins 18 36 18 36
    VariablePaperSize Yes
    MinSize 1in 4in                  // TODO: check custom page sizes for large format
    MaxSize 936 1368

    // <%DJ9xx:LargeFormatSuperB:NoPhotoBestHiresModes%>
    {
      ModelName "HP Deskjet 1120"
      Attribute "NickName" "" "HP Deskjet 1120, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 1120"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 1120;DES:deskjet 1120;"
      PCFileName "hp-deskjet_1120.ppd"
      Attribute "Product" "" "(HP Deskjet 1120cxi Printer)"
      Attribute "Product" "" "(HP Deskjet 1120cse Printer)"
      Attribute "Product" "" "(HP Deskjet 1120c Printer)"
    }
    {
      ModelName "HP Deskjet 1125"
      Attribute "NickName" "" "HP Deskjet 1125, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 1125"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 1125;DES:deskjet 1125;"
      PCFileName "hp-deskjet_1125.ppd"
      Attribute "Product" "" "(HP Deskjet 1125c Printer)"
    }

  }  // End Large format media sizes.
} // End DJ9xx without photo/hires/best color modes

//////// DJ9xxVIP
{
  Attribute "cupsEvenDuplex" "" "True"
  Attribute "cupsBackSide" "" "Rotated"
  Attribute "cupsFlipDuplex" "" "True"
  Attribute "hpPrinterLanguage" "" "pcl3gui2"
  Attribute "HPMechOffset" "" "70"

  Group "General/General"

  Option "Duplex/Double-Sided Printing" PickOne AnySetup 10.0
    Choice "DuplexNoTumble/Long Edge (Standard)" "<</Duplex true/Tumble false>>setpagedevice"
    Choice "DuplexTumble/Short Edge (Flip)" "<</Duplex true/Tumble true>>setpagedevice"
    *Choice "None/Off" "<</Duplex false/Tumble false>>setpagedevice"

  // MediaPosition values map to MediaSource enumeration in global_types.h
  Option "InputSlot/Media Source" PickOne AnySetup 10.0
    *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"
    Choice "PhotoTray/Photo Tray" "<</MediaPosition 6>>setpagedevice"
    Choice "Upper/Upper Tray" "<</MediaPosition 1>>setpagedevice"
    Choice "Lower/Lower Tray" "<</MediaPosition 4>>setpagedevice"
    Choice "Envelope/Envelope Feeder" "<</MediaPosition 3>>setpagedevice"
    Choice "LargeCapacity/Large Capacity Tray" "<</MediaPosition 5>>setpagedevice"
    Choice "Manual/Manual Feeder" "<</MediaPosition 2>>setpagedevice"
    Choice "MPTray/Multi Purpose Tray" "<</MediaPosition 1>>setpagedevice"

  Option "ColorModel/Output Mode" PickOne AnySetup 10.0
    Choice "CMYGray/High Quality Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 1>>setpagedevice"
    Choice "KGray/Black Only Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2>>setpagedevice"
    *Choice "RGB/Color" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 0>>setpagedevice"

  // cupsMediaType values map to MEDIATYPE from global_types.h
  Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Automatic/Automatic" "<</MediaType(Automatic)/cupsMediaType -1>>setpagedevice"
    Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0>>setpagedevice"
    Choice "Glossy/Photo Paper" "<</MediaType(Glossy)/cupsMediaType 3>>setpagedevice"
    Choice "TransparencyFilm/Transparency Film" "<</MediaType(TransparencyFilm)/cupsMediaType 4>>setpagedevice"

  // cupsCompression values map to QUALITY_MODE from global_types.h
  Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "Normal/Normal" "<</OutputType(0)/HWResolution[600 600]>>setpagedevice"
    Choice "Draft/Draft" "<</OutputType(-1)/HWResolution[300 300]>>setpagedevice"
    Choice "Best/Best" "<</OutputType(1)/HWResolution[600 600]>>setpagedevice"
    Choice "Photo/High-Resolution Photo" "<</OutputType(2)/HWResolution[1200 1200]>>setpagedevice"

  // Duplexer is optional...
  Installable "OptionDuplex/Duplexer Installed"

  // Constraints
  //UIConstraints "*Duplex *OptionDuplex False"
  UIConstraints "*ColorModel KGray *OutputMode Photo"
  UIConstraints "*ColorModel CMYGray *OutputMode Photo"
  UIConstraints "*MediaType Glossy *OutputMode Draft"
  UIConstraints "*MediaType Plain *OutputMode Photo"
  UIConstraints "*PageSize Photo4x6 *Duplex"
  UIConstraints "*PageSize Photo5x7 *Duplex"
  UIConstraints "*PageSize A5 *Duplex"
  UIConstraints "*PageSize A6 *Duplex"
  UIConstraints "*PageSize B5 *Duplex"
  UIConstraints "*PageSize Oufuku *Duplex"
  UIConstraints "*PageSize Hagaki *Duplex"
  UIConstraints "*PageSize 16k *Duplex"
  UIConstraints "*PageSize Card3x5 *Duplex"
  UIConstraints "*PageSize Card5x8 *Duplex"
  UIConstraints "*PageSize Env10 *Duplex"
  UIConstraints "*PageSize EnvA2 *Duplex"
  UIConstraints "*PageSize EnvC6 *Duplex"
  UIConstraints "*PageSize EnvDL *Duplex"
  UIConstraints "*PageSize EnvC5 *Duplex"
  UIConstraints "*PageSize EnvB5 *Duplex"
  UIConstraints "*PageSize EnvChou3 *Duplex"
  UIConstraints "*PageSize EnvChou4 *Duplex"
  UIConstraints "*PageSize EnvMonarch *Duplex"

  Attribute "cupsModelName" "" "DESKJET 990"     // APDK device class

    // Supported media sizes
// 4x6 or smaller
  CustomMedia "Card3x5/Index Card 3x5in" 216 360 18.00 36.00 18.00 9.00 "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki/Hagaki 100x148mm" 284 420 9.00 36.00 9.00 9.00 "<</cupsInteger0 71/PageSize[284 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[284 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki.Duplex/Hagaki AutoDuplex 100x148mm" 284 411 9 27 9 36 "<</cupsInteger0 71/PageSize[284 411]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[284 411]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6/Photo 4x6in" 288 432 9.00 36.00 9.00 9.00 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6/A6 105x148mm" 297.36 419.76 9.00 36.00 9.00 9.00 "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6.Duplex/A6 AutoDuplex 105x148mm)" 297 411 18 27 18 36 "<</cupsInteger0 73/PageSize[297 411]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[297 411]/ImagingBBox null>>setpagedevice"

// 5x7
  CustomMedia "Photo5x7/Photo 5x7in" 360 504 9 36 9 9 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card5x8/Index Card 5x8in" 360 576 18.00 36.00 18.00 9.00 "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card5x8.Duplex/Index Card AutoDuplex 5x8in" 360 567 9 27 9 36 "<</cupsInteger0 75/PageSize[360 567]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 567]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku/Oufuku-Hagaki 148x200mm" 567 420 18.00 36.00 18.00 9.00 "<</cupsInteger0 72/PageSize[567 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[567 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku.Duplex/Oufuku-Hagaki AutoDuplex 148x200mm" 567 411 9 27 9 36 "<</cupsInteger0 72/PageSize[567 411]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[567 411]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5/A5 148x210mm" 419.76 595.44 9 36 9 9 "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5.Duplex/A5 AutoDuplex 148x210mm" 420 586 18 27 18 36 "<</cupsInteger0 25/PageSize[420 586]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[420 586]/ImagingBBox null>>setpagedevice"

// Standard
  CustomMedia "B5/B5 176x250mm" 498.96 708.48 18 36 18 9 "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "B5.Duplex/B5 AutoDuplex 176x250mm" 499 699 18 27 18 36 "<</cupsInteger0 65/PageSize[499 699]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[499 699]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5/JB5 182x257mm" 516.24 728.64 18 36 18 9 "<</cupsInteger0 45/PageSize[516.24 728.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5.Duplex/JB5 AutoDuplex 182x257mm" 516 720 18 27 18 36 "<</cupsInteger0 45/PageSize[516 720]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [516 720]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive/Executive 7.25x10.5in" 522 756 18.00 36.00 18.00 9.00 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive.Duplex/Executive AutoDuplex 7.25x10.5in" 522 747 18 27 18 36 "<</cupsInteger0 1/PageSize[522 747]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 747]/ImagingBBox null>>setpagedevice"
  CustomMedia "16k/16k 7.75x10.75in" 558 774 18.00 36.00 18.00 9.00 "<</cupsInteger0 101/PageSize[558 774]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[558 774]/ImagingBBox null>>setpagedevice"   // custom
  *CustomMedia "Letter/Letter 8.5x11in" 612 792 18 36 18 9 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
  CustomMedia "Letter.Duplex/Letter AutoDuplex 8.5x11in" 612 783 18 27 18 36 "<</cupsInteger0 2/PageSize[612 783]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 783]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4/A4 210x297mm" 595.44 841.68 18 36.00 18 9.00 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4.Duplex/A4 AutoDuplex 210x297mm" 595 833 18 27 18 36 "<</cupsInteger0 26/PageSize[595 833]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595 833]/ImagingBBox null>>setpagedevice"
  CustomMedia "ExecutiveJIS/Executive (JIS) 8.5x12.986in" 612 936 18 36 18 9 "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "FLSA/American Foolscap 8.5x13in" 612 936 18.00 36.00 18.00 9.00 "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal/Legal 8.5x14in" 612 1008 18 36 18 9 "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal.Duplex/Legal AutoDuplex 8.5x14in" 612 999 18 27 18 36 "<</cupsInteger0 3/PageSize[612 999]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 999]/ImagingBBox null>>setpagedevice"

// Envelope
  CustomMedia "EnvA2/A2 Envelope 4.37x5.75in" 314.64 414 9 42 9 9 "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.28 459.36 18.00 36.00 18.00 9.00 "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou4/#4 Japanese Envelope 90x205mm" 254.88 581.04 9 41 9 9 "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279 540 18.00 36.00 18.00 9.00 "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvDL/DL Envelope 110x220mm" 311.76 623.52 18.00 36.00 18.00 9.00 "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env10/#10 Envelope 4.12x9.5in" 297 684 18.00 36.00 18.00 9.00 "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 339.84 666  9 41 9 9 "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC5/C5 Envelope 162x229mm" 459 649 18.00 36.00 18.00 9.00 "<</cupsInteger0 91/PageSize[459 649]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 91/PageSize[459 649]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvB5/B5 Envelope 176x250mm" 499 709 18.00 36.00 18.00 9.00 "<</cupsInteger0 100/PageSize[499 709]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 100/PageSize[499 709]/ImagingBBox null>>setpagedevice"

  {
    // Custom page sizes from 1x4in to Legal
    HWMargins 9 36 9 36
    VariablePaperSize Yes
    MinSize 1in 4in
    MaxSize 8.5in 14in

    // <%DJ9xxVIP:Normal%>
    {
      ModelName "HP cp1160"
      Attribute "NickName" "" "HP cp1160, hpcups $Version"
      Attribute "ShortNickName" "" "HP cp1160"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:cp1160;DES:cp1160;"
      PCFileName "hp-cp1160.ppd"
      Attribute "Product" "" "(HP Color Inkjet cp1160 Printer)"
      Attribute "Product" "" "(HP Color Inkjet cp1160tn Printer)"
    }
    {
      ModelName "HP Deskjet 6120"
      Attribute "NickName" "" "HP Deskjet 6120, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 6120"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 6120;DES:deskjet 6120;"
      PCFileName "hp-deskjet_6120.ppd"
      Attribute "Product" "" "(HP Deskjet 6120 Color Inkjet Printer)"
    }
    {
      ModelName "HP Deskjet 6122"
      Attribute "NickName" "" "HP Deskjet 6122, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 6122"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 6122;DES:deskjet 6122;"
      PCFileName "hp-deskjet_6122.ppd"
      Attribute "Product" "" "(HP Deskjet 6122 Color Inkjet Printer)"
    }
    {
      ModelName "HP Deskjet 6127"
      Attribute "NickName" "" "HP Deskjet 6127, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 6127"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 6127;DES:deskjet 6127;"
      PCFileName "hp-deskjet_6127.ppd"
      Attribute "Product" "" "(HP Deskjet 6127 Color Inkjet Printer)"
    }
    {
      ModelName "HP Deskjet 960c"
      Attribute "NickName" "" "HP Deskjet 960c, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 960c"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 960c;DES:deskjet 960c;"
      PCFileName "hp-deskjet_960c.ppd"
      Attribute "Product" "" "(HP Deskjet 960cse Printer)"
      Attribute "Product" "" "(HP Deskjet 960cxi Printer)"
      Attribute "Product" "" "(HP Deskjet 960c Printer)"
    }
    {
      ModelName "HP Deskjet 980c"
      Attribute "NickName" "" "HP Deskjet 980c, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 980c"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 980c;DES:deskjet 980c;"
      PCFileName "hp-deskjet_980c.ppd"
      Attribute "Product" "" "(HP Deskjet 980cxi Printer)"
      Attribute "Product" "" "(HP Deskjet 980c Printer)"
    }
    {
      ModelName "HP Deskjet 990c"
      Attribute "NickName" "" "HP Deskjet 990c, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 990c"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 990c;DES:deskjet 990c;"
      PCFileName "hp-deskjet_990c.ppd"
      Attribute "Product" "" "(HP Deskjet 990cxi Printer)"
      Attribute "Product" "" "(HP Deskjet 990cse Printer)"
      Attribute "Product" "" "(HP Deskjet 990cm Printer)"
      Attribute "Product" "" "(HP Deskjet 990c Printer)"
    }
    {
      ModelName "HP Deskjet 995c"
      Attribute "NickName" "" "HP Deskjet 995c, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 995c"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 995c;DES:deskjet 995c;"
      PCFileName "hp-deskjet_995c.ppd"
      Attribute "Product" "" "(HP Deskjet 995c Printer)"
      Attribute "Product" "" "(HP Deskjet 995ck Printer)"
    }
    {
      ModelName "HP Deskjet 450"
      Attribute "NickName" "" "HP Deskjet 450, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 450"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:hp deskjet 450;DES:hp deskjet 450;"
      PCFileName "hp-deskjet_450.ppd"
      Attribute "Product" "" "(HP Deskjet 450ci Mobile Printer)"
      Attribute "Product" "" "(HP Deskjet 450cbi Mobile Printer)"
      Attribute "Product" "" "(HP Deskjet 450wbt Mobile Printer)"
      Attribute "Product" "" "(HP dj450)"
    }
    {
      ModelName "HP Officejet 7100 Series"
      Attribute "NickName" "" "HP Officejet 7100 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet 7100 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet 7100 series;DES:officejet 7100 series;"
      PCFileName "hp-officejet_7100_series.ppd"
      Attribute "Product" "" "(HP Officejet 7100 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 7110 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 7110xi All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 7115 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 7130 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 7130xi All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 7135xi All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 7140xi All-in-one Printer)"
    }
    {
      ModelName "HP Officejet D Series"
      Attribute "NickName" "" "HP Officejet D Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet D Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet d series;DES:officejet d series;"
      PCFileName "hp-officejet_d_series.ppd"
      Attribute "Product" "" "(HP Officejet d125xi All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet d135 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet d135xi All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet d145xi All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet d145 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet d155xi All-in-one Printer)"
    }
    {
      ModelName "HP Photosmart 1115"
      Attribute "NickName" "" "HP Photosmart 1115, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart 1115"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart 1115;DES:photosmart 1115;"
      PCFileName "hp-photosmart_1115.ppd"
      Attribute "Product" "" "(HP Photosmart 1115 Printer)"
    }
    {
      ModelName "HP Photosmart 1215"
      Attribute "NickName" "" "HP Photosmart 1215, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart 1215"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart 1215;DES:photosmart 1215;"
      PCFileName "hp-photosmart_1215.ppd"
      Attribute "Product" "" "(HP Photosmart 1215 Printer)"
      Attribute "Product" "" "(HP Photosmart 1215vm Printer)"
    }
    {
      ModelName "HP Photosmart 1218"
      Attribute "NickName" "" "HP Photosmart 1218, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart 1218"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart 1218;DES:photosmart 1218;"
      PCFileName "hp-photosmart_1218.ppd"
      Attribute "Product" "" "(HP Photosmart 1218 Printer)"
      Attribute "Product" "" "(HP Photosmart 1218xi Printer)"
    }
    {
      ModelName "HP Photosmart 1315"
      Attribute "NickName" "" "HP Photosmart 1315, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart 1315"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart 1315;DES:photosmart 1315;"
      PCFileName "hp-photosmart_1315.ppd"
      Attribute "Product" "" "(HP Photosmart 1315 Printer)"
    }
    {
      ModelName "HP PSC 2100 Series"
      Attribute "NickName" "" "HP PSC 2100 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP PSC 2100 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:psc 2100 series;DES:psc 2100 series;"
      PCFileName "hp-psc_2100_series.ppd"
      Attribute "Product" "" "(HP PSC 2105 All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 2108 All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 2110v All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 2110 All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 2110xi All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 2115 All-in-one Printer)"
    }
    {
      ModelName "HP PSC 2150 Series"
      Attribute "NickName" "" "HP PSC 2150 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP PSC 2150 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:psc 2150 series;DES:psc 2150 series;"
      PCFileName "hp-psc_2150_series.ppd"
      Attribute "Product" "" "(HP PSC 2150 All-in-one Printer)"
    }
    {
      ModelName "HP PSC 2170 Series"
      Attribute "NickName" "" "HP PSC 2170 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP PSC 2170 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:psc 2170 series;DES:psc 2170 series;"
      PCFileName "hp-psc_2170_series.ppd"
      Attribute "Product" "" "(HP PSC 2170 All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 2171 All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 2175xi All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 2175v All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 2175 All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 2179 All-in-one Printer)"
    }

  } // End Supported media sizes.

  {
  // Large format
  UIConstraints "*PageSize A3 *Duplex"
  UIConstraints "*PageSize B4 *Duplex"
  UIConstraints "*PageSize Ledger *Duplex"
  UIConstraints "*PageSize SuperB *Duplex"
  UIConstraints "*PageSize 8k *Duplex"

// Large
  CustomMedia "SuperB/SuperB 13x19in" 936 1368 14.40 36.00 14.40 9.00 "<</cupsInteger0 16/PageSize[936 1368]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 16/PageSize[936 1368]/ImagingBBox null>>setpagedevice"
  CustomMedia "B4/B4 257x364mm" 729 1033 18 36 18 9 "<</cupsInteger0 46/PageSize[729 1033]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 46/PageSize[729 1033]/ImagingBBox null>>setpagedevice"
  CustomMedia "B4.Duplex/B4 AutoDuplex 257x364mm" 729 1024 18 27 18 36 "<</cupsInteger0 1/PageSize[729 1024]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[729 1024]/ImagingBBox null>>setpagedevice"
  CustomMedia "8k/8k 10.75x15.5in" 774 1116 18.00 36.00 18.00 9.00 "<</cupsInteger0 101/PageSize[774 1116]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[774 1116]/ImagingBBox null>>setpagedevice"          // custom
  CustomMedia "Ledger/Ledger 11x17in" 792 1224 14.40 36.00 14.40 9.00 "<</cupsInteger0 6/PageSize[792 1224]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 6/PageSize[792 1224]/ImagingBBox null>>setpagedevice"
  CustomMedia "A3/A3 297x420mm" 842 1190 18.00 36.00 18.00 9.00 "<</cupsInteger0 27/PageSize[842 1190]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 27/PageSize[842 1190]/ImagingBBox null>>setpagedevice"
  CustomMedia "A3.Duplex/A3 AutoDuplex 297x420mm" 842 1181 18 27 18 36 "<</cupsInteger0 1/PageSize[842 1181]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[842 1181]/ImagingBBox null>>setpagedevice"

    // Custom page sizes from 1x4in to SuperB
    HWMargins 18 36 18 36
    VariablePaperSize Yes
    MinSize 1in 4in
    MaxSize 936 1368

    // <%DJ9xxVIP:LargeFormatSuperB%>
    {
      ModelName "HP Color Inkjet Printer cp1700"
      Attribute "NickName" "" "HP Color Inkjet Printer cp1700, hpcups $Version"
      Attribute "ShortNickName" "" "HP Color Inkjet Printer cp1700"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:hp color inkjet printer cp1700;DES:hp color inkjet printer cp1700;"
      PCFileName "hp-color_inkjet_printer_cp1700.ppd"
      Attribute "Product" "" "(HP Color Inkjet cp1700 Printer)"
      Attribute "Product" "" "(HP Color Inkjet cp1700ps Printer)"
      Attribute "Product" "" "(HP Color Inkjet cp1700d Printer)"
    }

  }  // End Large format media sizes.
} // End DJ9xxVIP

//////// DJ9xxVIP without 1200-dpi mode and without paper type sensor
{
  Attribute "cupsEvenDuplex" "" "True"
  Attribute "cupsBackSide" "" "Rotated"
  Attribute "cupsFlipDuplex" "" "True"
  Attribute "hpPrinterLanguage" "" "pcl3gui2"
  Attribute "HPMechOffset" "" "70"

  Group "General/General"

  Option "Duplex/Double-Sided Printing" PickOne AnySetup 10.0
    Choice "DuplexNoTumble/Long Edge (Standard)" "<</Duplex true/Tumble false>>setpagedevice"
    Choice "DuplexTumble/Short Edge (Flip)" "<</Duplex true/Tumble true>>setpagedevice"
    *Choice "None/Off" "<</Duplex false/Tumble false>>setpagedevice"

  // MediaPosition values map to MediaSource enumeration in global_types.h
  Option "InputSlot/Media Source" PickOne AnySetup 10.0
    *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"
    Choice "PhotoTray/Photo Tray" "<</MediaPosition 6>>setpagedevice"
    Choice "Upper/Upper Tray" "<</MediaPosition 1>>setpagedevice"
    Choice "Lower/Lower Tray" "<</MediaPosition 4>>setpagedevice"
    Choice "Envelope/Envelope Feeder" "<</MediaPosition 3>>setpagedevice"
    Choice "LargeCapacity/Large Capacity Tray" "<</MediaPosition 5>>setpagedevice"
    Choice "Manual/Manual Feeder" "<</MediaPosition 2>>setpagedevice"
    Choice "MPTray/Multi Purpose Tray" "<</MediaPosition 1>>setpagedevice"

  Option "ColorModel/Output Mode" PickOne AnySetup 10.0
    Choice "Gray/Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2>>setpagedevice"
    *Choice "RGB/Color" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 0>>setpagedevice"

  // cupsMediaType values map to MEDIATYPE from global_types.h
  Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0>>setpagedevice"
    Choice "Glossy/Photo Paper" "<</MediaType(Glossy)/cupsMediaType 3>>setpagedevice"

  // cupsCompression values map to QUALITY_MODE from global_types.h
  Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "Normal/Normal" "<</OutputType(0)/HWResolution[600 600]>>setpagedevice"
    Choice "Draft/Draft" "<</OutputType(-1)/HWResolution[300 300]>>setpagedevice"
    Choice "Best/Best" "<</OutputType(1)/HWResolution[600 600]>>setpagedevice"
    Choice "Photo/Photo" "<</OutputType(2)/HWResolution[600 600]>>setpagedevice"

  // Duplexer is optional...
  Installable "OptionDuplex/Duplexer Installed"

  // Constraints
  //UIConstraints "*Duplex *OptionDuplex False"
  UIConstraints "*MediaType Glossy *OutputMode Draft"
  UIConstraints "*MediaType Plain *OutputMode Photo"
  UIConstraints "*PageSize Photo4x6 *Duplex"
  UIConstraints "*PageSize Photo5x7 *Duplex"
  UIConstraints "*PageSize A5 *Duplex"
  UIConstraints "*PageSize A6 *Duplex"
  UIConstraints "*PageSize B5 *Duplex"
  UIConstraints "*PageSize Oufuku *Duplex"
  UIConstraints "*PageSize Hagaki *Duplex"
  UIConstraints "*PageSize 16k *Duplex"
  UIConstraints "*PageSize Card3x5 *Duplex"
  UIConstraints "*PageSize Card5x8 *Duplex"
  UIConstraints "*PageSize Env10 *Duplex"
  UIConstraints "*PageSize EnvA2 *Duplex"
  UIConstraints "*PageSize EnvC6 *Duplex"
  UIConstraints "*PageSize EnvDL *Duplex"
  UIConstraints "*PageSize EnvC5 *Duplex"
  UIConstraints "*PageSize EnvB5 *Duplex"
  UIConstraints "*PageSize EnvChou3 *Duplex"
  UIConstraints "*PageSize EnvChou4 *Duplex"
  UIConstraints "*PageSize EnvMonarch *Duplex"

  Attribute "cupsModelName" "" "DESKJET 990"     // APDK device class

  {
// 4x6 or smaller
  CustomMedia "Card3x5/Index Card 3x5in" 216 360 18.00 36.00 18.00 9.00 "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki/Hagaki 100x148mm" 284 420 9 36 9 9 "<</cupsInteger0 71/PageSize[284 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[284 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki.Duplex/Hagaki AutoDuplex 100x148mm" 284 411 9.00 36.00 9.00 9.00 "<</cupsInteger0 71/PageSize[284 411]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[284 411]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6/Photo 4x6in" 288 432 9.00 36.00 9.00 9.00 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6/A6 105x148mm" 297.36 419.76 9.00 36.00 9.00 9.00 "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6.Duplex/A6 AutoDuplex 105x148mm)" 297 411 18 27 18 36 "<</cupsInteger0 73/PageSize[297 411]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[297 411]/ImagingBBox null>>setpagedevice"

// 5x7
  CustomMedia "Photo5x7/Photo 5x7in" 360 504 9.00 36.00 9.00 9.00 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card5x8/Index Card 5x8in" 360 576 18.00 36.00 18.00 9.00 "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card5x8.Duplex/Index Card AutoDuplex 5x8in" 360 567 9 27 9 36 "<</cupsInteger0 75/PageSize[360 567]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 567]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku/Oufuku-Hagaki 148x200mm" 567 420 18.00 36.00 18.00 9.00 "<</cupsInteger0 72/PageSize[567 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[567 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku.Duplex/Oufuku-Hagaki AutoDuplex 148x200mm" 567 411 9 27 9 36 "<</cupsInteger0 72/PageSize[567 411]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[567 411]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5/A5 148x210mm" 419.76 595.44 9.00 36.00 9.00 9.00 "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5.Duplex/A5 AutoDuplex 148x210mm" 420 586 18 27 18 36 "<</cupsInteger0 25/PageSize[420 586]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[420 586]/ImagingBBox null>>setpagedevice"

// Standard
  CustomMedia "B5/B5 176x250mm" 498.96 708.48 18 36 18 9 "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "B5.Duplex/B5 AutoDuplex 176x250mm" 499 699 18 27 18 36 "<</cupsInteger0 65/PageSize[499 699]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[499 699]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5/JB5 182x257mm" 516.24 728.64 18 36 18 9 "<</cupsInteger0 45/PageSize[516.24 728.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5.Duplex/JB5 AutoDuplex 182x257mm" 516 720 18 27 18 36 "<</cupsInteger0 45/PageSize[516 720]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [516 720]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive/Executive 7.25x10.5in" 522 756 18 36 18 9 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive.Duplex/Executive AutoDuplex 7.25x10.5in" 522 747 18 27 18 36 "<</cupsInteger0 1/PageSize[522 747]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 747]/ImagingBBox null>>setpagedevice"
  CustomMedia "16k/16k 7.75x10.75in" 558 774 18 36 18 9 "<</cupsInteger0 101/PageSize[558 774]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[558 774]/ImagingBBox null>>setpagedevice"   // custom
  *CustomMedia "Letter/Letter 8.5x11in" 612 792 18 36 18 9 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
  CustomMedia "Letter.Duplex/Letter AutoDuplex 8.5x11in" 612 783 18 27 18 36 "<</cupsInteger0 2/PageSize[612 783]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 783]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4/A4 210x297mm" 595.44 841.68 9.72 36.00 9.72 9.0 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4.Duplex/A4 AutoDuplex 210x297mm" 595 833 18 27 18 36 "<</cupsInteger0 26/PageSize[595 833]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595 833]/ImagingBBox null>>setpagedevice"
  CustomMedia "ExecutiveJIS/Executive (JIS) 8.5x12.986in" 612 936 18 36 18 9 "<</cupsInteger0 101/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "FLSA/American Foolscap 8.5x13in" 612 936 18 36 18 9 "<</cupsInteger0 101/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal/Legal 8.5x14in" 612 1008 18 36 18 9 "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal.Duplex/Legal AutoDuplex 8.5x14in" 612 999 18 27 18 36 "<</cupsInteger0 3/PageSize[612 999]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 999]/ImagingBBox null>>setpagedevice"

// Envelope
  CustomMedia "EnvA2/A2 Envelope 4.37x5.75in" 314.64 414 9 42 9 9 "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.28 459.36 18.00 36.00 18.00 9.00 "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou4/#4 Japanese Envelope 90x205mm" 254.88 581.04 9 41 9 9 "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279 540 18.00 36.00 18.00 9.00 "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvDL/DL Envelope 110x220mm" 311.76 623.52 18.00 36.00 18.00 9.00 "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env10/#10 Envelope 4.12x9.5in" 297 684 18.00 36.00 18.00 9.00 "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 339.84 666  9 41 9 9 "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC5/C5 Envelope 162x229mm" 459 649 18.00 36.00 18.00 9.00 "<</cupsInteger0 91/PageSize[459 649]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 91/PageSize[459 649]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvB5/B5 Envelope 176x250mm" 499 709 18.00 36.00 18.00 9.00 "<</cupsInteger0 100/PageSize[499 709]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 100/PageSize[499 709]/ImagingBBox null>>setpagedevice"

    // Custom page sizes from 1x4in to Legal
    HWMargins 9 36 9 36
    VariablePaperSize Yes
    MinSize 1in 4in
    MaxSize 8.5in 14in

    // <%DJ9xxVIP:No1200dpiNoSensor%>
    {
      ModelName "HP Business Inkjet 2200"
      Attribute "NickName" "" "HP Business Inkjet 2200, hpcups $Version"
      Attribute "ShortNickName" "" "HP Business Inkjet 2200"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:hp business inkjet 2200;DES:hp business inkjet 2200;"
      PCFileName "hp-business_inkjet_2200.ppd"
      Attribute "Product" "" "(HP Business Inkjet 2200 Printer)"
      Attribute "Product" "" "(HP Business Inkjet 2200se Printer)"
      Attribute "Product" "" "(HP Business Inkjet 2200xi Printer)"
    }
    {
      ModelName "HP Business Inkjet 2230"
      Attribute "NickName" "" "HP Business Inkjet 2230, hpcups $Version"
      Attribute "ShortNickName" "" "HP Business Inkjet 2230"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:hp business inkjet 2230;DES:hp business inkjet 2230;"
      PCFileName "hp-business_inkjet_2230.ppd"
      Attribute "Product" "" "(HP Business Inkjet 2230 Printer)"
    }
    {
      ModelName "HP Business Inkjet 2250"
      Attribute "NickName" "" "HP Business Inkjet 2250 pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP Business Inkjet 2250"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:hp business inkjet 2250;DES:hp business inkjet 2250;"
      PCFileName "hp-business_inkjet_2250-pcl3.ppd"
      Attribute "Product" "" "(HP Business Inkjet 2250 Printer)"
      Attribute "Product" "" "(HP Business Inkjet 2250tn Printer)"
    }
    {
      ModelName "HP Business Inkjet 2280"
      Attribute "NickName" "" "HP Business Inkjet 2280 pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP Business Inkjet 2280"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:hp business inkjet 2280;DES:hp business inkjet 2280;"
      PCFileName "hp-business_inkjet_2280-pcl3.ppd"
      Attribute "Product" "" "(HP Business Inkjet 2280 Printer)"
      Attribute "Product" "" "(HP Business Inkjet 2280tn Printer)"
    }
  } // End Supported media sizes.
} // End DJ9xxVIP without 1200-dpi mode and without paper type sensor

////////// DJ55xx (a VIP)
{
  Attribute "cupsEvenDuplex" "" "True"
  Attribute "cupsBackSide" "" "Rotated"
  Attribute "cupsFlipDuplex" "" "True"
  Attribute "hpPrinterLanguage" "" "pcl3gui2"
  Attribute "HPMechOffset" "" "70"

  Group "General/General"

  Option "Duplex/Double-Sided Printing" PickOne AnySetup 10.0
       Choice "DuplexNoTumble/Long Edge (Standard)" "<</Duplex true/Tumble false>>setpagedevice"
       Choice "DuplexTumble/Short Edge (Flip)" "<</Duplex true/Tumble true>>setpagedevice"
      *Choice "None/Off" "<</Duplex false/Tumble false>>setpagedevice"

  Option "ColorModel/Output Mode" PickOne AnySetup 10.0
    Choice "CMYGray/High Quality Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 1>>setpagedevice"
    Choice "KGray/Black Only Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2>>setpagedevice"
    *Choice "RGB/Color" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 0>>setpagedevice"

  // cupsMediaType values map to MEDIATYPE from global_types.h
  Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Automatic/Automatic" "<</MediaType(Automatic)/cupsMediaType -1>>setpagedevice"
    Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0>>setpagedevice"
    Choice "Glossy/Photo Paper" "<</MediaType(Glossy)/cupsMediaType 3>>setpagedevice"
    Choice "TransparencyFilm/Transparency Film" "<</MediaType(TransparencyFilm)/cupsMediaType 4>>setpagedevice"
    Choice "CDDVDMedia/CD or DVD Media" "<</MediaType(CDDVDMedia)/cupsMediaType 7>>setpagedevice"

  // cupsCompression values map to QUALITY_MODE from global_types.h
  Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "Normal/Normal" "<</OutputType(0)/HWResolution[600 600]>>setpagedevice"
    Choice "Draft/Draft" "<</OutputType(-1)/HWResolution[300 300]>>setpagedevice"
    Choice "Best/Best" "<</OutputType(1)/HWResolution[600 600]>>setpagedevice"
    Choice "Photo/High-Resolution Photo" "<</OutputType(2)/HWResolution[1200 1200]>>setpagedevice"
    Choice "FastDraft/Fast Draft" "<</OutputType(-2)/HWResolution[300 300]>>setpagedevice"

   // MediaPosition values map to MediaSource enumeration in global_types.h
     Option "InputSlot/Media Source" PickOne AnySetup 10.0
     *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"
      Choice "PhotoTray/Photo Tray" "<</MediaPosition 6>>setpagedevice"
      Choice "Upper/Upper Tray" "<</MediaPosition 1>>setpagedevice"
      Choice "Lower/Lower Tray" "<</MediaPosition 4>>setpagedevice"
      Choice "Envelope/Envelope Feeder" "<</MediaPosition 3>>setpagedevice"
      Choice "LargeCapacity/Large Capacity Tray" "<</MediaPosition 5>>setpagedevice"
      Choice "Manual/Manual Feeder" "<</MediaPosition 2>>setpagedevice"
      Choice "MPTray/Multi Purpose Tray" "<</MediaPosition 1>>setpagedevice"
      Choice "CDDVDTray/CD or DVD Tray" "<</MediaPosition 14>>setpagedevice"

     // Duplexer is optional...
     Installable "OptionDuplex/Duplexer Installed"

     // Constraints
     //UIConstraints "*Duplex *OptionDuplex False"
     UIConstraints "*ColorModel KGray *OutputMode Photo"
     UIConstraints "*ColorModel CMYGray *OutputMode Photo"
     UIConstraints "*MediaType Automatic *OutputMode FastDraft"

     UIConstraints "*MediaType Glossy *OutputMode FastDraft"
     UIConstraints "*MediaType Glossy *OutputMode Draft"
     UIConstraints "*MediaType TransparencyFilm *OutputMode FastDraft"
     UIConstraints "*MediaType Plain *OutputMode Photo"

     UIConstraints "*InputSlot CDDVDTray *MediaType Automatic"
     UIConstraints "*InputSlot CDDVDTray *MediaType Plain"
     UIConstraints "*InputSlot CDDVDTray *MediaType Glossy"
     UIConstraints "*InputSlot CDDVDTray *MediaType TransparencyFilm"
     UIConstraints "*PageSize Oufuku *Duplex"
     UIConstraints "*PageSize Hagaki *Duplex"
     UIConstraints "*PageSize 16k *Duplex"
     UIConstraints "*PageSize Card5x8 *Duplex"
     UIConstraints "*PageSize EnvB5 *Duplex"
     UIConstraints "*PageSize B5 *Duplex"
     UIConstraints "*PageSize Photo4x6 *Duplex"
     UIConstraints "*PageSize Photo5x7 *Duplex"
     UIConstraints "*PageSize A5 *Duplex"
     UIConstraints "*PageSize A6 *Duplex"
     UIConstraints "*PageSize Card3x5 *Duplex"
     UIConstraints "*PageSize Env10 *Duplex"
     UIConstraints "*PageSize EnvA2 *Duplex"
     UIConstraints "*PageSize EnvC6 *Duplex"
     UIConstraints "*PageSize EnvDL *Duplex"
     UIConstraints "*PageSize EnvC5 *Duplex"
     UIConstraints "*PageSize EnvChou3 *Duplex"
     UIConstraints "*PageSize EnvChou4 *Duplex"
     UIConstraints "*PageSize EnvMonarch *Duplex"


  {
    // APDK device class
    Attribute "cupsModelName" "" "deskjet 5550"

    // 4x6 or smaller
  CustomMedia "Card3x5/Index Card 3x5in" 216 360 9 27 9 9 "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki/Hagaki 100x148mm" 284 420 9 27 9 9 "<</cupsInteger0 71/PageSize[284 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[284 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki.Duplex/Hagaki AutoDuplex 100x148mm" 284 411 9 27 9 36 "<</cupsInteger0 71/PageSize[284 411]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[284 411]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6/Photo 4x6in" 288 432 9 27 9 9 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6/A6 105x148mm" 297.36 419.76 9 27 9 9 "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6.Duplex/A6 AutoDuplex 105x148mm)" 297 411 9 27 9 36 "<</cupsInteger0 73/PageSize[297 411]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[297 411]/ImagingBBox null>>setpagedevice"

// 5x7
  CustomMedia "Photo5x7/Photo 5x7in" 360 504 9 27 9 9 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card5x8/Index Card 5x8in" 360 576 9 27 9 9 "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card5x8.Duplex/Index Card AutoDuplex 5x8in" 360 567 9 27 9 36 "<</cupsInteger0 75/PageSize[360 567]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 567]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku/Oufuku-Hagaki 148x200mm" 567 420 9 27 9 9 "<</cupsInteger0 72/PageSize[567 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[567 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku.Duplex/Oufuku-Hagaki AutoDuplex 148x200mm" 567 411 9 27 9 36 "<</cupsInteger0 72/PageSize[567 411]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[567 411]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5/A5 148x210mm" 419.76 595.44 9.00 27.00 9.00 9.00 "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5.Duplex/A5 AutoDuplex 148x210mm" 420 586 18 27 18 36 "<</cupsInteger0 25/PageSize[420 586]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[420 586]/ImagingBBox null>>setpagedevice"

// Standard
  CustomMedia "B5/B5 176x250mm" 498.96 708.48 18 27 18 9 "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "B5.Duplex/B5 AutoDuplex 176x250mm" 499 699 18 27 18 36 "<</cupsInteger0 65/PageSize[499 699]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[499 699]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5/JB5 182x257mm" 516.24 728.64 18 27 18 9 "<</cupsInteger0 45/PageSize[516.24 728.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5.Duplex/JB5 AutoDuplex 182x257mm" 516 720 18 27 18 36 "<</cupsInteger0 45/PageSize[516 720]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [516 720]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive/Executive 7.25x10.5in" 522 756 18 27 18 9 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive.Duplex/Executive AutoDuplex 7.25x10.5in" 522 747 18 27 18 36 "<</cupsInteger0 1/PageSize[522 747]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 747]/ImagingBBox null>>setpagedevice"
  CustomMedia "16k/16k 7.75x10.75in" 558 774 18 27 18 9 "<</cupsInteger0 101/PageSize[558 774]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[558 774]/ImagingBBox null>>setpagedevice"   // custom
  *CustomMedia "Letter/Letter 8.5x11in" 612 792 18 27 18 9 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
  CustomMedia "Letter.Duplex/Letter AutoDuplex 8.5x11in" 612 783 18 27 18 36 "<</cupsInteger0 2/PageSize[612 783]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 783]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4/A4 210x297mm" 595.44 841.68 9.72 27.00 9.72 9.00 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4.Duplex/A4 AutoDuplex 210x297mm" 595 833 18 27 18 36 "<</cupsInteger0 26/PageSize[595 833]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595 833]/ImagingBBox null>>setpagedevice"
  CustomMedia "ExecutiveJIS/Executive (JIS) 8.5x12.986in" 612 936 18 27 18 9 "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "FLSA/American Foolscap 8.5x13in" 612 936 18 27 18 9 "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal/Legal 8.5x14in" 612 1008 18 27 18 9 "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal.Duplex/Legal AutoDuplex 8.5x14in" 612 999 18 27 18 36 "<</cupsInteger0 3/PageSize[612 999]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 999]/ImagingBBox null>>setpagedevice"

// CDDVD
  CustomMedia "CDDVD80/CD DVD 80mm" 238 238 4 4 4 4 "<</cupsInteger0 98/PageSize[238 238]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 98/PageSize[238 238]/ImagingBBox null>>setpagedevice"
  CustomMedia "CDDVD120/CD DVD 120mm" 360 360 4 4 4 4 "<</cupsInteger0 99/PageSize[360 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 99/PageSize[360 360]/ImagingBBox null>>setpagedevice"

// Envelope
   CustomMedia "EnvA2/A2 Envelope 4.37x5.75in" 314.64 414 18.00 36.00 18.00 9.00 "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
   CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.28 459.36 18.00 36.00 18.00 9.00 "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
   CustomMedia "EnvChou4/#4 Japanese Envelope 90x205mm" 254.88 581.04 18.00 36.00 18.00 9.00 "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
   CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279 540 18.00 36.00 18.00 9.00 "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
   CustomMedia "EnvDL/DL Envelope 110x220mm" 311.76 623.52 18.00 36.00 18.00 9.00 "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
   CustomMedia "Env10/#10 Envelope 4.12x9.5in" 297 684 18.00 36.00 18.00 9.00 "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
   CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 339.84 666  18.00 36.00 18.00 9.00 "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
   CustomMedia "EnvC5/C5 Envelope 162x229mm" 459 649 18.00 36.00 18.00 9.00 "<</cupsInteger0 91/PageSize[459 649]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 91/PageSize[459 649]/ImagingBBox null>>setpagedevice"
   CustomMedia "EnvB5/B5 Envelope 176x250mm" 499 709 18.00 36.00 18.00 9.00 "<</cupsInteger0 100/PageSize[499 709]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 100/PageSize[499 709]/ImagingBBox null>>setpagedevice"

    // Custom page sizes from 1x4in to legal
    HWMargins 9 36 9 36
    VariablePaperSize Yes
    MinSize 1in 4in
    MaxSize 8.5in 14in

    // <%DJ55xx:Normal%>
    {
      ModelName "HP Deskjet 460"
      Attribute "NickName" "" "HP Deskjet 460, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 460"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 460;DES:deskjet 460;"
      PCFileName "hp-deskjet_460.ppd"
      Attribute "Product" "" "(HP Deskjet 460c Mobile Printer)"
      Attribute "Product" "" "(HP Deskjet 460cb Mobile Printer)"
      Attribute "Product" "" "(HP Deskjet 460wf Mobile Printer)"
      Attribute "Product" "" "(HP Deskjet 460wbt Mobile Printer)"
    }
    {
      ModelName "HP Officejet h470"
      Attribute "NickName" "" "HP Officejet h470, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet h470"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet h470;DES:officejet h470;"
      PCFileName "hp-officejet_h470.ppd"
      Attribute "Product" "" "(HP Officejet h470 Mobile Printer)"
      Attribute "Product" "" "(HP Officejet h470wbt Mobile Printer)"
      Attribute "Product" "" "(HP Officejet h470wf Mobile Printer)"
      Attribute "Product" "" "(HP Officejet h470bt Mobile Printer)"
    }
    {
      ModelName "HP Deskjet 5550"
      Attribute "NickName" "" "HP Deskjet 5550, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 5550"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 5550;DES:deskjet 5550;"
      PCFileName "hp-deskjet_5550.ppd"
      Attribute "Product" "" "(HP Deskjet 5550 Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 5550w Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 5550v Color Inkjet Printer)"
    }
    {
      ModelName "HP Deskjet 5551"
      Attribute "NickName" "" "HP Deskjet 5551, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 5551"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 5551;DES:deskjet 5551;"
      PCFileName "hp-deskjet_5551.ppd"
      Attribute "Product" "" "(HP Deskjet 5551 Color Inkjet Printer)"
    }
  } // End Supported media sizes.


} // End DJ55xx

//////// DJGenericVIP
{
  Attribute "cupsEvenDuplex" "" "True"
  Attribute "cupsBackSide" "" "Rotated"
  Attribute "cupsFlipDuplex" "" "True"
  Attribute "hpPrinterLanguage" "" "pcl3gui2"
  Attribute "HPMechOffset" "" "70"

  Group "General/General"

  Option "Duplex/Double-Sided Printing" PickOne AnySetup 10.0
    Choice "DuplexNoTumble/Long Edge (Standard)" "<</Duplex true/Tumble false>>setpagedevice"
    Choice "DuplexTumble/Short Edge (Flip)" "<</Duplex true/Tumble true>>setpagedevice"
    *Choice "None/Off" "<</Duplex false/Tumble false>>setpagedevice"

  // MediaPosition values map to MediaSource enumeration in global_types.h
  Option "InputSlot/Media Source" PickOne AnySetup 10.0
    *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"
    Choice "PhotoTray/Photo Tray" "<</MediaPosition 6>>setpagedevice"
    Choice "Upper/Upper Tray" "<</MediaPosition 1>>setpagedevice"
    Choice "Lower/Lower Tray" "<</MediaPosition 4>>setpagedevice"
    Choice "Envelope/Envelope Feeder" "<</MediaPosition 3>>setpagedevice"
    Choice "LargeCapacity/Large Capacity Tray" "<</MediaPosition 5>>setpagedevice"
    Choice "Manual/Manual Feeder" "<</MediaPosition 2>>setpagedevice"
    Choice "MPTray/Multi Purpose Tray" "<</MediaPosition 1>>setpagedevice"
    Choice "CDDVDTray/CD or DVD Tray" "<</MediaPosition 14>>setpagedevice"

  Option "ColorModel/Output Mode" PickOne AnySetup 10.0
    Choice "CMYGray/High Quality Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 1>>setpagedevice"
    Choice "KGray/Black Only Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2>>setpagedevice"
    *Choice "RGB/Color" "<</cupsColorSpace 17/cupsBitsPerColor 8/cupsRowStep 0>>setpagedevice"

  // cupsMediaType values map to MEDIATYPE from global_types.h
  Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Automatic/Automatic" "<</MediaType(Automatic)/cupsMediaType -1>>setpagedevice"
    Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0>>setpagedevice"
    Choice "Glossy/Photo Paper" "<</MediaType(Glossy)/cupsMediaType 3>>setpagedevice"
    Choice "TransparencyFilm/Transparency Film" "<</MediaType(TransparencyFilm)/cupsMediaType 4>>setpagedevice"
    Choice "CDDVDMedia/CD or DVD Media" "<</MediaType(CDDVDMedia)/cupsMediaType 7>>setpagedevice"

  // cupsCompression values map to QUALITY_MODE from global_types.h
  Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "Normal/Normal" "<</OutputType(0)/HWResolution[600 600]>>setpagedevice"
    Choice "Draft/Draft" "<</OutputType(-1)/HWResolution[300 300]>>setpagedevice"
    Choice "Best/Best" "<</OutputType(1)/HWResolution[600 600]>>setpagedevice"
    Choice "Photo/High-Resolution Photo" "<</OutputType(2)/HWResolution[1200 1200]>>setpagedevice"
    Choice "FastDraft/Fast Draft" "<</OutputType(-2)/HWResolution[300 300]>>setpagedevice"

  // Duplexer is optional...
  Installable "OptionDuplex/Duplexer Installed"

  // Constraints
  //UIConstraints "*Duplex *OptionDuplex False"
  UIConstraints "*ColorModel KGray *OutputMode Photo"
  UIConstraints "*ColorModel CMYGray *OutputMode Photo"
  UIConstraints "*MediaType Automatic *OutputMode FastDraft"
  UIConstraints "*MediaType Glossy *OutputMode FastDraft"
  UIConstraints "*MediaType Glossy *OutputMode Draft"
  UIConstraints "*MediaType TransparencyFilm *OutputMode FastDraft"
  UIConstraints "*MediaType Plain *OutputMode Photo"
  UIConstraints "*InputSlot CDDVDTray *MediaType Automatic"
  UIConstraints "*InputSlot CDDVDTray *MediaType Plain"
  UIConstraints "*InputSlot CDDVDTray *MediaType Glossy"
  UIConstraints "*InputSlot CDDVDTray *MediaType TransparencyFilm"
  UIConstraints "*PageSize Photo4x6 *Duplex"
  UIConstraints "*PageSize Photo5x7 *Duplex"
  UIConstraints "*PageSize A5 *Duplex"
  UIConstraints "*PageSize A6 *Duplex"
  UIConstraints "*PageSize B5 *Duplex"
  UIConstraints "*PageSize Oufuku *Duplex"
  UIConstraints "*PageSize Hagaki *Duplex"
  UIConstraints "*PageSize 16k *Duplex"
  UIConstraints "*PageSize Card3x5 *Duplex"
  UIConstraints "*PageSize Card5x8 *Duplex"
  UIConstraints "*PageSize Env10 *Duplex"
  UIConstraints "*PageSize EnvA2 *Duplex"
  UIConstraints "*PageSize EnvC6 *Duplex"
  UIConstraints "*PageSize EnvDL *Duplex"
  UIConstraints "*PageSize EnvC5 *Duplex"
  UIConstraints "*PageSize EnvB5 *Duplex"
  UIConstraints "*PageSize EnvChou3 *Duplex"
  UIConstraints "*PageSize EnvChou4 *Duplex"
  UIConstraints "*PageSize EnvMonarch *Duplex"

  Attribute "cupsModelName" "" "deskjet 5600"     // APDK device class

// 4x6 or smaller
  CustomMedia "Card3x5/Index Card 3x5in" 216 360 9 9 9 9 "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card3x5.FB/Index Card Borderless 3x5in" 226 370 0 0 0 0 "<</cupsInteger0 78/PageSize [226 370]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[226 370]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki/Hagaki 100x148mm" 284 420 9 9 9 9 "<</cupsInteger0 71/PageSize[284 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[284 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki.FB/Hagaki Borderless 100x148mm" 294 430 0 0 0 0 "<</cupsInteger0 71/PageSize[294 430]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[294 430]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki.Duplex/Hagaki AutoDuplex 100x148mm" 284 411 9 27 9 36 "<</cupsInteger0 71/PageSize[284 411]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[284 411]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6/Photo 4x6in" 288 432 9 9 9 9 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6.FB/Photo Borderless 4x6 in" 298 442 0 0 0 0 "<</cupsInteger0 74/PageSize[298 442]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[298 442]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6/A6 105x148mm" 297.36 419.76 9 9 9 9 "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6.FB/A6 Borderless 105x148mm" 307 430 0 0 0 0 "<</cupsInteger0 73/PageSize[307 430]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[307 430]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6.Duplex/A6 AutoDuplex 105x148mm)" 297 411 9 27 9 36 "<</cupsInteger0 73/PageSize[297 411]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[297 411]/ImagingBBox null>>setpagedevice"

// 5x7
  CustomMedia "Photo5x7/Photo 5x7in" 360 504 9 9 9 9 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo5x7.FB/Photo Borderless 5x7in" 370 514 0 0 0 0 "<</cupsInteger0 122/PageSize[370 514]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[370 514]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card5x8/Index Card 5x8in" 360 576 9 9 9 9 "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card5x8.Duplex/Index Card AutoDuplex 5x8in" 360 567 9 27 9 36 "<</cupsInteger0 75/PageSize[360 567]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 567]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku/Oufuku-Hagaki 148x200mm" 567 420 9 9 9 9 "<</cupsInteger0 72/PageSize[567 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[567 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku.FB/Oufuku-Hagaki Borderless 148x200mm" 577 430 0 0 0 0 "<</cupsInteger0 72/PageSize[577 430]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[577 430]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku.Duplex/Oufuku-Hagaki AutoDuplex 148x200mm" 567 411 9 27 9 36 "<</cupsInteger0 72/PageSize[567 411]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[567 411]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5/A5 148x210mm" 419.76 595.44 9 9 9 9 "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5.FB/A5 Borderless 148x210mm" 430 605 0 0 0 0 "<</cupsInteger0 25/PageSize[430 605]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[430 605]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5.Duplex/A5 AutoDuplex 148x210mm" 420 586 9 27 9 36 "<</cupsInteger0 25/PageSize[420 586]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[420 586]/ImagingBBox null>>setpagedevice"

// Standard
  CustomMedia "B5/B5 176x250mm" 498.96 708.48 9 9 9 9 "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "B5.Duplex/B5 AutoDuplex 176x250mm" 499 699 9 27 9 36 "<</cupsInteger0 65/PageSize[499 699]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[499 699]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5/JB5 182x257mm" 516.24 728.64 9 9 9 9 "<</cupsInteger0 45/PageSize[516.24 728.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5.FB/JB5 Borderless 182x257mm" 526 739 0 0 0 0 "<</cupsInteger0 45/PageSize[526 739]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [526 739]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5.Duplex/JB5 AutoDuplex 182x257mm" 516 720 9 27 9 36 "<</cupsInteger0 45/PageSize[516 720]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [516 720]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive/Executive 7.25x10.5in" 522 756 9 9 9 9 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive.Duplex/Executive AutoDuplex 7.25x10.5in" 522 747 9 27 9 36 "<</cupsInteger0 1/PageSize[522 747]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 747]/ImagingBBox null>>setpagedevice"
  CustomMedia "16k/16k 7.75x10.75in" 558 774 9 9 9 9 "<</cupsInteger0 101/PageSize[558 774]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[558 774]/ImagingBBox null>>setpagedevice"   // custom
  CustomMedia "8x10/8x10in" 576 720 9 36 9 9 "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
  *CustomMedia "Letter/Letter 8.5x11in" 612 792 9 9 9 9 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
  CustomMedia "Letter.FB/Letter Borderless 8.5x11in" 622 802 0 0 0 0 "<</cupsInteger0 2/PageSize[622 802]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[622 802]/ImagingBBox null>>setpagedevice"
  CustomMedia "Letter.Duplex/Letter AutoDuplex 8.5x11in" 612 783 9 27 9 36 "<</cupsInteger0 2/PageSize[612 783]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 783]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4/A4 210x297mm" 595.44 841.68 9 9 9 9 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4.FB/A4 Borderless 210x297mm" 605 852 0 0 0 0 "<</cupsInteger0 26/PageSize[605 852]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[605 852]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4.Duplex/A4 AutoDuplex 210x297mm" 595 833 9 27 9 36 "<</cupsInteger0 26/PageSize[595 833]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595 833]/ImagingBBox null>>setpagedevice"
  CustomMedia "ExecutiveJIS/Executive (JIS) 8.5x12.986in" 612 936 9 9 9 9 "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "FLSA/American Foolscap 8.5x13in" 612 936 9 9 9 9 "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal/Legal 8.5x14in" 612 1008 9 9 9 9 "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal.Duplex/Legal AutoDuplex 8.5x14in" 612 999 9 27 9 36 "<</cupsInteger0 3/PageSize[612 999]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 999]/ImagingBBox null>>setpagedevice"

// CDDVD
  CustomMedia "CDDVD80/CD DVD 80mm" 238 238 4 4 4 4 "<</cupsInteger0 98/PageSize[238 238]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 98/PageSize[238 238]/ImagingBBox null>>setpagedevice"
  CustomMedia "CDDVD120/CD DVD 120mm" 360 360 4 4 4 4 "<</cupsInteger0 99/PageSize[360 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 99/PageSize[360 360]/ImagingBBox null>>setpagedevice"

// Envelope
  CustomMedia "EnvA2/A2 Envelope 4.37x5.75in" 314.64 414 9 42 9 9 "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.28 459.36 9 39 9 9 "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou4/#4 Japanese Envelope 90x205mm" 254.88 581.04 9 41 9 9 "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279 540 9 41 9 9 "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvDL/DL Envelope 110x220mm" 311.76 623.52 9 41 9 9 "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env10/#10 Envelope 4.12x9.5in" 297 684 9 41 9 9 "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 339.84 666  9 41 9 9 "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC5/C5 Envelope 162x229mm" 459 649 9 41 9 9 "<</cupsInteger0 91/PageSize[459 649]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 91/PageSize[459 649]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvB5/B5 Envelope 176x250mm" 499 709 9 41 9 9 "<</cupsInteger0 100/PageSize[499 709]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 100/PageSize[499 709]/ImagingBBox null>>setpagedevice"

  {
    // Custom page sizes from 1x4in to Legal
    HWMargins 18 36 18 36
    VariablePaperSize Yes
    MinSize 1in 4in
    MaxSize 8.5in 14in

    // <%DJGenericVIP:Normal%>
    {
      ModelName "HP Business Inkjet 1000"
      Attribute "NickName" "" "HP Business Inkjet 1000, hpcups $Version"
      Attribute "ShortNickName" "" "HP Business Inkjet 1000"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:business inkjet 1000;DES:business inkjet 1000;"
      PCFileName "hp-business_inkjet_1000.ppd"
      Attribute "Product" "" "(HP Business Inkjet 1000 Printer)"
    }
    {
      ModelName "HP PSC 1500 Series"
      Attribute "NickName" "" "HP PSC 1500 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP PSC 1500 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:psc 1500 series;DES:psc 1500 series;"
      PCFileName "hp-psc_1500_series.ppd"
      Attribute "Product" "" "(HP PSC 1508 All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 1510xi All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 1510v All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 1510s All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 1510 All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 1513s All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 1513 All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 1514 All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 1510 Series)"
    }
    {
      ModelName "HP PSC 1600 Series"
      Attribute "NickName" "" "HP PSC 1600 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP PSC 1600 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:psc 1600 series;DES:psc 1600 series;"
      PCFileName "hp-psc_1600_series.ppd"
      Attribute "Product" "" "(HP PSC 1600 All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 1603 All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 1605 All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 1608 All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 1610xi All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 1610v All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 1610 All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 1613 All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 1615 All-in-one Printer)"
    }
    {
      ModelName "HP Deskjet Ink Advant k209a-z"
      Attribute "NickName" "" "HP Deskjet Ink Advant k209a-z, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet Ink Advant k209a-z"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet ink advant k209a-z;DES:deskjet ink advant k209a-z;"
      PCFileName "hp-deskjet_ink_advant_k209a-z.ppd"
      Attribute "Product" "" "(HP Deskjet Ink Advantage k209a All-in-one Printer)"
    }
    {
      ModelName "HP PSC 2200 Series"
      Attribute "NickName" "" "HP PSC 2200 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP PSC 2200 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:psc 2200 series;DES:psc 2200 series;"
      PCFileName "hp-psc_2200_series.ppd"
      Attribute "Product" "" "(HP PSC 2200 All-in-one Printer)"
    }
    {
      ModelName "HP PSC 2210 Series"
      Attribute "NickName" "" "HP PSC 2210 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP PSC 2210 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:psc 2210 series;DES:psc 2210 series;"
      PCFileName "hp-psc_2210_series.ppd"
      Attribute "Product" "" "(HP PSC 2210 All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 2210xi All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 2210v All-in-one Printer)"
    }
    {
      ModelName "HP PSC 2300 Series"
      Attribute "NickName" "" "HP PSC 2300 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP PSC 2300 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:psc 2300 series;DES:psc 2300 series;"
      PCFileName "hp-psc_2300_series.ppd"
      Attribute "Product" "" "(HP PSC 2300 Series All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 2310 All-in-one Printer)"
    }
    {
      ModelName "HP PSC 2350 Series"
      Attribute "NickName" "" "HP PSC 2350 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP PSC 2350 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:psc 2350 series;DES:psc 2350 series;"
      PCFileName "hp-psc_2350_series.ppd"
      Attribute "Product" "" "(HP PSC 2350 All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 2352 All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 2353 All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 2353p All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 2355xi All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 2355v All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 2355 All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 2355p All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 2357 All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 2358 All-in-one Printer)"
    }
    {
      ModelName "HP PSC 2400 Series"
      Attribute "NickName" "" "HP PSC 2400 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP PSC 2400 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:psc 2400 series;DES:psc 2400 series;"
      PCFileName "hp-psc_2400_series.ppd"
      Attribute "Product" "" "(HP PSC 2405 Photosmart All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 2410xi Photosmart All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 2410v Photosmart All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 2410 Photosmart All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 2420 Photosmart All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 2450 Photosmart All-in-one Printer)"
    }
    {
      ModelName "HP Deskjet d2500 Series"
      Attribute "NickName" "" "HP Deskjet d2500 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet d2500 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet d2500 series;DES:deskjet d2500 series;"
      PCFileName "hp-deskjet_d2500_series.ppd"
      Attribute "Product" "" "(HP Deskjet d2530 Printer)"
      Attribute "Product" "" "(HP Deskjet d2545 Printer)"
      Attribute "Product" "" "(HP Deskjet d2560 Printer)"
      Attribute "Product" "" "(HP Deskjet d2563 Printer)"
      Attribute "Product" "" "(HP Deskjet d2566 Printer)"
      Attribute "Product" "" "(HP Deskjet d2568 Printer)"
    }
    {
      ModelName "HP PSC 2500 Series"
      Attribute "NickName" "" "HP PSC 2500 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP PSC 2500 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:psc 2500 series;DES:psc 2500 series;"
      PCFileName "hp-psc_2500_series.ppd"
      Attribute "Product" "" "(HP PSC 2500 Photosmart All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 2510 Photosmart All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 2510xi Photosmart All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 2550 Photosmart All-in-one Printer)"
    }
    {
      ModelName "HP Photosmart 2570 Series"
      Attribute "NickName" "" "HP Photosmart 2570 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart 2570 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart 2570 series;DES:photosmart 2570 series;"
      PCFileName "hp-photosmart_2570_series.ppd"
      Attribute "Product" "" "(HP Photosmart 2570 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart 2571 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart 2573 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart 2574 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart 2575 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart 2575xi All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart 2575v All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart 2575a All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart 2578 All-in-one Printer)"
    }
    {
      ModelName "HP Photosmart 2600 Series"
      Attribute "NickName" "" "HP Photosmart 2600 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart 2600 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart 2600 series;DES:photosmart 2600 series;"
      PCFileName "hp-photosmart_2600_series.ppd"
      Attribute "Product" "" "(HP Photosmart 2605 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart 2608 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart 2610v All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart 2610xi All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart 2610 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart 2613 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart 2615 All-in-one Printer)"
    }
    {
      ModelName "HP Photosmart 2700 Series"
      Attribute "NickName" "" "HP Photosmart 2700 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart 2700 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart 2700 series;DES:photosmart 2700 series;"
      PCFileName "hp-photosmart_2700_series.ppd"
      Attribute "Product" "" "(HP Photosmart 2710 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart 2710xi All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart 2713 All-in-one Printer)"
    }
    {
      ModelName "HP Photosmart c3100 Series"
      Attribute "NickName" "" "HP Photosmart c3100 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart c3100 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart c3100 series;DES:photosmart c3100 series;"
      PCFileName "hp-photosmart_c3100_series.ppd"
      Attribute "Product" "" "(HP Photosmart c3110 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c3125 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c3135 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c3140 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c3150 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c3170 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c3173 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c3175 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c3180 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c3183 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c3188 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c3190 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c3193 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c3194 All-in-one Printer)"
    }
    {
      ModelName "HP Photosmart 3100 Series"
      Attribute "NickName" "" "HP Photosmart 3100 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart 3100 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart 3100 series;DES:photosmart 3100 series;"
      PCFileName "hp-photosmart_3100_series.ppd"
      Attribute "Product" "" "(HP Photosmart 3108 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart 3110 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart 3110v All-in-one Printer)"
    }
    {
      ModelName "HP Photosmart 3200 Series"
      Attribute "NickName" "" "HP Photosmart 3200 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart 3200 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart 3200 series;DES:photosmart 3200 series;"
      PCFileName "hp-photosmart_3200_series.ppd"
      Attribute "Product" "" "(HP Photosmart 3207 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart 3210 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart 3210xi All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart 3210v All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart 3210a All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart 3213 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart 3214 All-in-one Printer)"
    }
    {
      ModelName "HP Photosmart 3300 Series"
      Attribute "NickName" "" "HP Photosmart 3300 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart 3300 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart 3300 series;DES:photosmart 3300 series;"
      PCFileName "hp-photosmart_3300_series.ppd"
      Attribute "Product" "" "(HP Photosmart 3308 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart 3310 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart 3310xi All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart 3313 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart 3314 All-in-one Printer)"
    }
    {
      ModelName "HP Photosmart c4100 Series"
      Attribute "NickName" "" "HP Photosmart c4100 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart c4100 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart c4100 series;DES:photosmart c4100 series;"
      PCFileName "hp-photosmart_c4100_series.ppd"
      Attribute "Product" "" "(HP Photosmart c4110 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c4140 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c4150 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c4170 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c4173 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c4175 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c4180 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c4183 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c4188 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c4190 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c4193 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c4194 All-in-one Printer)"
    }
    {
      ModelName "HP Deskjet f4200 Series"
      Attribute "NickName" "" "HP Deskjet f4200 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet f4200 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet f4200 series;DES:deskjet f4200 series;"
      PCFileName "hp-deskjet_f4200_series.ppd"
      Attribute "Product" "" "(HP Deskjet f4210 All-in-one Printer)"
      Attribute "Product" "" "(HP Deskjet f4213 All-in-one Printer)"
      Attribute "Product" "" "(HP Deskjet f4224 All-in-one Printer)"
      Attribute "Product" "" "(HP Deskjet f4230 All-in-one Printer)"
      Attribute "Product" "" "(HP Deskjet f4235 All-in-one Printer)"
      Attribute "Product" "" "(HP Deskjet f4238 All-in-one Printer)"
      Attribute "Product" "" "(HP Deskjet f4240 All-in-one Printer)"
      Attribute "Product" "" "(HP Deskjet f4250 All-in-one Printer)"
      Attribute "Product" "" "(HP Deskjet f4272 All-in-one Printer)"
      Attribute "Product" "" "(HP Deskjet f4273 All-in-one Printer)"
      Attribute "Product" "" "(HP Deskjet f4274 All-in-one Printer)"
      Attribute "Product" "" "(HP Deskjet f4275 All-in-one Printer)"
      Attribute "Product" "" "(HP Deskjet f4280 All-in-one Printer)"
      Attribute "Product" "" "(HP Deskjet f4283 All-in-one Printer)"
      Attribute "Product" "" "(HP Deskjet f4288 All-in-one Printer)"
      Attribute "Product" "" "(HP Deskjet f4292 All-in-one Printer)"
      Attribute "Product" "" "(HP Deskjet f4293 All-in-one Printer)"
      Attribute "Product" "" "(HP Deskjet f4294 All-in-one Printer)"
    }
    {
      ModelName "HP Photosmart c4200 Series"
      Attribute "NickName" "" "HP Photosmart c4200 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart c4200 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart c4200 series;DES:photosmart c4200 series;"
      PCFileName "hp-photosmart_c4200_series.ppd"
      Attribute "Product" "" "(HP Photosmart c4205 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c4210 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c4235 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c4240 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c4250 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c4270 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c4272 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c4273 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c4275 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c4280 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c4283 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c4285 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c4288 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c4293 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c4294 All-in-one Printer)"
    }
    {
      ModelName "HP Photosmart c4340 Series"
      Attribute "NickName" "" "HP Photosmart c4340 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart c4340 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart c4340 series;DES:photosmart c4340 series;"
      PCFileName "hp-photosmart_c4340_series.ppd"
      Attribute "Product" "" "(HP Photosmart c4340 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c4342 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c4343 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c4344 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c4345 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c4348 All-in-one Printer)"
    }
    {
      ModelName "HP Photosmart c4380 Series"
      Attribute "NickName" "" "HP Photosmart c4380 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart c4380 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart c4380 series;DES:photosmart c4380 series;"
      PCFileName "hp-photosmart_c4380_series.ppd"
      Attribute "Product" "" "(HP Photosmart c4380 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c4383 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c4384 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c4385 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c4388 All-in-one Printer)"
    }
    {
      ModelName "HP Photosmart c4400 Series"
      Attribute "NickName" "" "HP Photosmart c4400 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart c4400 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart c4400 series;DES:photosmart c4400 series;"
      PCFileName "hp-photosmart_c4400_series.ppd"
      Attribute "Product" "" "(HP Photosmart c4410 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c4424 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c4435 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c4440 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c4450 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c4470 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c4472 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c4473 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c4480 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c4483 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c4485 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c4486 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c4488 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c4490 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c4493 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c4494 All-in-one Printer)"
    }
    {
      ModelName "HP Officejet j4500 Series"
      Attribute "NickName" "" "HP Officejet j4500 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet j4500 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet j4500 series;DES:officejet j4500 series;"
      PCFileName "hp-officejet_j4500_series.ppd"
      Attribute "Product" "" "(HP Officejet j4524 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet j4525 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet j4535 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet j4540 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet j4550 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet j4560 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet j4580 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet j4580c All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet j4585 All-in-one Printer)"
    }
    {
      ModelName "HP Photosmart c4500 Series"
      Attribute "NickName" "" "HP Photosmart c4500 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart c4500 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart c4500 series;DES:photosmart c4500 series;"
      PCFileName "hp-photosmart_c4500_series.ppd"
      Attribute "Product" "" "(HP Photosmart c4540 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c4550 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c4570 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c4572 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c4573 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c4575 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c4580 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c4583 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c4585 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c4588 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c4593 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c4599 All-in-one Printer)"
    }
    {
      ModelName "HP Officejet j4660 Series"
      Attribute "NickName" "" "HP Officejet j4660 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet j4660 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet j4660 series;DES:officejet j4660 series;"
      PCFileName "hp-officejet_j4660_series.ppd"
      Attribute "Product" "" "(HP Officejet j4660 All-in-one Printer)"
    }
    {
      ModelName "HP Officejet j4680 Series"
      Attribute "NickName" "" "HP Officejet j4680 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet j4680 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet j4680 series;DES:officejet j4680 series;"
      PCFileName "hp-officejet_j4680_series.ppd"
      Attribute "Product" "" "(HP Officejet j4680c All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet j4680 All-in-one Printer)"
    }
    {
      ModelName "HP Photosmart d5060 Series"
      Attribute "NickName" "" "HP Photosmart d5060 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart d5060 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart d5060 series;DES:photosmart d5060 series;"
      PCFileName "hp-photosmart_d5060_series.ppd"
      Attribute "Product" "" "(HP Photosmart d5060 Printer)"
      Attribute "Product" "" "(HP Photosmart d5063 Printer)"
      Attribute "Product" "" "(HP Photosmart d5065 Printer)"
      Attribute "Product" "" "(HP Photosmart d5069 Printer)"
    }
    {
      ModelName "HP Photosmart c5100 Series"
      Attribute "NickName" "" "HP Photosmart c5100 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart c5100 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart c5100 series;DES:photosmart c5100 series;"
      PCFileName "hp-photosmart_c5100_series.ppd"
      Attribute "Product" "" "(HP Photosmart c5140 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c5150 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c5170 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c5173 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c5175 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c5180 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c5183 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c5185 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c5188 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c5194 All-in-one Printer)"
    }
    {
      ModelName "HP Deskjet 5100"
      Attribute "NickName" "" "HP Deskjet 5100, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 5100"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 5100;DES:deskjet 5100;"
      PCFileName "hp-deskjet_5100.ppd"
      Attribute "Product" "" "(HP Deskjet 5100 Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 5145 Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 5150v Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 5150w Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 5150 Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 5151 Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 5160 Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 5168 Color Inkjet Printer)"
    }
    {
      ModelName "HP Photosmart d5100 Series"
      Attribute "NickName" "" "HP Photosmart d5100 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart d5100 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart d5100 series;DES:photosmart d5100 series;"
      PCFileName "hp-photosmart_d5100_series.ppd"
      Attribute "Product" "" "(HP Photosmart d5145 Printer)"
      Attribute "Product" "" "(HP Photosmart d5155 Printer)"
      Attribute "Product" "" "(HP Photosmart d5156 Printer)"
      Attribute "Product" "" "(HP Photosmart d5160 Printer)"
      Attribute "Product" "" "(HP Photosmart d5163 Printer)"
      Attribute "Product" "" "(HP Photosmart d5168 Printer)"
    }
    {
      ModelName "HP Photosmart c5200 Series"
      Attribute "NickName" "" "HP Photosmart c5200 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart c5200 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart c5200 series;DES:photosmart c5200 series;"
      PCFileName "hp-photosmart_c5200_series.ppd"
      Attribute "Product" "" "(HP Photosmart c5240 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c5250 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c5270 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c5273 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c5275 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c5280 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c5283 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c5288 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c5290 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c5293 All-in-one Printer)"
    }
    {
      ModelName "HP Photosmart d5300 Series"
      Attribute "NickName" "" "HP Photosmart d5300 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart d5300 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart d5300 series;DES:photosmart d5300 series;"
      PCFileName "hp-photosmart_d5300_series.ppd"
      Attribute "Product" "" "(HP Photosmart d5345 Printer)"
      Attribute "Product" "" "(HP Photosmart d5360 Printer)"
      Attribute "Product" "" "(HP Photosmart d5363 Printer)"
      Attribute "Product" "" "(HP Photosmart d5368 Printer)"
    }
    {
      ModelName "HP Deskjet 5400 Series"
      Attribute "NickName" "" "HP Deskjet 5400 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 5400 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 5400 series;DES:deskjet 5400 series;"
      PCFileName "hp-deskjet_5400_series.ppd"
      Attribute "Product" "" "(HP Deskjet 5420v Photo Printer)"
      Attribute "Product" "" "(HP Deskjet 5432 Photo Printer)"
      Attribute "Product" "" "(HP Deskjet 5438 Photo Printer)"
      Attribute "Product" "" "(HP Deskjet 5440v Photo Printer)"
      Attribute "Product" "" "(HP Deskjet 5440 Photo Printer)"
      Attribute "Product" "" "(HP Deskjet 5440xi Photo Printer)"
      Attribute "Product" "" "(HP Deskjet 5442 Photo Printer)"
      Attribute "Product" "" "(HP Deskjet 5443 Photo Printer)"
    }
    {
      ModelName "HP Photosmart d5400 Series"
      Attribute "NickName" "" "HP Photosmart d5400 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart d5400 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart d5400 series;DES:photosmart d5400 series;"
      PCFileName "hp-photosmart_d5400_series.ppd"
      Attribute "Product" "" "(HP Photosmart d5460 Printer)"
      Attribute "Product" "" "(HP Photosmart d5463 Printer)"
      Attribute "Product" "" "(HP Photosmart d5468 Printer)"
    }
    {
      ModelName "HP Photosmart c5500 Series"
      Attribute "NickName" "" "HP Photosmart c5500 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart c5500 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart c5500 series;DES:photosmart c5500 series;"
      PCFileName "hp-photosmart_c5500_series.ppd"
      Attribute "Product" "" "(HP Photosmart c5540 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c5550 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c5570 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c5580 All-in-one Printer)"
    }
    {
      ModelName "HP Deskjet 5552"
      Attribute "NickName" "" "HP Deskjet 5552, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 5552"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 5552;DES:deskjet 5552;"
      PCFileName "hp-deskjet_5552.ppd"
      Attribute "Product" "" "(HP Deskjet 5552 Color Inkjet Printer)"
    }
    {
      ModelName "HP Deskjet 5600"
      Attribute "NickName" "" "HP Deskjet 5600, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 5600"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 5600;DES:deskjet 5600;"
      PCFileName "hp-deskjet_5600.ppd"
      Attribute "Product" "" "(HP Deskjet 5600 Color Inkjet Printer)"
    }
    {
      ModelName "HP Deskjet 5650"
      Attribute "NickName" "" "HP Deskjet 5650, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 5650"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 5650;DES:deskjet 5650;"
      PCFileName "hp-deskjet_5650.ppd"
      Attribute "Product" "" "(HP Deskjet 5650 Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 5650w Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 5650v Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 5655 Color Inkjet Printer)"
    }
    {
      ModelName "HP Deskjet 5652"
      Attribute "NickName" "" "HP Deskjet 5652, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 5652"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 5652;DES:deskjet 5652;"
      PCFileName "hp-deskjet_5652.ppd"
      Attribute "Product" "" "(HP Deskjet 5652 Color Inkjet Printer)"
    }
    {
      ModelName "HP Officejet j5700 Series"
      Attribute "NickName" "" "HP Officejet j5700 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet j5700 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet j5700 series;DES:officejet j5700 series;"
      PCFileName "hp-officejet_j5700_series.ppd"
      Attribute "Product" "" "(HP Officejet j5725 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet j5725 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet j5730 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet j5735 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet j5738 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet j5740 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet j5750 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet j5780 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet j5783 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet j5785 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet j5788 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet j5790 All-in-one Printer)"
    }
    {
      ModelName "HP Deskjet 5700"
      Attribute "NickName" "" "HP Deskjet 5700, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 5700"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 5700;DES:deskjet 5700;"
      PCFileName "hp-deskjet_5700.ppd"
      Attribute "Product" "" "(HP Deskjet 5700 Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 5740 Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 5740xi Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 5743 Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 5745 Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 5748 Color Inkjet Printer)"
    }
    {
      ModelName "HP Deskjet 5800"
      Attribute "NickName" "" "HP Deskjet 5800, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 5800"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 5800;DES:deskjet 5800;"
      PCFileName "hp-deskjet_5800.ppd"
      Attribute "Product" "" "(HP Deskjet 5800 Color Inkjet Printer)"
    }
    {
      ModelName "HP Deskjet 5850"
      Attribute "NickName" "" "HP Deskjet 5850, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 5850"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 5850;DES:deskjet 5850;"
      PCFileName "hp-deskjet_5850.ppd"
      Attribute "Product" "" "(HP Deskjet 5850 Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 5850w Color Inkjet Printer)"
    }
    {
      ModelName "HP Deskjet 5900 Series"
      Attribute "NickName" "" "HP Deskjet 5900 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 5900 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 5900 series;DES:deskjet 5900 series;"
      PCFileName "hp-deskjet_5900_series.ppd"
      Attribute "Product" "" "(HP Deskjet 5938 Photo Printer)"
      Attribute "Product" "" "(HP Deskjet 5940 Photo Printer)"
      Attribute "Product" "" "(HP Deskjet 5940xi Photo Printer)"
      Attribute "Product" "" "(HP Deskjet 5943 Photo Printer)"
    }
    {
      ModelName "HP Photosmart c6100 Series"
      Attribute "NickName" "" "HP Photosmart c6100 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart c6100 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart c6100 series;DES:photosmart c6100 series;"
      PCFileName "hp-photosmart_c6100_series.ppd"
      Attribute "Product" "" "(HP Photosmart c6150 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c6154 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c6170 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c6175 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c6180 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c6183 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c6185 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c6188 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c6190 All-in-one Printer)"
    }
    {
      ModelName "HP Photosmart d6100 Series"
      Attribute "NickName" "" "HP Photosmart d6100 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart d6100 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart d6100 series;DES:photosmart d6100 series;"
      PCFileName "hp-photosmart_d6100_series.ppd"
      Attribute "Product" "" "(HP Photosmart d6160 Printer)"
      Attribute "Product" "" "(HP Photosmart d6163 Printer)"
      Attribute "Product" "" "(HP Photosmart d6168 Printer)"
    }
    {
      ModelName "HP Officejet 6100 Series"
      Attribute "NickName" "" "HP Officejet 6100 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet 6100 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet 6100 series;DES:officejet 6100 series;"
      PCFileName "hp-officejet_6100_series.ppd"
      Attribute "Product" "" "(HP Officejet 6105 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 6110xi All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 6110v All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 6110 All-in-one Printer)"
    }
    {
      ModelName "HP Officejet 6150 Series"
      Attribute "NickName" "" "HP Officejet 6150 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet 6150 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet 6150 series;DES:officejet 6150 series;"
      PCFileName "hp-officejet_6150_series.ppd"
      Attribute "Product" "" "(HP Officejet 6150 All-in-one Printer)"
    }
    {
      ModelName "HP Officejet 6200 Series"
      Attribute "NickName" "" "HP Officejet 6200 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet 6200 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet 6200 series;DES:officejet 6200 series;"
      PCFileName "hp-officejet_6200_series.ppd"
      Attribute "Product" "" "(HP Officejet 6200 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 6203 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 6205 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 6208 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 6210xi All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 6210v All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 6210 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 6213 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 6215 All-in-one Printer)"
    }
    {
      ModelName "HP Photosmart c6200 Series"
      Attribute "NickName" "" "HP Photosmart c6200 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart c6200 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart c6200 series;DES:photosmart c6200 series;"
      PCFileName "hp-photosmart_c6200_series.ppd"
      Attribute "Product" "" "(HP Photosmart c6240 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c6245 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c6250 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c6260 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c6263 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c6268 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c6270 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c6275 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c6280 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c6283 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c6285 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c6286 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c6288 All-in-one Printer)"
    }
    {
      ModelName "HP Officejet 6300 Series"
      Attribute "NickName" "" "HP Officejet 6300 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet 6300 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet 6300 series;DES:officejet 6300 series;"
      PCFileName "hp-officejet_6300_series.ppd"
      Attribute "Product" "" "(HP Officejet 6301 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 6304 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 6305 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 6307 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 6308 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 6310 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 6310xi All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 6310v All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 6313 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 6315 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 6318 All-in-one Printer)"
    }
    {
      ModelName "HP Officejet j6400 Series"
      Attribute "NickName" "" "HP Officejet j6400 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet j6400 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet j6400 series;DES:officejet j6400 series;"
      PCFileName "hp-officejet_j6400_series.ppd"
      Attribute "Product" "" "(HP Officejet j6405 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet j6410 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet j6413 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet j6415 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet j6424 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet j6450 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet j6480 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet j6488 All-in-one Printer)"
    }
    {
      ModelName "HP Deskjet 6500"
      Attribute "NickName" "" "HP Deskjet 6500, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 6500"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 6500;DES:deskjet 6500;"
      PCFileName "hp-deskjet_6500.ppd"
      Attribute "Product" "" "(HP Deskjet 6500 Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 6520 Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 6520xi Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 6540d Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 6540 Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 6540xi Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 6540dt Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 6543 Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 6543d Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 6548 Color Inkjet Printer)"
    }
    {
      ModelName "HP Deskjet 6600"
      Attribute "NickName" "" "HP Deskjet 6600, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 6600"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 6600;DES:deskjet 6600;"
      PCFileName "hp-deskjet_6600.ppd"
      Attribute "Product" "" "(HP Deskjet 6600 Series Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 6620 Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 6620xi Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 6623 Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 6628 Color Inkjet Printer)"
    }
    {
      ModelName "HP Deskjet 6800"
      Attribute "NickName" "" "HP Deskjet 6800, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 6800"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 6800;DES:deskjet 6800;"
      PCFileName "hp-deskjet_6800.ppd"
      Attribute "Product" "" "(HP Deskjet 6800 Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 6830v Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 6840xi Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 6840dt Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 6840 Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 6843 Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 6848 Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 6850 Color Inkjet Printer)"
    }
    {
      ModelName "HP Deskjet 6940 Series"
      Attribute "NickName" "" "HP Deskjet 6940 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 6940 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 6940 series;DES:deskjet 6940 series;"
      PCFileName "hp-deskjet_6940_series.ppd"
      Attribute "Product" "" "(HP Deskjet 6940 Printer)"
      Attribute "Product" "" "(HP Deskjet 6940dt Printer)"
      Attribute "Product" "" "(HP Deskjet 6943 Printer)"
    }
    {
      ModelName "HP Deskjet 6980 Series"
      Attribute "NickName" "" "HP Deskjet 6980 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 6980 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 6980 series;DES:deskjet 6980 series;"
      PCFileName "hp-deskjet_6980_series.ppd"
      Attribute "Product" "" "(HP Deskjet 6980xi Printer)"
      Attribute "Product" "" "(HP Deskjet 6980 Printer)"
      Attribute "Product" "" "(HP Deskjet 6980dt Printer)"
      Attribute "Product" "" "(HP Deskjet 6983 Printer)"
      Attribute "Product" "" "(HP Deskjet 6988dt Printer)"
      Attribute "Product" "" "(HP Deskjet 6988xi Printer)"
      Attribute "Product" "" "(HP Deskjet 6988 Printer)"
    }
    {
      ModelName "HP Photosmart c7100 Series"
      Attribute "NickName" "" "HP Photosmart c7100 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart c7100 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart c7100 series;DES:photosmart c7100 series;"
      PCFileName "hp-photosmart_c7100_series.ppd"
      Attribute "Product" "" "(HP Photosmart c7150 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c7154 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c7170 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c7180 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c7183 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c7185 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c7188 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c7190 All-in-one Printer)"
    }
    {
      ModelName "HP Photosmart d7100 Series"
      Attribute "NickName" "" "HP Photosmart d7100 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart d7100 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart d7100 series;DES:photosmart d7100 series;"
      PCFileName "hp-photosmart_d7100_series.ppd"
      Attribute "Product" "" "(HP Photosmart d7145 Printer)"
      Attribute "Product" "" "(HP Photosmart d7155 Printer)"
      Attribute "Product" "" "(HP Photosmart d7160 Printer)"
      Attribute "Product" "" "(HP Photosmart d7163 Printer)"
      Attribute "Product" "" "(HP Photosmart d7168 Printer)"
    }
    {
      ModelName "HP Photosmart d7200 Series"
      Attribute "NickName" "" "HP Photosmart d7200 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart d7200 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart d7200 series;DES:photosmart d7200 series;"
      PCFileName "hp-photosmart_d7200_series.ppd"
      Attribute "Product" "" "(HP Photosmart d7245 Printer)"
      Attribute "Product" "" "(HP Photosmart d7255 Printer)"
      Attribute "Product" "" "(HP Photosmart d7260 Printer)"
      Attribute "Product" "" "(HP Photosmart d7263 Printer)"
      Attribute "Product" "" "(HP Photosmart d7268 Printer)"
    }
    {
      ModelName "HP Photosmart 7200 Series"
      Attribute "NickName" "" "HP Photosmart 7200 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart 7200 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart 7200 series;DES:photosmart 7200 series;"
      PCFileName "hp-photosmart_7200_series.ppd"
      Attribute "Product" "" "(HP Photosmart 7260 Photo Printer)"
      Attribute "Product" "" "(HP Photosmart 7260v Photo Printer)"
      Attribute "Product" "" "(HP Photosmart 7260w Photo Printer)"
      Attribute "Product" "" "(HP Photosmart 7268 Photo Printer)"
    }
    {
      ModelName "HP Officejet 7200 Series"
      Attribute "NickName" "" "HP Officejet 7200 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet 7200 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet 7200 series;DES:officejet 7200 series;"
      PCFileName "hp-officejet_7200_series.ppd"
      Attribute "Product" "" "(HP Officejet 7205 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 7208 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 7210v All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 7210xi All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 7210 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 7213 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 7215 All-in-one Printer)"
    }
    {
      ModelName "HP Photosmart c7200 Series"
      Attribute "NickName" "" "HP Photosmart c7200 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart c7200 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart c7200 series;DES:photosmart c7200 series;"
      PCFileName "hp-photosmart_c7200_series.ppd"
      Attribute "Product" "" "(HP Photosmart c7250 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c7275 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c7280 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c7283 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c7288 All-in-one Printer)"
    }
    {
      ModelName "HP Deskjet d730"
      Attribute "NickName" "" "HP Deskjet d730, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet d730"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet d730;DES:deskjet d730;"
      PCFileName "hp-deskjet_d730.ppd"
      Attribute "Product" "" "(HP Deskjet d730 Printer)"
    }
    {
      ModelName "HP Officejet 7300 Series"
      Attribute "NickName" "" "HP Officejet 7300 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet 7300 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet 7300 series;DES:officejet 7300 series;"
      PCFileName "hp-officejet_7300_series.ppd"
      Attribute "Product" "" "(HP Officejet 7310 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 7310xi All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 7313 All-in-one Printer)"
    }
    {
      ModelName "HP Photosmart d7300 Series"
      Attribute "NickName" "" "HP Photosmart d7300 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart d7300 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart d7300 series;DES:photosmart d7300 series;"
      PCFileName "hp-photosmart_d7300_series.ppd"
      Attribute "Product" "" "(HP Photosmart d7345 Printer)"
      Attribute "Product" "" "(HP Photosmart d7355 Printer)"
      Attribute "Product" "" "(HP Photosmart d7360 Printer)"
      Attribute "Product" "" "(HP Photosmart d7363 Printer)"
      Attribute "Product" "" "(HP Photosmart d7368 Printer)"
    }
    {
      ModelName "HP Photosmart 7345"
      Attribute "NickName" "" "HP Photosmart 7345, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart 7345"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart 7345;DES:photosmart 7345;"
      PCFileName "hp-photosmart_7345.ppd"
      Attribute "Product" "" "(HP Photosmart 7345 Printer)"
    }
    {
      ModelName "HP Deskjet f735"
      Attribute "NickName" "" "HP Deskjet f735, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet f735"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet f735;DES:deskjet f735;"
      PCFileName "hp-deskjet_f735.ppd"
      Attribute "Product" "" "(HP Deskjet f735 All-in-one Printer)"
    }
    {
      ModelName "HP Officejet 7400 Series"
      Attribute "NickName" "" "HP Officejet 7400 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet 7400 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet 7400 series;DES:officejet 7400 series;"
      PCFileName "hp-officejet_7400_series.ppd"
      Attribute "Product" "" "(HP Officejet 7408 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 7410 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 7410xi All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 7413 All-in-one Printer)"
    }
    {
      ModelName "HP Photosmart 7400 Series"
      Attribute "NickName" "" "HP Photosmart 7400 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart 7400 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart 7400 series;DES:photosmart 7400 series;"
      PCFileName "hp-photosmart_7400_series.ppd"
      Attribute "Product" "" "(HP Photosmart 7450 Photo Printer)"
      Attribute "Product" "" "(HP Photosmart 7450v Photo Printer)"
      Attribute "Product" "" "(HP Photosmart 7450xi Photo Printer)"
      Attribute "Product" "" "(HP Photosmart 7458 Photo Printer)"
      Attribute "Product" "" "(HP Photosmart 7459 Photo Printer)"
    }
    {
      ModelName "HP Photosmart d7400 Series"
      Attribute "NickName" "" "HP Photosmart d7400 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart d7400 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart d7400 series;DES:photosmart d7400 series;"
      PCFileName "hp-photosmart_d7400_series.ppd"
      Attribute "Product" "" "(HP Photosmart d7460 Printer)"
      Attribute "Product" "" "(HP Photosmart d7463 Printer)"
      Attribute "Product" "" "(HP Photosmart d7468 Printer)"
    }
    {
      ModelName "HP Photosmart 7550"
      Attribute "NickName" "" "HP Photosmart 7550, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart 7550"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart 7550;DES:photosmart 7550;"
      PCFileName "hp-photosmart_7550.ppd"
      Attribute "Product" "" "(HP Photosmart 7550 Printer)"
      Attribute "Product" "" "(HP Photosmart 7550v Printer)"
      Attribute "Product" "" "(HP Photosmart 7550w Printer)"
    }
    {
      ModelName "HP Photosmart 7600 Series"
      Attribute "NickName" "" "HP Photosmart 7600 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart 7600 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart 7600 series;DES:photosmart 7600 series;"
      PCFileName "hp-photosmart_7600_series.ppd"
      Attribute "Product" "" "(HP Photosmart 7655 Photo Printer)"
      Attribute "Product" "" "(HP Photosmart 7660 Photo Printer)"
    }
    {
      ModelName "HP Photosmart 7700 Series"
      Attribute "NickName" "" "HP Photosmart 7700 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart 7700 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart 7700 series;DES:photosmart 7700 series;"
      PCFileName "hp-photosmart_7700_series.ppd"
      Attribute "Product" "" "(HP Photosmart 7755 Photo Printer)"
      Attribute "Product" "" "(HP Photosmart 7760od Photo Printer)"
      Attribute "Product" "" "(HP Photosmart 7760 Photo Printer)"
      Attribute "Product" "" "(HP Photosmart 7760v Photo Printer)"
      Attribute "Product" "" "(HP Photosmart 7760w Photo Printer)"
      Attribute "Product" "" "(HP Photosmart 7762w Photo Printer)"
      Attribute "Product" "" "(HP Photosmart 7762w Photo Printer)"
      Attribute "Product" "" "(HP Photosmart 7762 Photo Printer)"
    }
    {
      ModelName "HP Photosmart 7800 Series"
      Attribute "NickName" "" "HP Photosmart 7800 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart 7800 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart 7800 series;DES:photosmart 7800 series;"
      PCFileName "hp-photosmart_7800_series.ppd"
      Attribute "Product" "" "(HP Photosmart 7830 Printer)"
      Attribute "Product" "" "(HP Photosmart 7838 Printer)"
      Attribute "Product" "" "(HP Photosmart 7850 Printer)"
      Attribute "Product" "" "(HP Photosmart 7850v Printer)"
      Attribute "Product" "" "(HP Photosmart 7850vxi Printer)"
      Attribute "Product" "" "(HP Photosmart 7853 Printer)"
    }
    {
      ModelName "HP Photosmart 7900 Series"
      Attribute "NickName" "" "HP Photosmart 7900 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart 7900 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart 7900 series;DES:photosmart 7900 series;"
      PCFileName "hp-photosmart_7900_series.ppd"
      Attribute "Product" "" "(HP Photosmart 7960 Photo Printer)"
      Attribute "Product" "" "(HP Photosmart 7960v Photo Printer)"
      Attribute "Product" "" "(HP Photosmart 7960w Photo Printer)"
      Attribute "Product" "" "(HP Photosmart 7960gp Photo Printer)"
    }
    {
      ModelName "HP Photosmart 8000 Series"
      Attribute "NickName" "" "HP Photosmart 8000 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart 8000 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart 8000 series;DES:photosmart 8000 series;"
      PCFileName "hp-photosmart_8000_series.ppd"
      Attribute "Product" "" "(HP Photosmart 8030 Printer)"
      Attribute "Product" "" "(HP Photosmart 8038 Printer)"
      Attribute "Product" "" "(HP Photosmart 8049 Printer)"
      Attribute "Product" "" "(HP Photosmart 8050xi Printer)"
      Attribute "Product" "" "(HP Photosmart 8050 Printer)"
      Attribute "Product" "" "(HP Photosmart 8050v Printer)"
      Attribute "Product" "" "(HP Photosmart 8053 Printer)"
    }
    {
      ModelName "HP Photosmart 8100 Series"
      Attribute "NickName" "" "HP Photosmart 8100 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart 8100 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart 8100 series;DES:photosmart 8100 series;"
      PCFileName "hp-photosmart_8100_series.ppd"
      Attribute "Product" "" "(HP Photosmart 8150 Photo Printer)"
      Attribute "Product" "" "(HP Photosmart 8150v Photo Printer)"
      Attribute "Product" "" "(HP Photosmart 8150xi Photo Printer)"
      Attribute "Product" "" "(HP Photosmart 8153 Photo Printer)"
      Attribute "Product" "" "(HP Photosmart 8158 Photo Printer)"
    }
    {
      ModelName "HP Photosmart 8200 Series"
      Attribute "NickName" "" "HP Photosmart 8200 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart 8200 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart 8200 series;DES:photosmart 8200 series;"
      PCFileName "hp-photosmart_8200_series.ppd"
      Attribute "Product" "" "(HP Photosmart 8230 Printer)"
      Attribute "Product" "" "(HP Photosmart 8238 Printer)"
      Attribute "Product" "" "(HP Photosmart 8250 Printer)"
      Attribute "Product" "" "(HP Photosmart 8250xi Printer)"
      Attribute "Product" "" "(HP Photosmart 8250v Printer)"
      Attribute "Product" "" "(HP Photosmart 8253 Printer)"
    }
    {
      ModelName "HP Photosmart 8400 Series"
      Attribute "NickName" "" "HP Photosmart 8400 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart 8400 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart 8400 series;DES:photosmart 8400 series;"
      PCFileName "hp-photosmart_8400_series.ppd"
      Attribute "Product" "" "(HP Photosmart 8450gp Photo Printer)"
      Attribute "Product" "" "(HP Photosmart 8450v Photo Printer)"
      Attribute "Product" "" "(HP Photosmart 8450 Photo Printer)"
      Attribute "Product" "" "(HP Photosmart 8450xi Photo Printer)"
      Attribute "Product" "" "(HP Photosmart 8453 Photo Printer)"
      Attribute "Product" "" "(HP Photosmart 8458 Photo Printer)"
    }
  } // End Supported media sizes with full bleed.

  {
  // Large format
  UIConstraints "*PageSize A3 *Duplex"
  UIConstraints "*PageSize B4 *Duplex"
  UIConstraints "*PageSize Ledger *Duplex"
  UIConstraints "*PageSize SuperB *Duplex"
  UIConstraints "*PageSize 8k *Duplex"

// Large
  CustomMedia "SuperB/SuperB 13x19in" 936 1368 18 36 18 9 "<</cupsInteger0 16/PageSize[936 1368]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 16/PageSize[936 1368]/ImagingBBox null>>setpagedevice"
  CustomMedia "B4/B4 257x364mm" 729 1033 18 36 18 9 "<</cupsInteger0 46/PageSize[729 1033]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 46/PageSize[729 1033]/ImagingBBox null>>setpagedevice"
  CustomMedia "B4.Duplex/B4 AutoDuplex 257x364mm" 729 1024 18 27 18 36 "<</cupsInteger0 1/PageSize[729 1024]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[729 1024]/ImagingBBox null>>setpagedevice"
  CustomMedia "8k/8k 10.75x15.5in" 774 1116 18 36 18 9 "<</cupsInteger0 101/PageSize[774 1116]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[774 1116]/ImagingBBox null>>setpagedevice"          // custom
  CustomMedia "Ledger/Ledger 11x17in" 792 1224 18 36 18 9 "<</cupsInteger0 6/PageSize[792 1224]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 6/PageSize[792 1224]/ImagingBBox null>>setpagedevice"
  CustomMedia "A3/A3 297x420mm" 842 1190 18 36 18 9 "<</cupsInteger0 27/PageSize[842 1190]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 27/PageSize[842 1190]/ImagingBBox null>>setpagedevice"
  CustomMedia "A3.Duplex/A3 AutoDuplex 297x420mm" 842 1181 18 27 18 36 "<</cupsInteger0 1/PageSize[842 1181]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[842 1181]/ImagingBBox null>>setpagedevice"

    // Custom page sizes from 1x4in to SuperB
    HWMargins 18 36 18 36
    VariablePaperSize Yes
    MinSize 1in 4in
    MaxSize 936 1368

    // <%DJGenericVIP:LargeFormatSuperB%>
    {
      ModelName "HP Officejet k7100"
      Attribute "NickName" "" "HP Officejet k7100, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet k7100"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet k7100;DES:officejet k7100;"
      PCFileName "hp-officejet_k7100.ppd"
      Attribute "Product" "" "(HP Officejet k7100 Printer)"
      Attribute "Product" "" "(HP Officejet k7103 Printer)"
      Attribute "Product" "" "(HP Officejet k7108 Printer)"
    }
    {
      ModelName "HP Deskjet 9600"
      Attribute "NickName" "" "HP Deskjet 9600, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 9600"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 9600;DES:deskjet 9600;"
      PCFileName "hp-deskjet_9600.ppd"
      Attribute "Product" "" "(HP Deskjet 9650 Printer)"
      Attribute "Product" "" "(HP Deskjet 9670 Printer)"
      Attribute "Product" "" "(HP Deskjet 9680 Printer)"
      Attribute "Product" "" "(HP Deskjet 9680gp Printer)"
    }
    {
      ModelName "HP Deskjet 9800"
      Attribute "NickName" "" "HP Deskjet 9800, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 9800"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 9800;DES:deskjet 9800;"
      PCFileName "hp-deskjet_9800.ppd"
      Attribute "Product" "" "(HP Deskjet 9800 Printer)"
      Attribute "Product" "" "(HP Deskjet 9800d Printer)"
      Attribute "Product" "" "(HP Deskjet 9803 Printer)"
      Attribute "Product" "" "(HP Deskjet 9803d Printer)"
      Attribute "Product" "" "(HP Deskjet 9808 Printer)"
      Attribute "Product" "" "(HP Deskjet 9808d Printer)"
      Attribute "Product" "" "(HP Deskjet 9860 Printer)"
      Attribute "Product" "" "(HP Deskjet 9868 Printer)"
    }

  }  // End Large format media sizes with full bleed.

} // End DJGenericVIP

//////// DJGenericVIP with NoAutoTray
{
  Attribute "cupsEvenDuplex" "" "True"
  Attribute "cupsBackSide" "" "Rotated"
  Attribute "cupsFlipDuplex" "" "True"
  Attribute "hpPrinterLanguage" "" "pcl3gui2"
  Attribute "HPMechOffset" "" "70"

  Group "General/General"

  Option "Duplex/Double-Sided Printing" PickOne AnySetup 10.0
    Choice "DuplexNoTumble/Long Edge (Standard)" "<</Duplex true/Tumble false>>setpagedevice"
    Choice "DuplexTumble/Short Edge (Flip)" "<</Duplex true/Tumble true>>setpagedevice"
    *Choice "None/Off" "<</Duplex false/Tumble false>>setpagedevice"

  // MediaPosition values map to MediaSource enumeration in global_types.h
  Option "InputSlot/Media Source" PickOne AnySetup 10.0
    Choice "PhotoTray/Photo Tray" "<</MediaPosition 6>>setpagedevice"
    *Choice "Upper/Upper Tray" "<</MediaPosition 1>>setpagedevice"
    Choice "Lower/Lower Tray" "<</MediaPosition 4>>setpagedevice"
    Choice "Envelope/Envelope Feeder" "<</MediaPosition 3>>setpagedevice"
    Choice "LargeCapacity/Large Capacity Tray" "<</MediaPosition 5>>setpagedevice"
    Choice "Manual/Manual Feeder" "<</MediaPosition 2>>setpagedevice"
    Choice "MPTray/Multi Purpose Tray" "<</MediaPosition 1>>setpagedevice"
    Choice "CDDVDTray/CD or DVD Tray" "<</MediaPosition 14>>setpagedevice"

  Option "ColorModel/Output Mode" PickOne AnySetup 10.0
    Choice "CMYGray/High Quality Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 1>>setpagedevice"
    Choice "KGray/Black Only Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2>>setpagedevice"
    *Choice "RGB/Color" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 0>>setpagedevice"

  // cupsMediaType values map to MEDIATYPE from global_types.h
  Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0>>setpagedevice"
    Choice "Glossy/Photo Paper" "<</MediaType(Glossy)/cupsMediaType 3>>setpagedevice"
    Choice "TransparencyFilm/Transparency Film" "<</MediaType(TransparencyFilm)/cupsMediaType 4>>setpagedevice"
    Choice "CDDVDMedia/CD or DVD Media" "<</MediaType(CDDVDMedia)/cupsMediaType 7>>setpagedevice"

  // cupsCompression values map to QUALITY_MODE from global_types.h
  Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "Normal/Normal" "<</OutputType(0)/HWResolution[600 600]>>setpagedevice"
    Choice "Draft/Draft" "<</OutputType(-1)/HWResolution[300 300]>>setpagedevice"
    Choice "Best/Best" "<</OutputType(1)/HWResolution[600 600]>>setpagedevice"
    Choice "Photo/High-Resolution Photo" "<</OutputType(2)/HWResolution[1200 1200]>>setpagedevice"
    Choice "FastDraft/Fast Draft" "<</OutputType(-2)/HWResolution[300 300]>>setpagedevice"

  // Duplexer is optional...
  Installable "OptionDuplex/Duplexer Installed"

  // Constraints
  //UIConstraints "*Duplex *OptionDuplex False"
  UIConstraints "*ColorModel KGray *OutputMode Photo"
  UIConstraints "*ColorModel CMYGray *OutputMode Photo"
  UIConstraints "*MediaType Glossy *OutputMode FastDraft"
  UIConstraints "*MediaType Glossy *OutputMode Draft"
  UIConstraints "*MediaType TransparencyFilm *OutputMode FastDraft"
  UIConstraints "*MediaType Plain *OutputMode Photo"
  UIConstraints "*InputSlot CDDVDTray *MediaType Plain"
  UIConstraints "*InputSlot CDDVDTray *MediaType Glossy"
  UIConstraints "*InputSlot CDDVDTray *MediaType TransparencyFilm"
  UIConstraints "*PageSize Photo4x6 *Duplex"
  UIConstraints "*PageSize Photo5x7 *Duplex"
  UIConstraints "*PageSize A5 *Duplex"
  UIConstraints "*PageSize A6 *Duplex"
  UIConstraints "*PageSize B5 *Duplex"
  UIConstraints "*PageSize Oufuku *Duplex"
  UIConstraints "*PageSize Hagaki *Duplex"
  UIConstraints "*PageSize 16k *Duplex"
  UIConstraints "*PageSize Card3x5 *Duplex"
  UIConstraints "*PageSize Card5x8 *Duplex"
  UIConstraints "*PageSize Env10 *Duplex"
  UIConstraints "*PageSize EnvA2 *Duplex"
  UIConstraints "*PageSize EnvC6 *Duplex"
  UIConstraints "*PageSize EnvDL *Duplex"
  UIConstraints "*PageSize EnvC5 *Duplex"
  UIConstraints "*PageSize EnvB5 *Duplex"
  UIConstraints "*PageSize EnvChou3 *Duplex"
  UIConstraints "*PageSize EnvChou4 *Duplex"
  UIConstraints "*PageSize EnvMonarch *Duplex"

  Attribute "cupsModelName" "" "deskjet 5600"     // APDK device class

// 4x6 or smaller
  CustomMedia "Card3x5/Index Card 3x5in" 216 360 9 9 9 9 "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card3x5.FB/Index Card Borderless 3x5in" 226 370 0 0 0 0 "<</cupsInteger0 78/PageSize [226 370]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[226 370]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki/Hagaki 100x148mm" 284 420 9 9 9 9 "<</cupsInteger0 71/PageSize[284 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[284 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki.Duplex/Hagaki AutoDuplex 100x148mm" 284 411 9 27 9 36 "<</cupsInteger0 71/PageSize[284 411]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[284 411]/ImagingBBox null>>setpagedevice"
  CustomMedia "HagakiFB/Hagaki Borderless 100x148mm" 294 430 0 0 0 0 "<</cupsInteger0 71/PageSize[294 430]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[294 430]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6/Photo 4x6in" 288 432 9 9 9 9 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6.FB/Photo Borderless 4x6 in" 298 442 0 0 0 0 "<</cupsInteger0 74/PageSize[298 442]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[298 442]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6/A6 105x148mm" 297.36 419.76 9 9 9 9 "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6.Duplex/A6 AutoDuplex 105x148mm)" 297 411 9 27 9 36 "<</cupsInteger0 73/PageSize[297 411]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[297 411]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6.FB/A6 Borderless 105x148mm" 307 430 0 0 0 0 "<</cupsInteger0 73/PageSize[307 430]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[307 430]/ImagingBBox null>>setpagedevice"

// 5x7
  CustomMedia "Photo5x7/Photo 5x7in" 360 504 9 9 9 9 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo5x7.FB/Photo Borderless 5x7in" 370 514 0 0 0 0 "<</cupsInteger0 122/PageSize[370 514]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[370 514]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card5x8/Index Card 5x8in" 360 576 9 9 9 9 "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card5x8.Duplex/Index Card AutoDuplex 5x8in" 360 567 9 27 9 36 "<</cupsInteger0 75/PageSize[360 567]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 567]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku/Oufuku-Hagaki 148x200mm" 567 420 9 9 9 9 "<</cupsInteger0 72/PageSize[567 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[567 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku.Duplex/Oufuku-Hagaki AutoDuplex 148x200mm" 567 411 9 27 9 36 "<</cupsInteger0 72/PageSize[567 411]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[567 411]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku.FB/Oufuku-Hagaki Borderless 148x200mm" 577 430 0 0 0 0 "<</cupsInteger0 72/PageSize[577 430]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[577 430]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5/A5 148x210mm" 419.76 595.44 9 9 9 9 "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5.Duplex/A5 AutoDuplex 148x210mm" 420 586 9 27 9 36 "<</cupsInteger0 25/PageSize[420 586]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[420 586]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5.FB/A5 Borderless 148x210mm" 430 605 0 0 0 0 "<</cupsInteger0 25/PageSize[430 605]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[430 605]/ImagingBBox null>>setpagedevice"

// Standard
  CustomMedia "B5/B5 176x250mm" 498.96 708.48 9 9 9 9 "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "B5.Duplex/B5 AutoDuplex 176x250mm" 499 699 9 27 9 36 "<</cupsInteger0 65/PageSize[499 699]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[499 699]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5/JB5 182x257mm" 516.24 728.64 9 9 9 9 "<</cupsInteger0 45/PageSize[516.24 728.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5.Duplex/JB5 AutoDuplex 182x257mm" 516 720 9 27 9 36 "<</cupsInteger0 45/PageSize[516 720]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [516 720]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5.FB/JB5 Borderless 182x257mm" 526 739 0 0 0 0 "<</cupsInteger0 45/PageSize[526 739]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [526 739]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive/Executive 7.25x10.5in" 522 756 9 9 9 9 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive.Duplex/Executive AutoDuplex 7.25x10.5in" 522 747 9 27 9 36 "<</cupsInteger0 1/PageSize[522 747]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 747]/ImagingBBox null>>setpagedevice"
  CustomMedia "16k/16k 7.75x10.75in" 558 774 9 9 9 9 "<</cupsInteger0 101/PageSize[558 774]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[558 774]/ImagingBBox null>>setpagedevice"   // custom
  CustomMedia "8x10/8x10in" 576 720 9 36 9 9 "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
  *CustomMedia "Letter/Letter 8.5x11in" 612 792 9 9 9 9 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
  CustomMedia "Letter.Duplex/Letter AutoDuplex 8.5x11in" 612 783 9 27 9 36 "<</cupsInteger0 2/PageSize[612 783]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 783]/ImagingBBox null>>setpagedevice"
  CustomMedia "Letter.FB/Letter Borderless 8.5x11in" 622 802 0 0 0 0 "<</cupsInteger0 2/PageSize[622 802]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[622 802]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4/A4 210x297mm" 595.44 841.68 9 9 9 9 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4.Duplex/A4 AutoDuplex 210x297mm" 595 833 9 27 9 36 "<</cupsInteger0 26/PageSize[595 833]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595 833]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4.FB/A4 Borderless 210x297mm" 605 852 0 0 0 0 "<</cupsInteger0 26/PageSize[605 852]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[605 852]/ImagingBBox null>>setpagedevice"
  CustomMedia "ExecutiveJIS/Executive (JIS) 8.5x12.986in" 612 936 9 9 9 9 "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "FLSA/American Foolscap 8.5x13in" 612 936 9 9 9 9 "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal/Legal 8.5x14in" 612 1008 9 9 9 9 "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal.Duplex/Legal AutoDuplex 8.5x14in" 612 999 9 27 9 36 "<</cupsInteger0 3/PageSize[612 999]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 999]/ImagingBBox null>>setpagedevice"

// CDDVD
  CustomMedia "CDDVD80/CD DVD 80mm" 238 238 4 4 4 4 "<</cupsInteger0 98/PageSize[238 238]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 98/PageSize[238 238]/ImagingBBox null>>setpagedevice"
  CustomMedia "CDDVD120/CD DVD 120mm" 360 360 4 4 4 4 "<</cupsInteger0 99/PageSize[360 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 99/PageSize[360 360]/ImagingBBox null>>setpagedevice"

// Envelope
  CustomMedia "EnvA2/A2 Envelope 4.37x5.75in" 314.64 414 9 42 9 9 "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.28 459.36 9 39 9 9 "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou4/#4 Japanese Envelope 90x205mm" 254.88 581.04 9 41 9 9 "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279 540 9 41 9 9 "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvDL/DL Envelope 110x220mm" 311.76 623.52 9 41 9 9 "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env10/#10 Envelope 4.12x9.5in" 297 684 9 41 9 9 "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 339.84 666  9 41 9 9 "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC5/C5 Envelope 162x229mm" 459 649 9 41 9 9 "<</cupsInteger0 91/PageSize[459 649]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 91/PageSize[459 649]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvB5/B5 Envelope 176x250mm" 499 709 9 41 9 9 "<</cupsInteger0 100/PageSize[499 709]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 100/PageSize[499 709]/ImagingBBox null>>setpagedevice"

  {
    // Custom page sizes from 1x4in to Legal
    HWMargins 18 36 18 36
    VariablePaperSize Yes
    MinSize 1in 4in
    MaxSize 8.5in 14in

  } // End Supported media sizes with full bleed.

  {
  // Large format
  UIConstraints "*PageSize A3 *Duplex"
  UIConstraints "*PageSize B4 *Duplex"
  UIConstraints "*PageSize Ledger *Duplex"
  UIConstraints "*PageSize SuperB *Duplex"
  UIConstraints "*PageSize 8k *Duplex"

// Large
  CustomMedia "SuperB/SuperB 13x19in" 936 1368 18 36 18 9 "<</cupsInteger0 16/PageSize[936 1368]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 16/PageSize[936 1368]/ImagingBBox null>>setpagedevice"
  CustomMedia "B4/B4 257x364mm" 729 1033 18 36 18 9 "<</cupsInteger0 46/PageSize[729 1033]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 46/PageSize[729 1033]/ImagingBBox null>>setpagedevice"
  CustomMedia "B4.Duplex/B4 AutoDuplex 257x364mm" 729 1024 18 27 18 9 "<</cupsInteger0 1/PageSize[729 1024]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[729 1024]/ImagingBBox null>>setpagedevice"
  CustomMedia "8k/8k 10.75x15.5in" 774 1116 18 36 18 9 "<</cupsInteger0 101/PageSize[774 1116]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[774 1116]/ImagingBBox null>>setpagedevice"          // custom
  CustomMedia "Ledger/Ledger 11x17in" 792 1224 18 36 18 9 "<</cupsInteger0 6/PageSize[792 1224]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 6/PageSize[792 1224]/ImagingBBox null>>setpagedevice"
  CustomMedia "A3/A3 297x420mm" 842 1190 18 36 18 9 "<</cupsInteger0 27/PageSize[842 1190]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 27/PageSize[842 1190]/ImagingBBox null>>setpagedevice"
  CustomMedia "A3.Duplex/A3 AutoDuplex 297x420mm" 842 1181 18 27 18 36 "<</cupsInteger0 1/PageSize[842 1181]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[842 1181]/ImagingBBox null>>setpagedevice"

    // Custom page sizes from 1x4in to SuperB
    HWMargins 18 36 18 36
    VariablePaperSize Yes
    MinSize 1in 4in
    MaxSize 936 1368

    // <%DJGenericVIP:LargeFormatSuperB:NoAutoTray%>
    {
      ModelName "HP Photosmart 8700 Series"
      Attribute "NickName" "" "HP Photosmart 8700 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart 8700 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart 8700 series;DES:photosmart 8700 series;"
      PCFileName "hp-photosmart_8700_series.ppd"
      Attribute "Product" "" "(HP Photosmart 8750 Professional Photo Printer)"
      Attribute "Product" "" "(HP Photosmart 8750xi Professional Photo Printer)"
      Attribute "Product" "" "(HP Photosmart 8750gp Professional Photo Printer)"
      Attribute "Product" "" "(HP Photosmart 8753 Professional Photo Printer)"
      Attribute "Product" "" "(HP Photosmart 8758 Professional Photo Printer)"
    }

  }  // End Large format media sizes with full bleed.

} // End DJGenericVIP with NoAutoTray

//////// DJGenericVIP with NoEvenDuplex (ie: cupsEvenDuplex = False)
{
  Attribute "cupsBackSide" "" "Rotated"
  Attribute "cupsFlipDuplex" "" "True"
  Attribute "hpPrinterLanguage" "" "pcl3gui2"
  Attribute "HPMechOffset" "" "70"

  Group "General/General"

  Option "Duplex/Double-Sided Printing" PickOne AnySetup 10.0
    Choice "DuplexNoTumble/Long Edge (Standard)" "<</Duplex true/Tumble false>>setpagedevice"
    Choice "DuplexTumble/Short Edge (Flip)" "<</Duplex true/Tumble true>>setpagedevice"
    *Choice "None/Off" "<</Duplex false/Tumble false>>setpagedevice"

  // MediaPosition values map to MediaSource enumeration in global_types.h
  Option "InputSlot/Media Source" PickOne AnySetup 10.0
    *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"
    Choice "PhotoTray/Photo Tray" "<</MediaPosition 6>>setpagedevice"
    Choice "Upper/Upper Tray" "<</MediaPosition 1>>setpagedevice"
    Choice "Lower/Lower Tray" "<</MediaPosition 4>>setpagedevice"
    Choice "Envelope/Envelope Feeder" "<</MediaPosition 3>>setpagedevice"
    Choice "LargeCapacity/Large Capacity Tray" "<</MediaPosition 5>>setpagedevice"
    Choice "Manual/Manual Feeder" "<</MediaPosition 2>>setpagedevice"
    Choice "MPTray/Multi Purpose Tray" "<</MediaPosition 1>>setpagedevice"
    Choice "CDDVDTray/CD or DVD Tray" "<</MediaPosition 14>>setpagedevice"

  Option "ColorModel/Output Mode" PickOne AnySetup 10.0
    Choice "CMYGray/High Quality Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 1>>setpagedevice"
    Choice "KGray/Black Only Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2>>setpagedevice"
    *Choice "RGB/Color" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 0>>setpagedevice"

  // cupsMediaType values map to MEDIATYPE from global_types.h
  Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Automatic/Automatic" "<</MediaType(Automatic)/cupsMediaType -1>>setpagedevice"
    Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0>>setpagedevice"
    Choice "Glossy/Photo Paper" "<</MediaType(Glossy)/cupsMediaType 3>>setpagedevice"
    Choice "TransparencyFilm/Transparency Film" "<</MediaType(TransparencyFilm)/cupsMediaType 4>>setpagedevice"
    Choice "CDDVDMedia/CD or DVD Media" "<</MediaType(CDDVDMedia)/cupsMediaType 7>>setpagedevice"

  // cupsCompression values map to QUALITY_MODE from global_types.h
  Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "Normal/Normal" "<</OutputType(0)/HWResolution[600 600]>>setpagedevice"
    Choice "Draft/Draft" "<</OutputType(-1)/HWResolution[300 300]>>setpagedevice"
    Choice "Best/Best" "<</OutputType(1)/HWResolution[600 600]>>setpagedevice"
    Choice "Photo/High-Resolution Photo" "<</OutputType(2)/HWResolution[1200 1200]>>setpagedevice"
    Choice "FastDraft/Fast Draft" "<</OutputType(-2)/HWResolution[300 300]>>setpagedevice"

  // Duplexer is optional...
  Installable "OptionDuplex/Duplexer Installed"

  // Constraints
  //UIConstraints "*Duplex *OptionDuplex False"
  UIConstraints "*ColorModel KGray *OutputMode Photo"
  UIConstraints "*ColorModel CMYGray *OutputMode Photo"
  UIConstraints "*MediaType Automatic *OutputMode FastDraft"
  UIConstraints "*MediaType Automatic *PageSize EnvMonarch"
  UIConstraints "*MediaType Glossy *OutputMode FastDraft"
  UIConstraints "*MediaType Glossy *OutputMode Draft"
  UIConstraints "*MediaType TransparencyFilm *OutputMode FastDraft"
  UIConstraints "*MediaType Plain *OutputMode Photo"
  UIConstraints "*InputSlot CDDVDTray *MediaType Automatic"
  UIConstraints "*InputSlot CDDVDTray *MediaType Plain"
  UIConstraints "*InputSlot CDDVDTray *MediaType Glossy"
  UIConstraints "*InputSlot CDDVDTray *MediaType TransparencyFilm"
  UIConstraints "*PageSize Photo4x6 *Duplex"
  UIConstraints "*PageSize Photo5x7 *Duplex"
  UIConstraints "*PageSize A5 *Duplex"
  UIConstraints "*PageSize A6 *Duplex"
  UIConstraints "*PageSize B5 *Duplex"
  UIConstraints "*PageSize Oufuku *Duplex"
  UIConstraints "*PageSize Hagaki *Duplex"
  UIConstraints "*PageSize 16k *Duplex"
  UIConstraints "*PageSize Card3x5 *Duplex"
  UIConstraints "*PageSize Card5x8 *Duplex"
  UIConstraints "*PageSize Env10 *Duplex"
  UIConstraints "*PageSize EnvA2 *Duplex"
  UIConstraints "*PageSize EnvC6 *Duplex"
  UIConstraints "*PageSize EnvDL *Duplex"
  UIConstraints "*PageSize EnvC5 *Duplex"
  UIConstraints "*PageSize EnvB5 *Duplex"
  UIConstraints "*PageSize EnvChou3 *Duplex"
  UIConstraints "*PageSize EnvChou4 *Duplex"
  UIConstraints "*PageSize EnvMonarch *Duplex"

  Attribute "cupsModelName" "" "deskjet 5600"     // APDK device class

// 4x6 or smaller
  CustomMedia "Card3x5/Index Card 3x5in" 216 360 9 9 9 9 "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card3x5.FB/Index Card Borderless 3x5in" 226 370 0 0 0 0 "<</cupsInteger0 78/PageSize [226 370]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[226 370]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki/Hagaki 100x148mm" 284 420 9 9 9 9 "<</cupsInteger0 71/PageSize[284 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[284 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki.Duplex/Hagaki AutoDuplex 100x148mm" 284 411 9 27 9 36 "<</cupsInteger0 71/PageSize[284 411]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[284 411]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki.FB/Hagaki Borderless 100x148mm" 294 430 0 0 0 0 "<</cupsInteger0 71/PageSize[294 430]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[294 430]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6/Photo 4x6in" 288 432 9 9 9 9 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6.FB/Photo Borderless 4x6 in" 298 442 0 0 0 0 "<</cupsInteger0 74/PageSize[298 442]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[298 442]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6/A6 105x148mm" 297.36 419.76 9 9 9 9 "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6.Duplex/A6 AutoDuplex 105x148mm)" 297 411 9 27 9 36 "<</cupsInteger0 73/PageSize[297 411]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[297 411]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6.FB/A6 Borderless 105x148mm" 307 430 0 0 0 0 "<</cupsInteger0 73/PageSize[307 430]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[307 430]/ImagingBBox null>>setpagedevice"

// 5x7
  CustomMedia "Photo5x7/Photo 5x7in" 360 504 9 9 9 9 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo5x7.FB/Photo Borderless 5x7in" 370 514 0 0 0 0 "<</cupsInteger0 122/PageSize[370 514]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[370 514]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card5x8/Index Card 5x8in" 360 576 9 9 9 9 "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card5x8.Duplex/Index Card AutoDuplex 5x8in" 360 567 9 27 9 36 "<</cupsInteger0 75/PageSize[360 567]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 567]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku/Oufuku-Hagaki 148x200mm" 567 420 9 9 9 9 "<</cupsInteger0 72/PageSize[567 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[567 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku.Duplex/Oufuku-Hagaki AutoDuplex 148x200mm" 567 411 9 27 9 36 "<</cupsInteger0 72/PageSize[567 411]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[567 411]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku.FB/Oufuku-Hagaki Borderless 148x200mm" 577 430 0 0 0 0 "<</cupsInteger0 72/PageSize[577 430]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[577 430]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5/A5 148x210mm" 419.76 595.44 9 9 9 9 "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5.Duplex/A5 AutoDuplex 148x210mm" 420 586 9 27 9 36 "<</cupsInteger0 25/PageSize[420 586]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[420 586]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5.FB/A5 Borderless 148x210mm" 430 605 0 0 0 0 "<</cupsInteger0 25/PageSize[430 605]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[430 605]/ImagingBBox null>>setpagedevice"

// Standard
  CustomMedia "B5/B5 176x250mm" 498.96 708.48 9 9 9 9 "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "B5.Duplex/B5 AutoDuplex 176x250mm" 499 699 9 27 9 36 "<</cupsInteger0 65/PageSize[499 699]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[499 699]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5/JB5 182x257mm" 516.24 728.64 9 9 9 9 "<</cupsInteger0 45/PageSize[516.24 728.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5.Duplex/JB5 AutoDuplex 182x257mm" 516 720 9 27 9 36 "<</cupsInteger0 45/PageSize[516 720]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [516 720]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5.FB/JB5 Borderless 182x257mm" 526 739 0 0 0 0 "<</cupsInteger0 45/PageSize[526 739]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [526 739]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive/Executive 7.25x10.5in" 522 756 9 9 9 9 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive.Duplex/Executive AutoDuplex 7.25x10.5in" 522 747 9 27 9 36 "<</cupsInteger0 1/PageSize[522 747]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 747]/ImagingBBox null>>setpagedevice"
  CustomMedia "16k/16k 7.75x10.75in" 558 774 9 9 9 9 "<</cupsInteger0 101/PageSize[558 774]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[558 774]/ImagingBBox null>>setpagedevice"   // custom
  CustomMedia "8x10/8x10in" 576 720 9 36 9 9 "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
  *CustomMedia "Letter/Letter 8.5x11in" 612 792 9 9 9 9 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
  CustomMedia "Letter.Duplex/Letter AutoDuplex 8.5x11in" 612 783 9 27 9 36 "<</cupsInteger0 2/PageSize[612 783]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 783]/ImagingBBox null>>setpagedevice"
  CustomMedia "Letter.FB/Letter Borderless 8.5x11in" 622 802 0 0 0 0 "<</cupsInteger0 2/PageSize[622 802]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[622 802]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4/A4 210x297mm" 595.44 841.68 9 9 9 9 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4.Duplex/A4 AutoDuplex 210x297mm" 595 833 9 27 9 36 "<</cupsInteger0 26/PageSize[595 833]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595 833]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4.FB/A4 Borderless 210x297mm" 605 852 0 0 0 0 "<</cupsInteger0 26/PageSize[605 852]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[605 852]/ImagingBBox null>>setpagedevice"
  CustomMedia "ExecutiveJIS/Executive (JIS) 8.5x12.986in" 612 936 9 9 9 9 "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "FLSA/American Foolscap 8.5x13in" 612 936 9 9 9 9 "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal/Legal 8.5x14in" 612 1008 9 9 9 9 "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal.Duplex/Legal AutoDuplex 8.5x14in" 612 999 9 27 9 36 "<</cupsInteger0 3/PageSize[612 999]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 999]/ImagingBBox null>>setpagedevice"

// CDDVD
  CustomMedia "CDDVD80/CD DVD 80mm" 238 238 4 4 4 4 "<</cupsInteger0 98/PageSize[238 238]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 98/PageSize[238 238]/ImagingBBox null>>setpagedevice"
  CustomMedia "CDDVD120/CD DVD 120mm" 360 360 4 4 4 4 "<</cupsInteger0 99/PageSize[360 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 99/PageSize[360 360]/ImagingBBox null>>setpagedevice"

// Envelope
  CustomMedia "EnvA2/A2 Envelope 4.37x5.75in" 314.64 414 9 42 9 9 "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.28 459.36 9 39 9 9 "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou4/#4 Japanese Envelope 90x205mm" 254.88 581.04 9 41 9 9 "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279 540 9 41 9 9 "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvDL/DL Envelope 110x220mm" 311.76 623.52 9 41 9 9 "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env10/#10 Envelope 4.12x9.5in" 297 684 9 41 9 9 "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 339.84 666  9 41 9 9 "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC5/C5 Envelope 162x229mm" 459 649 9 41 9 9 "<</cupsInteger0 91/PageSize[459 649]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 91/PageSize[459 649]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvB5/B5 Envelope 176x250mm" 499 709 9 41 9 9 "<</cupsInteger0 100/PageSize[499 709]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 100/PageSize[499 709]/ImagingBBox null>>setpagedevice"

  {
    // Custom page sizes from 1x4in to Legal
    HWMargins 18 36 18 36
    VariablePaperSize Yes
    MinSize 1in 4in
    MaxSize 8.5in 14in

    // <%DJGenericVIP:NoEvenDuplex%>
    {
      ModelName "HP Photosmart c8100 Series"
      Attribute "NickName" "" "HP Photosmart c8100 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart c8100 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart c8100 series;DES:photosmart c8100 series;"
      PCFileName "hp-photosmart_c8100_series.ppd"
      Attribute "Product" "" "(HP Photosmart c8150 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c8180 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c8183 All-in-one Printer)"
      Attribute "Product" "" "(HP Photosmart c8188 All-in-one Printer)"
    }
  } // End Supported media sizes with full bleed.
} // End DJGenericVIP with NoEvenDuplex



//////// Stabler
{
  Attribute "hpPrinterLanguage" "" "pcl3gui2"
  Attribute "HPMechOffset" "" "70"

  Group "General/General"

  // MediaPosition values map to MediaSource enumeration in global_types.h
  Option "InputSlot/Media Source" PickOne AnySetup 10.0
    *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"
    Choice "Main/Main Tray" "<</MediaPosition 1>>setpagedevice"
    Choice "PhotoTray/Photo Tray" "<</MediaPosition 6>>setpagedevice"

  Option "ColorModel/Output Mode" PickOne AnySetup 10.0
    *Choice "RGB/Color" "<</cupsColorSpace 17/cupsBitsPerColor 8/cupsRowStep 0>>setpagedevice"
    Choice "CMYGray/High Quality Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 1>>setpagedevice"
    Choice "KGray/Black Only Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2>>setpagedevice"

  // cupsMediaType values map to MEDIATYPE from global_types.h
  Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0>>setpagedevice"
    Choice "Glossy/Photo Paper" "<</MediaType(Glossy)/cupsMediaType 3>>setpagedevice"
    Choice "TransparencyFilm/Transparency Film" "<</MediaType(TransparencyFilm)/cupsMediaType 4>>setpagedevice"

  // cupsCompression values map to QUALITY_MODE from global_types.h
  Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "Normal/Normal" "<</OutputType(0)/HWResolution[600 600]>>setpagedevice"
    Choice "Best/Best" "<</OutputType(1)/HWResolution[600 600]>>setpagedevice"
    Choice "Photo/High-Resolution Photo" "<</OutputType(2)/HWResolution[1200 1200]>>setpagedevice"
    Choice "FastDraft/Fast Draft" "<</OutputType(-2)/HWResolution[300 300]>>setpagedevice"

  // Constraints
  UIConstraints "*ColorModel KGray *OutputMode Photo"
  UIConstraints "*ColorModel CMYGray *OutputMode Photo"
  UIConstraints "*MediaType Glossy *OutputMode FastDraft"
  UIConstraints "*MediaType TransparencyFilm *OutputMode FastDraft"
  UIConstraints "*MediaType Plain *OutputMode Photo"
  UIConstraints "*MediaType TransparencyFilm *OutputMode Best"
  UIConstraints "*MediaType TransparencyFilm *OutputMode Photo"

  UIConstraints "*PageSize L.FB *OutputMode FastDraft"
  UIConstraints "*PageSize Hagaki.FB *OutputMode FastDraft"
  UIConstraints "*PageSize Photo4x6.FB *OutputMode FastDraft"
  UIConstraints "*PageSize A6.FB *OutputMode FastDraft"
  UIConstraints "*PageSize Cabinet.FB *OutputMode FastDraft"
  UIConstraints "*PageSize Photo5x7.FB *OutputMode FastDraft"
  UIConstraints "*PageSize A5.FB *OutputMode FastDraft"
  UIConstraints "*PageSize 8x10.FB *OutputMode FastDraft"
  UIConstraints "*PageSize Letter.FB *OutputMode FastDraft"
  UIConstraints "*PageSize A4.FB *OutputMode FastDraft"

// 4x6 or smaller
  CustomMedia "Card3x5/Index Card 3x5in" 216 360 9 9 9 9 "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "L/L 89x127mm" 252 360 9 9 9 9 "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "L.FB/L Borderless 89x127mm" 264.744 374.112 0 0 0 0 "<</cupsInteger0 121/PageSize[264.744 374.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/cupsReal0 .079/cupsReal1 .098/PageSize[264.744 374.112]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki/Hagaki 100x148mm" 283.68 419.76 9 9 9 9 "<</cupsInteger0 71/PageSize[283.68 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[283.68 419.76]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki.FB/Hagaki Borderless 100x148mm" 296.424 433.872 0 0 0 0 "<</cupsInteger0 71/PageSize[296.424 433.872]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/cupsReal0 .079/cupsReal1 .098/PageSize[296.424 433.872]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6/Photo 4x6in" 288 432 9 9 9 9 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6.FB/Photo Borderless 4x6in" 303.552 446.112 0 0 0 0 "<</cupsInteger0 74/PageSize[303.552 446.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/cupsReal0 .098/cupsReal1 .098/PageSize[303.552 446.112]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6/A6 105x148mm" 297.36 419.76 9 9 9 9 "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6.FB/A6 Borderless 105x148mm" 310.104 433.872 0 0 0 0 "<</cupsInteger0 73/PageSize[310.104 433.872]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/cupsReal0 .079/cupsReal1 .098/PageSize[310.104 433.872]/ImagingBBox null>>setpagedevice"

// 5x7
  CustomMedia "Cabinet/Cabinet Size 120x165mm" 339.84 468 9 9 9 9 "<</cupsInteger0 119/PageSize[339.84 468]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 119/PageSize[339.84 468]/ImagingBBox null>>setpagedevice"
  CustomMedia "Cabinet.FB/Cabinet Size Borderless 120x165mm" 352.584 482.112 0 0 0 0 "<</cupsInteger0 119/PageSize[352.584 482.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 119/cupsReal0 .079/cupsReal1 .098/PageSize[352.584 482.112]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo5x7/Photo 5x7in" 360 504 9 9 9 9 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo5x7.FB/Photo Borderless 5x7in" 372.816 518.112 0 0 0 0 "<</cupsInteger0 122/PageSize[372.816 518.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/cupsReal0 .089/cupsReal1 .098/PageSize[372.816 518.112]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card5x8/Index Card 5x8in" 360 576 9 9 9 9 "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku/Oufuku-Hagaki 200x148mm" 566.64 419.76 9 9 9 9 "<</cupsInteger0 72/PageSize[566.64 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[566.64 419.76]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5/A5 148x210mm" 419.76 595.44 9 9 9 9 "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5.FB/A5 Borderless 148x210mm" 435.312 609.552 0 0 0 0 "<</cupsInteger0 25/PageSize[435.312 609.552]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/cupsReal0 .098/cupsReal1 .098/PageSize[435.312 609.552]/ImagingBBox null>>setpagedevice"

// Standard
  CustomMedia "B5/B5 176x250mm" 498.96 708.48 9 9 9 9 "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5/JB5 182x257mm" 516.24 728.64 9 9 9 9 "<</cupsInteger0 45/PageSize[516.24 728.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive/Executive 7.25x10.5in" 522 756 9 9 9 9 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
  CustomMedia "8x10/8x10in" 576 720 9 9 9 9 "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
  CustomMedia "8x10.FB/Borderless 8x10in" 591.552 734.112 0 0 0 0 "<</cupsInteger0 7/PageSize[591.552 734.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/cupsReal0 .098/cupsReal1 .098/PageSize[591.552 734.112]/ImagingBBox null>>setpagedevice"
  *CustomMedia "Letter/Letter 8.5x11in" 612 792 9 9 9 9 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
  CustomMedia "Letter.FB/Letter Borderless 8.5x11in" 627.552 806.112 0 0 0 0 "<</cupsInteger0 2/PageSize[627.552 806.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/cupsReal0 .098/cupsReal1 .098/PageSize[627.552 806.112]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4/A4 210x297mm" 595.44 841.68 9 9 9 9 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4.FB/A4 Borderless 210x297mm" 610.992 855.792 0 0 0 0 "<</cupsInteger0 26/PageSize[610.992 855.792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/cupsReal0 .098/cupsReal1 .098/PageSize[610.992 855.792]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal/Legal 8.5x14in" 612 1008 9 9 9 9 "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"

// Envelope
  CustomMedia "EnvA2/A2 Envelope 4.37x5.75in" 314.64 414 9 42.192 9 9 "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvCard/Card Envelope 4.4x6in" 315 432 9 42.192 9 9 "<</cupsInteger0 114/PageSize[315 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 114/PageSize[315 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env6/#6 Envelope 3.63x6.5in" 261.36 468 9 42.192 9 9 "<</cupsInteger0 83/PageSize[261.36 468]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 83/PageSize[261.36 468]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.28 459.36 9 42.192 9 9 "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou4/#4 Japanese Envelope 90x205mm" 254.88 581.04 9 42.192 9 9 "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279 540 9 42.192 9 9 "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvDL/DL Envelope 110x220mm" 311.76 623.52 9 42.192 9 9 "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env10/#10 Envelope 4.125x9.5in" 297 684 9 42.192 9 9 "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 339.84 666 9 42.192 9 9 "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC5/C5 Envelope 162x229mm" 459.36 649.44 9 42.192 9 9 "<</cupsInteger0 91/PageSize[459.36 649.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 91/PageSize[459.36 649.44]/ImagingBBox null>>setpagedevice"

  {
    // Custom page sizes from 3x4in to Legal
    HWMargins 9 9 9 9
    VariablePaperSize Yes
    MinSize 3in 4in
    MaxSize 8.5in 30in

    // <%Stabler:Normal%>
    {
      ModelName "HP Photosmart b010 Series"
      Attribute "NickName" "" "HP Photosmart b010 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart b010 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart b010 series;DES:photosmart b010 series;"
      PCFileName "hp-photosmart_b010_series.ppd"
      Attribute "Product" "" "(HP Photosmart All-in-one Printer - b010)"
    }
    {
      ModelName "HP Photosmart b109a Series"
      Attribute "NickName" "" "HP Photosmart b109a Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart b109a Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart b109a series;DES:photosmart b109a series;"
      PCFileName "hp-photosmart_b109a_series.ppd"
      Attribute "Product" "" "(HP Photosmart b109a Series)"
    }
    {
      ModelName "HP Photosmart Wireless b109n-z"
      Attribute "NickName" "" "HP Photosmart Wireless b109n-z, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart Wireless b109n-z"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart wireless b109n-z;DES:photosmart wireless b109n-z;"
      PCFileName "hp-photosmart_wireless_b109n-z.ppd"
      Attribute "Product" "" "(HP Photosmart Wireless All-in-one Printer - b109n)"
      Attribute "Product" "" "(HP Photosmart Wireless All-in-one Printer - b109q)"
      Attribute "Product" "" "(HP Photosmart Wireless All-in-one Printer - b109qr)"
    }
    {
      ModelName "HP Photosmart b110 Series"
      Attribute "NickName" "" "HP Photosmart b110 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart b110 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart b110 series;DES:photosmart b110 series;"
      PCFileName "hp-photosmart_b110_series.ppd"
      Attribute "Product" "" "(HP Photosmart Wireless All-in-one Printer - b110)"
    }
    {
      ModelName "HP Photosmart Plus b209a-m"
      Attribute "NickName" "" "HP Photosmart Plus b209a-m, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart Plus b209a-m"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart plus b209a-m;DES:photosmart plus b209a-m;"
      PCFileName "hp-photosmart_plus_b209a-m.ppd"
      Attribute "Product" "" "(HP Photosmart Plus All-in-one Printer - b209a)"
      Attribute "Product" "" "(HP Photosmart Plus All-in-one Printer - b209b)"
      Attribute "Product" "" "(HP Photosmart Plus All-in-one Printer - b209c)"
    }
    {
      ModelName "HP Photosmart Plus b210 Series"
      Attribute "NickName" "" "HP Photosmart Plus b210 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart Plus b210 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart plus b210 series;DES:photosmart plus b210 series;"
      PCFileName "hp-photosmart_plus_b210_series.ppd"
      Attribute "Product" "" "(HP Photosmart Plus b210 Series)"
    }
  } // End Supported media sizes with full bleed.

} // End Stabler

//////// StingrayOJ
{

    Attribute "hpPrinterLanguage" "" "pcl3gui2"
    Attribute "HPMechOffset" "" "70"

    Group "General/General"

    Option "ColorModel/Output Mode" PickOne AnySetup 10.0
      Choice "CMYGray/High Quality Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 1>>setpagedevice"
      Choice "KGray/Black Only Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2>>setpagedevice"
     *Choice "RGB/Color" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 0>>setpagedevice"

    // cupsMediaType values map to MEDIATYPE from global_types.h
    Option "MediaType/Media Type" PickOne AnySetup 10.0
     *Choice "Automatic/Automatic" "<</MediaType(Automatic)/cupsMediaType -1>>setpagedevice"
     Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0>>setpagedevice"
     Choice "Glossy/Photo Paper" "<</MediaType(Glossy)/cupsMediaType 3>>setpagedevice"


     // cupsCompression values map to QUALITY_MODE from global_types.h
    Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "Normal/Normal" "<</OutputType(0)/HWResolution[600 600]>>setpagedevice"
     Choice "FastDraft/Fast Draft" "<</OutputType(-2)/HWResolution[300 300]>>setpagedevice"
     Choice "Best/Best" "<</OutputType(1)/HWResolution[600 600]>>setpagedevice"
     Choice "Photo/High-Resolution Photo" "<</OutputType(2)/HWResolution[1200 1200]>>setpagedevice"

    Option "InputSlot/Media Source" PickOne AnySetup 10.0
       *Choice "Tray1/Tray 1" "<</MediaPosition 1>>setpagedevice"

     //Constraints
     //MediaType & OutputMode
     UIConstraints "*MediaType Plain *OutputMode Photo"
     UIConstraints "*MediaType Glossy *OutputMode FastDraft"

     //PaperSizes & MediaTypes
     UIConstraints "*PageSize PhotoL.FB *MediaType Plain"
     //UIConstraints "*PageSize Photo3.5x5.FB *MediaType Plain"
     UIConstraints "*PageSize Photo4x6.FB *MediaType Plain"
     UIConstraints "*PageSize Photo4x6tab.FB *MediaType Plain"
     UIConstraints "*PageSize Photo10x15.FB *MediaType Plain"
     UIConstraints "*PageSize Photo10x15tab.FB *MediaType Plain"
     UIConstraints "*PageSize Photo10x15tab.FB *MediaType Plain"
     UIConstraints "*PageSize Photo3x5 *MediaType Plain"
     UIConstraints "*PageSize PhotoL *MediaType Plain"
     UIConstraints "*PageSize Photo3.5x5 *MediaType Plain"
     UIConstraints "*PageSize Photo10x15 *MediaType Plain"
     UIConstraints "*PageSize Photo4x6 *MediaType Plain"
     UIConstraints "*PageSize Photo4x6tab *MediaType Plain"
     UIConstraints "*PageSize Photo10x15tab *MediaType Plain"
     UIConstraints "*PageSize Photo2L *MediaType Plain"
     UIConstraints "*PageSize Photo13x18 *MediaType Plain"
     UIConstraints "*PageSize Photo5x7 *MediaType Plain"
     UIConstraints "*PageSize Photo8x10 *MediaType Plain"

     UIConstraints "*PageSize Statement *MediaType Glossy"
     UIConstraints "*PageSize A5 *MediaType Glossy"
     UIConstraints "*PageSize JB5 *MediaType Glossy"
     UIConstraints "*PageSize Executive *MediaType Glossy"
     UIConstraints "*PageSize A4 *MediaType Glossy"
     UIConstraints "*PageSize Letter *MediaType Glossy"
     UIConstraints "*PageSize Legal *MediaType Glossy"
     UIConstraints "*PageSize A6 *MediaType Glossy"
     UIConstraints "*PageSize EnvChou4 *MediaType Glossy"
     UIConstraints "*PageSize EnvMonarch *MediaType Glossy"
     UIConstraints "*PageSize Env10 *MediaType Glossy"
     UIConstraints "*PageSize EnvDL *MediaType Glossy"
     UIConstraints "*PageSize EnvA2 *MediaType Glossy"
     UIConstraints "*PageSize EnvC6 *MediaType Glossy"
     UIConstraints "*PageSize EnvChou3 *MediaType Glossy"
     UIConstraints "*PageSize EnvC5 *MediaType Glossy"
     UIConstraints "*PageSize EnvC5 *MediaType Glossy"
     UIConstraints "*PageSize Card3x5 *MediaType Glossy"
     UIConstraints "*PageSize Card4x6 *MediaType Glossy"
     UIConstraints "*PageSize Card5x8 *MediaType Glossy"
     UIConstraints "*PageSize 8.5x13 *MediaType Glossy"





    // 4x6 or smaller
      CustomMedia "Card3x5/Index Card 3x5in" 216 360 5.76 33.84 5.76 8.64 "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
      CustomMedia "Card4x6/Index Card 4x6in" 288 432 5.76 33.84 5.76 8.64 "<</cupsInteger0 74/PageSize [288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
      CustomMedia "PhotoL/Photo L 89x127mm" 252 360 5.76 33.84 5.76 8.64 "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
      CustomMedia "L.FB/Borderless Photo L 89x127mm" 269 382.38 0 0 0 0 "<</cupsInteger0 121/cupsReal0 .118/cupsReal1 .051/PageSize [269 382.38]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/cupsReal0 .118/cupsReal1 .051/PageSize[269 382.38]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo3.5x5/Photo 3.5x5in" 252 360 5.76 33.84 5.76 8.64 "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
      CustomMedia "PhotoL.FB/Borderless Photo 3.5x5in" 269 382.38 0 0 0 0 "<</cupsInteger0 121/cupsReal0 .118/cupsReal1 .051/PageSize[269 382.38]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/cupsReal0 .118/cupsReal1 .051/PageSize[269 382.38]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo3x5/Photo 3x5in" 216 360 5.76 33.84 5.76 8.64 "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo4x6/Photo 4x6in" 288 432 5.76 33.84 5.76 8.64 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo4x6.FB/Borderless Photo 4x6in" 298.22 455.23 0 0 0 0 "<</cupsInteger0 74/cupsReal0 .091/cupsReal1 .051/PageSize[298.22 455.23]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/cupsReal0 .091/cupsReal1 .051/PageSize[298.22 455.23]/ImagingBBox null>>setpagedevice"
      CustomMedia "A6/A6 105x148mm" 297.36 419.76 5.76 33.84 5.76 8.64 "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo4x6tab/Photo 4x6in (tab)" 288 432 5.76 33.84 5.76 8.64 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo4x6tab.FB/Borderless Photo 4x6in (tab)" 298.22 455.23 0 0 0 0 "<</cupsInteger0 74/cupsReal0 .091/cupsReal1 .051/PageSize[298.22 455.23]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/cupsReal0 .091/cupsReal1 .051/PageSize[298.22 455.23]/ImagingBBox null>>setpagedevice"

      // 5x7
      CustomMedia "Photo5x7/Photo 5x7in" 360 504 5.76 33.84 5.76 8.64 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
      CustomMedia "Card5x8/Index Card 5x8in" 360 576 5.76 33.84 5.76 8.64 "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
      CustomMedia "A5/A5 148x210mm" 419.76 595.44 9.36 33.84 9.36 8.64 "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"


      // Standard
      CustomMedia "JB5/JB5 182x257mm" 516.24 728.64 9.36 33.84 9.36 8.64 "<</cupsInteger0 45/PageSize[516.24 728.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"
      CustomMedia "Executive/Executive 7.25x10.5in" 522 756 9.36 33.84 9.36 8.64 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
      *CustomMedia "Letter/Letter 8.5x11in" 612 792 18 33.84 18 8.64 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
      CustomMedia "A4/A4 210x297mm" 595.44 841.68 9.36 33.84 9.36 8.64 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
      CustomMedia "Legal/Legal 8.5x14in" 612 1008 18 33.84 18 8.64 "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
      CustomMedia "Statement/Statement 5.5x8.5in" 396 612 9.36 33.84 9.36 8.64 "<</cupsInteger0 15/PageSize[396 612]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 15/PageSize[396 612]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo10x15/Photo 10x15cm" 288 432 5.76 33.84 5.76 8.64 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
     CustomMedia "Photo10x15.FB/Borderless Photo 10x15cm" 298.22 455.23 0 0 0 0 "<</cupsInteger0 74/cupsReal0 .091/cupsReal1 .051/PageSize[298.22 455.23]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/cupsReal0 .091/cupsReal1 .051/PageSize[298.22 455.23]/ImagingBBox null>>setpagedevice"
     CustomMedia "Photo10x15tab/Photo 10x15cm (tab)" 288 432 5.76 33.84 5.76 8.64 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo10x15tab.FB/ Borderless Photo 10x15cm (tab)" 298.22 455.23 0 0 0 0 "<</cupsInteger0 74/cupsReal0 .091/cupsReal1 .051/PageSize[298.22 455.23]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/cupsReal0 .091/cupsReal1 .051/PageSize[298.22 455.23]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo2L/Photo 2L 127x178mm" 360 504 5.76 33.84 5.76 8.64 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo13x18/Photo 13x18cm" 360 504 5.76 33.84 5.76 8.64 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo8x10/Photo 8x10in" 576 720 5.76 33.84 5.76 8.64 "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
      CustomMedia "8.5x13/8.5x13in" 612 936 18 33.84 18 8.64 "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"



     // Envelope
      CustomMedia "EnvA2/A2 Envelope 4.37x5.75in" 314.64 414 9.36 40.32 9.36 40.32 "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.28 459.36 9.36 40.32 9.36 40.32 "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvChou4/#4 Japanese Envelope 90x205mm" 254.88 581.04 9.36 40.32 9.36 40.32 "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279 540 9.36 40.32 9.36 40.32 "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvDL/DL Envelope 110x220mm" 311.76 623.52 9.36 40.32 9.36 40.32 "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
      CustomMedia "Env10/#10 Envelope 4.12x9.5in" 297 684 9.36 40.32 9.36 40.32 "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 339.84 666  9.36 40.32 9.36 40.32 "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvC5/C5 Envelope 162x229mm" 459 649 9.36 40.32 9.36 40.32 "<</cupsInteger0 91/PageSize[459 649]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 91/PageSize[459 649]/ImagingBBox null>>setpagedevice"



     // Custom page sizes from 1x4in to legal
      HWMargins 18 40.32 18 8.64
      VariablePaperSize Yes
      MinSize 3in 4in
      MaxSize 8.5in 14in

    // <%StingrayOJ:Normal%>
    {
      ModelName "HP Officejet 100 Mobile l411"
      Attribute "NickName" "" "HP Officejet 100 Mobile l411, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet 100 Mobile l411"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet 100 mobile l411;DES:officejet 100 mobile l411;"
      PCFileName "hp-officejet_100_mobile_l411.ppd"
      Attribute "Product" "" "(HP Officejet 100 Mobile l411)"
    }
    {
      ModelName "HP Officejet 150 Mobile l511"
      Attribute "NickName" "" "HP Officejet 150 Mobile l511, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet 150 Mobile l511"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet 150 mobile l511;DES:officejet 150 mobile l511;"
      PCFileName "hp-officejet_150_mobile_l511.ppd"
      Attribute "Product" "" "(HP Officejet 150 Mobile All-in-one)"
    }
   // End Supported media sizes with full bleed.

} // End StingrayOJ

//////// Copperhead
{

    Attribute "hpPrinterLanguage" "" "pcl3gui2"
    Attribute "HPMechOffset" "" "69"

    Group "General/General"

    Option "ColorModel/Output Mode" PickOne AnySetup 10.0
    *Choice "RGB/Color" "<</cupsColorSpace 17/cupsBitsPerColor 8/cupsRowStep 0>>setpagedevice"
    Choice "CMYGray/High Quality Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 1>>setpagedevice"
    Choice "KGray/Black Only Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2>>setpagedevice"

    // cupsMediaType values map to MEDIATYPE from global_types.h
    Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0>>setpagedevice"
    Choice "Glossy/Photo Paper" "<</MediaType(Glossy)/cupsMediaType 3>>setpagedevice"
    Choice "TransparencyFilm/Transparency Film" "<</MediaType(TransparencyFilm)/cupsMediaType 4>>setpagedevice"


     // cupsCompression values map to QUALITY_MODE from global_types.h
    Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "Normal/Normal" "<</OutputType(0)/HWResolution[600 600]>>setpagedevice"
     Choice "FastDraft/Fast Draft" "<</OutputType(-2)/HWResolution[300 300]>>setpagedevice"
     Choice "Best/Best" "<</OutputType(1)/HWResolution[600 600]>>setpagedevice"
     Choice "Photo/High-Resolution Photo" "<</OutputType(2)/HWResolution[1200 1200]>>setpagedevice"


    Option "InputSlot/Media Source" PickOne AnySetup 10.0
       *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"
       Choice "PhotoTray/Photo Tray" "<</MediaPosition 6>>setpagedevice"
       Choice "Upper/Main Tray" "<</MediaPosition 1>>setpagedevice"

     //Constraints
     //MediaType & OutputMode
     UIConstraints "*MediaType Plain *OutputMode Photo"
     UIConstraints "*MediaType Glossy *OutputMode FastDraft"
     UIConstraints "*MediaType TransparencyFilm *OutputMode FastDraft"
     UIConstraints "*MediaType TransparencyFilm *OutputMode Best"
     UIConstraints "*MediaType TransparencyFilm *OutputMode Photo"

     //PaperSizes & MediaTypes
     //For 5510, following constraints are causing some issues in displaying plain paper type in Application UI. Commenting it, untill issue is fixed.
     //UIConstraints "*PageSize PhotoL.FB *MediaType Plain"
     //UIConstraints "*PageSize Photo3.5x5.FB *MediaType Plain"
     //UIConstraints "*PageSize Photo4x6.FB *MediaType Plain"
     //UIConstraints "*PageSize Photo4x6tab.FB *MediaType Plain"
     //UIConstraints "*PageSize Photo10x15.FB *MediaType Plain"
     //UIConstraints "*PageSize Photo10x15tab.FB *MediaType Plain"
     //UIConstraints "*PageSize Photo10x15tab.FB *MediaType Plain"
     //UIConstraints "*PageSize Photo3x5 *MediaType Plain"
     //UIConstraints "*PageSize PhotoL *MediaType Plain"
     //UIConstraints "*PageSize Photo3.5x5 *MediaType Plain"
     //UIConstraints "*PageSize Photo10x15 *MediaType Plain"
     //UIConstraints "*PageSize Photo4x6 *MediaType Plain"
     //UIConstraints "*PageSize Photo4x6tab *MediaType Plain"
     //UIConstraints "*PageSize Photo10x15tab *MediaType Plain"
     //UIConstraints "*PageSize Photo2L *MediaType Plain"
     //UIConstraints "*PageSize Photo13x18 *MediaType Plain"
     //UIConstraints "*PageSize Photo5x7 *MediaType Plain"
     //UIConstraints "*PageSize Photo8x10 *MediaType Plain"

     UIConstraints "*PageSize A5 *MediaType Glossy"
     UIConstraints "*PageSize JB5 *MediaType Glossy"
     UIConstraints "*PageSize Executive *MediaType Glossy"
     UIConstraints "*PageSize A4 *MediaType Glossy"
     UIConstraints "*PageSize Letter *MediaType Glossy"
     UIConstraints "*PageSize Legal *MediaType Glossy"
     UIConstraints "*PageSize A6 *MediaType Glossy"
     UIConstraints "*PageSize Card3x5 *MediaType Glossy"
     UIConstraints "*PageSize Card4x6 *MediaType Glossy"
     UIConstraints "*PageSize Card5x8 *MediaType Glossy"

    // 4x6 or smaller
      CustomMedia "Card3x5/Index Card 3x5in" 216 360 9 9 9 9 "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
      CustomMedia "Card4x6/Index Card 4x6in" 288 432 9 9 9 9 "<</cupsInteger0 74/PageSize [288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
      CustomMedia "PhotoL/Photo L 89x127mm" 252 360 9 9 9 9 "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
      CustomMedia "L.FB/Borderless Photo L 89x127mm" 264.744  374.112 0 0 0 0 "<</cupsInteger0 121/cupsReal0 .079/cupsReal1 .098/PageSize [264.744 374.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/cupsReal0 .079/cupsReal1 .098/PageSize[264.744 374.112]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo3.5x5/Photo 3.5x5in" 252 360 9 9 9 9 "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
      CustomMedia "PhotoL.FB/Borderless Photo 3.5x5in" 264.744  374.112 0 0 0 0 "<</cupsInteger0 121/cupsReal0 .079/cupsReal1 .098/PageSize[264.744 374.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/cupsReal0 .079/cupsReal1 .098/PageSize[264.744 374.112]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo4x6/Photo 4x6in" 288 432 9 9 9 9 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo4x6.FB/Borderless Photo 4x6in" 303.552 446.112 0 0 0 0 "<</cupsInteger0 74/cupsReal0 .098/cupsReal1 .098/PageSize[303.552 446.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/cupsReal0 .098/cupsReal1 .098/PageSize[303.552 446.112]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo4x6tab/Photo 4x6in (tab)" 288 432 9 9 9 9 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo4x6tab.FB/Borderless Photo 4x6in (tab)" 303.552 446.112 0 0 0 0 "<</cupsInteger0 74/cupsReal0 .098/cupsReal1 .098/PageSize[303.552 446.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/cupsReal0 .098/cupsReal1 .098/PageSize[303.552 446.112]/ImagingBBox null>>setpagedevice"
      CustomMedia "A6/A6 105x148mm" 297.36 419.76 9 9 9 9 "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
      CustomMedia "A6.FB/A6 Borderless 105x148mm" 310.104 433.872 0 0 0 0 "<</cupsInteger0 73/PageSize[310.104 433.872]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/cupsReal0 .079/cupsReal1 .098/PageSize[310.104 433.872]/ImagingBBox null>>setpagedevice"
      CustomMedia "Hagaki/Hagaki 100x148mm" 283.68 419.76 9 9 9 9 "<</cupsInteger0 71/PageSize[283.68 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[283.68 419.76]/ImagingBBox null>>setpagedevice"
      CustomMedia "Hagaki.FB/Hagaki Borderless 100x148mm" 296.424 433.872 0 0 0 0 "<</cupsInteger0 71/PageSize[296.424 433.872]/ImagingBBox    null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[296.424 433.872]/ImagingBBox null>>setpagedevice"

      // 5x7
      CustomMedia "Photo5x7/Photo 5x7in" 360 504 9 9 9 9 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo5x7.FB/Photo Borderless 5x7in" 372.816 518.112 0 0 0 0 "<</cupsInteger0 122/PageSize[372.816 518.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[372.816 518.112]/ImagingBBox null>>setpagedevice"
      CustomMedia "Card5x8/Index Card 5x8in" 360 576 9 9 9 9 "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
      CustomMedia "A5/A5 148x210mm" 419.76 595.44 9 9 9 9 "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
      CustomMedia "A5.FB/A5 Borderless 148x210mm" 435.312 609.552 0 0 0 0 "<</cupsInteger0 25/PageSize[435.312 609.552]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/cupsReal0 .098/cupsReal1 .098/PageSize[435.312 609.552]/ImagingBBox null>>setpagedevice"
      CustomMedia "Cabinet/Cabinet Size 120x165mm" 339.84 468 9 9 9 9 "<</cupsInteger0 119/PageSize[339.84 468]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 119/PageSize[339.84 468]/ImagingBBox null>>setpagedevice"
      CustomMedia "Cabinet.FB/Cabinet Size Borderless 120x165mm" 352.584 482.112 0 0 0 0 "<</cupsInteger0 119/PageSize[352.584 482.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 119/cupsReal0 .079/cupsReal1 .098/PageSize[352.58 478.36]/ImagingBBox null>>setpagedevice"
      CustomMedia "2L/2L 127x178mm" 360 504 9 9 9 9 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
      CustomMedia "2L.FB/2L Borderless 127x178mm" 372.816 518.112 0 0 0 0 "<</cupsInteger0 122/PageSize[372.816 518.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/cupsReal0 .089/cupsReal1 .098/PageSize[372.816 518.112]/ImagingBBox null>>setpagedevice"
      CustomMedia "Oufuku/Oufuku-Hagaki 200x148mm" 566.64 419.76 9 9 9 9 "<</cupsInteger0 72/PageSize[566.64 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[566.64 419.76]/ImagingBBox null>>setpagedevice"


      // Standard
      CustomMedia "JB5/JB5 182x257mm" 516.24 728.64 9 9 9 9 "<</cupsInteger0 45/PageSize[516.24 728.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"
      CustomMedia "Executive/Executive 7.25x10.5in" 522 756 9 9 9 9 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
      *CustomMedia "Letter/Letter 8.5x11in" 612 792 9 9 9 9 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
      CustomMedia "Letter.FB/Letter Borderless 8.5x11in" 627.552 806.112 0 0 0 0 "<</cupsInteger0 2/PageSize[627.552 806.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/cupsReal0 .098/cupsReal1 .098/PageSize[627.552 806.112]/ImagingBBox null>>setpagedevice"
      CustomMedia "A4/A4 210x297mm" 595.44 841.68 9 9 9 9 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
      CustomMedia "A4.FB/A4 Borderless 210x297mm" 610.992 855.792 0 0 0 0 "<</cupsInteger0 26/PageSize[610.992 855.792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/cupsReal0 .098/cupsReal1 .098/PageSize[610.992 855.792]/ImagingBBox null>>setpagedevice"
      CustomMedia "Legal/Legal 8.5x14in" 612 1008 9 9 9 9 "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo10x15/Photo 10x15cm" 288 432 9 9 9 9 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo10x15.FB/Borderless Photo 10x15cm" 303.552 446.112 0 0 0 0 "<</cupsInteger0 74/cupsReal0 .098/cupsReal1 .098/PageSize[303.552 446.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/cupsReal0 .098/cupsReal1 .098/PageSize[303.552 446.112]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo10x15tab/Photo 10x15cm (tab)" 288 432 9 9 9 9 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo10x15tab.FB/ Borderless Photo 10x15cm (tab)" 303.552 446.112 0 0 0 0 "<</cupsInteger0 74/cupsReal0 .098/cupsReal1 .098/PageSize[303.552 446.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/cupsReal0 .098/cupsReal1 .098/PageSize[303.552 446.112]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo2L/Photo 2L 127x178mm" 360 504 9 9 9 9 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo13x18/Photo 13x18cm" 360 504 9 9 9 9 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo8x10/Photo 8x10in" 576 720 9 9 9 9 "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
      CustomMedia "8x10.FB/Borderless 8x10in" 591.552 734.112 0 0 0 0 "<</cupsInteger0 7/PageSize[591.552 734.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/cupsReal0 .098/cupsReal1 .098/PageSize[591.552 734.112]/ImagingBBox null>>setpagedevice"


      // Custom page sizes from 1x4in to legal
      HWMargins 9 9 9 9
      VariablePaperSize Yes
      MinSize 3in 4in
      MaxSize 8.5in 30in


    {
          UIConstraints "*PageSize EnvChou4 *MediaType Glossy"
          UIConstraints "*PageSize EnvA2 *MediaType Glossy"
          UIConstraints "*PageSize EnvC6 *MediaType Glossy"
          UIConstraints "*PageSize EnvChou3 *MediaType Glossy"
          UIConstraints "*PageSize EnvMonarch *MediaType Glossy"
          UIConstraints "*PageSize Env10 *MediaType Glossy"
          UIConstraints "*PageSize EnvDL *MediaType Glossy"
          UIConstraints "*PageSize EnvC5 *MediaType Glossy"


         // Envelope
          CustomMedia "EnvA2/A2 Envelope 4.37x5.75in" 314.64 414 9 42.192 9 9 "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
          CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.28 459.36 9 42.192 9 9 "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
          CustomMedia "EnvChou4/#4 Japanese Envelope 90x205mm" 254.88 581.04 9 42.192 9 9 "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
          CustomMedia "Env6/#6 Envelope 3.63x6.5in" 261.36 468 9 42.192 9 9 "<</cupsInteger0 83/PageSize[261.36 468]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 83/PageSize[261.36 468]/ImagingBBox null>>setpagedevice"
          CustomMedia "EnvCard/Card Envelope 4.4x6in" 315 432 9 42.192 9 9 "<</cupsInteger0 114/PageSize[315 432]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 114/PageSize[315 432]/ImagingBBox null>>setpagedevice"
          CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279 540 9 42.192 9 9 "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
          CustomMedia "EnvDL/DL Envelope 110x220mm" 311.76 623.52 9 42.192 9 9 "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
          CustomMedia "Env10/#10 Envelope 4.125x9.5in" 297 684 9 42.192 9 9 "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
          CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 339.84 666 9 42.192 9 9 "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
          CustomMedia "EnvC5/C5 Envelope 162x229mm" 459.36 649.44 9 42.192 9 9 "<</cupsInteger0 91/PageSize[459.36 649.44]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 91/PageSize[459.36 649.44]/ImagingBBox null>>setpagedevice"

          // <%Copperhead:Normal%>
          {
            ModelName "HP Deskjet 3070 b611 Series"
            Attribute "NickName" "" "HP Deskjet 3070 b611 Series, hpcups $Version"
            Attribute "ShortNickName" "" "HP Deskjet 3070 b611 Series"
            Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 3070 b611 series;DES:deskjet 3070 b611 series;"
            PCFileName "hp-deskjet_3070_b611_series.ppd"
            Attribute "Product" "" "(HP Deskjet 3070 b611 Series)"
          }
          {
            ModelName "HP Photosmart 5510 Series"
            Attribute "NickName" "" "HP Photosmart 5510 Series, hpcups $Version"
            Attribute "ShortNickName" "" "HP Photosmart 5510 Series"
            Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart 5510 series;DES:photosmart 5510 series;"
            PCFileName "hp-photosmart_5510_series.ppd"
            Attribute "Product" "" "(HP Photosmart 5510 E-all-in-one)"
          }

        //Copperhead Auto Duplex PaperSizes
         {
            Attribute "cupsEvenDuplex" "" "True"
            Attribute "cupsBackSide" "" "Rotated"
            Attribute "cupsFlipDuplex" "" "True"

            UIConstraints "*PageSize EnvChou4 *Duplex"
            UIConstraints "*PageSize EnvA2 *Duplex"
            UIConstraints "*PageSize EnvC6 *Duplex"
            UIConstraints "*PageSize EnvChou3 *Duplex"
            UIConstraints "*PageSize EnvMonarch *Duplex"
            UIConstraints "*PageSize Env10 *Duplex"
            UIConstraints "*PageSize EnvDL *Duplex"
            UIConstraints "*PageSize EnvC5 *Duplex"
            UIConstraints "*PageSize Env6 *Duplex"
            UIConstraints "*PageSize EnvCard *Duplex"

              Option "Duplex/Double-Sided Printing" PickOne AnySetup 10.0
                Choice "DuplexNoTumble/Long Edge (Standard)" "<</Duplex true/Tumble false>>setpagedevice"
                Choice "DuplexTumble/Short Edge (Flip)" "<</Duplex true/Tumble true>>setpagedevice"
               *Choice "None/Off" "<</Duplex false/Tumble false>>setpagedevice"



		    CustomMedia "Card4x6.Duplex/Index Card AutoDuplex 4x6in" 288 423 9 0 9 9 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
            CustomMedia "Card5x8.Duplex/Index Card AutoDuplex 5x8in" 360 567 9 0 9 9 "<</cupsInteger0 75/PageSize[360 567]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 75/PageSize[360 567]/ImagingBBox null>>setpagedevice"
            CustomMedia "A5.Duplex/A5 AutoDuplex 148x210mm" 419.76 586.44 9 33.192 9 42.192 "<</cupsInteger0 25/PageSize[419.76 586.44]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 25/PageSize[419.76 586.44]/ImagingBBox null>>setpagedevice"
            CustomMedia "B5.Duplex/B5 AutoDuplex 176x250mm" 498.96 699.48 9 33.192 9 42.192 "<</cupsInteger0 65/PageSize[498.96 699.48]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 65/PageSize[498.96 699.48]/ImagingBBox null>>setpagedevice"
            CustomMedia "JB5.Duplex/JB5 AutoDuplex 182x257mm" 516.24 719.64 9 33.192 9 42.192 "<</cupsInteger0 45/PageSize[516.24 719.64]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 45/PageSize [516.24 719.64]/ImagingBBox null>>setpagedevice"
            CustomMedia "Executive.Duplex/Executive AutoDuplex 7.25x10.5in" 522 747 9 33.192 9 42.192 "<</cupsInteger0 1/PageSize[522 747]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 1/PageSize[522 747]/ImagingBBox null>>setpagedevice"
            CustomMedia "A4.Duplex/A4 AutoDuplex 210x297mm" 595.44 832.68 9 33.192 9 42.192 "<</cupsInteger0 26/PageSize[595.44 832.68]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 26/PageSize[595.44 832.68]/ImagingBBox null>>setpagedevice"
            CustomMedia "Letter.Duplex/Letter AutoDuplex 8.5x11in" 612 783 9 33.192 9 42.192 "<</cupsInteger0 2/PageSize[612 783]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 2/PageSize[612 783]/ImagingBBox null>>setpagedevice"
            CustomMedia "Hagaki.Duplex/Hagaki AutoDuplex 100x148mm" 283.68 410.76 9 0 9 9 "<</cupsInteger0 71/PageSize[283.68 410.76]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 71/PageSize[283.68 410.76]/ImagingBBox null>>setpagedevice"
            CustomMedia "Oufuku.Duplex/Oufuku-Hagaki AutoDuplex 200x148mm" 566.64 410.76 9 0 9 9 "<</cupsInteger0 72/PageSize[566.64 410.76]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 72/PageSize[566.64 410.76]/ImagingBBox null>>setpagedevice"
           // <%Copperhead:AutoDuplex%>
           {
             ModelName "HP Photosmart 5510d Series"
             Attribute "NickName" "" "HP Photosmart 5510d Series, hpcups $Version"
             Attribute "ShortNickName" "" "HP Photosmart 5510d Series"
             Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart 5510d series;DES:photosmart 5510d series;"
             PCFileName "hp-photosmart_5510d_series.ppd"
             Attribute "Product" "" "(HP Photosmart 5510d E-all-in-one)"
           }
           {
             ModelName "HP Photosmart 6510 Series"
             Attribute "NickName" "" "HP Photosmart 6510 Series, hpcups $Version"
             Attribute "ShortNickName" "" "HP Photosmart 6510 Series"
             Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart 6510 series;DES:photosmart 6510 series;"
             PCFileName "hp-photosmart_6510_series.ppd"
             Attribute "Product" "" "(HP Photosmart 6510 E-all-in-one)"
           }
         }
    }// End Supported media sizes with full bleed.


     //Copperhead with less envelope
    {
        UIConstraints "*PageSize EnvMonarch *MediaType Glossy"
        UIConstraints "*PageSize Env10 *MediaType Glossy"
        UIConstraints "*PageSize EnvDL *MediaType Glossy"
        UIConstraints "*PageSize EnvC5 *MediaType Glossy"
      //  UIConstraints "*PageSize EnvC5 *MediaType Glossy"


        CustomMedia "EnvC5/C5 Envelope 162x229mm" 459.36 649.44 9 42.192 9 9 "<</cupsInteger0 91/PageSize[459.36 649.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 91/PageSize[459.36 649.44]/ImagingBBox null>>setpagedevice"
        CustomMedia "EnvDL/DL Envelope 110x220mm" 311.76 623.52 9 42.192 9 9 "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
        CustomMedia "Env10/#10 Envelope 4.125x9.5in" 297 684 9 42.192 9 9 "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
        CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279 540 9 42.192 9 9 "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
       //<%Copperhead:Trim%>
       {
         ModelName "HP Officejet 4610 Series"
         Attribute "NickName" "" "HP Officejet 4610 Series, hpcups $Version"
         Attribute "ShortNickName" "" "HP Officejet 4610 Series"
         Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet 4610 series;DES:officejet 4610 series;"
         PCFileName "hp-officejet_4610_series.ppd"
         Attribute "Product" "" "(HP Officejet 4610 All-in-one Printer Series)"
       }
       {
         ModelName "HP Deskjet 4610 Series"
         Attribute "NickName" "" "HP Deskjet 4610 Series, hpcups $Version"
         Attribute "ShortNickName" "" "HP Deskjet 4610 Series"
         Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 4610 series;DES:deskjet 4610 series;"
         PCFileName "hp-deskjet_4610_series.ppd"
         Attribute "Product" "" "(HP Deskjet Ink Advantage 4610 All-in-one Printer Series)"
         Attribute "Product" "" "(HP Deskjet Ink Advantage 4615 All-in-one Printer)"
       }
       {
         ModelName "HP Deskjet 4620 Series"
         Attribute "NickName" "" "HP Deskjet 4620 Series, hpcups $Version"
         Attribute "ShortNickName" "" "HP Deskjet 4620 Series"
         Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 4620 series;DES:deskjet 4620 series;"
         PCFileName "hp-deskjet_4620_series.ppd"
         Attribute "Product" "" "(HP Deskjet Ink Advantage 4620 E-all-in-one Printer)"
         Attribute "Product" "" "(HP Deskjet Ink Advantage 4625 E-all-in-one Printer)"
       }
       {
         ModelName "HP Officejet 4620 Series"
         Attribute "NickName" "" "HP Officejet 4620 Series, hpcups $Version"
         Attribute "ShortNickName" "" "HP Officejet 4620 Series"
         Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet 4620 series;DES:officejet 4620 series;"
         PCFileName "hp-officejet_4620_series.ppd"
         Attribute "Product" "" "(HP Officejet 4620 E-all-in-one Printer)"
         Attribute "Product" "" "(HP Officejet 4622 E-all-in-one Printer)"
       }
    }
} // End Copperhead

//////// CopperheadXLP
{
    Attribute "cupsEvenDuplex" "" "True"
    Attribute "cupsBackSide" "" "Rotated"
    Attribute "cupsFlipDuplex" "" "True"
    Attribute "hpPrinterLanguage" "" "pcl3gui2"
    Attribute "HPMechOffset" "" "71"

    Group "General/General"

    Option "ColorModel/Output Mode" PickOne AnySetup 10.0
    *Choice "RGB/Color" "<</cupsColorSpace 17/cupsBitsPerColor 8/cupsRowStep 0>>setpagedevice"
    Choice "CMYGray/High Quality Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 1>>setpagedevice"
    Choice "KGray/Black Only Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2>>setpagedevice"

    // cupsMediaType values map to MEDIATYPE from global_types.h
    Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Plain/Plain paper" "<</MediaType/cupsMediaType 0>>setpagedevice"
    Choice "ThickPlain/Thick plain paper" "<</MediaType/cupsMediaType 0>>setpagedevice"
    Choice "Glossy/HP Photo Papers" "<</MediaType/cupsMediaType 5>>setpagedevice"
    Choice "FastGlossy/Other photo inkjet papers" "<</MediaType/cupsMediaType 5>>setpagedevice"
    Choice "HagakiGlossy/Photo hagaki" "<</MediaType/cupsMediaType 5>>setpagedevice"
    Choice "CoatedBrochure/HP Matte Brochure or Professional Paper" "<</MediaType/cupsMediaType 2>>setpagedevice"
    Choice "CoatedMatte/HP Matte Presentation Paper" "<</MediaType/cupsMediaType 2>>setpagedevice"
    Choice "Coated/Other matte inkjet papers" "<</MediaType/cupsMediaType 2>>setpagedevice"
    Choice "BrochureGlosy/HP Glosy Brochure or Professional Paper" "<</MediaType/cupsMediaType 8>>setpagedevice"
    Choice "Brochure/Other glosy inkjet papers" "<</MediaType/cupsMediaType 8>>setpagedevice"
    Choice "BrochureHagaki/Inkjet hagaki" "<</MediaType/cupsMediaType 8>>setpagedevice"


     // cupsCompression values map to QUALITY_MODE from global_types.h
    Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "Normal/Normal" "<</OutputType(0)/HWResolution[600 600]>>setpagedevice"
     Choice "FastDraft/Draft" "<</OutputType(-2)/HWResolution[300 300]>>setpagedevice"
     Choice "Best/Best" "<</OutputType(1)/HWResolution[600 600]>>setpagedevice"
     Choice "Photo/High-Resolution Photo" "<</OutputType(2)/HWResolution[1200 1200]>>setpagedevice"


    Option "InputSlot/Media Source" PickOne AnySetup 10.0
       *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"
        Choice "Upper/Main Tray" "<</MediaPosition 1>>setpagedevice"

    Option "Duplex/Double-Sided Printing" PickOne AnySetup 10.0
     Choice "DuplexNoTumble/Long Edge (Standard)" "<</Duplex true/Tumble false>>setpagedevice"
     Choice "DuplexTumble/Short Edge (Flip)" "<</Duplex true/Tumble true>>setpagedevice"
    *Choice "None/Off" "<</Duplex false/Tumble false>>setpagedevice"

     //Constraints
     //MediaType & OutputMode
     UIConstraints "*MediaType FastGlossy *OutputMode FastDraft"
     UIConstraints "*MediaType HagakiGlossy *OutputMode FastDraft"
     UIConstraints "*MediaType Glossy *OutputMode FastDraft"
     UIConstraints "*MediaType CoatedBrochure *OutputMode FastDraft"
     UIConstraints "*MediaType CoatedMatte *OutputMode FastDraft"
     UIConstraints "*MediaType Coated *OutputMode FastDraft"
     UIConstraints "*MediaType BrochureGlosy *OutputMode FastDraft"
     UIConstraints "*MediaType Brochure *OutputMode FastDraft"
     UIConstraints "*MediaType BrochureHagaki *OutputMode FastDraft"

     //PaperSizes & MediaTypes
     UIConstraints "*PageSize L.FB *MediaType Plain"
     UIConstraints "*PageSize Photo4x6.FB *MediaType Plain"
     UIConstraints "*PageSize Photo10x15.FB *MediaType Plain"
     UIConstraints "*PageSize Photo2L.FB *MediaType Plain"
     UIConstraints "*PageSize Photo13x18.FB *MediaType Plain"
     UIConstraints "*PageSize Photo5x7.FB *MediaType Plain"
     UIConstraints "*PageSize 8x10.FB *MediaType Plain"
     UIConstraints "*PageSize Photo3x5 *MediaType Plain"
     UIConstraints "*PageSize PhotoL *MediaType Plain"
     UIConstraints "*PageSize Photo10x15 *MediaType Plain"
     UIConstraints "*PageSize Photo4x6 *MediaType Plain"
     UIConstraints "*PageSize Photo2L *MediaType Plain"
     UIConstraints "*PageSize Photo13x18 *MediaType Plain"
     UIConstraints "*PageSize Photo5x7 *MediaType Plain"
     UIConstraints "*PageSize Photo8x10 *MediaType Plain"

     UIConstraints "*PageSize L.FB *MediaType ThickPlain"
     UIConstraints "*PageSize Photo4x6.FB *MediaType ThickPlain"
     UIConstraints "*PageSize Photo10x15.FB *MediaType ThickPlain"
     UIConstraints "*PageSize Photo2L.FB *MediaType ThickPlain"
     UIConstraints "*PageSize Photo13x18.FB *MediaType ThickPlain"
     UIConstraints "*PageSize Photo5x7.FB *MediaType ThickPlain"
     UIConstraints "*PageSize 8x10.FB *MediaType ThickPlain"
     UIConstraints "*PageSize Photo3x5 *MediaType ThickPlain"
     UIConstraints "*PageSize PhotoL *MediaType ThickPlain"
     UIConstraints "*PageSize Photo10x15 *MediaType ThickPlain"
     UIConstraints "*PageSize Photo4x6 *MediaType ThickPlain"
     UIConstraints "*PageSize Photo2L *MediaType ThickPlain"
     UIConstraints "*PageSize Photo13x18 *MediaType ThickPlain"
     UIConstraints "*PageSize Photo5x7 *MediaType ThickPlain"
     UIConstraints "*PageSize Photo8x10 *MediaType ThickPlain"

     UIConstraints "*PageSize A5 *MediaType FastGlossy"
     UIConstraints "*PageSize JB5 *MediaType FastGlossy"
     UIConstraints "*PageSize B5 *MediaType FastGlossy"
     UIConstraints "*PageSize Executive *MediaType FastGlossy"
     UIConstraints "*PageSize A4 *MediaType FastGlossy"
     UIConstraints "*PageSize Letter *MediaType FastGlossy"
     UIConstraints "*PageSize Legal *MediaType FastGlossy"
     UIConstraints "*PageSize CardA4 *MediaType FastGlossy"
     UIConstraints "*PageSize CardLetter *MediaType FastGlossy"
     UIConstraints "*PageSize Card3x5 *MediaType FastGlossy"
     UIConstraints "*PageSize Card4x6 *MediaType FastGlossy"
     UIConstraints "*PageSize Card5x8 *MediaType FastGlossy"
     UIConstraints "*PageSize 8.5x13 *MediaType FastGlossy"
     UIConstraints "*PageSize Statement *MediaType FastGlossy"


     UIConstraints "*PageSize EnvChou4 *MediaType FastGlossy"
     UIConstraints "*PageSize EnvA2 *MediaType FastGlossy"
     UIConstraints "*PageSize EnvC6 *MediaType FastGlossy"
     UIConstraints "*PageSize EnvChou3 *MediaType FastGlossy"
     UIConstraints "*PageSize EnvMonarch *MediaType FastGlossy"
     UIConstraints "*PageSize Env10 *MediaType FastGlossy"
     UIConstraints "*PageSize EnvDL *MediaType FastGlossy"
     UIConstraints "*PageSize EnvC5 *MediaType FastGlossy"
     UIConstraints "*PageSize Env6 *MediaType FastGlossy"
     UIConstraints "*PageSize EnvCard *MediaType FastGlossy"

     UIConstraints "*PageSize A5 *MediaType HagakiGlossy"
     UIConstraints "*PageSize JB5 *MediaType HagakiGlossy"
     UIConstraints "*PageSize B5 *MediaType HagakiGlossy"
     UIConstraints "*PageSize Executive *MediaType HagakiGlossy"
     UIConstraints "*PageSize A4 *MediaType HagakiGlossy"
     UIConstraints "*PageSize Letter *MediaType HagakiGlossy"
     UIConstraints "*PageSize Legal *MediaType HagakiGlossy"
     UIConstraints "*PageSize CardA4 *MediaType HagakiGlossy"
     UIConstraints "*PageSize CardLetter *MediaType HagakiGlossy"
     UIConstraints "*PageSize Card3x5 *MediaType HagakiGlossy"
     UIConstraints "*PageSize Card4x6 *MediaType HagakiGlossy"
     UIConstraints "*PageSize Card5x8 *MediaType HagakiGlossy"
     UIConstraints "*PageSize 8.5x13 *MediaType HagakiGlossy"
     UIConstraints "*PageSize Statement *MediaType HagakiGlossy"


     UIConstraints "*PageSize EnvChou4 *MediaType HagakiGlossy"
     UIConstraints "*PageSize EnvA2 *MediaType HagakiGlossy"
     UIConstraints "*PageSize EnvC6 *MediaType HagakiGlossy"
     UIConstraints "*PageSize EnvChou3 *MediaType HagakiGlossy"
     UIConstraints "*PageSize EnvMonarch *MediaType HagakiGlossy"
     UIConstraints "*PageSize Env10 *MediaType HagakiGlossy"
     UIConstraints "*PageSize EnvDL *MediaType HagakiGlossy"
     UIConstraints "*PageSize EnvC5 *MediaType HagakiGlossy"
     UIConstraints "*PageSize Env6 *MediaType HagakiGlossy"
     UIConstraints "*PageSize EnvCard *MediaType HagakiGlossy"

     UIConstraints "*PageSize A5 *MediaType Glossy"
     UIConstraints "*PageSize JB5 *MediaType Glossy"
     UIConstraints "*PageSize B5 *MediaType Glossy"
     UIConstraints "*PageSize Executive *MediaType Glossy"
     UIConstraints "*PageSize A4 *MediaType Glossy"
     UIConstraints "*PageSize Letter *MediaType Glossy"
     UIConstraints "*PageSize Legal *MediaType Glossy"
     UIConstraints "*PageSize CardA4 *MediaType Glossy"
     UIConstraints "*PageSize CardLetter *MediaType Glossy"
     UIConstraints "*PageSize Card3x5 *MediaType Glossy"
     UIConstraints "*PageSize Card4x6 *MediaType Glossy"
     UIConstraints "*PageSize Card5x8 *MediaType Glossy"
     UIConstraints "*PageSize 8.5x13 *MediaType Glossy"
     UIConstraints "*PageSize Statement *MediaType Glossy"


     UIConstraints "*PageSize EnvChou4 *MediaType Glossy"
     UIConstraints "*PageSize EnvA2 *MediaType Glossy"
     UIConstraints "*PageSize EnvC6 *MediaType Glossy"
     UIConstraints "*PageSize EnvChou3 *MediaType Glossy"
     UIConstraints "*PageSize EnvMonarch *MediaType Glossy"
     UIConstraints "*PageSize Env10 *MediaType Glossy"
     UIConstraints "*PageSize EnvDL *MediaType Glossy"
     UIConstraints "*PageSize EnvC5 *MediaType Glossy"
     UIConstraints "*PageSize Env6 *MediaType Glossy"
     UIConstraints "*PageSize EnvCard *MediaType Glossy"

     //UIConstraints "*Duplex *OptionDuplex False"
     UIConstraints "*PageSize L.FB *Duplex"
     UIConstraints "*PageSize A6.FB *Duplex"
     UIConstraints "*PageSize A5.FB *Duplex"
     UIConstraints "*PageSize JB5.FB *Duplex"
     UIConstraints "*PageSize Photo2L.FB *Duplex"
     UIConstraints "*PageSize Photo5x7.FB *Duplex"
     UIConstraints "*PageSize Photo4x6.FB *Duplex"
     UIConstraints "*PageSize 8x10.FB *Duplex"
     UIConstraints "*PageSize Photo10x15.FB *Duplex"
     UIConstraints "*PageSize Photo13x18.FB *Duplex"

     UIConstraints "*PageSize A5 *Duplex"
     UIConstraints "*PageSize A6 *Duplex"
     UIConstraints "*PageSize JB5 *Duplex"
     UIConstraints "*PageSize 6x8 *Duplex"
     UIConstraints "*PageSize Env6 *Duplex"
     UIConstraints "*PageSize Legal *Duplex"
     UIConstraints "*PageSize Env10 *Duplex"
     UIConstraints "*PageSize EnvA2 *Duplex"
     UIConstraints "*PageSize EnvC5 *Duplex"
     UIConstraints "*PageSize EnvC6 *Duplex"
     UIConstraints "*PageSize EnvDL *Duplex"
     UIConstraints "*PageSize PhotoL *Duplex"
     UIConstraints "*PageSize 8.5x13 *Duplex"
     UIConstraints "*PageSize CardA4 *Duplex"
     UIConstraints "*PageSize Oufuku *Duplex"
     UIConstraints "*PageSize EnvCard *Duplex"
     UIConstraints "*PageSize Photo2L *Duplex"
     UIConstraints "*PageSize Card3x5 *Duplex"
     UIConstraints "*PageSize Card4x6 *Duplex"
     UIConstraints "*PageSize Card5x8 *Duplex"
     UIConstraints "*PageSize EnvChou3 *Duplex"
     UIConstraints "*PageSize EnvChou4 *Duplex"
     UIConstraints "*PageSize Photo5x7 *Duplex"
     UIConstraints "*PageSize Photo3x5 *Duplex"
     UIConstraints "*PageSize Photo4x6 *Duplex"
     UIConstraints "*PageSize Statement *Duplex"
     UIConstraints "*PageSize Photo8x10 *Duplex"
     UIConstraints "*PageSize Photo10x15 *Duplex"
     UIConstraints "*PageSize Photo13x18 *Duplex"
     UIConstraints "*PageSize EnvMonarch *Duplex"
     UIConstraints "*PageSize CardLetter *Duplex"


    // 4x6 or smaller
      CustomMedia "Card3x5/Index Card 3x5in" 216 360 8.4 8.4 8.4 8.4 "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
      CustomMedia "Card4x6/Index Card 4x6in" 288 432 8.4 8.4 8.4 8.4 "<</cupsInteger0 74/PageSize [288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo3x5/Photo 3x5in" 216 360 8.4 8.4 8.4 8.4 "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
      CustomMedia "PhotoL/Photo L 89x127mm" 252 360 8.4 8.4 8.4 8.4 "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
      CustomMedia "L.FB/Borderless Photo L 89x127mm" 266.4 371.952 0 0 0 0 "<</cupsInteger0 121/cupsReal0 .1/cupsReal1 .066/PageSize [266.4 371.952]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/cupsReal0 .1/cupsReal1 .066/PageSize[266.4 371.952]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo4x6/Photo 4x6in" 288 432 8.4 8.4 8.4 8.4 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo4x6.FB/Borderless Photo 4x6in" 302.4 443.952 0 0 0 0 "<</cupsInteger0 74/cupsReal0 .1/cupsReal1 .066/PageSize[302.4 443.952]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/cupsReal0 .1/cupsReal1 .066/PageSize[302.4 443.952]/ImagingBBox null>>setpagedevice"
      CustomMedia "A6/A6 105x148mm" 297.36 419.76 8.4 8.4 8.4 8.4 "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
      CustomMedia "A6.FB/A6 Borderless 105x148mm" 311.76 431.712 0 0 0 0 "<</cupsInteger0 73/PageSize[311.76 431.712]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/cupsReal0 .1/cupsReal1 .066/PageSize[311.76 431.712]/ImagingBBox null>>setpagedevice"
      CustomMedia "Hagaki.FB/Hagaki Borderless 100x148mm" 297.36 431.71 0 0 0 0 "<</cupsInteger0 71/PageSize[297.36 431.71]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/cupsReal0 .1/cupsReal1 .066/PageSize[297.36 431.71]/ImagingBBox null>>setpagedevice"
      CustomMedia "Hagaki.Duplex/Hagaki AutoDuplex 100x148mm" 283 420 8.4 0 8.4 8.4 "<</cupsInteger0 71/PageSize[283 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[283 420]/ImagingBBox null>>setpagedevice"

      // 5x7
      CustomMedia "Photo5x7/Photo 5x7in" 360 504 8.4 8.4 8.4 8.4 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo5x7.FB/Photo Borderless 5x7in" 374.4 515.952 0 0 0 0 "<</cupsInteger0 122/PageSize[374.4 515.952]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/cupsReal0 .1/cupsReal1 .066/PageSize[374.4 515.952]/ImagingBBox null>>setpagedevice"
      CustomMedia "Card5x8/Index Card 5x8in" 360 576 8.4 8.4 8.4 8.4 "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
      CustomMedia "A5/A5 148x210mm" 419.76 595.44 8.4 8.4 8.4 8.4 "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
      CustomMedia "A5.FB/A5 Borderless 148x210mm" 434.16 607.392 0 0 0 0 "<</cupsInteger0 25/PageSize[434.16 607.392]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/cupsReal0 .1/cupsReal1 .066/PageSize[434.16 607.392]/ImagingBBox null>>setpagedevice"
      CustomMedia "Oufuku/Oufuku-Hagaki 200x148mm" 566.64 419.76 8.4 8.4 8.4 8.4 "<</cupsInteger0 72/PageSize[566.64 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[566.64 419.76]/ImagingBBox null>>setpagedevice"


      // Standard
      CustomMedia "Postcard/Postcard" 283 420 8.4 8.4 8.4 8.4 "<</cupsInteger0 71/PageSize[283 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[283 420]/ImagingBBox null>>setpagedevice"

      CustomMedia "6x8/6x8in" 432 576 8.4 8.4 8.4 8.4 "<</cupsInteger0 101/PageSize[432 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[432 576]/ImagingBBox null>>setpagedevice"
      CustomMedia "8.5x13/8.5x13in" 612 936 8.4 8.4 8.4 8.4 "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
      CustomMedia "B5/B5 176x250mm" 498.96 708.48 8.4 8.4 8.4 8.4 "<</cupsInteger0 101/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
      CustomMedia "B5.Duplex/B5 AutoDuplex 176x250mm" 498.96 708.48 8.4 0 8.4 8.4 "<</cupsInteger0 101/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
      CustomMedia "JB5/JB5 182x257mm" 516.24 728.64 8.4 8.4 8.4 8.4 "<</cupsInteger0 45/PageSize[516.24 728.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"
      CustomMedia "JB5.FB/JB5 Borderless 182x257mm" 530.64 740.592 0 0 0 0 "<</cupsInteger0 45/PageSize[530.64 740.592]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/cupsReal0 .1/cupsReal1 .066/PageSize [530.64 740.592]/ImagingBBox null>>setpagedevice"
      CustomMedia "Executive/Executive 7.25x10.5in" 522 756 8.4 8.4 8.4 8.4 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
      CustomMedia "Executive.Duplex/Executive AutoDuplex 7.25x10.5in" 522 756 8.4 0 8.4 8.4 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
      *CustomMedia "Letter/Letter 8.5x11in" 612 792 8.4 8.4 8.4 8.4 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
       CustomMedia "Letter.Duplex/Letter AutoDuplex 8.5x11in" 612 792 8.4 0 8.4 8.4 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
      CustomMedia "Letter.FB/Letter Borderless 8.5x11in" 626.4 803.952 0 0 0 0 "<</cupsInteger0 2/PageSize[626.4 803.952]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/cupsReal0 .1/cupsReal1 .066/PageSize[626.4 803.952]/ImagingBBox null>>setpagedevice"
      CustomMedia "CardLetter/Index Card Letter 8.5x11in" 612 792 8.4 8.4 8.4 8.4 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
      CustomMedia "Statement/Statement 5.5x8.5in" 396 612 8.4 8.4 8.4 8.4 "<</cupsInteger0 15/PageSize[396 612]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 15/PageSize[396 612]/ImagingBBox null>>setpagedevice"

      CustomMedia "A4/A4 210x297mm" 595.44 841.68 8.4 8.4 8.4 8.4 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
      CustomMedia "A4.Duplex/A4 AutoDuplex 210x297mm" 595.44 841.68 8.4 0 8.4 8.4 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"

      CustomMedia "A4.FB/A4 Borderless 210x297mm" 609.84 853.632 0 0 0 0 "<</cupsInteger0 26/PageSize[609.84 853.632]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/cupsReal0 .1/cupsReal1 .066/PageSize[609.84 853.632]/ImagingBBox null>>setpagedevice"
      CustomMedia "CardA4/Index Card A4 210x297mm" 595.44 841.68 8.4 8.4 8.4 8.4 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"

      CustomMedia "Legal/Legal 8.5x14in" 612 1008 8.4 8.4 8.4 8.4 "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo10x15/Photo 10x15cm" 288 432 8.4 8.4 8.4 8.4 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo10x15.FB/Borderless Photo 10x15cm" 302.4 443.952 0 0 0 0 "<</cupsInteger0 74/cupsReal0 .1/cupsReal1 .066/PageSize[302.4 443.952]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/cupsReal0 .1/cupsReal1 .066/PageSize[302.4 443.952]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo2L/Photo 2L 127x178mm" 360 504 8.4 8.4 8.4 8.4 "<</cupsInteger0 126/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 126/PageSize[360 504]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo2L.FB/Photo 2L Borderless 127x178mm" 374.4 515.952 0 0 0 0 "<</cupsInteger0 126/PageSize[374.4 515.952]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 126/cupsReal0 .1/cupsReal1 .066/PageSize[374.4 515.952]/ImagingBBox null>>setpagedevice"

      CustomMedia "Photo13x18/Photo 13x18cm" 360 504 8.4 8.4 8.4 8.4 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo13x18.FB/Photo Borderless 13x18cm" 374.4 515.952 0 0 0 0 "<</cupsInteger0 122/PageSize[374.4 515.952]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/cupsReal0 .1/cupsReal1 .066/PageSize[374.4 515.952]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo8x10/Photo 8x10in" 576 720 8.4 8.4 8.4 8.4 "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
      CustomMedia "8x10.FB/Borderless 8x10in" 590.4 731.952 0 0 0 0 "<</cupsInteger0 7/PageSize[590.4 731.952]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/cupsReal0 .1/cupsReal1 .066/PageSize[590.4 731.952]/ImagingBBox null>>setpagedevice"


    {
      // Custom page sizes from 1x4in to legal
      HWMargins 9 9 9 9
      VariablePaperSize Yes
      MinSize 3in 4in
      MaxSize 8.5in 30in


    }


         // Envelope
      CustomMedia "EnvA2/A2 Envelope 4.37x5.75in" 314.64 414 8.4 46.8 8.4 46.8 "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.28 459.36 8.4 46.8 8.4 46.8 "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
          CustomMedia "EnvChou4/#4 Japanese Envelope 90x205mm" 254.88 581.04 8.4 46.8 8.4 46.8 "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
      CustomMedia "Env6/#6 Envelope 3.63x6.5in" 261.36 468 8.4 46.8 8.4 46.8 "<</cupsInteger0 83/PageSize[261.36 468]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 83/PageSize[261.36 468]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvCard/Card Envelope 4.4x6in" 316 432 8.4 46.8 8.4 46.8 "<</cupsInteger0 114/PageSize[316 432]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 114/PageSize[316 432]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279 540 8.4 46.8 8.4 46.8 "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvDL/DL Envelope 110x220mm" 311.76 623.52 8.4 46.8 8.4 46.8 "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
      CustomMedia "Env10/#10 Envelope 4.125x9.5in" 297 684 8.4 46.8 8.4 46.8 "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 339.84 666 8.4 46.8 8.4 46.8 "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvC5/C5 Envelope 162x229mm" 459.36 649.44 8.4 46.8 8.4 46.8 "<</cupsInteger0 91/PageSize[459.36 649.44]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 91/PageSize[459.36 649.44]/ImagingBBox null>>setpagedevice"

          // <%CopperheadXLP:Normal%>
          {
            ModelName "HP Officejet Pro 6230"
            Attribute "NickName" "" "HP Officejet Pro 6230, hpcups $Version"
            Attribute "ShortNickName" "" "HP Officejet Pro 6230"
            Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet pro 6230;DES:officejet pro 6230;"
            PCFileName "hp-officejet_pro_6230.ppd"
            Attribute "Product" "" "(HP Officejet Pro 6230 Eprinter)"
          }
          {
            ModelName "HP Officejet 6800"
            Attribute "NickName" "" "HP Officejet 6800, hpcups $Version"
            Attribute "ShortNickName" "" "HP Officejet 6800"
            Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet 6800;DES:officejet 6800;"
            PCFileName "hp-officejet_6800.ppd"
            Attribute "Product" "" "(HP Officejet 6800 E-all-in-one)"
            Attribute "Product" "" "(HP Officejet 6810 E-all-in-one Printer Series)"
            Attribute "Product" "" "(HP Officejet 6812 E-all-in-one Printer)"
            Attribute "Product" "" "(HP Officejet 6815 E-all-in-one Printer)"
            Attribute "Product" "" "(HP Officejet 6820 E-all-in-one Printer)"
          }
          {
            ModelName "HP Officejet Pro 6830"
            Attribute "NickName" "" "HP Officejet Pro 6830, hpcups $Version"
            Attribute "ShortNickName" "" "HP Officejet Pro 6830"
            Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet pro 6830;DES:officejet pro 6830;"
            PCFileName "hp-officejet_pro_6830.ppd"
            Attribute "Product" "" "(HP Officejet Pro 6830 E-all-in-one)"
            Attribute "Product" "" "(HP Officejet Pro 6835 E-all-in-one)"
          }
          {
            ModelName "HP Officejet 6950"
            Attribute "NickName" "" "HP Officejet 6950, hpcups $Version"
            Attribute "ShortNickName" "" "HP Officejet 6950"
            Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet 6950;DES:officejet 6950;"
            PCFileName "hp-officejet_6950.ppd"
            Attribute "Product" "" "(HP Officejet 6950 All-in-one)"
          }
          {
            ModelName "HP Officejet Pro 6960"
            Attribute "NickName" "" "HP Officejet Pro 6960, hpcups $Version"
            Attribute "ShortNickName" "" "HP Officejet Pro 6960"
            Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet pro 6960;DES:officejet pro 6960;"
            PCFileName "hp-officejet_pro_6960.ppd"
            Attribute "Product" "" "(HP Officejet Pro 6960 All-in-one)"
            Attribute "Product" "" "(HP Officejet Pro 6968 All-in-one)"
          }
          {
            ModelName "HP Officejet 6960"
            Attribute "NickName" "" "HP Officejet 6960, hpcups $Version"
            Attribute "ShortNickName" "" "HP Officejet 6960"
            Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet 6960;DES:officejet 6960;"
            PCFileName "hp-officejet_6960.ppd"
            Attribute "Product" "" "(HP Officejet 6960 All-in-one)"
          }
          {
            ModelName "HP Officejet Pro 6970"
            Attribute "NickName" "" "HP Officejet Pro 6970, hpcups $Version"
            Attribute "ShortNickName" "" "HP Officejet Pro 6970"
            Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet pro 6970;DES:officejet pro 6970;"
            PCFileName "hp-officejet_pro_6970.ppd"
            Attribute "Product" "" "(HP Officejet Pro 6970 All-in-one)"
            Attribute "Product" "" "(HP Officejet Pro 6975 All-in-one)"
            Attribute "Product" "" "(HP Officejet Pro 6978 All-in-one)"
          }

}// End CopperheadXLP

//////// Copperhead12
{

    Attribute "cupsEvenDuplex" "" "True"
    Attribute "cupsBackSide" "" "Rotated"
    Attribute "cupsFlipDuplex" "" "True"
    Attribute "hpPrinterLanguage" "" "pcl3gui2"
    Attribute "HPMechOffset" "" "69"

    Group "General/General"

    Option "Duplex/Double-Sided Printing" PickOne AnySetup 10.0
    Choice "DuplexNoTumble/Long Edge (Standard)" "<</Duplex true/Tumble false>>setpagedevice"
    Choice "DuplexTumble/Short Edge (Flip)" "<</Duplex true/Tumble true>>setpagedevice"
    *Choice "None/Off" "<</Duplex false/Tumble false>>setpagedevice"

    Option "ColorModel/Output Mode" PickOne AnySetup 10.0
    *Choice "RGB/Color" "<</cupsColorSpace 17/cupsBitsPerColor 8/cupsRowStep 0>>setpagedevice"
    Choice "CMYGray/High Quality Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 1>>setpagedevice"
    Choice "KGray/Black Only Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2>>setpagedevice"

    // cupsMediaType values map to MEDIATYPE from global_types.h
    Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0>>setpagedevice"
    Choice "Glossy/Photo Paper" "<</MediaType(Glossy)/cupsMediaType 3>>setpagedevice"
    Choice "TransparencyFilm/Transparency Film" "<</MediaType(TransparencyFilm)/cupsMediaType 4>>setpagedevice"


     // cupsCompression values map to QUALITY_MODE from global_types.h
    Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "Normal/Normal" "<</OutputType(0)/HWResolution[600 600]>>setpagedevice"
     Choice "FastDraft/Fast Draft" "<</OutputType(-2)/HWResolution[300 300]>>setpagedevice"
     Choice "Best/Best" "<</OutputType(1)/HWResolution[600 600]>>setpagedevice"
     Choice "Photo/High-Resolution Photo" "<</OutputType(2)/HWResolution[1200 1200]>>setpagedevice"


     // Duplexer is optional...
     Installable "OptionDuplex/Duplexer Installed"

     // Constraints
     // Non duplex media against duplex
     //UIConstraints "*Duplex *OptionDuplex False"
     UIConstraints "*PageSize Card4x6 *Duplex"
     UIConstraints "*PageSize Card5x8 *Duplex"
     UIConstraints "*PageSize A5 *Duplex"
     UIConstraints "*PageSize JB5 *Duplex"
     UIConstraints "*PageSize Hagaki *Duplex"
     UIConstraints "*PageSize Oufuku *Duplex"

     //MediaType & OutputMode
     UIConstraints "*MediaType Plain *OutputMode Photo"
     UIConstraints "*MediaType Glossy *OutputMode FastDraft"
     UIConstraints "*MediaType TransparencyFilm *OutputMode FastDraft"
     UIConstraints "*MediaType TransparencyFilm *OutputMode Best"
     UIConstraints "*MediaType TransparencyFilm *OutputMode Photo"

     //PaperSizes & MediaTypes
     UIConstraints "*PageSize PhotoL.FB *MediaType Plain"
     //UIConstraints "*PageSize Photo3.5x5.FB *MediaType Plain"
     UIConstraints "*PageSize Photo4x6.FB *MediaType Plain"
     UIConstraints "*PageSize Photo4x6tab.FB *MediaType Plain"
     UIConstraints "*PageSize Photo10x15.FB *MediaType Plain"
     UIConstraints "*PageSize Photo10x15tab.FB *MediaType Plain"
     UIConstraints "*PageSize Photo10x15tab.FB *MediaType Plain"
     UIConstraints "*PageSize PhotoL *MediaType Plain"
     UIConstraints "*PageSize Photo3.5x5 *MediaType Plain"
     UIConstraints "*PageSize Photo10x15 *MediaType Plain"
     UIConstraints "*PageSize Photo4x6 *MediaType Plain"
     UIConstraints "*PageSize Photo4x6tab *MediaType Plain"
     UIConstraints "*PageSize Photo10x15tab *MediaType Plain"
     UIConstraints "*PageSize Photo2L *MediaType Plain"
     UIConstraints "*PageSize Photo13x18 *MediaType Plain"
     UIConstraints "*PageSize Photo5x7 *MediaType Plain"
     UIConstraints "*PageSize Photo8x10 *MediaType Plain"

     UIConstraints "*PageSize A5 *MediaType Glossy"
     UIConstraints "*PageSize JB5 *MediaType Glossy"
     UIConstraints "*PageSize Executive *MediaType Glossy"
     UIConstraints "*PageSize A4 *MediaType Glossy"
     UIConstraints "*PageSize Letter *MediaType Glossy"
     UIConstraints "*PageSize Legal *MediaType Glossy"
     UIConstraints "*PageSize A6 *MediaType Glossy"
     UIConstraints "*PageSize EnvChou4 *MediaType Glossy"
     UIConstraints "*PageSize EnvMonarch *MediaType Glossy"
     UIConstraints "*PageSize Env10 *MediaType Glossy"
     UIConstraints "*PageSize EnvDL *MediaType Glossy"
     UIConstraints "*PageSize EnvA2 *MediaType Glossy"
     UIConstraints "*PageSize EnvC6 *MediaType Glossy"
     UIConstraints "*PageSize EnvChou3 *MediaType Glossy"
     UIConstraints "*PageSize EnvC5 *MediaType Glossy"
     UIConstraints "*PageSize EnvC5 *MediaType Glossy"
     UIConstraints "*PageSize Card3x5 *MediaType Glossy"
     UIConstraints "*PageSize Card4x6 *MediaType Glossy"
     UIConstraints "*PageSize Card5x8 *MediaType Glossy"

    // 4x6 or smaller
      CustomMedia "Card3x5/Index Card 3x5in" 216 360 9 9 9 9 "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
      CustomMedia "Card4x6/Index Card 4x6in" 288 432 9 9 9 9 "<</cupsInteger0 74/PageSize [288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
      CustomMedia "Card4x6.Duplex/Index Card AutoDuplex 4x6in" 288 423 9 0 9 9 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
      CustomMedia "PhotoL/Photo L 89x127mm" 252 360 9 9 9 9 "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
      CustomMedia "L.FB/Borderless Photo L 89x127mm" 264.744 374.112 0 0 0 0 "<</cupsInteger0 121/cupsReal0 .079/cupsReal1 .098/PageSize[264.744 374.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/cupsReal0 .079/cupsReal1 .098/PageSize[264.744 374.112]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo3.5x5/Photo 3.5x5in" 252 360 9 9 9 9 "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
      CustomMedia "PhotoL.FB/Borderless Photo 3.5x5in" 264.744  374.112 0 0 0 0 "<</cupsInteger0 121/cupsReal0 .079/cupsReal1 .098/PageSize[264.744 374.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/cupsReal0 .079/cupsReal1 .098/PageSize[264.744 374.112]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo4x6/Photo 4x6in" 288 432 9 9 9 9 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo4x6.FB/Borderless Photo 4x6in" 303.552 446.112 0 0 0 0 "<</cupsInteger0 74/cupsReal0 .098/cupsReal1 .098/PageSize[303.552 446.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/cupsReal0 .098/cupsReal1 .098/PageSize[303.552 446.112]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo4x6tab/Photo 4x6in (tab)" 288 432 9 9 9 9 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo4x6tab.FB/Borderless Photo 4x6in (tab)" 303.552 446.112 0 0 0 0 "<</cupsInteger0 74/cupsReal0 .098/cupsReal1 .098/PageSize[303.552 446.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/cupsReal0 .098/cupsReal1 .098/PageSize[303.552 446.112]/ImagingBBox null>>setpagedevice"
      CustomMedia "A6/A6 105x148mm" 297.36 419.76 9 9 9 9 "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
      CustomMedia "A6.FB/A6 Borderless 105x148mm" 310.104 433.872 0 0 0 0 "<</cupsInteger0 73/PageSize[310.104 433.872]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/cupsReal0 .079/cupsReal1 .098/PageSize[310.104 433.872]/ImagingBBox null>>setpagedevice"
      CustomMedia "Hagaki/Hagaki 100x148mm" 283.68 419.76 9 9 9 9 "<</cupsInteger0 71/PageSize[283.68 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[283.68 419.76]/ImagingBBox null>>setpagedevice"
      CustomMedia "Hagaki.FB/Hagaki Borderless 100x148mm" 296.424 433.872 0 0 0 0 "<</cupsInteger0 71/PageSize[296.424 433.872]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[296.424 433.872]/ImagingBBox null>>setpagedevice"
      CustomMedia "Hagaki.Duplex/Hagaki AutoDuplex 100x148mm" 283.68 410.76 9 0 9 9 "<</cupsInteger0 71/PageSize[283.68 410.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[283.68 410.76]/ImagingBBox null>>setpagedevice"

      // 5x7
      CustomMedia "Photo5x7/Photo 5x7in" 360 504 9 9 9 9 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo5x7.FB/Photo Borderless 5x7in" 372.816 518.112 0 0 0 0 "<</cupsInteger0 122/PageSize[372.816 518.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[372.816 518.112]/ImagingBBox null>>setpagedevice"
      CustomMedia "Card5x8/Index Card 5x8in" 360 576 9 9 9 9 "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
      CustomMedia "Card5x8.Duplex/Index Card AutoDuplex 5x8in" 360 567 9 0 9 9 "<</cupsInteger0 75/PageSize[360 567]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 567]/ImagingBBox null>>setpagedevice"
      CustomMedia "A5/A5 148x210mm" 419.76 595.44 9 9 9 9 "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
      CustomMedia "A5.FB/A5 Borderless 148x210mm" 435.312 609.552 0 0 0 0 "<</cupsInteger0 25/PageSize[435.312 609.552]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/cupsReal0 .098/cupsReal1 .098/PageSize[435.312 609.552]/ImagingBBox null>>setpagedevice"
      CustomMedia "A5.Duplex/A5 AutoDuplex 148x210mm" 419.76 586.44 9 33.192 9 42.192 "<</cupsInteger0 25/PageSize[419.76 586.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.76 586.44]/ImagingBBox null>>setpagedevice"
      CustomMedia "2L/2L 127x178mm" 360 504 9 9 9 9 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
      CustomMedia "2L.FB/2L Borderless 127x178mm" 372.816 518.112 0 0 0 0 "<</cupsInteger0 122/PageSize[372.816 518.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/cupsReal0 .089/cupsReal1 .098/PageSize[372.816 518.112]/ImagingBBox null>>setpagedevice"
      CustomMedia "Oufuku/Oufuku-Hagaki 200x148mm" 566.64 419.76 9 9 9 9 "<</cupsInteger0 72/PageSize[566.64 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[566.64 419.76]/ImagingBBox null>>setpagedevice"
       CustomMedia "Oufuku.Duplex/Oufuku-Hagaki AutoDuplex 200x148mm" 566.64 410.76 9 0 9 9 "<</cupsInteger0 72/PageSize[566.64 410.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[566.64 410.76]/ImagingBBox null>>setpagedevice"


      // Standard
      CustomMedia "JB5/JB5 182x257mm" 516.24 728.64 9 9 9 9 "<</cupsInteger0 45/PageSize[516.24 728.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"
      CustomMedia "JB5.Duplex/JB5 AutoDuplex 182x257mm" 516.24 719.64 9 33.192 9 42.192 "<</cupsInteger0 45/PageSize[516.24 719.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [516.24 719.64]/ImagingBBox null>>setpagedevice"
      CustomMedia "Executive/Executive 7.25x10.5in" 522 756 9 9 9 9 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
      CustomMedia "Executive.Duplex/Executive AutoDuplex 7.25x10.5in" 522 747 9 33.192 9 42.192 "<</cupsInteger0 1/PageSize[522 747]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 747]/ImagingBBox null>>setpagedevice"
      *CustomMedia "Letter/Letter 8.5x11in" 612 792 9 9 9 9 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
      CustomMedia "Letter.FB/Letter Borderless 8.5x11in" 627.552 806.112 0 0 0 0 "<</cupsInteger0 2/PageSize[627.552 806.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/cupsReal0 .098/cupsReal1 .098/PageSize[627.552 806.112]/ImagingBBox null>>setpagedevice"
      CustomMedia "Letter.Duplex/Letter AutoDuplex 8.5x11in" 612 783 9 33.192 9 42.192 "<</cupsInteger0 2/PageSize[612 783]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 783]/ImagingBBox null>>setpagedevice"
      CustomMedia "A4/A4 210x297mm" 595.44 841.68 9 9 9 9 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
      CustomMedia "A4.FB/A4 Borderless 210x297mm" 610.992 855.792 0 0 0 0 "<</cupsInteger0 26/PageSize[610.992 855.792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/cupsReal0 .098/cupsReal1 .098/PageSize[610.992 855.792]/ImagingBBox null>>setpagedevice"
      CustomMedia "A4.Duplex/A4 AutoDuplex 210x297mm" 595.44 832.68 9 33.192 9 42.192 "<</cupsInteger0 26/PageSize[595.44 832.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 832.68]/ImagingBBox null>>setpagedevice"
      CustomMedia "Legal/Legal 8.5x14in" 612 1008 9 9 9 9 "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo10x15/Photo 10x15cm" 288 432 9 9 9 9 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo10x15.FB/Borderless Photo 10x15cm" 303.552 446.112 0 0 0 0 "<</cupsInteger0 74/cupsReal0 .098/cupsReal1 .098/PageSize[303.552 446.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/cupsReal0 .098/cupsReal1 .098/PageSize[303.552 446.112]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo10x15tab/Photo 10x15cm (tab)" 288 432 9 9 9 9 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo10x15tab.FB/ Borderless Photo 10x15cm (tab)" 303.552 446.112 0 0 0 0 "<</cupsInteger0 74/cupsReal0 .098/cupsReal1 .098/PageSize[303.552 446.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/cupsReal0 .098/cupsReal1 .098/PageSize[303.552 446.112]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo2L/Photo 2L 127x178mm" 360 504 9 9 9 9 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo13x18/Photo 13x18cm" 360 504 9 9 9 9 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo8x10/Photo 8x10in" 576 720 9 9 9 9 "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
      CustomMedia "8x10.FB/Borderless 8x10in" 591.552 734.112 0 0 0 0 "<</cupsInteger0 7/PageSize[591.552 734.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/cupsReal0 .098/cupsReal1 .098/PageSize[591.552 734.112]/ImagingBBox null>>setpagedevice"


     // Envelope
      CustomMedia "EnvA2/A2 Envelope 4.37x5.75in" 314.64 414 9 42.192 9 9 "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.28 459.36 9 42.192 9 9 "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvChou4/#4 Japanese Envelope 90x205mm" 254.88 581.04 9 42.192 9 9 "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
      CustomMedia "Env6/#6 Envelope 3.63x6.5in" 261.36 468 9 42.192 9 9 "<</cupsInteger0 83/PageSize[261.36 468]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 83/PageSize[261.36 468]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvCard/Card Envelope 4.4x6in" 315 432 9 42.192 9 9 "<</cupsInteger0 114/PageSize[315 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 114/PageSize[315 432]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279 540 9 42.192 9 9 "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvDL/DL Envelope 110x220mm" 311.76 623.52 9 42.192 9 9 "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
      CustomMedia "Env10/#10 Envelope 4.125x9.5in" 297 684 9 42.192 9 9 "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 339.84 666 9 42.192 9 9 "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvC5/C5 Envelope 162x229mm" 459.36 649.44 9 42.192 9 9 "<</cupsInteger0 91/PageSize[459.36 649.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 91/PageSize[459.36 649.44]/ImagingBBox null>>setpagedevice"

     // Custom page sizes from 1x4in to legal
      HWMargins 9 9 9 9
      VariablePaperSize Yes
      MinSize 3in 4in
      MaxSize 8.5in 30in
      {
            CustomMedia "Cabinet/Cabinet Size 120x165mm" 339.84 468 9 9 9 9 "<</cupsInteger0 119/PageSize[339.84 468]/ImagingBBox null>>setpagedevice"
                "<</cupsInteger0 119/PageSize[339.84 468]/ImagingBBox null>>setpagedevice"
            CustomMedia "Cabinet.FB/Cabinet Size Borderless 120x165mm" 352.584 482.112 0 0 0 0 "<</cupsInteger0 119/PageSize[352.584 482.112]/ImagingBBox null>>setpagedevice"
                "<</cupsInteger0 119/cupsReal0 .079/cupsReal1 .098/PageSize[352.58 478.36]/ImagingBBox null>>setpagedevice"

			Option "InputSlot/Media Source" PickOne AnySetup 10.0
			*Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"
			Choice "MainTray/Main Tray" "<</MediaPosition 1>>setpagedevice"
			// <%Copperhead12:Normal%>
			{
     ModelName "HP Deskjet 3520 Series"
     Attribute "NickName" "" "HP Deskjet 3520 Series, hpcups $Version"
     Attribute "ShortNickName" "" "HP Deskjet 3520 Series"
     Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 3520 series;DES:deskjet 3520 series;"
     PCFileName "hp-deskjet_3520_series.ppd"
     Attribute "Product" "" "(HP Deskjet 3520 E-all-in-one Series)"
     Attribute "Product" "" "(HP Deskjet Ink Advantage 3525 E-all-in-one)"
     Attribute "Product" "" "(HP Deskjet 3521 E-all-in-one Printer)"
     Attribute "Product" "" "(HP Deskjet 3522 E-all-in-one Printer)"
     Attribute "Product" "" "(HP Deskjet 3524 E-all-in-one Printer)"
     Attribute "Product" "" "(HP Deskjet 3526 E-all-in-one Printer)"
			}
			{
     ModelName "HP Photosmart 5520 Series"
     Attribute "NickName" "" "HP Photosmart 5520 Series, hpcups $Version"
     Attribute "ShortNickName" "" "HP Photosmart 5520 Series"
     Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart 5520 series;DES:photosmart 5520 series;"
     PCFileName "hp-photosmart_5520_series.ppd"
     Attribute "Product" "" "(HP Photosmart 5520 E-all-in-one)"
     Attribute "Product" "" "(HP Photosmart 5522 E-all-in-one Printer)"
     Attribute "Product" "" "(HP Photosmart 5524 E-all-in-one Printer)"
     Attribute "Product" "" "(HP Photosmart 5525 E-all-in-one Printer)"
     Attribute "Product" "" "(HP Photosmart 5521 E-all-in-one Printer)"
			}
			{
     ModelName "HP Deskjet 5520 Series"
     Attribute "NickName" "" "HP Deskjet 5520 Series, hpcups $Version"
     Attribute "ShortNickName" "" "HP Deskjet 5520 Series"
     Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 5520 series;DES:deskjet 5520 series;"
     PCFileName "hp-deskjet_5520_series.ppd"
     Attribute "Product" "" "(HP Deskjet Ink Advantage 5525 E-all-in-one)"
			}
	  }

	  {
            UIConstraints "*PageSize Statement *MediaType Glossy"
            CustomMedia "Statement/Statement 5.5x8.5in" 396 612 9 9 9 9 "<</cupsInteger0 15/PageSize[396 612]/ImagingBBox null>>setpagedevice"
                "<</cupsInteger0 15/PageSize[396 612]/ImagingBBox null>>setpagedevice"

			Option "InputSlot/Media Source" PickOne AnySetup 10.0
			*Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"
			Choice "PhotoTray/Photo Tray" "<</MediaPosition 6>>setpagedevice"
			Choice "MainTray/Main Tray" "<</MediaPosition 1>>setpagedevice"
			// <%Copperhead12:Advanced%>
			{
     ModelName "HP Photosmart 6520 Series"
     Attribute "NickName" "" "HP Photosmart 6520 Series, hpcups $Version"
     Attribute "ShortNickName" "" "HP Photosmart 6520 Series"
     Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart 6520 series;DES:photosmart 6520 series;"
     PCFileName "hp-photosmart_6520_series.ppd"
     Attribute "Product" "" "(HP Photsmart 6520 E All-in-one)"
     Attribute "Product" "" "(HP Photosmart 6525 E All-in-one)"
			}
			{
     ModelName "HP Deskjet 6520 Series"
     Attribute "NickName" "" "HP Deskjet 6520 Series, hpcups $Version"
     Attribute "ShortNickName" "" "HP Deskjet 6520 Series"
     Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 6520 series;DES:deskjet 6520 series;"
     PCFileName "hp-deskjet_6520_series.ppd"
     Attribute "Product" "" "(HP Deskjet Ink Advantage 6525 E-all-in-one)"
			}
	  }
   // End Supported media sizes with full bleed.

} // End Copperhead12

//////// CopperheadIPH
{
    Attribute "cupsEvenDuplex" "" "True"
    Attribute "cupsBackSide" "" "Rotated"
    Attribute "cupsFlipDuplex" "" "True"
    Attribute "hpPrinterLanguage" "" "pcl3gui2"
    Attribute "HPMechOffset" "" "140"

    Group "General/General"

    Option "ColorModel/Output Mode" PickOne AnySetup 10.0
    *Choice "RGB/Color" "<</cupsColorSpace 17/cupsBitsPerColor 8/cupsRowStep 0>>setpagedevice"
    Choice "CMYGray/High Quality Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 1>>setpagedevice"
    Choice "KGray/Black Only Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2>>setpagedevice"

    // cupsMediaType values map to MEDIATYPE from global_types.h
    Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0/cupsInteger6 1084>>setpagedevice"
    Choice "FastGlossy/HP Photo Papers" "<</MediaType(FastGlossy)/cupsMediaType 5/cupsInteger6 1069>>setpagedevice"
    Choice "Coated/HP Matte Brochure or Professional Paper" "<</MediaType(Coated)/cupsMediaType 2/cupsInteger6 1077>>setpagedevice"
    Choice "Coated1/HP Matte Presentation Paper" "<</MediaType(Coated1)/cupsMediaType 2/cupsInteger6 1005>>setpagedevice"
    Choice "Brochure/HP Glossy Brochure or Professional Paper" "<</MediaType(Brochure)/cupsMediaType 8/cupsInteger6 1076>>setpagedevice"
    Choice "FastGlossy1/Other Photo Inkjet Papers" "<</MediaType(FastGlossy1)/cupsMediaType 5/cupsInteger6 1045>>setpagedevice"
    Choice "Coated2/Other Matte Inkjet Papers" "<</MediaType(Coated2)/cupsMediaType 2/cupsInteger6 1077>>setpagedevice"
    Choice "Brochure1/Other Glossy Inkjet Papers" "<</MediaType(Brochure1)/cupsMediaType 8/cupsInteger6 1054>>setpagedevice"
    Choice "Brochure3/HP Matte Photo Paper" "<</MediaType(Brochure3)/cupsMediaType 4/cupsInteger6 1083>>setpagedevice"
    Choice "Plain1/Plain Paper,Light/Recycled" "<</MediaType(Plain1)/cupsMediaType 1/cupsInteger6 1121>>setpagedevice"  


     // cupsCompression values map to QUALITY_MODE from global_types.h
    Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "Normal/Normal" "<</OutputType(0)/HWResolution[600 600]>>setpagedevice"
     Choice "FastDraft/Draft" "<</OutputType(-2)/HWResolution[300 300]>>setpagedevice"
     Choice "Best/Best" "<</OutputType(1)/HWResolution[600 600]>>setpagedevice"
     Choice "Photo/High-Resolution Photo" "<</OutputType(2)/HWResolution[1200 1200]>>setpagedevice"


    Option "InputSlot/Media Source" PickOne AnySetup 10.0
       *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"
       Choice "PhotoTray/Photo Tray" "<</MediaPosition 6>>setpagedevice"
       Choice "Upper/Main Tray" "<</MediaPosition 1>>setpagedevice"

    Option "Duplex/Double-Sided Printing" PickOne AnySetup 10.0
       Choice "DuplexNoTumble/Long Edge (Standard)" "<</Duplex true/Tumble false>>setpagedevice"
       Choice "DuplexTumble/Short Edge (Flip)" "<</Duplex true/Tumble true>>setpagedevice"
       *Choice "None/Off" "<</Duplex false/Tumble false>>setpagedevice"

     //Constraints
     

     //PaperSizes & MediaTypes
     

     UIConstraints "*PageSize Photo4x6.FB *MediaType Plain"
     UIConstraints "*PageSize Photo10x15.FB *MediaType Plain"
     UIConstraints "*PageSize Photo13x18.FB *MediaType Plain"
     UIConstraints "*PageSize Photo2L.FB *MediaType Plain"
     UIConstraints "*PageSize Photo5x7.FB *MediaType Plain"
     UIConstraints "*PageSize Photo8x10.FB *MediaType Plain"
     UIConstraints "*PageSize A6.FB *MediaType Plain"
     UIConstraints "*PageSize PhotoL *MediaType Plain"
     UIConstraints "*PageSize Photo4x6 *MediaType Plain"
     UIConstraints "*PageSize Photo10x15 *MediaType Plain"
     UIConstraints "*PageSize Photo13x18 *MediaType Plain"
     UIConstraints "*PageSize Photo2L *MediaType Plain"
     UIConstraints "*PageSize Photo5x7 *MediaType Plain"
     UIConstraints "*PageSize Photo8x10 *MediaType Plain"
     UIConstraints "*PageSize A6 *MediaType Plain"
     
     //Non duplex media against duplex
     UIConstraints "*PageSize Photo10x15 *Duplex"
     UIConstraints "*PageSize Photo10x15.FB *Duplex"
     UIConstraints "*PageSize Photo13x18 *Duplex"
     UIConstraints "*PageSize Photo13x18.FB *Duplex"
     UIConstraints "*PageSize Photo2L *Duplex"
     UIConstraints "*PageSize Photo2L.FB *Duplex"
     UIConstraints "*PageSize Photo2L *Duplex"
     //UIConstraints "*PageSize Photo4x6 *Duplex"
     UIConstraints "*PageSize Photo4x6.FB *Duplex"
     UIConstraints "*PageSize Photo5x7 *Duplex"
     UIConstraints "*PageSize Photo5x7.FB *Duplex"
     UIConstraints "*PageSize 8.5x13 *Duplex"
     UIConstraints "*PageSize Photo8x10 *Duplex"
     UIConstraints "*PageSize Photo8x10.FB *Duplex"
     UIConstraints "*PageSize A5 *Duplex"
     UIConstraints "*PageSize A5.FB *Duplex"
     UIConstraints "*PageSize Legal *Duplex"
     UIConstraints "*PageSize A6 *Duplex"
     UIConstraints "*PageSize A6.FB *Duplex"
     UIConstraints "*PageSize Env10 *Duplex"
     UIConstraints "*PageSize EnvC6 *Duplex"
     UIConstraints "*PageSize EnvC5 *Duplex"
     UIConstraints "*PageSize EnvMonarch *Duplex"
     UIConstraints "*PageSize EnvDL *Duplex"
     UIConstraints "*PageSize EnvChou3 *Duplex"
     UIConstraints "*PageSize 5x5in *Duplex"


     UIConstraints "*PageSize 8.5x13 *MediaType FastGlossy"
     UIConstraints "*PageSize A4 *MediaType FastGlossy"
     UIConstraints "*PageSize A5 *MediaType FastGlossy"
     UIConstraints "*PageSize JB5 *MediaType FastGlossy"
     UIConstraints "*PageSize B5 *MediaType FastGlossy"
     UIConstraints "*PageSize EnvC6 *MediaType FastGlossy"
     UIConstraints "*PageSize EnvChou3 *MediaType FastGlossy"
     UIConstraints "*PageSize EnvMonarch *MediaType FastGlossy"
     UIConstraints "*PageSize Env10 *MediaType FastGlossy"
     UIConstraints "*PageSize EnvDL *MediaType FastGlossy"
     UIConstraints "*PageSize EnvC5 *MediaType FastGlossy"
     UIConstraints "*PageSize Executive *MediaType FastGlossy"
     UIConstraints "*PageSize Card4x6 *MediaType FastGlossy"
     UIConstraints "*PageSize Card5x8 *MediaType FastGlossy"
     UIConstraints "*PageSize CardA4 *MediaType FastGlossy"
     UIConstraints "*PageSize CardLetter *MediaType FastGlossy"
     UIConstraints "*PageSize Letter *MediaType FastGlossy"
     UIConstraints "*PageSize Legal *MediaType FastGlossy"
     UIConstraints "*PageSize Statement *MediaType FastGlossy"

     UIConstraints "*PageSize 8.5x13 *MediaType FastGlossy1"
     UIConstraints "*PageSize A4 *MediaType FastGlossy1"
     UIConstraints "*PageSize A5 *MediaType FastGlossy1"
     UIConstraints "*PageSize JB5 *MediaType FastGlossy1"
     UIConstraints "*PageSize B5 *MediaType FastGlossy1"
     UIConstraints "*PageSize EnvC6 *MediaType FastGlossy1"
     UIConstraints "*PageSize EnvChou3 *MediaType FastGlossy1"
     UIConstraints "*PageSize EnvMonarch *MediaType FastGlossy1"
     UIConstraints "*PageSize Env10 *MediaType FastGlossy1"
     UIConstraints "*PageSize EnvDL *MediaType FastGlossy1"
     UIConstraints "*PageSize EnvC5 *MediaType FastGlossy1"
     UIConstraints "*PageSize Executive *MediaType FastGlossy1"
     UIConstraints "*PageSize Card4x6 *MediaType FastGlossy1"
     UIConstraints "*PageSize Card5x8 *MediaType FastGlossy1"
     UIConstraints "*PageSize CardA4 *MediaType FastGlossy1"
     UIConstraints "*PageSize CardLetter *MediaType FastGlossy1"
     UIConstraints "*PageSize Letter *MediaType FastGlossy1"
     UIConstraints "*PageSize Legal *MediaType FastGlossy1"
     UIConstraints "*PageSize Statement *MediaType FastGlossy1"

     UIConstraints "*PageSize 8.5x13 *MediaType Brochure"
     UIConstraints "*PageSize A4 *MediaType Brochure"
     UIConstraints "*PageSize A5 *MediaType Brochure"
     UIConstraints "*PageSize JB5 *MediaType Brochure"
     UIConstraints "*PageSize B5 *MediaType Brochure"
     UIConstraints "*PageSize EnvC6 *MediaType Brochure"
     UIConstraints "*PageSize EnvChou3 *MediaType Brochure"
     UIConstraints "*PageSize EnvMonarch *MediaType Brochure"
     UIConstraints "*PageSize Env10 *MediaType Brochure"
     UIConstraints "*PageSize EnvDL *MediaType Brochure"
     UIConstraints "*PageSize EnvC5 *MediaType Brochure"
     UIConstraints "*PageSize Executive *MediaType Brochure"
     UIConstraints "*PageSize Card4x6 *MediaType Brochure"
     UIConstraints "*PageSize Card5x8 *MediaType Brochure"
     UIConstraints "*PageSize CardA4 *MediaType Brochure"
     UIConstraints "*PageSize CardLetter *MediaType Brochure"
     UIConstraints "*PageSize Letter *MediaType Brochure"
     UIConstraints "*PageSize Legal *MediaType Brochure"
     UIConstraints "*PageSize Statement *MediaType Brochure"

     UIConstraints "*PageSize 8.5x13 *MediaType Brochure1"
     UIConstraints "*PageSize A4 *MediaType Brochure1"
     UIConstraints "*PageSize A5 *MediaType Brochure1"
     UIConstraints "*PageSize JB5 *MediaType Brochure1"
     UIConstraints "*PageSize B5 *MediaType Brochure1"
     UIConstraints "*PageSize EnvC6 *MediaType Brochure1"
     UIConstraints "*PageSize EnvChou3 *MediaType Brochure1"
     UIConstraints "*PageSize EnvMonarch *MediaType Brochure1"
     UIConstraints "*PageSize Env10 *MediaType Brochure1"
     UIConstraints "*PageSize EnvDL *MediaType Brochure1"
     UIConstraints "*PageSize EnvC5 *MediaType Brochure1"
     UIConstraints "*PageSize Executive *MediaType Brochure1"
     UIConstraints "*PageSize Card4x6 *MediaType Brochure1"
     UIConstraints "*PageSize Card5x8 *MediaType Brochure1"
     UIConstraints "*PageSize CardA4 *MediaType Brochure1"
     UIConstraints "*PageSize CardLetter *MediaType Brochure1"
     UIConstraints "*PageSize Letter *MediaType Brochure1"
     UIConstraints "*PageSize Legal *MediaType Brochure1"
     UIConstraints "*PageSize Statement *MediaType Brochure1"



    // 4x6 or smaller
      CustomMedia "Card4x6/Index Card 4x6in" 288 432 8.4 8.4 8.4 8.4 "<</cupsInteger0 74/PageSize [288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
      CustomMedia "PhotoL/Photo L 89x127mm" 252 360 8.4 8.4 8.4 8.4 "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo4x6/Photo 4x6in" 288 432 8.4 8.4 8.4 8.4 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo4x6.FB/Borderless Photo 4x6in" 288 432 0 0 0 0 "<</cupsInteger0 74/cupsReal0 .098/cupsReal1 .098/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/cupsReal0 0/cupsReal1 0/PageSize[288 432]/ImagingBBox null>>setpagedevice"
      CustomMedia "A6/A6 105x148mm" 297.63 419.52 8.4 8.4 8.4 8.4 "<</cupsInteger0 73/PageSize[297.63 419.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[297.63 419.52]/ImagingBBox null>>setpagedevice"
      CustomMedia "A6.FB/A6 Borderless 105x148mm" 297.63 419.52 0 0 0 0 "<</cupsInteger0 73/PageSize[297.63 419.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/cupsReal0 0/cupsReal1 0/PageSize[297.63 419.52]/ImagingBBox null>>setpagedevice"
      CustomMedia "Statement/Statement 5.5x8.5in" 396 612 8.4 8.4 8.4 8.4 "<</cupsInteger0 15/PageSize[396 612]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 15/PageSize[396 612]/ImagingBBox null>>setpagedevice"

      // 5x7
      CustomMedia "Photo5x7/Photo 5x7in" 360 504 8.4 8.4 8.4 8.4 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo5x7.FB/Photo Borderless 5x7in" 360 504 0 0 0 0 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
      CustomMedia "Card5x8/Index Card 5x8in" 360 576 8.4 8.4 8.4 8.4 "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
      CustomMedia "A5/A5 148x210mm" 419.52 595.27 8.4 8.4 8.4 8.4 "<</cupsInteger0 25/PageSize[419.52 595.27]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.52 595.27]/ImagingBBox null>>setpagedevice"
      CustomMedia "A5.FB/A5 Borderless 148x210mm" 419.52 595.27 0 0 0 0 "<</cupsInteger0 25/PageSize[419.52 595.27]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/cupsReal0 0/cupsReal1 0/PageSize[419.52 595.27]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo2L/2L 127x178mm" 360 504 8.4 8.4 8.4 8.4 "<</cupsInteger0 126/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo2L.FB/2L Borderless 127x178mm" 360 504 0 0 0 0 "<</cupsInteger0 126/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/cupsReal0 0/cupsReal1 0/PageSize[360 504]/ImagingBBox null>>setpagedevice"
      CustomMedia "Oufuku/Oufuku-Hagaki 200x148mm" 566.92 419.52 8.4 8.4 8.4 8.4 "<</cupsInteger0 72/PageSize[566.92 419.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[566.92 419.52]/ImagingBBox null>>setpagedevice"


      // Standard
      CustomMedia "Postcard/Postcard" 283 420 8.4 8.4 8.4 8.4 "<</cupsInteger0 71/PageSize[283 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[283 420]/ImagingBBox null>>setpagedevice"
      CustomMedia "Hagaki.FB/Hagaki Borderless 100x148mm" 283 420 0 0 0 0 "<</cupsInteger0 71/PageSize[283 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/cupsReal0 0/cupsReal1 0/PageSize[283 420]/ImagingBBox null>>setpagedevice"
      CustomMedia "Hagaki.Duplex/Hagaki AutoDuplex 100x148mm" 283 420 8.4 0 8.4 8.4 "<</cupsInteger0 71/PageSize[283 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[283 420]/ImagingBBox null>>setpagedevice"
      CustomMedia "JB5/JB5 182x257mm" 515.90 728.50 8.4 8.4 8.4 8.4 "<</cupsInteger0 45/PageSize[515.90 728.50]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [515.90 728.50]/ImagingBBox null>>setpagedevice"
      CustomMedia "JB5.Duplex/JB5 AutoDuplex 182x257mm" 515.90 728.50 8.4 0 8.4 8.4 "<</cupsInteger0 45/PageSize[515.90 728.50]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 45/PageSize [515.90 728.50]/ImagingBBox null>>setpagedevice"
      CustomMedia "JB5.FB/JB5 Borderless 182x257mm" 515.90 728.50 0 0 0 0 "<</cupsInteger0 45/PageSize[515.90 728.50]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [515.90 728.50]/ImagingBBox null>>setpagedevice"
      CustomMedia "B5/B5 176x250mm" 498.96 708.48 8.4 8.4 8.4 8.4 "<</cupsInteger0 101/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
      CustomMedia "B5.Duplex/B5 AutoDuplex 176x250mm" 498.96 699.48 8.4 0 8.4 8.4 "<</cupsInteger0 101/PageSize[498.96 699.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[498.96 699.48]/ImagingBBox null>>setpagedevice"
      CustomMedia "Executive/Executive 7.25x10.5in" 522 756 8.4 8.4 8.4 8.4 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
      CustomMedia "Executive.Duplex/Executive AutoDuplex 7.25x10.5in" 522 756 8.4 0 8.4 8.4 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
      *CustomMedia "Letter/Letter 8.5x11in" 612 792 8.4 8.4 8.4 8.4 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
       CustomMedia "Letter.Duplex/Letter AutoDuplex 8.5x11in" 612 792 8.4 0 8.4 8.4 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
      CustomMedia "Letter.FB/Letter Borderless 8.5x11in" 612 792 0 0 0 0 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/cupsReal0 0/cupsReal1 0/PageSize[612 792]/ImagingBBox null>>setpagedevice"
      CustomMedia "CardLetter/Index Card Letter 8.5x11in" 612 792 8.4 8.4 8.4 8.4 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
      CustomMedia "A4/A4 210x297mm" 595.27 841.88 8.4 8.4 8.4 8.4 "<</cupsInteger0 26/PageSize[595.27 841.88]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.27 841.88]/ImagingBBox null>>setpagedevice"
      CustomMedia "A4.Duplex/A4 AutoDuplex 210x297mm" 595.27 841.88 8.4 0 8.4 8.4 "<</cupsInteger0 26/PageSize[595.27 841.88]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 26/PageSize[595.27 841.88]/ImagingBBox null>>setpagedevice"
      CustomMedia "A4.FB/A4 Borderless 210x297mm" 595.27 841.88 0 0 0 0 "<</cupsInteger0 26/PageSize[595.27 841.88]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/cupsReal0 0/cupsReal1 0/PageSize[595.27 841.88]/ImagingBBox null>>setpagedevice"
      CustomMedia "CardA4/Index Card A4 210x297mm" 595.27 841.88 8.4 8.4 8.4 8.4 "<</cupsInteger0 26/PageSize[595.27 841.88]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.27 841.88]/ImagingBBox null>>setpagedevice"
      CustomMedia "Legal/Legal 8.5x14in" 612 1008 8.4 8.4 8.4 8.4 "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo10x15/Photo 10x15cm" 288 432 8.4 8.4 8.4 8.4 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo10x15.FB/Borderless Photo 10x15cm" 288 432 0 0 0 0 "<</cupsInteger0 74/cupsReal0 .098/cupsReal1 .098/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/cupsReal0 0/cupsReal1 0/PageSize[288 432]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo13x18/Photo 13x18cm" 360 504 8.4 8.4 8.4 8.4 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo13x18.FB/Photo Borderless 13x18in" 360 504 0 0 0 0 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/cupsReal0 0/cupsReal1 0/PageSize[360 504]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo8x10/Photo 8x10in" 576 720 8.4 8.4 8.4 8.4 "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo8x10.FB/Borderless Photo 8x10in" 576 720 0 0 0 0 "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/cupsReal0 0/cupsReal1 0/PageSize[576 720]/ImagingBBox null>>setpagedevice"
      CustomMedia "8.5x13/8.5x13in" 612 936 8.4 8.4 8.4 8.4 "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[612 936]/ImagingBBox null>>setpagedevice"

         // Envelope
      CustomMedia "Env10/#10 Envelope 4.125x9.5in" 297 684 8.4 46.8 8.4 46.8 "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvA2/A2 Envelope 4.37x5.75in" 314.64 414 8.4 46.8 8.4 46.8 "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvC5/C5 Envelope 162x229mm" 459.36 649.44 8.4 46.8 8.4 46.8 "<</cupsInteger0 91/PageSize[459.36 649.44]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 91/PageSize[459.36 649.44]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.28 459.36 8.4 46.8 8.4 46.8 "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvDL/DL Envelope 110x220mm" 311.76 623.52 8.4 46.8 8.4 46.8 "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279 540 8.4 46.8 8.4 46.8 "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 339.84 666 8.4 46.8 8.4 46.8 "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"

      //CuHdIPH Specific media sizes
      //   5x5
      CustomMedia "5x5in/5x5in (13x13cm) " 360 360 8.4 8.4 8.4 8.4 "<</cupsInteger0 30003/PageSize[360 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 30003/PageSize[360 360]/ImagingBBox null>>setpagedevice"
      // 4x12
      CustomMedia "4x12in/4x12in (10x30cm) " 288 864 8.4 8.4 8.4 8.4 "<</cupsInteger0 30000/PageSize[288 864]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 30000/PageSize[288 864]/ImagingBBox null>>setpagedevice"
      CustomMedia "LSize3.5*5/LSize3.5x5in." 252 360 8.4 8.4 8.4 8.4 "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
      CustomMedia "Env/#6 Envelope 6.63x6.5in" 260.88 468 8.4 8.4 8.4 8.4 "<</cupsInteger0 83/PageSize[260.88 468]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 83/PageSize[260.88 468]/ImagingBBox null>>setpagedevice"
	         
     
      // Custom page sizes from 1x4in to legal
      HWMargins 8.4 8.4 8.4 8.4
      VariablePaperSize Yes
      MinSize 3in 4in
      MaxSize 8.5in 23in 

    // <%CopperheadIPH:Normal%>
    {
      ModelName "HP Envy 5640 Series"
      Attribute "NickName" "" "HP Envy 5640 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Envy 5640 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:envy 5640 series;DES:envy 5640 series;"
      PCFileName "hp-envy_5640_series.ppd"
      Attribute "Product" "" "(HP Envy 5640 E-all-in-one)"
      Attribute "Product" "" "(HP Envy 5642 E-all-in-one)"
      Attribute "Product" "" "(HP Envy 5643 E-all-in-one)"
      Attribute "Product" "" "(HP Envy 5644 E-all-in-one)"
    }
    {
      ModelName "HP Deskjet 5640 Series"
      Attribute "NickName" "" "HP Deskjet 5640 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 5640 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 5640 series;DES:deskjet 5640 series;"
      PCFileName "hp-deskjet_5640_series.ppd"
      Attribute "Product" "" "(HP Deskjet Ink Advantage 5640 All-in-one Printer Series)"
      Attribute "Product" "" "(HP Deskjet Ink Advantage 5645 All-in-one Printer)"
    }
    {
      ModelName "HP Envy 5660 Series"
      Attribute "NickName" "" "HP Envy 5660 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Envy 5660 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:envy 5660 series;DES:envy 5660 series;"
      PCFileName "hp-envy_5660_series.ppd"
      Attribute "Product" "" "(HP Envy 5660 E-all-in-one)"
      Attribute "Product" "" "(HP Envy 5665 E-all-in-one)"
    }
    {
      ModelName "HP Officejet 5740 Series"
      Attribute "NickName" "" "HP Officejet 5740 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet 5740 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet 5740 series;DES:officejet 5740 series;"
      PCFileName "hp-officejet_5740_series.ppd"
      Attribute "Product" "" "(HP Officejet 5740 E-all-in-one)"
      Attribute "Product" "" "(HP Officejet 5742 E-all-in-one)"
      Attribute "Product" "" "(HP Officejet 5745 E-all-in-one)"
      Attribute "Product" "" "(HP Officejet 5744 E-all-in-one)"
    }
    {
      ModelName "HP Envy Inspire 7200 Series"
      Attribute "NickName" "" "HP Envy Inspire 7200 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Envy Inspire 7200 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:envy inspire 7200 series;DES:envy inspire 7200 series;"
      PCFileName "hp-envy_inspire_7200_series.ppd"
      Attribute "Product" "" "(HP Envy Inspire 7200e Series)"
    }
    {
      ModelName "HP Envy 7640 Series"
      Attribute "NickName" "" "HP Envy 7640 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Envy 7640 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:envy 7640 series;DES:envy 7640 series;"
      PCFileName "hp-envy_7640_series.ppd"
      Attribute "Product" "" "(HP Envy 7640 E-all-in-one)"
      Attribute "Product" "" "(HP Envy 7645 E-all-in-one)"
    }
    {
      ModelName "HP Envy Inspire 7900 Series"
      Attribute "NickName" "" "HP Envy Inspire 7900 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Envy Inspire 7900 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:envy inspire 7900 series;DES:envy inspire 7900 series;"
      PCFileName "hp-envy_inspire_7900_series.ppd"
      Attribute "Product" "" "(HP Envy Inspire 7900e Series)"
    }
    {
      ModelName "HP Envy 8000 Series"
      Attribute "NickName" "" "HP Envy 8000 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Envy 8000 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:envy 8000 series;DES:envy 8000 series;"
      PCFileName "hp-envy_8000_series.ppd"
      Attribute "Product" "" "(HP Envy 8000 E-all-in-one)"
    }
    {
      ModelName "HP Officejet 8040 Series"
      Attribute "NickName" "" "HP Officejet 8040 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet 8040 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet 8040 series;DES:officejet 8040 series;"
      PCFileName "hp-officejet_8040_series.ppd"
      Attribute "Product" "" "(HP Officejet 8040 E-all-in-one)"
    }
} // End CopperheadIPH

//////// CopperheadIPH15
{
    Attribute "cupsEvenDuplex" "" "True"
    Attribute "cupsBackSide" "" "Rotated"
    Attribute "cupsFlipDuplex" "" "True"
    Attribute "hpPrinterLanguage" "" "pcl3gui2"
    Attribute "HPMechOffset" "" "117"
    Attribute "hpPrinterPlatform" "" "CopperheadIPH15"
    Attribute "HPSPDClass" "" 1

    Group "General/General"

    Option "ColorModel/Output Mode" PickOne AnySetup 10.0
    *Choice "RGB/Color" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 0>>setpagedevice"
    Choice "CMYGray/High Quality Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 1>>setpagedevice"
    Choice "KGray/Black Only Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2>>setpagedevice"

    // cupsMediaType values map to MEDIATYPE from global_types.h
    Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Plain/Plain Paper" "<</MediaType/cupsMediaType 0>>setpagedevice"
    Choice "Glossy/HP Photo Papers" "<</MediaType/cupsMediaType 5>>setpagedevice"
    Choice "CoatedBrochure/HP Matte Brochure or Professional Paper" "<</MediaType/cupsMediaType 2>>setpagedevice"
    Choice "CoatedMatte/HP Matte Presentation Paper" "<</MediaType/cupsMediaType 2>>setpagedevice"
    Choice "BrochureGlosy/HP Glossy Brochure or Professional Paper" "<</MediaType/cupsMediaType 8>>setpagedevice"
    Choice "FastGlossy/Other photo inkjet papers" "<</MediaType/cupsMediaType 5>>setpagedevice"
    Choice "Coated/Other matte inkjet papers Paper" "<</MediaType/cupsMediaType 2>>setpagedevice"
    Choice "Brochure/Other glossy inkjet Paper" "<</MediaType/cupsMediaType 8>>setpagedevice"
  


     // cupsCompression values map to QUALITY_MODE from global_types.h
    Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "Normal/Normal" "<</OutputType(0)/HWResolution[600 600]>>setpagedevice"
     Choice "FastDraft/Draft" "<</OutputType(-2)/HWResolution[300 300]>>setpagedevice"
     Choice "Best/Best" "<</OutputType(1)/HWResolution[600 600]>>setpagedevice"
     Choice "Photo/High-Resolution Photo" "<</OutputType(2)/HWResolution[1200 1200]>>setpagedevice"


    Option "InputSlot/Media Source" PickOne AnySetup 10.0
       *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"
       Choice "PhotoTray/Photo Tray" "<</MediaPosition 6>>setpagedevice"
       Choice "Upper/Main Tray" "<</MediaPosition 1>>setpagedevice"

    Option "Duplex/Double-Sided Printing" PickOne AnySetup 10.0
       Choice "DuplexNoTumble/Long Edge (Standard)" "<</Duplex true/Tumble false>>setpagedevice"
       Choice "DuplexTumble/Short Edge (Flip)" "<</Duplex true/Tumble true>>setpagedevice"
       *Choice "None/Off" "<</Duplex false/Tumble false>>setpagedevice"

     //Constraints
     

     //PaperSizes & MediaTypes
     

     UIConstraints "*PageSize Photo4x6.FB *MediaType Plain"
     UIConstraints "*PageSize Photo10x15.FB *MediaType Plain"
     UIConstraints "*PageSize Photo13x18.FB *MediaType Plain"
     UIConstraints "*PageSize Photo2L.FB *MediaType Plain"
     UIConstraints "*PageSize Photo5x7.FB *MediaType Plain"
     UIConstraints "*PageSize Photo8x10.FB *MediaType Plain"
     UIConstraints "*PageSize A6.FB *MediaType Plain"
     UIConstraints "*PageSize Photo4x6 *MediaType Plain"
     UIConstraints "*PageSize Photo10x15 *MediaType Plain"
     UIConstraints "*PageSize Photo13x18 *MediaType Plain"
     UIConstraints "*PageSize Photo2L *MediaType Plain"
     UIConstraints "*PageSize Photo5x7 *MediaType Plain"
     UIConstraints "*PageSize Photo8x10 *MediaType Plain"
     UIConstraints "*PageSize A6 *MediaType Plain"
     
     //Non duplex media against duplex
     UIConstraints "*PageSize Photo10x15 *Duplex"
     UIConstraints "*PageSize Photo10x15.FB *Duplex"
     UIConstraints "*PageSize Photo13x18 *Duplex"
     UIConstraints "*PageSize Photo13x18.FB *Duplex"
     UIConstraints "*PageSize Photo2L.FB *Duplex"
     UIConstraints "*PageSize Photo2L *Duplex"
     UIConstraints "*PageSize Photo4x6 *Duplex"
     UIConstraints "*PageSize Photo4x6.FB *Duplex"
     UIConstraints "*PageSize Photo5x7 *Duplex"
     UIConstraints "*PageSize Photo5x7.FB *Duplex"
     UIConstraints "*PageSize 8.5x13 *Duplex"
     UIConstraints "*PageSize Photo8x10 *Duplex"
     UIConstraints "*PageSize Photo8x10.FB *Duplex"
     UIConstraints "*PageSize A5 *Duplex"
     UIConstraints "*PageSize A5.FB *Duplex"
     UIConstraints "*PageSize A6 *Duplex"
     UIConstraints "*PageSize A6.FB *Duplex"
     UIConstraints "*PageSize Env10 *Duplex"
     UIConstraints "*PageSize EnvC6 *Duplex"
     UIConstraints "*PageSize EnvC5 *Duplex"
     UIConstraints "*PageSize EnvMonarch *Duplex"
     UIConstraints "*PageSize EnvDL *Duplex"
     UIConstraints "*PageSize EnvChou3 *Duplex"

     //PaperSizes & MediaTypes
     UIConstraints "*PageSize 8.5x13 *MediaType Glossy"
     UIConstraints "*PageSize A4 *MediaType Glossy"
     UIConstraints "*PageSize A5 *MediaType Glossy"
     UIConstraints "*PageSize JB5 *MediaType Glossy"
     UIConstraints "*PageSize B5 *MediaType Glossy"
     UIConstraints "*PageSize EnvC6 *MediaType Glossy"
     UIConstraints "*PageSize EnvChou3 *MediaType Glossy"
     UIConstraints "*PageSize EnvMonarch *MediaType Glossy"
     UIConstraints "*PageSize Env10 *MediaType Glossy"
     UIConstraints "*PageSize EnvDL *MediaType Glossy"
     UIConstraints "*PageSize EnvC5 *MediaType Glossy"
     UIConstraints "*PageSize Executive *MediaType Glossy"
     UIConstraints "*PageSize Card4x6 *MediaType Glossy"
     UIConstraints "*PageSize Card5x8 *MediaType Glossy"
     UIConstraints "*PageSize CardA4 *MediaType Glossy"
     UIConstraints "*PageSize CardLetter *MediaType Glossy"
     UIConstraints "*PageSize Letter *MediaType Glossy"
     UIConstraints "*PageSize Statement *MediaType Glossy"

     UIConstraints "*PageSize 8.5x13 *MediaType FastGlossy"
     UIConstraints "*PageSize A4 *MediaType FastGlossy"
     UIConstraints "*PageSize A5 *MediaType FastGlossy"
     UIConstraints "*PageSize JB5 *MediaType FastGlossy"
     UIConstraints "*PageSize B5 *MediaType FastGlossy"
     UIConstraints "*PageSize EnvC6 *MediaType FastGlossy"
     UIConstraints "*PageSize EnvChou3 *MediaType FastGlossy"
     UIConstraints "*PageSize EnvMonarch *MediaType FastGlossy"
     UIConstraints "*PageSize Env10 *MediaType FastGlossy"
     UIConstraints "*PageSize EnvDL *MediaType FastGlossy"
     UIConstraints "*PageSize EnvC5 *MediaType FastGlossy"
     UIConstraints "*PageSize Executive *MediaType FastGlossy"
     UIConstraints "*PageSize Card4x6 *MediaType FastGlossy"
     UIConstraints "*PageSize Card5x8 *MediaType FastGlossy"
     UIConstraints "*PageSize CardA4 *MediaType FastGlossy"
     UIConstraints "*PageSize CardLetter *MediaType FastGlossy"
     UIConstraints "*PageSize Letter *MediaType FastGlossy"
     UIConstraints "*PageSize Statement *MediaType FastGlossy"

     UIConstraints "*PageSize 8.5x13 *MediaType BrochureGlosy"
     UIConstraints "*PageSize A4 *MediaType BrochureGlosy"
     UIConstraints "*PageSize A5 *MediaType BrochureGlosy"
     UIConstraints "*PageSize JB5 *MediaType BrochureGlosy"
     UIConstraints "*PageSize B5 *MediaType BrochureGlosy"
     UIConstraints "*PageSize EnvC6 *MediaType BrochureGlosy"
     UIConstraints "*PageSize EnvChou3 *MediaType BrochureGlosy"
     UIConstraints "*PageSize EnvMonarch *MediaType BrochureGlosy"
     UIConstraints "*PageSize Env10 *MediaType BrochureGlosy"
     UIConstraints "*PageSize EnvDL *MediaType BrochureGlosy"
     UIConstraints "*PageSize EnvC5 *MediaType BrochureGlosy"
     UIConstraints "*PageSize Executive *MediaType BrochureGlosy"
     UIConstraints "*PageSize Card4x6 *MediaType BrochureGlosy"
     UIConstraints "*PageSize Card5x8 *MediaType BrochureGlosy"
     UIConstraints "*PageSize CardA4 *MediaType BrochureGlosy"
     UIConstraints "*PageSize CardLetter *MediaType BrochureGlosy"
     UIConstraints "*PageSize Letter *MediaType BrochureGlosy"
     UIConstraints "*PageSize Statement *MediaType BrochureGlosy"

     UIConstraints "*PageSize 8.5x13 *MediaType Brochure"
     UIConstraints "*PageSize A4 *MediaType Brochure"
     UIConstraints "*PageSize A5 *MediaType Brochure"
     UIConstraints "*PageSize JB5 *MediaType Brochure"
     UIConstraints "*PageSize B5 *MediaType Brochure"
     UIConstraints "*PageSize EnvC6 *MediaType Brochure"
     UIConstraints "*PageSize EnvChou3 *MediaType Brochure"
     UIConstraints "*PageSize EnvMonarch *MediaType Brochure"
     UIConstraints "*PageSize Env10 *MediaType Brochure"
     UIConstraints "*PageSize EnvDL *MediaType Brochure"
     UIConstraints "*PageSize EnvC5 *MediaType Brochure"
     UIConstraints "*PageSize Executive *MediaType Brochure"
     UIConstraints "*PageSize Card4x6 *MediaType Brochure"
     UIConstraints "*PageSize Card5x8 *MediaType Brochure"
     UIConstraints "*PageSize CardA4 *MediaType Brochure"
     UIConstraints "*PageSize CardLetter *MediaType Brochure"
     UIConstraints "*PageSize Letter *MediaType Brochure"
     UIConstraints "*PageSize Statement *MediaType Brochure"

     //MediaType & OutputMode
     UIConstraints "*MediaType Glossy *OutputMode FastDraft"
     UIConstraints "*MediaType FastGlossy *OutputMode FastDraft"
     UIConstraints "*MediaType BrochureGlosy *OutputMode FastDraft"
     UIConstraints "*MediaType Brochure *OutputMode FastDraft"



    // 4x6 or smaller
      CustomMedia "Card4x6/Index Card 4x6in" 288 432 8.4 8.4 8.4 8.4 "<</cupsInteger0 74/PageSize [288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
      CustomMedia "Card4x6.FB/Borderless Index Card 4x6in" 288 432 0 0 0 0 "<</cupsInteger0 74/PageSize [288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/cupsReal0 0/cupsReal1 0/PageSize[288 432]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo4x6/Photo 4x6in" 288 432 8.4 8.4 8.4 8.4 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo4x6.FB/Borderless Photo 4x6in" 288 432 0 0 0 0 "<</cupsInteger0 74/cupsReal0 .098/cupsReal1 .098/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/cupsReal0 0/cupsReal1 0/PageSize[288 432]/ImagingBBox null>>setpagedevice"
      CustomMedia "A6/A6 105x148mm" 297.63 419.52 8.4 8.4 8.4 8.4 "<</cupsInteger0 73/PageSize[297.63 419.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[297.63 419.52]/ImagingBBox null>>setpagedevice"
      CustomMedia "A6.FB/A6 Borderless 105x148mm" 297.63 419.52 0 0 0 0 "<</cupsInteger0 73/PageSize[297.63 419.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/cupsReal0 0/cupsReal1 0/PageSize[297.63 419.52]/ImagingBBox null>>setpagedevice"
      CustomMedia "Statement/Statement 5.5x8.5in" 396 612 8.4 8.4 8.4 8.4 "<</cupsInteger0 15/PageSize[396 612]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 15/PageSize[396 612]/ImagingBBox null>>setpagedevice"

      // 5x7
      CustomMedia "Photo5x7/Photo 5x7in" 360 504 8.4 8.4 8.4 8.4 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo5x7.FB/Photo Borderless 5x7in" 360 504 0 0 0 0 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
      CustomMedia "Card5x8/Borderless Index Card 5x8in" 360 576 0 0 0 0 "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
      CustomMedia "Card5x8.FB/Index Card 5x8in" 360 576 8.4 8.4 8.4 8.4 "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
      CustomMedia "A5/A5 148x210mm" 419.52 595.27 8.4 8.4 8.4 8.4 "<</cupsInteger0 25/PageSize[419.52 595.27]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.52 595.27]/ImagingBBox null>>setpagedevice"
      CustomMedia "A5.FB/A5 Borderless 148x210mm" 419.52 595.27 0 0 0 0 "<</cupsInteger0 25/PageSize[419.52 595.27]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/cupsReal0 0/cupsReal1 0/PageSize[419.52 595.27]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo2L/2L 127x178mm" 360 504 8.4 8.4 8.4 8.4 "<</cupsInteger0 126/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo2L.FB/2L Borderless 127x178mm" 360 504 0 0 0 0 "<</cupsInteger0 126/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/cupsReal0 0/cupsReal1 0/PageSize[360 504]/ImagingBBox null>>setpagedevice"
      CustomMedia "Oufuku/Oufuku-Hagaki 200x148mm" 566.92 419.52 8.4 8.4 8.4 8.4 "<</cupsInteger0 72/PageSize[566.92 419.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[566.92 419.52]/ImagingBBox null>>setpagedevice"
      CustomMedia "Oufuku.FB/Borderless Oufuku-Hagaki 200x148mm" 566.92 419.52 0 0 0 0 "<</cupsInteger0 72/PageSize[566.92 419.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[566.92 419.52]/ImagingBBox null>>setpagedevice"


      // Standard
      CustomMedia "Hagaki/Hagaki" 283 420 8.4 8.4 8.4 8.4 "<</cupsInteger0 71/PageSize[283 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[283 420]/ImagingBBox null>>setpagedevice"
      CustomMedia "Hagaki.FB/Hagaki Borderless 100x148mm" 283 420 0 0 0 0 "<</cupsInteger0 71/PageSize[283 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/cupsReal0 0/cupsReal1 0/PageSize[283 420]/ImagingBBox null>>setpagedevice"
      CustomMedia "Hagaki.Duplex/Hagaki AutoDuplex 100x148mm" 283 420 8.4 0 8.4 8.4 "<</cupsInteger0 71/PageSize[283 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[283 420]/ImagingBBox null>>setpagedevice"
      CustomMedia "JB5/JB5 182x257mm" 515.90 728.50 8.4 8.4 8.4 8.4 "<</cupsInteger0 45/PageSize[515.90 728.50]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [515.90 728.50]/ImagingBBox null>>setpagedevice"
      CustomMedia "JB5.Duplex/JB5 AutoDuplex 182x257mm" 515.90 728.50 8.4 0 8.4 8.4 "<</cupsInteger0 45/PageSize[515.90 728.50]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 45/PageSize [515.90 728.50]/ImagingBBox null>>setpagedevice"
      CustomMedia "JB5.FB/JB5 Borderless 182x257mm" 515.90 728.50 0 0 0 0 "<</cupsInteger0 45/PageSize[515.90 728.50]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [515.90 728.50]/ImagingBBox null>>setpagedevice"
      CustomMedia "B5/B5 176x250mm" 498.96 708.48 8.4 8.4 8.4 8.4 "<</cupsInteger0 101/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
      CustomMedia "B5.Duplex/B5 AutoDuplex 176x250mm" 498.96 699.48 8.4 0 8.4 8.4 "<</cupsInteger0 101/PageSize[498.96 699.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[498.96 699.48]/ImagingBBox null>>setpagedevice"
      CustomMedia "Executive/Executive 7.25x10.5in" 522 756 8.4 8.4 8.4 8.4 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
      CustomMedia "Executive.Duplex/Executive AutoDuplex 7.25x10.5in" 522 756 8.4 0 8.4 8.4 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
      *CustomMedia "Letter/Letter 8.5x11in" 612 792 8.4 8.4 8.4 8.4 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
       CustomMedia "Letter.Duplex/Letter AutoDuplex 8.5x11in" 612 792 8.4 0 8.4 8.4 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
      CustomMedia "Letter.FB/Letter Borderless 8.5x11in" 612 792 0 0 0 0 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/cupsReal0 0/cupsReal1 0/PageSize[612 792]/ImagingBBox null>>setpagedevice"
      CustomMedia "CardLetter/Index Card Letter 8.5x11in" 612 792 8.4 8.4 8.4 8.4 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
      CustomMedia "CardLetter.FB/Borderless Index Card Letter 8.5x11in" 612 792 8.4 8.4 8.4 8.4 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/cupsReal0 0/cupsReal1 0/PageSize[612 792]/ImagingBBox null>>setpagedevice"
      CustomMedia "A4/A4 210x297mm" 595.27 841.88 8.4 8.4 8.4 8.4 "<</cupsInteger0 26/PageSize[595.27 841.88]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.27 841.88]/ImagingBBox null>>setpagedevice"
      CustomMedia "A4.Duplex/A4 AutoDuplex 210x297mm" 595.27 841.88 8.4 0 8.4 8.4 "<</cupsInteger0 26/PageSize[595.27 841.88]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 26/PageSize[595.27 841.88]/ImagingBBox null>>setpagedevice"
      CustomMedia "A4.FB/A4 Borderless 210x297mm" 595.27 841.88 0 0 0 0 "<</cupsInteger0 26/PageSize[595.27 841.88]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/cupsReal0 0/cupsReal1 0/PageSize[595.27 841.88]/ImagingBBox null>>setpagedevice"
      CustomMedia "CardA4/Index Card A4 210x297mm" 595.27 841.88 8.4 8.4 8.4 8.4 "<</cupsInteger0 26/PageSize[595.27 841.88]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.27 841.88]/ImagingBBox null>>setpagedevice"
      CustomMedia "CardA4.FB/Borderless Index Card A4 210x297mm" 595.27 841.88 0 0 0 0 "<</cupsInteger0 26/PageSize[595.27 841.88]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/cupsReal0 0/cupsReal1 0/PageSize[595.27 841.88]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo10x15/Photo 10x15cm" 288 432 8.4 8.4 8.4 8.4 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo10x15.FB/Borderless Photo 10x15cm" 288 432 0 0 0 0 "<</cupsInteger0 74/cupsReal0 .098/cupsReal1 .098/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/cupsReal0 0/cupsReal1 0/PageSize[288 432]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo13x18/Photo 13x18cm" 360 504 8.4 8.4 8.4 8.4 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo13x18.FB/Photo Borderless 13x18in" 360 504 0 0 0 0 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/cupsReal0 0/cupsReal1 0/PageSize[360 504]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo8x10/Photo 8x10in" 576 720 8.4 8.4 8.4 8.4 "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo8x10.FB/Borderless Photo 8x10in" 576 720 0 0 0 0 "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/cupsReal0 0/cupsReal1 0/PageSize[576 720]/ImagingBBox null>>setpagedevice"
      CustomMedia "8.5x13/8.5x13in" 612 936 8.4 8.4 8.4 8.4 "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[612 936]/ImagingBBox null>>setpagedevice"

      
         // Envelope
      CustomMedia "Env10/#10 Envelope 4.125x9.5in" 297 684 8.4 8.4 8.4 8.4 "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvA2/A2 Envelope 4.37x5.75in" 314.64 414 8.4 8.4 8.4 8.4 "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvC5/C5 Envelope 162x229mm" 459.36 649.44 8.4 8.4 8.4 8.4 "<</cupsInteger0 91/PageSize[459.36 649.44]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 91/PageSize[459.36 649.44]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.28 459.36 8.4 8.4 8.4 8.4 "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvDL/DL Envelope 110x220mm" 311.76 623.52 8.4 8.4 8.4 8.4 "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279 540 8.4 8.4 8.4 8.4 "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 339.84 666 8.4 8.4 8.4 8.4 "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvChou4/#4 Japanese Envelope 90x205mm" 254.88 581.04 8.4 8.4 8.4 8.4 "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
      CustomMedia "Env6/#6 Envelope 3.63x6.5in" 261.36 468 8.4 8.4 8.4 8.4 "<</cupsInteger0 83/PageSize[261.36 468]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 83/PageSize[261.36 468]/ImagingBBox null>>setpagedevice"
   
     
      // Custom page sizes from 1x4in to legal
      HWMargins 8.4 8.4 8.4 8.4
      VariablePaperSize Yes
      MinSize 3.54in 5in
      MaxSize 8.5in 14in 

    // <%CopperheadIPH15:Normal%>
    {
      ModelName "HP Envy 5540 Series"
      Attribute "NickName" "" "HP Envy 5540 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Envy 5540 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:envy 5540 series;DES:envy 5540 series;"
      PCFileName "hp-envy_5540_series.ppd"
      Attribute "Product" "" "(HP Envy 5540 All-in-one Printer Series)"
      Attribute "Product" "" "(HP Envy 5540 All-in-one Printer)"
      Attribute "Product" "" "(HP Envy 5545 E-all-in-one Printer)"
      Attribute "Product" "" "(HP Envy 5543 All-in-one Printer)"
      Attribute "Product" "" "(HP Envy 5544 All-in-one Printer)"
      Attribute "Product" "" "(HP Envy 5542 E-all-in-one Printer)"
      Attribute "Product" "" "(HP Envy 5546 All-in-one Printer)"
    }
    {
      ModelName "HP Deskjet 5570 Series"
      Attribute "NickName" "" "HP Deskjet 5570 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 5570 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 5570 series;DES:deskjet 5570 series;"
      PCFileName "hp-deskjet_5570_series.ppd"
      Attribute "Product" "" "(HP Deskjet Ink Advantage 5570 All-in-one)"
      Attribute "Product" "" "(HP Deskjet Ink Advantage 5575 All-in-one)"
    }
     
} // End CopperheadIPH15

//////// CopperheadIPH17
{
    Attribute "cupsEvenDuplex" "" "True"
    Attribute "cupsBackSide" "" "Rotated"
    Attribute "cupsFlipDuplex" "" "True"
    Attribute "hpPrinterLanguage" "" "pcl3gui2"
    Attribute "HPMechOffset" "" "117"
    Attribute "hpPrinterPlatform" "" "CopperheadIPH17"
    Attribute "HPSPDClass" "" 1

    Group "General/General"

    Option "ColorModel/Output Mode" PickOne AnySetup 10.0
    *Choice "RGB/Color" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 0>>setpagedevice"
    Choice "CMYGray/High Quality Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 1>>setpagedevice"
    Choice "KGray/Black Only Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2>>setpagedevice"

    // cupsMediaType values map to MEDIATYPE from global_types.h
    Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0>>setpagedevice"
    Choice "Glossy/HP Photo Papers" "<</MediaType(Glossy)/cupsMediaType 5>>setpagedevice"
    Choice "CoatedBrochure/HP Matte Brochure or Professional Paper" "<</MediaType(CoatedBrochure)/cupsMediaType 2>>setpagedevice"
    Choice "CoatedMatte/HP Matte Presentation Paper" "<</MediaType(CoatedMatte)/cupsMediaType 2>>setpagedevice"
    Choice "BrochureGlosy/HP Glossy Brochure or Professional Paper" "<</MediaType(BrochureGlosy)/cupsMediaType 8>>setpagedevice"
    Choice "FastGlossy/Other photo inkjet papers" "<</MediaType(FastGlossy)/cupsMediaType 5>>setpagedevice"
    Choice "Coated/Other matte inkjet papers Paper" "<</MediaType(Coated)/cupsMediaType 2>>setpagedevice"
    Choice "Brochure/Other glossy inkjet Paper" "<</MediaType(Brochure)/cupsMediaType 8>>setpagedevice"
	Choice "PlainLight/Plain Paper,Light/Recycled" "<</MediaType(PlainLight)/cupsMediaType 1>>setpagedevice"
  


     // cupsCompression values map to QUALITY_MODE from global_types.h
    Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "Normal/Normal" "<</OutputType(0)/HWResolution[600 600]>>setpagedevice"
     Choice "FastDraft/Draft" "<</OutputType(-2)/HWResolution[300 300]>>setpagedevice"
     Choice "Best/Best" "<</OutputType(1)/HWResolution[600 600]>>setpagedevice"
     Choice "Photo/High-Resolution Photo" "<</OutputType(2)/HWResolution[1200 1200]>>setpagedevice"


    Option "InputSlot/Media Source" PickOne AnySetup 10.0
       *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"
       Choice "PhotoTray/Photo Tray" "<</MediaPosition 6>>setpagedevice"
       Choice "Upper/Main Tray" "<</MediaPosition 1>>setpagedevice"

    Option "Duplex/Double-Sided Printing" PickOne AnySetup 10.0
       Choice "DuplexNoTumble/Long Edge (Standard)" "<</Duplex true/Tumble false>>setpagedevice"
       Choice "DuplexTumble/Short Edge (Flip)" "<</Duplex true/Tumble true>>setpagedevice"
       *Choice "None/Off" "<</Duplex false/Tumble false>>setpagedevice"

     //Constraints
     

     //PaperSizes & MediaTypes
     

     UIConstraints "*PageSize Photo2L.FB *MediaType Plain"
     UIConstraints "*PageSize LSize3.5*5.FB *MediaType Plain"
     UIConstraints "*PageSize Photo4x5in.FB *MediaType Plain"
     UIConstraints "*PageSize Card4x6.FB *MediaType Plain"
     UIConstraints "*PageSize Photo4*12.FB *MediaType Plain"
     UIConstraints "*PageSize IndexCard5X7.FB *MediaType Plain"
     UIConstraints "*PageSize USGOVLETTER8x10.FB *MediaType Plain"
     UIConstraints "*PageSize A4.FB *MediaType Plain"
     UIConstraints "*PageSize A5.FB *MediaType Plain"
     UIConstraints "*PageSize A6.FB *MediaType Plain"
     UIConstraints "*PageSize JB5.FB *MediaType Plain"
     UIConstraints "*PageSize Photo4x6.FB *MediaType Plain"
     UIConstraints "*PageSize Card5x8.FB *MediaType Plain"
     UIConstraints "*PageSize CardA4.FB *MediaType Plain"
     UIConstraints "*PageSize Hagaki.FB *MediaType Plain"
     UIConstraints "*PageSize Letter.FB *MediaType Plain"
     UIConstraints "*PageSize Oufuku.FB *MediaType Plain"
	 
     //Non duplex media against duplex
     UIConstraints "*PageSize Photo2L *Duplex"
     UIConstraints "*PageSize Photo2L.FB *Duplex"
     UIConstraints "*PageSize LSize3.5*5 *Duplex"
     UIConstraints "*PageSize LSize3.5*5.FB *Duplex"
     UIConstraints "*PageSize Photo4x5in.FB *Duplex"
     UIConstraints "*PageSize Photo4x5in.FB *Duplex"
     UIConstraints "*PageSize Card4x6 *Duplex"
     UIConstraints "*PageSize Card4x6.FB *Duplex"
     UIConstraints "*PageSize Photo4*12 *Duplex"
     UIConstraints "*PageSize Photo4*12.FB *Duplex"
     UIConstraints "*PageSize IndexCard5X7 *Duplex"
     UIConstraints "*PageSize IndexCard5X7.FB *Duplex"
     UIConstraints "*PageSize Env6 *Duplex"
     UIConstraints "*PageSize FOOLSCAP8.5x13 *Duplex"
     UIConstraints "*PageSize USGOVLETTER8x10 *Duplex"
     UIConstraints "*PageSize USGOVLETTER8x10.FB *Duplex"
     UIConstraints "*PageSize A5 *Duplex"
     UIConstraints "*PageSize A5.FB *Duplex"
     UIConstraints "*PageSize A6 *Duplex"
     UIConstraints "*PageSize A6.FB *Duplex"
	 UIConstraints "*PageSize Custom1 *Duplex"
	 UIConstraints "*PageSize Env10 *Duplex"
	 UIConstraints "*PageSize EnvelopeA2 *Duplex"
	 UIConstraints "*PageSize EnvC5 *Duplex"
	 UIConstraints "*PageSize EnvC6 *Duplex"
     UIConstraints "*PageSize EnvDL *Duplex"
	 UIConstraints "*PageSize EnvMonarch *Duplex"
	 UIConstraints "*PageSize Photo4x6 *Duplex"
	 UIConstraints "*PageSize Photo4x6.FB *Duplex"
	 UIConstraints "*PageSize Card5x8 *Duplex"
	 UIConstraints "*PageSize Card5x8.FB *Duplex"
	 UIConstraints "*PageSize CardA4 *Duplex"
	 UIConstraints "*PageSize CardA4.FB *Duplex"
	 UIConstraints "*PageSize Letter *Duplex"
	 UIConstraints "*PageSize Letter.FB *Duplex"
	 UIConstraints "*PageSize EnvChou3 *Duplex"
	 UIConstraints "*PageSize EnvChou4 *Duplex"
	 UIConstraints "*PageSize USLegal8.5x14in *Duplex"
	 UIConstraints "*PageSize Oufuku *Duplex"
	 UIConstraints "*PageSize Oufuku.FB *Duplex"
	 UIConstraints "*PageSize Statement *Duplex"		 
	 
	  CustomMedia "Photo2L/2L 127x178mm" 360 504 8.4 8.4 8.4 8.4 "<</cupsInteger0 126/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
		 
      CustomMedia "Photo2L.FB/2L Borderless 127x178mm" 360 504 0 0 0 0 "<</cupsInteger0 126/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/cupsReal0 0/cupsReal1 0/PageSize[360 504]/ImagingBBox null>>setpagedevice"
		 
	  CustomMedia "LSize3.5*5/LSize3.5x5in." 252 360 8.4 8.4 8.4 8.4 "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
		 
      CustomMedia "LSize3.5*5.FB/BorderlessLSize3.5x5in." 252 360 0 0 0 0 "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
		 
      CustomMedia "Photo4x5in/Photo 4x5in." 288 360 8.4 8.4 8.4 8.4 "<</cupsInteger0 30002/PageSize[288 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 30002/PageSize[288 360]/ImagingBBox null>>setpagedevice"
		 
      CustomMedia "Photo4x5in.FB/Borderless Photo 4x5in." 288 360 0 0 0 0 "<</cupsInteger0 30002/PageSize[288 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 30002/PageSize[288 360]/ImagingBBox null>>setpagedevice"
		 
      CustomMedia "Card4x6/Index Card 4x6in" 288 432 8.4 8.4 8.4 8.4 "<</cupsInteger0 74/PageSize [288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"

      CustomMedia "Card4x6.FB/Borderless Index Card 4x6in" 288 432 0 0 0 0 "<</cupsInteger0 74/PageSize [288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/cupsReal0 0/cupsReal1 0/PageSize[288 432]/ImagingBBox null>>setpagedevice"
		 
      CustomMedia "Photo4*12/Photo 4x12in" 288 864 8.4 8.4 8.4 8.4 "<</cupsInteger0 30000/PageSize[288 864]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 30000/PageSize[288 864]/ImagingBBox null>>setpagedevice"
		 
      CustomMedia "Photo4*12.FB/Borderless Photo 4x12in" 288 864 8.4 8.4 8.4 8.4 "<</cupsInteger0 30000/PageSize[288 864]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 30000/PageSize[288 864]/ImagingBBox null>>setpagedevice"
		 
      CustomMedia "IndexCard5X7/Index Card 5X7" 360 504 8.4 8.4 8.4 8.4 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"

      CustomMedia "IndexCard5X7.FB/Borderless Index Card 5X7" 360 504 0 0 0 0 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
		 
      CustomMedia "Env6/#6 Envelope 3.63x6.5in" 261.36 468 8.4 8.4 8.4 8.4 "<</cupsInteger0 83/PageSize[261.36 468]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 83/PageSize[261.36 468]/ImagingBBox null>>setpagedevice"		 
		 
      CustomMedia "FOOLSCAP8.5x13/FoolScap 8.5x13in" 612 936 8.4 8.4 8.4 8.4 "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[612 936]/ImagingBBox null>>setpagedevice"
		 
      CustomMedia "USGOVLETTER8x10/US GOV LETTER 8x10in" 576 720 8.4 8.4 8.4 8.4 "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
		 
      CustomMedia "USGOVLETTER8x10.FB/Borderless US GOV LETTER 8x10in" 576 720 0 0 0 0 "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/cupsReal0 0/cupsReal1 0/PageSize[576 720]/ImagingBBox null>>setpagedevice"
		 
      CustomMedia "A4/A4 210x297mm" 595.44 841.68 8.4 8.4 8.4 8.4 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
		 
      CustomMedia "A4.FB/A4 Borderless 210x297mm" 595.44 841.68 0 0 0 0 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/cupsReal0 0/cupsReal1 0/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
		 
      CustomMedia "A5/A5 148x210mm" 419.52 595.27 8.4 8.4 8.4 8.4 "<</cupsInteger0 25/PageSize[419.52 595.27]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.52 595.27]/ImagingBBox null>>setpagedevice"

      CustomMedia "A5.FB/A5 Borderless 148x210mm" 419.52 595.27 0 0 0 0 "<</cupsInteger0 25/PageSize[419.52 595.27]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/cupsReal0 0/cupsReal1 0/PageSize[419.52 595.27]/ImagingBBox null>>setpagedevice"
		 
      CustomMedia "A6/A6 105x148mm" 297.63 419.52 8.4 8.4 8.4 8.4 "<</cupsInteger0 73/PageSize[297.63 419.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[297.63 419.52]/ImagingBBox null>>setpagedevice"

      CustomMedia "A6.FB/A6 Borderless 105x148mm" 297.63 419.52 0 0 0 0 "<</cupsInteger0 73/PageSize[297.63 419.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/cupsReal0 0/cupsReal1 0/PageSize[297.63 419.52]/ImagingBBox null>>setpagedevice"
		 
      CustomMedia "B5/B5 176x250mm" 498.96 708.48 8.4 8.4 8.4 8.4 "<</cupsInteger0 101/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"

      CustomMedia "JB5/JB5 182x257mm" 515.90 728.50 8.4 8.4 8.4 8.4 "<</cupsInteger0 45/PageSize[515.90 728.50]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [515.90 728.50]/ImagingBBox null>>setpagedevice"
		 
	  CustomMedia "JB5.FB/JB5 Borderless 182x257mm" 515.90 728.50 0 0 0 0 "<</cupsInteger0 45/PageSize[515.90 728.50]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [515.90 728.50]/ImagingBBox null>>setpagedevice"
		 
		 
      CustomMedia "Env10/#10 Envelope 4.125x9.5in" 297 684 8.4 8.4 8.4 8.4 "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"

      CustomMedia "EnvelopeA2/Envelope A2 111*146mm" 314.88 414 8.4 8.4 8.4 8.4 "<</cupsInteger0 109/PageSize[314.88 414]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 109/PageSize[314.88 414]/ImagingBBox null>>setpagedevice"
		 
      CustomMedia "EnvC5/C5 Envelope 162x229mm" 459.36 649.44 8.4 8.4 8.4 8.4 "<</cupsInteger0 91/PageSize[459.36 649.44]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 91/PageSize[459.36 649.44]/ImagingBBox null>>setpagedevice"
			 
      CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.28 459.36 8.4 8.4 8.4 8.4 "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
			 
      CustomMedia "EnvDL/DL Envelope 110x220mm" 311.76 623.52 8.4 8.4 8.4 8.4 "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
			 
      CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279 540 8.4 8.4 8.4 8.4 "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
			 
      CustomMedia "Executive/Executive 7.25x10.5in" 522 756 8.4 8.4 8.4 8.4 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
		 
      CustomMedia "Photo4x6/Photo 4x6in" 288 432 8.4 8.4 8.4 8.4 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
		 
      CustomMedia "Photo4x6.FB/Borderless Photo 4x6in" 288 432 0 0 0 0 "<</cupsInteger0 74/cupsReal0 .098/cupsReal1 .098/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/cupsReal0 0/cupsReal1 0/PageSize[288 432]/ImagingBBox null>>setpagedevice"

	  CustomMedia "Card5x8.FB/Borderless Index Card 5x8in" 360 576 0 0 0 0 "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
		 
      CustomMedia "Card5x8/Index Card 5x8in" 360 576 8.4 8.4 8.4 8.4 "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
		 
      CustomMedia "CardA4/Index Card A4 210x297mm" 595.27 841.88 8.4 8.4 8.4 8.4 "<</cupsInteger0 26/PageSize[595.27 841.88]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.27 841.88]/ImagingBBox null>>setpagedevice"
		 
      CustomMedia "CardA4.FB/Borderless Index Card A4 210x297mm" 595.27 841.88 0 0 0 0 "<</cupsInteger0 26/PageSize[595.27 841.88]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/cupsReal0 0/cupsReal1 0/PageSize[595.27 841.88]/ImagingBBox null>>setpagedevice"

      CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 339.84 666 8.4 8.4 8.4 8.4 "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
			 
      CustomMedia "EnvChou4/#4 Japanese Envelope 90x205mm" 254.88 581.04 8.4 8.4 8.4 8.4 "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
		 
      CustomMedia "Hagaki/Hagaki" 283 420 8.4 8.4 8.4 8.4 "<</cupsInteger0 71/PageSize[283 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[283 420]/ImagingBBox null>>setpagedevice"
		 
      CustomMedia "Hagaki.FB/Hagaki Borderless 100x148mm" 283 420 0 0 0 0 "<</cupsInteger0 71/PageSize[283 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/cupsReal0 0/cupsReal1 0/PageSize[283 420]/ImagingBBox null>>setpagedevice"

      CustomMedia "USLegal8.5x14in/US Legal 8.5x14in" 612 1008 8.4 8.4 8.4 8.4 "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
		 

	  CustomMedia "Letter/Letter 8.5x11in" 612 792 8.4 8.4 8.4 8.4 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"

      CustomMedia "Letter.FB/Letter Borderless 8.5x11in" 612 792 0 0 0 0 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/cupsReal0 0/cupsReal1 0/PageSize[612 792]/ImagingBBox null>>setpagedevice"

		 
      CustomMedia "Oufuku/Oufuku-Hagaki 200x148mm" 566.92 419.52 8.4 8.4 8.4 8.4 "<</cupsInteger0 72/PageSize[566.92 419.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[566.92 419.52]/ImagingBBox null>>setpagedevice"
		 
      CustomMedia "Oufuku.FB/Borderless Oufuku-Hagaki 200x148mm" 566.92 419.52 0 0 0 0 "<</cupsInteger0 72/PageSize[566.92 419.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[566.92 419.52]/ImagingBBox null>>setpagedevice"

		 
      CustomMedia "Statement/Statement 5.5x8.5in" 396 612 8.4 8.4 8.4 8.4 "<</cupsInteger0 15/PageSize[396 612]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 15/PageSize[396 612]/ImagingBBox null>>setpagedevice"
     
      // Custom page sizes from 1x4in to legal
      HWMargins 8.4 8.4 8.4 8.4
      VariablePaperSize Yes
      MinSize 3.54in 5in
      MaxSize 8.5in 14in 

    // <%CopperheadIPH17:Normal%>
    {
      ModelName "HP Envy Photo 6200 Series"
      Attribute "NickName" "" "HP Envy Photo 6200 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Envy Photo 6200 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:envy photo 6200 series;DES:envy photo 6200 series;"
      PCFileName "hp-envy_photo_6200_series.ppd"
      Attribute "Product" "" "(HP Envy Photo 6200 All-in-one)"
      Attribute "Product" "" "(HP Envy Photo 6220 All-in-one)"
      Attribute "Product" "" "(HP Envy Photo 6232 All-in-one)"
      Attribute "Product" "" "(HP Envy Photo 6234 All-in-one)"
      Attribute "Product" "" "(HP Envy Photo 6230 All-in-one)"
    }
    {
      ModelName "HP Envy Photo 7100 Series"
      Attribute "NickName" "" "HP Envy Photo 7100 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Envy Photo 7100 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:envy photo 7100 series;DES:envy photo 7100 series;"
      PCFileName "hp-envy_photo_7100_series.ppd"
      Attribute "Product" "" "(HP Envy Photo 7100 All-in-one)"
      Attribute "Product" "" "(HP Envy Photo 7120 All-in-one)"
      Attribute "Product" "" "(HP Envy Photo 7134 All-in-one)"
      Attribute "Product" "" "(HP Envy Photo 7155 All-in-one)"
      Attribute "Product" "" "(HP Envy Photo 7164 All-in-one)"
      Attribute "Product" "" "(HP Envy Photo 7130 All-in-one)"
    }
    {
      ModelName "HP Envy Photo 7800 Series"
      Attribute "NickName" "" "HP Envy Photo 7800 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Envy Photo 7800 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:envy photo 7800 series;DES:envy photo 7800 series;"
      PCFileName "hp-envy_photo_7800_series.ppd"
      Attribute "Product" "" "(HP Envy Photo 7800 All-in-one)"
      Attribute "Product" "" "(HP Envy Photo 7820 All-in-one)"
      Attribute "Product" "" "(HP Envy Photo 7830 All-in-one)"
      Attribute "Product" "" "(HP Envy Photo 7855 All-in-one)"
    }
     
} // End CopperheadIPH17

//////// CLE
{
    Attribute "cupsBackSide" "" "Rotated"
    Attribute "hpPrinterLanguage" "" "pcl3gui2"
    Attribute "HPMechOffset" "" "588"
    Attribute "hpPrinterPlatform" "" "SPDDeskJet"
    Attribute "HPSPDClass" "" 1

   

    Group "General/General"
   
    Option "ColorModel/Output Mode" PickOne AnySetup 10.0
     *Choice "RGB/Color" "<</cupsColorSpace 17/cupsBitsPerColor 8/cupsRowStep 0>>setpagedevice"
     Choice "CMYGray/High Quality Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 1>>setpagedevice"
     Choice "KGray/Black Only Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2>>setpagedevice"
    // cupsMediaType values map to MEDIATYPE from global_types.h
    Option "MediaType/Media Type" PickOne AnySetup 10.0
     *Choice "Plain/Plain paper" "<</MediaType/cupsMediaType 0>>setpagedevice"
      Choice "Glossy/HP Photo Papers" "<</MediaType/cupsMediaType 5>>setpagedevice"
      Choice "FastGlossy/Other photo inkjet papers" "<</MediaType/cupsMediaType 5>>setpagedevice"
      Choice "CoatedBrochure/HP Matte Brochure or Professional Paper" "<</MediaType/cupsMediaType 2>>setpagedevice"
      Choice "CoatedMatte/HP Matte Presentation Paper" "<</MediaType/cupsMediaType 2>>setpagedevice"
      Choice "Coated/Other matte inkjet papers" "<</MediaType/cupsMediaType 2>>setpagedevice"
      Choice "BrochureGlosy/HP Glosy Brochure or Professional Paper" "<</MediaType/cupsMediaType 8>>setpagedevice"
      Choice "Brochure/Other glosy inkjet papers" "<</MediaType/cupsMediaType 8>>setpagedevice"
      Choice "Recycled/Plain Paper Light or Recycled" "<</MediaType/cupsMediaType 1>>setpagedevice"
    
    // cupsCompression values map to QUALITY_MODE from global_types.h
    Option "OutputMode/Print Quality" PickOne AnySetup 10.0
     *Choice "Normal/Normal" "<</OutputType(0)/HWResolution[600 600]>>setpagedevice"
     Choice "FastDraft/Draft" "<</OutputType(-2)/HWResolution[300 300]>>setpagedevice"
     Choice "Best/Best" "<</OutputType(1)/HWResolution[600 600]>>setpagedevice"
     Choice "Photo/High-Resolution Photo" "<</OutputType(2)/HWResolution[1200 1200]>>setpagedevice"
    
    Option "InputSlot/Media Source" PickOne AnySetup 10.0
       *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"
        Choice "Upper/Main Tray" "<</MediaPosition 1>>setpagedevice"
     	
	 //4x6 or smaller
	 CustomMedia "Photo2L/Photo 2L 127x78mm" 360 504 8.4 8.4 8.4 41.04 "<</cupsInteger0 126/PageSize[360 504]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 126/PageSize[360 504]/ImagingBBox null>>setpagedevice"
	CustomMedia "LSIZ/CardL 3.5x5 in." 252 360 8.4 8.4 8.4 41.04 "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
	CustomMedia "Card3x5/Index Card 3x5in" 216 360 8.4 8.4 8.4 41.04 "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
	CustomMedia "Photo4x5/Photo 4x5in" 288 360 8.4 8.4 8.4 41.04 "<</cupsInteger0 30002/PageSize[288 360]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 121/PageSize[288 360]/ImagingBBox null>>setpagedevice"
	CustomMedia "Card4x6/IndexCard 4x6in" 288 432 8.4 8.4 8.4 41.04 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
	CustomMedia "Card10x15/IndexCard 10x15 cm in" 288 432 8.4 8.4 41.04 41.04 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
	CustomMedia "Card5x7/Card 5x7in" 360 504 8.4 8.4 8.4 41.04 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
	CustomMedia "FLSA/Foolscap 8.5x13in" 612 936 8.4 8.4 8.4 41.04 "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
	CustomMedia "Letter/Letter 8x10" 576 720 8.4 8.4 8.4 41.04 "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
	CustomMedia "Oufuku/Oufuku-Hagaki 200x148mm" 566 419.52 8.4 8.4 8.4 41.04 "<</cupsInteger0 72/PageSize[566 419.52]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 72/PageSize[566 419.52]/ImagingBBox null>>setpagedevice"
		 //Envelope
	CustomMedia "Env/#6 Envelope 6.63x6.5 in" 260.68 468 8.4 8.4 8.4 41.04 "<</cupsInteger0 83/PageSize[260.68 468]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 121/PageSize[260.68 468]/ImagingBBox null>>setpagedevice"	
	CustomMedia "A4/A4 210x297" 595.44 841.68 8.4 8.4 8.4 41.04 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"	
	CustomMedia "A5/A5 148x210" 612 792 8.4 8.4 8.4 41.04 "<</cupsInteger0 25/PageSize[612 792]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 25/PageSize[612 792]/ImagingBBox null>>setpagedevice"
	CustomMedia "A6/A6 105x148.5" 297.84 419.52 8.4 8.4 8.4 41.04 "<</cupsInteger0 24/PageSize[297.84 419.52]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 24/PageSize[297.84 419.52]/ImagingBBox null>>setpagedevice"	
	CustomMedia "B5176x250/B5 176x250" 498.72 708.48 8.4 8.4 8.4 41.04 "<</cupsInteger0 65/PageSize[498.72 708.48]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 65/PageSize[498.72 708.48]/ImagingBBox null>>setpagedevice"
	CustomMedia "B5/B5 182x257" 515.76 728.4 8.4 8.4 8.4 41.04 "<</cupsInteger0 45/PageSize[515.76 728.4]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 45/PageSize[515.76 728.4]/ImagingBBox null>>setpagedevice"
	CustomMedia "Env10/#10 Envelope 4.1x9.5in" 296.88 684 8.4 8.4 8.4 41.04 "<</cupsInteger0 81/PageSize[296.88 684]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 81/PageSize[296.88 684]/ImagingBBox null>>setpagedevice"
	CustomMedia "EnvA2/A2 Envelope 111x146in" 314.88 414 8.4 8.4 8.4 41.04 "<</cupsInteger0 109/PageSize[314.88 414]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 109/PageSize[314.88 414]/ImagingBBox null>>setpagedevice"
	CustomMedia "EnvC5/C5 Envelope 162x229mm in" 459.12 648.96 8.4 8.4 8.4 41.04 "<</cupsInteger0 91/PageSize[459.12 648.96]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 91/PageSize[459.12 648.96]/ImagingBBox null>>setpagedevice"
	CustomMedia "EnvC6/C6 Envelope 114x162mm in" 323.04 459.12 8.4 8.4 8.4 41.04 "<</cupsInteger0 92/PageSize[323.04 459.12]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 92/PageSize[323.04 459.12]/ImagingBBox null>>setpagedevice"
	CustomMedia "EnvDL/DL Envelope 110x220mm" 311.76 623.52 8.4 8.4 8.4 41.04 "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
	CustomMedia "EnvMonarch/Monarch Envelope 3.88x7.5in" 278.88 540 8.4 8.4 8.4 41.04 "<</cupsInteger0 80/PageSize[278.88 540]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 80/PageSize[278.88 540]/ImagingBBox null>>setpagedevice"
	CustomMedia "EnvChou3/#3 Japanese Envelope" 339.84 666 8.4 8.4 8.4 41.04 "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedCard3x5evice"
	"<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
	CustomMedia "EnvChou4/#4 Japanese Envelope" 254.88 581.04 8.4 8.4 8.4 41.04 "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
	CustomMedia "PostCard/ Japanese Hagaki 100x148 mm" 284.16 419.52 8.4 8.4 8.4 41.04 "<</cupsInteger0 71/PageSize[284.16 419.52]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 71/PageSize[284.16 419.52]/ImagingBBox null>>setpagedevice"	
		 //4x6
	CustomMedia "3x5in/3x5 in" 216 360 8.4 8.4 8.4 41.04 "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
	CustomMedia "Card4x6in/Card 4x6in" 288 432 8.4 8.4 8.4 41.04 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
	CustomMedia "Card5x8in/Index Card 5x8in" 360 576 8.4 8.4 8.4 41.04 "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
		 // Standard	
	CustomMedia "Executive/Executive 7.25x10.5in" 522 756 8.4 8.4 8.4 41.04 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
	CustomMedia "A48.27x11.69/A48.27x11.69" 595.44 841 8.4 8.4 8.4 41.04 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
	CustomMedia "Legal/Legal 8.5x14in" 612 1008 8.4 8.4 8.4 41.04 "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
	CustomMedia "USLETTER/Letter 8.5X11in" 612 792 8.4 8.4 8.4 41.04 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
	CustomMedia "LETTER8.5X11/Letter 8.5X11in" 612 1008 8.4 8.4 8.4 41.04 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
	CustomMedia "Statement/Statement 5.5x8.5in" 396 612 8.4 8.4 8.4 41.04 "<</cupsInteger0 15/PageSize[396 612]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 15/PageSize[396 612]/ImagingBBox null>>setpagedevice" 		 
     // <%CLE:Normal%>
     {
       ModelName "HP Deskjet 2200 Series"
       Attribute "NickName" "" "HP Deskjet 2200 Series, hpcups $Version"
       Attribute "ShortNickName" "" "HP Deskjet 2200 Series"
       Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 2200 series;DES:deskjet 2200 series;"
       PCFileName "hp-deskjet_2200_series.ppd"
       Attribute "Product" "" "(HP Deskjet 2200 All-in-one)"
       Attribute "Product" "" "(HP Deskjet Ink Advantage 2200 All-in-one)"
     }
     {
       ModelName "HP Deskjet 3700 Series"
       Attribute "NickName" "" "HP Deskjet 3700 Series, hpcups $Version"
       Attribute "ShortNickName" "" "HP Deskjet 3700 Series"
       Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 3700 series;DES:deskjet 3700 series;"
       PCFileName "hp-deskjet_3700_series.ppd"
       Attribute "Product" "" "(HP Deskjet 3700 All-in-one)"
       Attribute "Product" "" "(HP Deskjet 3722 All-in-one)"
       Attribute "Product" "" "(HP Deskjet Ink Advantage 3789 All-in-one)"
       Attribute "Product" "" "(HP Deskjet Ink Advantage 3790 All-in-one)"
       Attribute "Product" "" "(HP Deskjet Ink Advantage 3735 All-in-one)"
     }
}// End CLE

//////// CLE17
{
   // Attribute "cupsEvenDuplex" "" "True"
    Attribute "cupsBackSide" "" "Rotated"
    //Attribute "cupsFlipDuplex" "" "True"
    Attribute "hpPrinterLanguage" "" "pcl3gui2"
    Attribute "HPMechOffset" "" "497"
    Attribute "hpPrinterPlatform" "" "SPDDeskJet"
    Attribute "HPSPDClass" "" 1

    Group "General/General"
    Option "ColorModel/Output Mode" PickOne AnySetup 10.0
    *Choice "RGB/Color" "<</cupsColorSpace 17/cupsBitsPerColor 8/cupsRowStep 0>>setpagedevice"
    Choice "CMYGray/High Quality Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 1>>setpagedevice"
    Choice "KGray/Black Only Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2>>setpagedevice"
    // cupsMediaType values map to MEDIATYPE from global_types.h
    Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Plain/Plain paper" "<</MediaType/cupsMediaType 0>>setpagedevice"
    Choice "Glossy/HP Photo Papers" "<</MediaType/cupsMediaType 5>>setpagedevice"
    Choice "FastGlossy/Other photo inkjet papers" "<</MediaType/cupsMediaType 5>>setpagedevice"
    Choice "CoatedBrochure/HP Matte Brochure or Professional Paper" "<</MediaType/cupsMediaType 2>>setpagedevice"
    Choice "CoatedMatte/HP Matte Presentation Paper" "<</MediaType/cupsMediaType 2>>setpagedevice"
    Choice "Coated/Other matte inkjet papers" "<</MediaType/cupsMediaType 2>>setpagedevice"
    Choice "BrochureGlosy/HP Glosy Brochure or Professional Paper" "<</MediaType/cupsMediaType 8>>setpagedevice"
    Choice "Brochure/Other glosy inkjet papers" "<</MediaType/cupsMediaType 8>>setpagedevice"
	Choice "Recycled/Plain Paper Light or Recycled" "<</MediaType/cupsMediaType 1>>setpagedevice"
     // cupsCompression values map to QUALITY_MODE from global_types.h
    Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "Normal/Normal" "<</OutputType(0)/HWResolution[600 600]>>setpagedevice"
     Choice "FastDraft/Draft" "<</OutputType(-2)/HWResolution[300 300]>>setpagedevice"
     Choice "Best/Best" "<</OutputType(1)/HWResolution[600 600]>>setpagedevice"
     Choice "Photo/High-Resolution Photo" "<</OutputType(2)/HWResolution[1200 1200]>>setpagedevice"
    Option "InputSlot/Media Source" PickOne AnySetup 10.0
       *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"
        Choice "Upper/Main Tray" "<</MediaPosition 1>>setpagedevice"
    	 //4x6 or smaller
	 CustomMedia "Photo2L/Photo 2L 127x178mm" 360 504 8.4 8.4 8.4 36 "<</cupsInteger0 126/PageSize[360 504]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 126/PageSize[360 504]/ImagingBBox null>>setpagedevice"
	CustomMedia "LSIZ/CardL 3.5x5 in." 252 360 8.4 8.4 8.4 36 "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
	CustomMedia "Card3x5/Index Card 3x5in" 216 360 8.4 8.4 8.4 36 "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
	CustomMedia "Photo4x5/Photo 4x5in" 288 360 8.4 8.4 8.4 36 "<</cupsInteger0 30002/PageSize[288 360]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 30002/PageSize[288 360]/ImagingBBox null>>setpagedevice"
	CustomMedia "Card4x6/IndexCard 4x6in" 288 432 8.4 8.4 8.4 36 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
	CustomMedia "Card10x15/IndexCard 10x15 cm in" 288 432 8.4 8.4 36 36 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
    CustomMedia "Photo_4x12/Photo 4x12in" 288 864 8.4 8.4 8.4 36 "<</cupsInteger0 30000/PageSize[288 864]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 30000/PageSize[288 864]/ImagingBBox null>>setpagedevice"
	CustomMedia "Card5x7/Card 5x7in" 360 504 8.4 8.4 8.4 36 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
	CustomMedia "FLSA/Foolscap 8.5x13in" 612 936 8.4 8.4 8.4 36 "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
    "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
	CustomMedia "Letter/Letter 8x10" 576 720 8.4 8.4 8.4 36 "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
	CustomMedia "Oufuku/Oufuku-Hagaki 200x148mm" 566.64 419.52 8.4 8.4 8.4 36 "<</cupsInteger0 72/PageSize[566 419.52]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 72/PageSize[566 419.52]/ImagingBBox null>>setpagedevice"
	// Custom page sizes from 1x4in to legal
	

	 //Envelope
    CustomMedia "ENVELOPE_NO_6_75/Envelope_6" 260.88 468 8.4 8.4 8.4 36 "<</cupsInteger0 83/PageSize[260.68 468]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 83/PageSize[260.68 468]/ImagingBBox null>>setpagedevice"	
	CustomMedia "Env/#6 Envelope 6.63x6.5 in" 260.68 468 8.4 8.4 8.4 36 "<</cupsInteger0 83/PageSize[260.68 468]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 121/PageSize[260.68 468]/ImagingBBox null>>setpagedevice"	
	CustomMedia "A4/A4 210x297" 595.44 841.68 8.4 8.4 8.4 36 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"	
	CustomMedia "A5/A5 148x210" 419.76 595.44 8.4 8.4 8.4 36 "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
	CustomMedia "A6/A6 105x148.5" 297.84 419.52 8.4 8.4 8.4 36 "<</cupsInteger0 24/PageSize[297.84 419.52]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 24/PageSize[297.84 419.52]/ImagingBBox null>>setpagedevice"	
	CustomMedia "B5176x250/B5 176x250" 498.72 708.48 8.4 8.4 8.4 36 "<</cupsInteger0 65/PageSize[498.72 708.48]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 65/PageSize[498.72 708.48]/ImagingBBox null>>setpagedevice"
	CustomMedia "B5/B5 182x257" 515.76 728.4 8.4 8.4 8.4 36 "<</cupsInteger0 45/PageSize[515.76 728.4]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 45/PageSize[515.76 728.4]/ImagingBBox null>>setpagedevice"
	CustomMedia "Env10/#10 Envelope 4.1x9.5in" 296.88 684 8.4 8.4 8.4 36 "<</cupsInteger0 81/PageSize[296.88 684]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 81/PageSize[296.88 684]/ImagingBBox null>>setpagedevice"
	CustomMedia "EnvA2/A2 Envelope 111x146in" 314.88 414 8.4 8.4 8.4 36 "<</cupsInteger0 109/PageSize[314.88 414]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 109/PageSize[314.88 414]/ImagingBBox null>>setpagedevice"
	CustomMedia "EnvC5/C5 Envelope 162x229mm in" 459.12 648.96 8.4 8.4 8.4 36 "<</cupsInteger0 91/PageSize[459.12 648.96]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 91/PageSize[459.12 648.96]/ImagingBBox null>>setpagedevice"
	CustomMedia "EnvC6/C6 Envelope 114x162mm in" 323.04 459.12 8.4 8.4 8.4 36 "<</cupsInteger0 92/PageSize[323.04 459.12]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 92/PageSize[323.04 459.12]/ImagingBBox null>>setpagedevice"
	CustomMedia "EnvDL/DL Envelope 110x220mm" 311.76 623.52 8.4 8.4 8.4 36 "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
	CustomMedia "EnvMonarch/Monarch Envelope 3.88x7.5in" 278.88 540 8.4 8.4 8.4 36 "<</cupsInteger0 80/PageSize[278.88 540]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 80/PageSize[278.88 540]/ImagingBBox null>>setpagedevice"
	CustomMedia "EnvChou3/#3 Japanese Envelope" 339.84 666 8.4 8.4 8.4 36 "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedCard3x5evice"
	"<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
	CustomMedia "EnvChou4/#4 Japanese Envelope" 254.88 581.04 8.4 8.4 8.4 36 "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
	CustomMedia "PostCard/ Japanese Hagaki 100x148 mm" 284.16 419.52 8.4 8.4 8.4 36 "<</cupsInteger0 71/PageSize[284.16 419.52]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 71/PageSize[284.16 419.52]/ImagingBBox null>>setpagedevice"	
		 //4x6
	CustomMedia "3x5in/3x5 in" 216 360 8.4 8.4 8.4 36 "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
	CustomMedia "Card4x6in/Card 4x6in" 288 432 8.4 8.4 8.4 36 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
	CustomMedia "Card5x8in/Index Card 5x8in" 360 576 8.4 8.4 8.4 36 "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
		 // Standard	
	CustomMedia "Executive/Executive 7.25x10.5in" 522 756 8.4 8.4 8.4 36 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
	CustomMedia "A48.27x11.69/A48.27x11.69" 595.44 841 8.4 8.4 8.4 36 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
	CustomMedia "Legal/Legal 8.5x14in" 612 1008 8.4 8.4 8.4 36 "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
	CustomMedia "USLETTER/Letter 8.5X11in" 612 792 8.4 8.4 8.4 36 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
	CustomMedia "Statement/Statement 5.5x8.5in" 396 612 8.4 8.4 8.4 36 "<</cupsInteger0 15/PageSize[396 612]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 15/PageSize[396 612]/ImagingBBox null>>setpagedevice"
    {
      // Custom page sizes from 1x4in to legal
      HWMargins 8.4 8.4 8.4 36
      VariablePaperSize Yes
      MinSize 3in 5in
      MaxSize 8.5in 14in


    }
 		 
          // <%CLE17:Normal%>
          {
            ModelName "HP Amp"
            Attribute "NickName" "" "HP Amp, hpcups $Version"
            Attribute "ShortNickName" "" "HP Amp"
            Attribute "1284DeviceID" "" "MFG:HP;MDL:amp;DES:amp;"
            PCFileName "hp-amp.ppd"
            Attribute "Product" "" "(HP Amp All-in-one)"
            Attribute "Product" "" "(HP Amp 130 All-in-one)"
          }
}// End CLE17


//////// PyramidRefresh17
{
	
  
    Attribute "cupsBackSide" "" "Rotated"
   
    Attribute "hpPrinterLanguage" "" "pcl3gui2"
    Attribute "HPMechOffset" "" "497"
    Attribute "hpPrinterPlatform" "" "SPDDeskJet"
    Attribute "HPSPDClass" "" 1

    Group "General/General"
    Option "ColorModel/Output Mode" PickOne AnySetup 10.0
    *Choice "RGB/Color" "<</cupsColorSpace 17/cupsBitsPerColor 8/cupsRowStep 0>>setpagedevice"
    Choice "CMYGray/High Quality Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 1>>setpagedevice"
    Choice "KGray/Black Only Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2>>setpagedevice"
    // cupsMediaType values map to MEDIATYPE from global_types.h
    Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Plain/Plain paper" "<</MediaType/cupsMediaType 0>>setpagedevice"
    Choice "Glossy/HP Photo Papers" "<</MediaType/cupsMediaType 5>>setpagedevice"
    Choice "FastGlossy/Other photo inkjet papers" "<</MediaType/cupsMediaType 5>>setpagedevice"
    Choice "CoatedBrochure/HP Matte Brochure or Professional Paper" "<</MediaType/cupsMediaType 2>>setpagedevice"
    Choice "CoatedMatte/HP Matte Presentation Paper" "<</MediaType/cupsMediaType 2>>setpagedevice"
    Choice "Coated/Other matte inkjet papers" "<</MediaType/cupsMediaType 2>>setpagedevice"
    Choice "BrochureGlosy/HP Glosy Brochure or Professional Paper" "<</MediaType/cupsMediaType 8>>setpagedevice"
    Choice "Brochure/Other glosy inkjet papers" "<</MediaType/cupsMediaType 8>>setpagedevice"
	Choice "Recycled/Plain Paper Light or Recycled" "<</MediaType/cupsMediaType 1>>setpagedevice"
     // cupsCompression values map to QUALITY_MODE from global_types.h
    Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "Normal/Normal" "<</OutputType(0)/HWResolution[600 600]>>setpagedevice"
     Choice "FastDraft/Draft" "<</OutputType(-2)/HWResolution[300 300]>>setpagedevice"
     Choice "Best/Best" "<</OutputType(1)/HWResolution[600 600]>>setpagedevice"
     Choice "Photo/High-Resolution Photo" "<</OutputType(2)/HWResolution[1200 1200]>>setpagedevice"
    Option "InputSlot/Media Source" PickOne AnySetup 10.0
       *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"
        Choice "Upper/Main Tray" "<</MediaPosition 1>>setpagedevice"
   	
	 //4x6 or smaller
	 CustomMedia "Photo2L/Photo 2L 127x178mm" 360 504 8.4 8.4 8.4 36 "<</cupsInteger0 126/PageSize[360 504]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 126/PageSize[360 504]/ImagingBBox null>>setpagedevice"
	CustomMedia "LSIZ/CardL 3.5x5 in." 252 360 8.4 8.4 8.4 36 "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
	
	CustomMedia "Card4x6/IndexCard 4x6in" 288 432 8.4 8.4 8.4 36 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
	CustomMedia "Card10x15/IndexCard 10x15 cm in" 288 432 8.4 8.4 36 36 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
    
	CustomMedia "Card5x7/Card 5x7in" 360 504 8.4 8.4 8.4 36 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
	
	CustomMedia "Letter/Letter 8x10" 576 720 8.4 8.4 8.4 36 "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
	
	// Custom page sizes from 1x4in to legal
	

	 //Envelope
    
		
	CustomMedia "A4/A4 210x297" 595.44 841.68 8.4 8.4 8.4 36 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"	
	CustomMedia "A5/A5 148x210" 612 792 8.4 8.4 8.4 36 "<</cupsInteger0 25/PageSize[612 792]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 25/PageSize[612 792]/ImagingBBox null>>setpagedevice"
	CustomMedia "A6/A6 105x148.5" 297.84 419.52 8.4 8.4 8.4 36 "<</cupsInteger0 24/PageSize[297.84 419.52]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 24/PageSize[297.84 419.52]/ImagingBBox null>>setpagedevice"	
	CustomMedia "B5176x250/B5 176x250" 498.72 708.48 8.4 8.4 8.4 36 "<</cupsInteger0 65/PageSize[498.72 708.48]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 65/PageSize[498.72 708.48]/ImagingBBox null>>setpagedevice"
	CustomMedia "B5/B5 182x257" 515.76 728.4 8.4 8.4 8.4 36 "<</cupsInteger0 45/PageSize[515.76 728.4]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 45/PageSize[515.76 728.4]/ImagingBBox null>>setpagedevice"
	CustomMedia "Env10/#10 Envelope 4.1x9.5in" 296.88 684 8.4 8.4 8.4 36 "<</cupsInteger0 81/PageSize[296.88 684]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 81/PageSize[296.88 684]/ImagingBBox null>>setpagedevice"
	
	
	CustomMedia "EnvC6/C6 Envelope 114x162mm in" 323.04 459.12 8.4 8.4 8.4 36 "<</cupsInteger0 92/PageSize[323.04 459.12]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 92/PageSize[323.04 459.12]/ImagingBBox null>>setpagedevice"
	CustomMedia "EnvDL/DL Envelope 110x220mm" 311.76 623.52 8.4 8.4 8.4 36 "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
	
	CustomMedia "EnvChou3/#3 Japanese Envelope" 339.84 666 8.4 8.4 8.4 36 "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedCard3x5evice"
	"<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
	CustomMedia "EnvChou4/#4 Japanese Envelope" 254.88 581.04 8.4 8.4 8.4 36 "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
	CustomMedia "PostCard/ Japanese Hagaki 100x148 mm" 284.16 419.52 8.4 8.4 8.4 36 "<</cupsInteger0 71/PageSize[284.16 419.52]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 71/PageSize[284.16 419.52]/ImagingBBox null>>setpagedevice"	
		 //4x6
	
	CustomMedia "Card4x6in/Card 4x6in" 288 432 8.4 8.4 8.4 36 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
	CustomMedia "Card5x8in/Index Card 5x8in" 360 576 8.4 8.4 8.4 36 "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
		 // Standard	
	CustomMedia "Executive/Executive 7.25x10.5in" 522 756 8.4 8.4 8.4 36 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
	CustomMedia "A48.27x11.69/A48.27x11.69" 595.44 841 8.4 8.4 8.4 36 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
	CustomMedia "Legal/Legal 8.5x14in" 612 1008 8.4 8.4 8.4 36 "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
        CustomMedia "USLETTER/Letter 8.5X11in" 612 792 8.4 8.4 8.4 36 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
	"<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
	
    {
      // Custom page sizes from 1x4in to legal
      HWMargins 8.4 8.4 8.4 36
      VariablePaperSize Yes
      MinSize 3in 5in
      MaxSize 8.5in 14in


    }
 		 
          // <%PyramidRefresh17:Normal%>
          {
            ModelName "HP Deskjet 2600 Series"
            Attribute "NickName" "" "HP Deskjet 2600 Series, hpcups $Version"
            Attribute "ShortNickName" "" "HP Deskjet 2600 Series"
            Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 2600 series;DES:deskjet 2600 series;"
            PCFileName "hp-deskjet_2600_series.ppd"
            Attribute "Product" "" "(HP Deskjet 2620 All-in-one)"
            Attribute "Product" "" "(HP Deskjet 2621 All-in-one)"
            Attribute "Product" "" "(HP Deskjet 2622 All-in-one)"
            Attribute "Product" "" "(HP Deskjet 2623 All-in-one)"
            Attribute "Product" "" "(HP Deskjet Ink Advantage 2635 All-in-one)"
            Attribute "Product" "" "(HP Deskjet Ink Advantage 2636 All-in-one)"
            Attribute "Product" "" "(HP Deskjet Ink Advantage 2675 All-in-one)"
            Attribute "Product" "" "(HP Deskjet Ink Advantage 2676 All-in-one)"
            Attribute "Product" "" "(HP Deskjet Ink Advantage 2677 All-in-one)"
            Attribute "Product" "" "(HP Deskjet Ink Advantage 2678 All-in-one)"
          }
          {
            ModelName "HP Deskjet 2700 Series"
            Attribute "NickName" "" "HP Deskjet 2700 Series, hpcups $Version"
            Attribute "ShortNickName" "" "HP Deskjet 2700 Series"
            Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 2700 series;DES:deskjet 2700 series;"
            PCFileName "hp-deskjet_2700_series.ppd"
            Attribute "Product" "" "(HP Deskjet 2700 All-in-one Printer Series)"
            Attribute "Product" "" "(HP Deskjet Ink Advantage 2700 All-in-one Printer Series)"
          }
          {
            ModelName "HP Deskjet 2800 Series"
            Attribute "NickName" "" "HP Deskjet 2800 Series, hpcups $Version, requires proprietary plugin"
            Attribute "ShortNickName" "" "HP Deskjet 2800 Series"
            Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 2800 series;DES:deskjet 2800 series;"
            PCFileName "hp-deskjet_2800_series.ppd"
            Attribute "Product" "" "(HP Deskjet 2800 All-in-one Printer Series)"
            Attribute "Product" "" "(HP Deskjet Ink Advantage 2800 All-in-one Printer Series)"
            Attribute "Product" "" "(HP Deskjet 2800e All-in-one Printer Series)"
          }
          {
            ModelName "HP Deskjet Plus 4100 Series"
            Attribute "NickName" "" "HP Deskjet Plus 4100 Series, hpcups $Version"
            Attribute "ShortNickName" "" "HP Deskjet Plus 4100 Series"
            Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet plus 4100 series;DES:deskjet plus 4100 series;"
            PCFileName "hp-deskjet_plus_4100_series.ppd"
            Attribute "Product" "" "(HP Deskjet Plus 4100 All-in-one Printer Series)"
          }
          {
            ModelName "HP Deskjet 4100 Series"
            Attribute "NickName" "" "HP Deskjet 4100 Series, hpcups $Version"
            Attribute "ShortNickName" "" "HP Deskjet 4100 Series"
            Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 4100 series;DES:deskjet 4100 series;"
            PCFileName "hp-deskjet_4100_series.ppd"
            Attribute "Product" "" "(HP Deskjet Ink Advantage 4100 All-in-one Printer Series)"
          }
          {
            ModelName "HP Deskjet 4200 Series"
            Attribute "NickName" "" "HP Deskjet 4200 Series, hpcups $Version, requires proprietary plugin"
            Attribute "ShortNickName" "" "HP Deskjet 4200 Series"
            Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 4200 series;DES:deskjet 4200 series;"
            PCFileName "hp-deskjet_4200_series.ppd"
            Attribute "Product" "" "(HP Deskjet 4200 All-in-one Printer Series)"
            Attribute "Product" "" "(HP Deskjet Ink Advantage 4200 All-in-one Printer Series)"
            Attribute "Product" "" "(HP Deskjet 4200e All-in-one Printer Series)"
          }
          {
            ModelName "HP Deskjet 4800 Series"
            Attribute "NickName" "" "HP Deskjet 4800 Series, hpcups $Version"
            Attribute "ShortNickName" "" "HP Deskjet 4800 Series"
            Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 4800 series;DES:deskjet 4800 series;"
            PCFileName "hp-deskjet_4800_series.ppd"
            Attribute "Product" "" "(HP Deskjet Ink Advantage Ultra 4800 All-in-one Printer Series)"
          }
          {
            ModelName "HP Deskjet 4900 Series"
            Attribute "NickName" "" "HP Deskjet 4900 Series, hpcups $Version, requires proprietary plugin"
            Attribute "ShortNickName" "" "HP Deskjet 4900 Series"
            Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 4900 series;DES:deskjet 4900 series;"
            PCFileName "hp-deskjet_4900_series.ppd"
            Attribute "Product" "" "(HP Deskjet Ink Advantage 4900 All-in-one Printer Series)"
          }
}// End PyramidRefresh17


//////// Saipan
{

    Attribute "hpPrinterLanguage" "" "pcl3gui2"
    Attribute "HPMechOffset" "" "130"

    Group "General/General"

    Option "ColorModel/Output Mode" PickOne AnySetup 10.0
    *Choice "RGB/Color" "<</cupsColorSpace 17/cupsBitsPerColor 8/cupsRowStep 0>>setpagedevice"
    Choice "CMYGray/High Quality Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 1>>setpagedevice"
    Choice "KGray/Black Only Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2>>setpagedevice"

    // cupsMediaType values map to MEDIATYPE from global_types.h
    Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0>>setpagedevice"
    Choice "Glossy/Photo Paper" "<</MediaType(Glossy)/cupsMediaType 3>>setpagedevice"
    //Choice "TransparencyFilm/Transparency Film" "<</MediaType(TransparencyFilm)/cupsMediaType 4>>setpagedevice"


     // cupsCompression values map to QUALITY_MODE from global_types.h
    Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "Normal/Normal" "<</OutputType(0)/HWResolution[600 600]>>setpagedevice"
     Choice "Draft/Draft" "<</OutputType(-2)/HWResolution[300 300]>>setpagedevice"
     Choice "Best/Best" "<</OutputType(1)/HWResolution[600 600]>>setpagedevice"
     Choice "Photo/High-Resolution Photo" "<</OutputType(2)/HWResolution[1200 1200]>>setpagedevice"


    Option "InputSlot/Media Source" PickOne AnySetup 10.0
       *Choice "Tray1/Tray 1" "<</MediaPosition 1>>setpagedevice"

     //Constraints
     //MediaType & OutputMode
     UIConstraints "*MediaType Plain *OutputMode Photo"
     UIConstraints "*MediaType Glossy *OutputMode Draft"
     //UIConstraints "*MediaType TransparencyFilm *OutputMode Draft"
     //UIConstraints "*MediaType TransparencyFilm *OutputMode Best"
     //UIConstraints "*MediaType TransparencyFilm *OutputMode Photo"

    // 4x6 or smaller
      CustomMedia "Card3x5/Index Card 3x5in" 216 360 9.36 9.36 9.36 9.36 "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
      CustomMedia "Card4x6/Index Card 4x6in" 288 432 9.36 9.36 9.36 9.36 "<</cupsInteger0 74/PageSize [288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
      CustomMedia "L/L 89x127mm" 252.288 360 9.36 9.36 9.36 9.36 "<</cupsInteger0 121/PageSize[252.288 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/PageSize[252.288 360]/ImagingBBox null>>setpagedevice"
      CustomMedia "L.FB/Borderless Photo L 89x127mm" 265.032  374.112 0 0 0 0 "<</cupsInteger0 121/cupsReal0 .079/cupsReal1 .098/PageSize [265.032 374.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/cupsReal0 .079/cupsReal1 .098/PageSize[265.032 374.112]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo4x6/Photo 4x6in" 288 432 9.36 9.36 9.36 9.36 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo4x6.FB/Borderless Photo 4x6in" 303.552 446.112 0 0 0 0 "<</cupsInteger0 74/cupsReal0 .098/cupsReal1 .098/PageSize[303.552 446.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/cupsReal0 .098/cupsReal1 .098/PageSize[303.552 446.112]/ImagingBBox null>>setpagedevice"
      CustomMedia "A6/A6 105x148mm" 297.65 419.54 9.36 9.36 9.36 9.36 "<</cupsInteger0 73/PageSize[297.65 419.54]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[297.65 419.54]/ImagingBBox null>>setpagedevice"
      CustomMedia "A6.FB/A6 Borderless 105x148mm" 310.392 433.656 0 0 0 0 "<</cupsInteger0 73/PageSize[310.392 433.656]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/cupsReal0 .079/cupsReal1 .098/PageSize[310.392 433.656]/ImagingBBox null>>setpagedevice"
      CustomMedia "Hagaki/Hagaki card 100x148mm" 283.46 419.54 9.36 9.36 9.36 9.36 "<</cupsInteger0 71/PageSize[283.46 419.54]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[283.46 419.54]/ImagingBBox null>>setpagedevice"
      CustomMedia "Hagaki.FB/Hagaki Borderless 100x148mm" 298 433 0 0 0 0 "<</cupsInteger0 71/PageSize[298 433]/ImagingBBox    null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[298 433]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo3x5/Photo 3x5in" 216 360 9.36 9.36 9.36 9.36 "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"

      // 5x7
      CustomMedia "Photo5x7/Photo 5x7in" 360 504 9.36 9.36 9.36 9.36 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo13x18/Photo 13x18cm" 360 504 9.36 9.36 9.36 9.36 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo5x7.FB/Photo Borderless 5x7in" 372.816 518.112 0 0 0 0 "<</cupsInteger0 122/PageSize[372.816 518.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[372.816 518.112]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo13x18.FB/Photo Borderless 13x18cm" 372.816 518.112 0 0 0 0 "<</cupsInteger0 122/PageSize[372.816 518.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[372.816 518.112]/ImagingBBox null>>setpagedevice"
      CustomMedia "Card5x8/Index Card 5x8in" 360 576 9.36 9.36 9.36 9.36 "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
      CustomMedia "A5/A5 148x210mm" 419.544 595.296 9.36 9.36 9.36 9.36 "<</cupsInteger0 25/PageSize[419.544 595.296]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.544 595.296]/ImagingBBox null>>setpagedevice"
      CustomMedia "A5.FB/A5 Borderless 148x210mm" 435.096 609.408 0 0 0 0 "<</cupsInteger0 25/PageSize[435.096 609.408]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/cupsReal0 .098/cupsReal1 .098/PageSize[435.096 609.408]/ImagingBBox null>>setpagedevice"
      CustomMedia "Ofuku/Ofuku-Hagaki 200x148mm" 566.92 419.54 9.36 9.36 9.36 9.36 "<</cupsInteger0 72/PageSize[566.92 419.54]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[566.92 419.54]/ImagingBBox null>>setpagedevice"

      // Standard
      CustomMedia "Photo2L.FB/2L Borderless 127x178mm" 372.81 518.328 0 0 0 0 "<</cupsInteger0 122/PageSize[372.81 518.328]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/cupsReal0 .089/cupsReal1 .098/PageSize[372.81 518.328]/ImagingBBox null>>setpagedevice"
      CustomMedia "6x8/6x8in" 432 576 9.36 9.36 9.36 9.36 "<</cupsInteger0 101/PageSize[432 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[432 576]/ImagingBBox null>>setpagedevice"
      CustomMedia "JB5/JB5 182x257mm" 515.88 728.49 9.36 9.36 9.36 9.36 "<</cupsInteger0 45/PageSize[515.88 728.49]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [515.88 728.49]/ImagingBBox null>>setpagedevice"
      CustomMedia "B5.FB/B5 Borderless 176x250mm" 531.432 742.608 0 0 0 0 "<</cupsInteger0 65/PageSize[531.432 742.608]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/cupsReal0 .098/cupsReal1 .098/PageSize[531.432 742.608]/ImagingBBox null>>setpagedevice"
      CustomMedia "Executive/Executive 7.25x10.5in" 522 756 9.36 9.36 9.36 9.36 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
      CustomMedia "Statement/Statement 5.5x8.5in" 396 612 9.36 9.36 9.36 9.36 "<</cupsInteger0 15/PageSize[396 612]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 15/PageSize[396 612]/ImagingBBox null>>setpagedevice"
      *CustomMedia "Letter/Letter 8.5x11in" 612 792 9.36 9.36 9.36 9.36 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
      CustomMedia "Letter.FB/Letter Borderless 8.5x11in" 627.552 806.112 0 0 0 0 "<</cupsInteger0 2/PageSize[627.552 806.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/cupsReal0 .098/cupsReal1 .098/PageSize[627.552 806.112]/ImagingBBox null>>setpagedevice"
      CustomMedia "CardLetter/Index Card Letter 8.5x11in" 612 792 9.36 9.36 9.36 9.36 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
      CustomMedia "A4/A4 210x297mm" 595.29 841.89 9.36 9.36 9.36 9.36 "<</cupsInteger0 26/PageSize[595.29 841.89]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.29 841.89]/ImagingBBox null>>setpagedevice"
      CustomMedia "A4.FB/A4 Borderless 210x297mm" 610.848 856.008 0 0 0 0 "<</cupsInteger0 26/PageSize[610.848 856.008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/cupsReal0 .098/cupsReal1 .098/PageSize[610.848 856.008]/ImagingBBox null>>setpagedevice"
      CustomMedia "CardA4/Index Card A4 210x297mm" 595.44 841.68 9.36 9.36 9.36 9.36 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
      CustomMedia "Legal/Legal 8.5x14in" 612 1008 9.36 9.36 9.36 9.36 "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo10x15/Photo 10x15cm" 288 432 9.36 9.36 9.36 9.36 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo10x15.FB/Borderless Photo 10x15cm" 303.552 446.112 0 0 0 0 "<</cupsInteger0 74/cupsReal0 .098/cupsReal1 .098/PageSize[303.552 446.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/cupsReal0 .098/cupsReal1 .098/PageSize[303.552 446.112]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo2L/Photo 2L 127x178mm" 360 504.216 9.36 9.36 9.36 9.36 "<</cupsInteger0 122/PageSize[360 504.216]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504.216]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo8x10/Photo 8x10in" 576 720 9.36 9.36 9.36 9.36 "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
      CustomMedia "8x10.FB/Borderless 8x10in" 591.552 734.112 0 0 0 0 "<</cupsInteger0 7/PageSize[591.552 734.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/cupsReal0 .098/cupsReal1 .098/PageSize[591.552 734.112]/ImagingBBox null>>setpagedevice"
      CustomMedia "8.5x13/8.5x13in" 612 936 9.36 9.36 9.36 9.36 "<</cupsInteger0 101/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[612 936]/ImagingBBox null>>setpagedevice"

     // Envelope
      CustomMedia "EnvA2/A2 Envelope 4.37x5.75in" 314.64 413.856 9.36 46.8 9.36 46.8 "<</cupsInteger0 109/PageSize[314.64 413.856]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 109/PageSize[314.64 413.856]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.136 459.216 9.36 46.8 9.36 46.8 "<</cupsInteger0 92/PageSize[323.136 459.216]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 92/PageSize[323.136 459.216]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvChou4/#4 Japanese Envelope 90x205mm" 255.096 581.112 9.36 46.8 9.36 46.8 "<</cupsInteger0 111/PageSize[255.096 581.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 111/PageSize[255.096 581.112]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvCard/Card Envelope 4.4x6in" 315 432 9.36 46.8 9.36 46.8 "<</cupsInteger0 114/PageSize[315 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 114/PageSize[315 432]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279.36 540 9.36 46.8 9.36 46.8 "<</cupsInteger0 80/PageSize[279.36 540]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 80/PageSize[279.36 540]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvDL/DL Envelope 110x220mm" 311.832 623.592 9.36 46.8 9.36 46.8 "<</cupsInteger0 90/PageSize[311.832 623.592]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 90/PageSize[311.832 623.592]/ImagingBBox null>>setpagedevice"
      CustomMedia "Env10/#10 Envelope 4.125x9.5in" 297.36 684 9.36 46.8 9.36 46.8 "<</cupsInteger0 81/PageSize[297.36 684]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 81/PageSize[297.36 684]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 340.128 666.144 9.36 46.8 9.36 46.8 "<</cupsInteger0 110/PageSize[340.128 666.144]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 110/PageSize[340.128 666.144]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvC5/C5 Envelope 162x229mm" 459.216 649.152 9.36 46.8 9.36 46.8 "<</cupsInteger0 91/PageSize[459.216 649.152]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 91/PageSize[459.216 649.152]/ImagingBBox null>>setpagedevice"

     // Custom page sizes from 1x4in to legal
      HWMargins 9.36 9.36 9.36 9.36
      VariablePaperSize Yes
      MinSize 3in 5in
      MaxSize 8.5in 14in

    // <%Saipan:Normal%>
    {
      ModelName "HP Officejet 6100"
      Attribute "NickName" "" "HP Officejet 6100, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet 6100"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet 6100;DES:officejet 6100;"
      PCFileName "hp-officejet_6100.ppd"
      Attribute "Product" "" "(HP Officejet 6100 Eprinter h611a)"
    }
    {
      ModelName "HP Officejet 6600"
      Attribute "NickName" "" "HP Officejet 6600, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet 6600"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet 6600;DES:officejet 6600;"
      PCFileName "hp-officejet_6600.ppd"
      Attribute "Product" "" "(HP Officejet 6600 E-all-in-one Printer - h711a)"
    }
   // End Supported media sizes with full bleed.

    //Saipan Auto Duplex PaperSizes
     {
        Attribute "cupsEvenDuplex" "" "True"
        Attribute "cupsBackSide" "" "Rotated"
        Attribute "cupsFlipDuplex" "" "True"

        // Duplexer is optional...
        Installable "OptionDuplex/Duplexer Installed"

        Option "Duplex/Double-Sided Printing" PickOne AnySetup 10.0
          Choice "DuplexNoTumble/Long Edge (Standard)" "<</Duplex true/Tumble false>>setpagedevice"
          Choice "DuplexTumble/Short Edge (Flip)" "<</Duplex true/Tumble true>>setpagedevice"
         *Choice "None/Off" "<</Duplex false/Tumble false>>setpagedevice"

        // Non duplex media against duplex
         UIConstraints "*PageSize Card3x5 *Duplex"
         UIConstraints "*PageSize L *Duplex"
         UIConstraints "*PageSize L.FB *Duplex"
         UIConstraints "*PageSize Hagaki *Duplex"
         UIConstraints "*PageSize Hagaki.FB *Duplex"
         UIConstraints "*PageSize Card4x6 *Duplex"
         UIConstraints "*PageSize Photo4x6 *Duplex"
         UIConstraints "*PageSize Photo4x6.FB *Duplex"
         UIConstraints "*PageSize A6 *Duplex"
         UIConstraints "*PageSize A6.FB *Duplex"
         UIConstraints "*PageSize Photo5x7 *Duplex"
         UIConstraints "*PageSize Photo5x7.FB *Duplex"
         UIConstraints "*PageSize Photo2L *Duplex"
         UIConstraints "*PageSize Photo2L.FB *Duplex"
         UIConstraints "*PageSize Card5x8 *Duplex"
         UIConstraints "*PageSize A5 *Duplex"
         UIConstraints "*PageSize A5.FB *Duplex"
         UIConstraints "*PageSize B5.FB *Duplex"
         UIConstraints "*PageSize JB5 *Duplex"
         UIConstraints "*PageSize Photo8x10 *Duplex"
         UIConstraints "*PageSize 8x10.FB *Duplex"
         UIConstraints "*PageSize Letter.FB *Duplex"
         UIConstraints "*PageSize A4.FB *Duplex"
         UIConstraints "*PageSize Legal *Duplex"
         UIConstraints "*PageSize EnvA2 *Duplex"
         UIConstraints "*PageSize EnvC6 *Duplex"
         UIConstraints "*PageSize EnvChou4 *Duplex"
         UIConstraints "*PageSize EnvCard *Duplex"
         UIConstraints "*PageSize EnvMonarch *Duplex"
         UIConstraints "*PageSize EnvDL *Duplex"
         UIConstraints "*PageSize Env10 *Duplex"
         UIConstraints "*PageSize EnvChou3 *Duplex"
         UIConstraints "*PageSize EnvC5 *Duplex"
         UIConstraints "*PageSize Statement *Duplex"
         UIConstraints "*PageSize Photo10x15 *Duplex"
         UIConstraints "*PageSize Photo10x15.FB *Duplex"
         UIConstraints "*PageSize Photo13x18 *Duplex"
         UIConstraints "*PageSize Photo13x18.FB *Duplex"
         UIConstraints "*PageSize 6X8 *Duplex"

        CustomMedia "A4.Duplex/A4 AutoDuplex 210x297mm" 595.29 841.896 9.36 33.192 9.36 42.552 "<</cupsInteger0 26/PageSize[ 595.29 841.896]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[ 595.29 841.896]/ImagingBBox null>>setpagedevice"
        CustomMedia "Letter.Duplex/Letter AutoDuplex 8.5x11in" 612 792 9.36 33.192 9.36 42.552 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
        CustomMedia "CardA4.Duplex/Index Card A4 210x297mm AutoDuplex" 595.44 841.68 9.36 33.192 9.36 42.552 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
        CustomMedia "CardLetter.Duplex/Index Card Letter 8.5x11in AutoDuplex" 612 792 9.36 33.192 9.36 42.552 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"

       // <%Saipan:AutoDuplex%>
       {
         ModelName "HP Officejet 6700"
         Attribute "NickName" "" "HP Officejet 6700, hpcups $Version"
         Attribute "ShortNickName" "" "HP Officejet 6700"
         Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet 6700;DES:officejet 6700;"
         PCFileName "hp-officejet_6700.ppd"
         Attribute "Product" "" "(HP Officejet 6700 Premium E-all-in-one printer-h711n)"
       }

     {

        // Large Media and Small margins
        CustomMedia "11x14/11x14in" 792 1008 14.184 45.36 14.184 45.36 "<</cupsInteger0 4/PageSize[792 1008]/ImagingBBox null>>setpagedevice"
           "<</cupsInteger0 4/PageSize[792 1008]/ImagingBBox null>>setpagedevice"
        CustomMedia "B4/B4 257x364mm" 729.36 1031.76 14.184 45.36 14.184 45.36 "<</cupsInteger0 46/PageSize[729.36 1031.76]/ImagingBBox null>>setpagedevice"
          "<</cupsInteger0 46/PageSize[729.36 1031.76]/ImagingBBox null>>setpagedevice"
        CustomMedia "Tabloid/Tabloid 11x17in" 792 1224 14.184 45.36 14.184 45.36 "<</cupsInteger0 6/PageSize[792 1224]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 6/PageSize[792 1224]/ImagingBBox null>>setpagedevice"
        CustomMedia "A3/A3 297x420mm" 841.68 1190.88 14.184 45.36 14.184 45.36 "<</cupsInteger0 27/PageSize[841.68 1190.88]/ImagingBBox null>>setpagedevice"
           "<</cupsInteger0 27/PageSize[841.68 1190.88]/ImagingBBox null>>setpagedevice"
        CustomMedia "11x14SM/11x14in Small Margins" 792 1003 14.184 14.184 14.184 14.184 "<</cupsInteger0 4/PageSize[792 1008]/ImagingBBox null>>setpagedevice"
           "<</cupsInteger0 4/PageSize[792 1003]/ImagingBBox null>>setpagedevice"
        CustomMedia "12x12SM/12x12in" 864 859 14.184 14.184 14.184 14.184 "<</cupsInteger0 117/PageSize[864 864]/ImagingBBox null>>setpagedevice"
           "<</cupsInteger0 117/PageSize[864 859]/ImagingBBox null>>setpagedevice"
        CustomMedia "B4SM/B4 257x364mm SmallMargins" 729.36 1026.76 14.184 14.184 14.184 14.184 "<</cupsInteger0 46/PageSize[729.36 1026.76]/ImagingBBox null>>setpagedevice"
          "<</cupsInteger0 46/PageSize[729.36 1031.76]/ImagingBBox null>>setpagedevice"
        CustomMedia "TabloidSM/Tabloid 11x17in SmallMargins" 792 1219 14.184 14.184 14.184 14.184 "<</cupsInteger0 6/PageSize[792 1219]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 6/PageSize[792 1224]/ImagingBBox null>>setpagedevice"
        CustomMedia "SuperBSM/SuperB 13x19in SmallMargins" 936 1363 14.184 14.184 14.184 14.184 "<</cupsInteger0 16/PageSize[936 1363]/ImagingBBox null>>setpagedevice"
           "<</cupsInteger0 16/PageSize[936 1368]/ImagingBBox null>>setpagedevice"
        CustomMedia "A3SM/A3 297x420mm SmallMargins" 841.68 1185.88 14.184 14.184 14.184 14.184 "<</cupsInteger0 27/PageSize[841.68 1185.88]/ImagingBBox null>>setpagedevice"
           "<</cupsInteger0 27/PageSize[841.68 1190.88]/ImagingBBox null>>setpagedevice"
        CustomMedia "A3+SM/A3+ 330x483mm SmallMargins" 935.424 1364.152 14.184 14.184 14.184 14.184 "<</cupsInteger0 16/PageSize[935.424 1364.152]/ImagingBBox null>>setpagedevice"
           "<</cupsInteger0 16/PageSize[935.424 1369.152]/ImagingBBox null>>setpagedevice"
        CustomMedia "Env6/#6 Envelope 3.63x6.5in" 261.36 468 9.36 46.8 9.36 46.8 "<</cupsInteger0 83/PageSize[261.36 468]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 83/PageSize[261.36 468]/ImagingBBox null>>setpagedevice"


       // <%Saipan:Advanced%>
       {
         ModelName "HP Officejet 7110 Series"
         Attribute "NickName" "" "HP Officejet 7110 Series, hpcups $Version"
         Attribute "ShortNickName" "" "HP Officejet 7110 Series"
         Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet 7110 series;DES:officejet 7110 series;"
         PCFileName "hp-officejet_7110_series.ppd"
         Attribute "Product" "" "(HP Officejet 7110 Wide Format Eprinter)"
       }
       {
         ModelName "HP Officejet 7610 Series"
         Attribute "NickName" "" "HP Officejet 7610 Series, hpcups $Version"
         Attribute "ShortNickName" "" "HP Officejet 7610 Series"
         Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet 7610 series;DES:officejet 7610 series;"
         PCFileName "hp-officejet_7610_series.ppd"
         Attribute "Product" "" "(HP Officejet 7610 Wide Format E-all-in-one Printer)"
         Attribute "Product" "" "(HP Officejet 7612 Wide Format E-all-in-one Printer)"
       }
      }
      }


} // End Saipan

//////// PCL3-Class3
{
  Attribute "cupsEvenDuplex" "" "True"
  Attribute "cupsBackSide" "" "Rotated"
  Attribute "cupsFlipDuplex" "" "True"
  Attribute "hpPrinterLanguage" "" "pcl3gui"
  Attribute "hpPrinterPlatform" "" "dj970"
  Attribute "HPMechOffset" "" "70"

  Group "General/General"

  Option "Duplex/Double-Sided Printing" PickOne AnySetup 10.0
    Choice "DuplexNoTumble/Long Edge (Standard)" "<</Duplex true/Tumble false>>setpagedevice"
    Choice "DuplexTumble/Short Edge (Flip)" "<</Duplex true/Tumble true>>setpagedevice"
    *Choice "None/Off" "<</Duplex false/Tumble false>>setpagedevice"

  // MediaPosition values map to MediaSource enumeration in global_types.h
  Option "InputSlot/Media Source" PickOne AnySetup 10.0
    *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"
    Choice "Photo/Photo Tray" "<</MediaPosition 6>>setpagedevice"
    Choice "Upper/Upper Tray" "<</MediaPosition 1>>setpagedevice"
    Choice "Lower/Lower Tray" "<</MediaPosition 4>>setpagedevice"
    Choice "Envelope/Envelope Feeder" "<</MediaPosition 3>>setpagedevice"
    Choice "LargeCapacity/Large Capacity Tray" "<</MediaPosition 5>>setpagedevice"
    Choice "Manual/Manual Feeder" "<</MediaPosition 2>>setpagedevice"
    Choice "MPTray/Multi Purpose Tray" "<</MediaPosition 1>>setpagedevice"

  Option "ColorModel/Output Mode" PickOne AnySetup 10.0
    *Choice "RGB/Color" "<</cupsColorSpace 17/cupsBitsPerColor 8/cupsRowStep 0>>setpagedevice"
    Choice "CMYGray/High Quality Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 1>>setpagedevice"
    Choice "KGray/Black Only Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2>>setpagedevice"

  // cupsMediaType values map to MEDIATYPE from global_types.h
  Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0>>setpagedevice"
    Choice "Glossy/HP Photo Papers" "<</MediaType(Glossy)/cupsMediaType 3>>setpagedevice"

  // cupsCompression values map to QUALITY_MODE from global_types.h
  Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "NormalRGB/Normal Color" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 1/OutputType(0)/cupsString0(PlainNormalColor)/HWResolution[300 300]>>setpagedevice"
    Choice "NormalGray/Normal Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2/OutputType(0)/cupsString0(PlainNormalGrayK)/HWResolution[600 600]>>setpagedevice"
    Choice "DraftRGB/Draft Color" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 0/OutputType(-1)/cupsString0(PlainDraftColor)/HWResolution[300 300]>>setpagedevice"
    Choice "DraftGray/Draft Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2/OutputType(-1)/cupsString0(PlainDraftGrayK)/HWResolution[300 300]>>setpagedevice"
    Choice "BestRGB/Best Color" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 0/OutputType(1)/cupsString0(PlainBestColor)/HWResolution[600 600]>>setpagedevice"
    Choice "BestGray/Best Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2/cupsCompression 2/HWResolution[600 600]>>setpagedevice"
    Choice "Photo/High-Resolution Photo" "<</OutputType(2)/cupsString0(PhotoMaxDpiColor)/HWResolution[1200 1200]>>setpagedevice"


  // Duplexer is optional...
  Installable "OptionDuplex/Duplexer Installed"

// 4x6 or smaller
  CustomMedia "16k/16k 7.75x10.75in" 558 774 18 36 18 9 "<</cupsInteger0 101/PageSize[558 774]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[558 774]/ImagingBBox null>>setpagedevice"
  CustomMedia "8k/8k 10.75x15.5in" 774 1116 18 36 18 9 "<</cupsInteger0 101/PageSize[774 1116]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[774 1116]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card3x5/Index Card 3x5in" 216 360 9.36 9.36 9.36 9.36 "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo10x15/Photo 10x15cm" 288 432 9.36 9.36 9.36 9.36 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki/Hagaki 100x148mm" 283.464 419.544 9.36 9.36 9.36 9.36 "<</cupsInteger0 71/PageSize[283.464 419.544]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[283.464 419.544]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki.Duplex/Hagaki AutoDuplex 100x148mm" 283.68 410.76 9 0 9 9 "<</cupsInteger0 71/PageSize[283.68 410.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[283.68 410.76]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6/Photo 4x6in" 288 432 9.36 9.36 9.36 9.36 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6.Duplex/A6 AutoDuplex 105x148mm)" 297 411 9 27 9 36 "<</cupsInteger0 73/PageSize[297 411]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[297 411]/ImagingBBox null>>setpagedevice"
  CustomMedia "B4/B4 257x364mm" 729 1033 18 36 18 9 "<</cupsInteger0 46/PageSize[729 1033]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 46/PageSize[729 1033]/ImagingBBox null>>setpagedevice"
  CustomMedia "B4.Duplex/B4 AutoDuplex 257x364mm" 729 1024 18 27 18 36 "<</cupsInteger0 1/PageSize[729 1024]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[729 1024]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive/Executive 7.25x10.5in" 522 756 9 9 9 9 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
            CustomMedia "Executive.Duplex/Executive AutoDuplex 7.25x10.5in" 522 747 9 33.192 9 42.192 "<</cupsInteger0 1/PageSize[522 747]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 1/PageSize[522 747]/ImagingBBox null>>setpagedevice"


// 5x7
  CustomMedia "Photo5x7/Photo 5x7in" 360 504 9.36 9.36 9.36 9.36 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"

// Standard
  *CustomMedia "Letter/Letter 8.5x11in" 612 792 9.36 9.36 9.36 9.36 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
  CustomMedia "Letter.Duplex/Letter AutoDuplex 8.5x11in" 612 792 9.36 7.92 9.36 17.28 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
  CustomMedia "CardLetter/Index Card Letter 8.5x11in" 612 792 9.36 9.36 9.36 9.36 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
  CustomMedia "A3/A3 297x420mm" 841.68 1190.88 14.184 45.36 14.184 45.36 "<</cupsInteger0 27/PageSize[841.68 1190.88]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 27/PageSize[841.68 1190.88]/ImagingBBox null>>setpagedevice"
  CustomMedia "A3.Duplex/A3 AutoDuplex 297x420mm" 842 1181 18 27 18 36 "<</cupsInteger0 1/PageSize[842 1181]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[842 1181]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4/A4 210x297mm" 595.296 841.896 9.36 9.36 9.36 9.36 "<</cupsInteger0 26/PageSize[595.296 841.896]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.296 841.896]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4.Duplex/A4 AutoDuplex 210x297mm" 595.296 841.896 9.36 7.92 9.36 17.28 "<</cupsInteger0 26/PageSize[595.296 841.896]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.296 841.896]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5/A5 148x210mm" 419.76 595.44 9.00 36.00 9.00 9.00 "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5.Duplex/A5 AutoDuplex 148x210mm" 420 586 18 27 18 36 "<</cupsInteger0 25/PageSize[420 586]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[420 586]/ImagingBBox null>>setpagedevice"
  CustomMedia "B5/B5 176x250mm" 498.96 708.48 19.08 14 19.08 14 "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "B5.Duplex/B5 AutoDuplex 176x250mm" 499 699 9 27 9 36 "<</cupsInteger0 65/PageSize[499 699]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[499 699]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal/Legal 8.5x14in" 612 1008 9.36 9.36 9.36 9.36 "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal.Duplex/Legal AutoDuplex 8.5x14in" 612 999 9 27 9 36 "<</cupsInteger0 3/PageSize[612 999]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 999]/ImagingBBox null>>setpagedevice"
  CustomMedia "Postcard/Postcard" 283 420 12 12 12 12 "<</cupsInteger0 71/PageSize[283 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[283 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card5x8.Duplex/Index Card AutoDuplex 5x8in" 360 567 9 27 9 36 "<</cupsInteger0 74/PageSize[360 567]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[360 567]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvB5/B5 Envelope 176x250mm" 499 709 9 41 9 9 "<</cupsInteger0 100/PageSize[499 709]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 100/PageSize[499 709]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku/Oufuku-Hagaki 148x200mm" 567 420 18.00 36.00 18.00 9.00 "<</cupsInteger0 72/PageSize[567 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[567 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku.Duplex/Oufuku-Hagaki AutoDuplex 148x200mm" 567 411 9 27 9 36 "<</cupsInteger0 72/PageSize[567 411]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[567 411]/ImagingBBox null>>setpagedevice"

// Envelope
  CustomMedia "EnvA2/A2 Envelope 4.37x5.75in" 314.64 413.856 9.36 46.8 9.36 9.36 "<</cupsInteger0 109/PageSize[314.64 413.856]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 109/PageSize[314.64 413.856]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.136 459.216 9.36 46.8 9.36 9.36 "<</cupsInteger0 92/PageSize[323.136 459.216]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 92/PageSize[323.136 459.216]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279.36 540 9.36 46.8 9.36 9.36 "<</cupsInteger0 80/PageSize[279.36 540]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 80/PageSize[279.36 540]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvDL/DL Envelope 110x220mm" 311.832 623.52 9.36 46.8 9.36 9.36 "<</cupsInteger0 90/PageSize[311.832 623.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 90/PageSize[311.832 623.52]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env10/#10 Envelope 4.125x9.5in" 297.36 684 9.36 46.8 9.36 9.36 "<</cupsInteger0 81/PageSize[297.36 684]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 81/PageSize[297.36 684]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 340.128 666.144 9.36 46.8 9.36 9.36 "<</cupsInteger0 111/PageSize[340.128 666.144]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 111/PageSize[340.128 666.144]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC5/C5 Envelope 162x229mm" 459.216 649.152 9.36 46.8 9.36 9.36 "<</cupsInteger0 91/PageSize[459.216 649.152]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 91/PageSize[459.216 649.152]/ImagingBBox null>>setpagedevice"

  {
    // Custom page sizes from 3x4in to Legal
    HWMargins 9.36 9.36 9.36 9.36
    VariablePaperSize Yes
    MinSize 3in 5in
    MaxSize 8.5in 14in

    // <%PCL3-Class3%>
  } // End Supported media sizes with full bleed.

} // End PCL3-Class3

//////// PCL3-Class3A
{
  Attribute "cupsEvenDuplex" "" "True"
  Attribute "cupsBackSide" "" "Rotated"
  Attribute "cupsFlipDuplex" "" "True"
  Attribute "hpPrinterLanguage" "" "pcl3gui"
  Attribute "hpPrinterPlatform" "" "dj895"
  Attribute "HPMechOffset" "" "70"

  Group "General/General"

  Option "Duplex/Double-Sided Printing" PickOne AnySetup 10.0
    Choice "DuplexNoTumble/Long Edge (Standard)" "<</Duplex true/Tumble false>>setpagedevice"
    Choice "DuplexTumble/Short Edge (Flip)" "<</Duplex true/Tumble true>>setpagedevice"
    *Choice "None/Off" "<</Duplex false/Tumble false>>setpagedevice"

  // MediaPosition values map to MediaSource enumeration in global_types.h
  Option "InputSlot/Media Source" PickOne AnySetup 10.0
    *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"
    Choice "Photo/Photo Tray" "<</MediaPosition 6>>setpagedevice"
    Choice "Upper/Upper Tray" "<</MediaPosition 1>>setpagedevice"
    Choice "Lower/Lower Tray" "<</MediaPosition 4>>setpagedevice"
    Choice "Envelope/Envelope Feeder" "<</MediaPosition 3>>setpagedevice"
    Choice "LargeCapacity/Large Capacity Tray" "<</MediaPosition 5>>setpagedevice"
    Choice "Manual/Manual Feeder" "<</MediaPosition 2>>setpagedevice"
    Choice "MPTray/Multi Purpose Tray" "<</MediaPosition 1>>setpagedevice"

  Option "ColorModel/Output Mode" PickOne AnySetup 10.0
    *Choice "RGB/Color" "<</cupsColorSpace 17/cupsBitsPerColor 8/cupsRowStep 0>>setpagedevice"
    Choice "CMYGray/High Quality Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 1>>setpagedevice"
    Choice "KGray/Black Only Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2>>setpagedevice"

  // cupsMediaType values map to MEDIATYPE from global_types.h
  Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0>>setpagedevice"
    Choice "Glossy/HP Photo Papers" "<</MediaType(Glossy)/cupsMediaType 3>>setpagedevice"

  // cupsCompression values map to QUALITY_MODE from global_types.h
  Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "NormalRGB/Normal Color" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 1/OutputType(0)/cupsString0(PlainNormalColor)/HWResolution[300 300]>>setpagedevice"
    Choice "NormalGray/Normal Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2/OutputType(0)/cupsString0(PlainNormalGrayK)/HWResolution[600 600]>>setpagedevice"
    Choice "DraftRGB/Draft Color" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 0/OutputType(-1)/cupsString0(PlainDraftColor)/HWResolution[300 300]>>setpagedevice"
    Choice "DraftGray/Draft Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2/OutputType(-1)/cupsString0(PlainDraftGrayK)/HWResolution[300 300]>>setpagedevice"
    Choice "BestRGB/Best Color" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 0/OutputType(1)/cupsString0(PlainBestColor)/HWResolution[600 600]>>setpagedevice"
    Choice "BestGray/Best Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2/cupsCompression 2/HWResolution[600 600]>>setpagedevice"
    Choice "Photo/High-Resolution Photo" "<</OutputType(2)/HWResolution[1200 1200]>>setpagedevice"


  // Duplexer is optional...
  Installable "OptionDuplex/Duplexer Installed"

// 4x6 or smaller
  CustomMedia "16k/16k 7.75x10.75in" 558 774 18 36 18 9 "<</cupsInteger0 101/PageSize[558 774]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[558 774]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki/Hagaki 100x148mm" 283.464 419.544 9.36 9.36 9.36 9.36 "<</cupsInteger0 71/PageSize[283.464 419.544]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[283.464 419.544]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6/Photo 4x6in" 288 432 9.36 9.36 9.36 9.36 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive/Executive 7.25x10.5in" 522 756 9 9 9 9 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"


// 5x7
  CustomMedia "Photo5x7/Photo 5x7in" 360 504 9.36 9.36 9.36 9.36 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"

// Standard
  *CustomMedia "Letter/Letter 8.5x11in" 612 792 9.36 9.36 9.36 9.36 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
  CustomMedia "A3/A3 297x420mm" 841.68 1190.88 14.184 45.36 14.184 45.36 "<</cupsInteger0 27/PageSize[841.68 1190.88]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 27/PageSize[841.68 1190.88]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4/A4 210x297mm" 595.296 841.896 9.36 9.36 9.36 9.36 "<</cupsInteger0 26/PageSize[595.296 841.896]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.296 841.896]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5/A5 148x210mm" 419.76 595.44 9.00 36.00 9.00 9.00 "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
  CustomMedia "B5/B5 176x250mm" 498.96 708.48 19.08 14 19.08 14 "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal/Legal 8.5x14in" 612 1008 9.36 9.36 9.36 9.36 "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvB5/B5 Envelope 176x250mm" 499 709 9 41 9 9 "<</cupsInteger0 100/PageSize[499 709]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 100/PageSize[499 709]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku/Oufuku-Hagaki 148x200mm" 567 420 18.00 36.00 18.00 9.00 "<</cupsInteger0 72/PageSize[567 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[567 420]/ImagingBBox null>>setpagedevice"

// Envelope
  CustomMedia "EnvA2/A2 Envelope 4.37x5.75in" 314.64 413.856 9.36 46.8 9.36 9.36 "<</cupsInteger0 109/PageSize[314.64 413.856]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 109/PageSize[314.64 413.856]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.136 459.216 9.36 46.8 9.36 9.36 "<</cupsInteger0 92/PageSize[323.136 459.216]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 92/PageSize[323.136 459.216]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279.36 540 9.36 46.8 9.36 9.36 "<</cupsInteger0 80/PageSize[279.36 540]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 80/PageSize[279.36 540]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvDL/DL Envelope 110x220mm" 311.832 623.52 9.36 46.8 9.36 9.36 "<</cupsInteger0 90/PageSize[311.832 623.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 90/PageSize[311.832 623.52]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env10/#10 Envelope 4.125x9.5in" 297.36 684 9.36 46.8 9.36 9.36 "<</cupsInteger0 81/PageSize[297.36 684]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 81/PageSize[297.36 684]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 340.128 666.144 9.36 46.8 9.36 9.36 "<</cupsInteger0 111/PageSize[340.128 666.144]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 111/PageSize[340.128 666.144]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC5/C5 Envelope 162x229mm" 459.216 649.152 9.36 46.8 9.36 9.36 "<</cupsInteger0 91/PageSize[459.216 649.152]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 91/PageSize[459.216 649.152]/ImagingBBox null>>setpagedevice"

  {
    // Custom page sizes from 3x4in to Legal
    HWMargins 9.36 9.36 9.36 9.36
    VariablePaperSize Yes
    MinSize 3in 5in
    MaxSize 8.5in 14in

    // <%PCL3-Class3A%>
  } // End Supported media sizes with full bleed.

} // End PCL3-Class3A

//////// PCL3-Class3B
{
  Attribute "cupsEvenDuplex" "" "True"
  Attribute "cupsBackSide" "" "Rotated"
  Attribute "cupsFlipDuplex" "" "True"
  Attribute "hpPrinterLanguage" "" "pcl3gui"
  Attribute "hpPrinterPlatform" "" "dj8x5"
  Attribute "HPMechOffset" "" "70"

  Group "General/General"

  Option "Duplex/Double-Sided Printing" PickOne AnySetup 10.0
    Choice "DuplexNoTumble/Long Edge (Standard)" "<</Duplex true/Tumble false>>setpagedevice"
    Choice "DuplexTumble/Short Edge (Flip)" "<</Duplex true/Tumble true>>setpagedevice"
    *Choice "None/Off" "<</Duplex false/Tumble false>>setpagedevice"

  // MediaPosition values map to MediaSource enumeration in global_types.h
  Option "InputSlot/Media Source" PickOne AnySetup 10.0
    *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"
    Choice "Photo/Photo Tray" "<</MediaPosition 6>>setpagedevice"
    Choice "Upper/Upper Tray" "<</MediaPosition 1>>setpagedevice"
    Choice "Lower/Lower Tray" "<</MediaPosition 4>>setpagedevice"
    Choice "Envelope/Envelope Feeder" "<</MediaPosition 3>>setpagedevice"
    Choice "LargeCapacity/Large Capacity Tray" "<</MediaPosition 5>>setpagedevice"
    Choice "Manual/Manual Feeder" "<</MediaPosition 2>>setpagedevice"
    Choice "MPTray/Multi Purpose Tray" "<</MediaPosition 1>>setpagedevice"

  Option "ColorModel/Output Mode" PickOne AnySetup 10.0
    *Choice "RGB/Color" "<</cupsColorSpace 17/cupsBitsPerColor 8/cupsRowStep 0>>setpagedevice"
    Choice "CMYGray/High Quality Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 1>>setpagedevice"
    Choice "KGray/Black Only Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2>>setpagedevice"

  // cupsMediaType values map to MEDIATYPE from global_types.h
  Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0>>setpagedevice"
    Choice "Glossy/HP Photo Papers" "<</MediaType(Glossy)/cupsMediaType 3>>setpagedevice"

  // cupsCompression values map to QUALITY_MODE from global_types.h
  Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "NormalRGB/Normal Color" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 1/OutputType(0)/cupsString0(PlainNormalColor)/HWResolution[300 300]>>setpagedevice"
    Choice "NormalGray/Normal Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2/OutputType(0)/cupsString0(PlainNormalGrayK)/HWResolution[600 600]>>setpagedevice"
    Choice "DraftRGB/Draft Color" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 0/OutputType(-1)/cupsString0(PlainDraftColor)/HWResolution[300 300]>>setpagedevice"
    Choice "DraftGray/Draft Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2/OutputType(-1)/cupsString0(PlainDraftGrayK)/HWResolution[300 300]>>setpagedevice"
    Choice "BestRGB/Best Color" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 0/OutputType(1)/cupsString0(PlainBestColor)/HWResolution[600 600]>>setpagedevice"
    Choice "BestGray/Best Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2/cupsCompression 2/HWResolution[600 600]>>setpagedevice"
    Choice "Photo/High-Resolution Photo" "<</OutputType(2)/HWResolution[1200 1200]>>setpagedevice"


  // Duplexer is optional...
  Installable "OptionDuplex/Duplexer Installed"

// 4x6 or smaller
  CustomMedia "16k/16k 7.75x10.75in" 558 774 18 36 18 9 "<</cupsInteger0 40/PageSize[558 774]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 40/PageSize[558 774]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki/Hagaki 100x148mm" 283.464 419.544 9.36 9.36 9.36 9.36 "<</cupsInteger0 101/PageSize[283.464 419.544]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[283.464 419.544]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6/Photo 4x6in" 288 432 9.36 9.36 9.36 9.36 "<</cupsInteger0 101/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive/Executive 7.25x10.5in" 522 756 9 9 9 9 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"


// 5x7
  CustomMedia "Photo5x7/Photo 5x7in" 360 504 9.36 9.36 9.36 9.36 "<</cupsInteger0 101/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[360 504]/ImagingBBox null>>setpagedevice"

// Standard
  *CustomMedia "Letter/Letter 8.5x11in" 612 792 9.36 9.36 9.36 9.36 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
  CustomMedia "A3/A3 297x420mm" 841.68 1190.88 14.184 45.36 14.184 45.36 "<</cupsInteger0 27/PageSize[841.68 1190.88]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 27/PageSize[841.68 1190.88]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4/A4 210x297mm" 595.296 841.896 9.36 9.36 9.36 9.36 "<</cupsInteger0 26/PageSize[595.296 841.896]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.296 841.896]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5/A5 148x210mm" 419.76 595.44 9.00 36.00 9.00 9.00 "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
  CustomMedia "B5/B5 176x250mm" 498.96 708.48 19.08 14 19.08 14 "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal/Legal 8.5x14in" 612 1008 9.36 9.36 9.36 9.36 "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvB5/B5 Envelope 176x250mm" 499 709 9 41 9 9 "<</cupsInteger0 100/PageSize[499 709]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 100/PageSize[499 709]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku/Oufuku-Hagaki 148x200mm" 567 420 18.00 36.00 18.00 9.00 "<</cupsInteger0 101/PageSize[567 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[567 420]/ImagingBBox null>>setpagedevice"

// Envelope
  CustomMedia "EnvA2/A2 Envelope 4.37x5.75in" 314.64 413.856 9.36 46.8 9.36 9.36 "<</cupsInteger0 109/PageSize[314.64 413.856]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 109/PageSize[314.64 413.856]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.136 459.216 9.36 46.8 9.36 9.36 "<</cupsInteger0 101/PageSize[323.136 459.216]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[323.136 459.216]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279.36 540 9.36 46.8 9.36 9.36 "<</cupsInteger0 80/PageSize[279.36 540]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 80/PageSize[279.36 540]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvDL/DL Envelope 110x220mm" 311.832 623.52 9.36 46.8 9.36 9.36 "<</cupsInteger0 90/PageSize[311.832 623.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 90/PageSize[311.832 623.52]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env10/#10 Envelope 4.125x9.5in" 297.36 684 9.36 46.8 9.36 9.36 "<</cupsInteger0 81/PageSize[297.36 684]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 81/PageSize[297.36 684]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 340.128 666.144 9.36 46.8 9.36 9.36 "<</cupsInteger0 101/PageSize[340.128 666.144]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[340.128 666.144]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC5/C5 Envelope 162x229mm" 459.216 649.152 9.36 46.8 9.36 9.36 "<</cupsInteger0 91/PageSize[459.216 649.152]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 91/PageSize[459.216 649.152]/ImagingBBox null>>setpagedevice"

  {
    // Custom page sizes from 3x4in to Legal
    HWMargins 9.36 9.36 9.36 9.36
    VariablePaperSize Yes
    MinSize 3in 5in
    MaxSize 8.5in 14in

    // <%PCL3-Class3B%>
  } // End Supported media sizes with full bleed.

} // End PCL3-Class3B

///////////////////// PCLM-COLOR
{
  Attribute "hpPrinterLanguage" "" "hbpl1"
  Attribute "cupsEvenDuplex" "" "True"
  Attribute "cupsBackSide" "" "Rotated"
  Attribute "cupsFlipDuplex" "" "True"

  Group "General/General"

  //Duplex 
  Option "Duplex/Double-Sided Printing" PickOne AnySetup 10.0
    Choice "DuplexNoTumble/Long Edge (Standard)" "<</Duplex true/Tumble false>>setpagedevice"
    Choice "DuplexTumble/Short Edge (Flip)" "<</Duplex true/Tumble true>>setpagedevice"
    *Choice "None/Off" "<</Duplex false/Tumble false>>setpagedevice"


  //MediaPosition
  Option "InputSlot/Media Source" PickOne AnySetup 10.0
    Choice "Manual/Manual Feeder" "<</MediaPosition 12>>setpagedevice"
    *Choice "tray1/Tray1" "<</MediaPosition 19>>setpagedevice"

   //Economode
    Option "EconoMode/EconoMode" Boolean AnySetup 10.0
    *Choice "False/Off" "<</cupsInteger2 0>>setpagedevice"
     Choice "True/On" "<</cupsInteger2 1>>setpagedevice"

   // 4x6 or smaller
  CustomMedia "A6/A6 105x148mm" 297.36 419.76 14 14 14 14 "<</cupsString0(iso_a6_105x148mm)/PageSize[298 420]/ImagingBBox null>>setpagedevice"
         "<</cupsString0(iso_a6_105x148mm)/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
    CustomMedia "4x6/4x6" 288 432 14 14 14 14 "<</cupsString0(na_index-4x6_4x6in)/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsString0(na_index-4x6_4x6in)/PageSize [288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card3x5/Index Card 3x5in" 216 360 14 14 14 14 "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"

// 5x7
  // Standard
  CustomMedia "Photo5x7/Photo 5x7in" 360 504 14 14 14 14 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "B5/JB5 182x257mm" 516.24 728.64 14 14 14 14 "<</cupsString0(jis_b5_182x257mm)/PageSize[516 729]/ImagingBBox null>>setpagedevice"
         "<</cupsString0(jis_b5_182x257mm)/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"
  *CustomMedia "Letter/Letter 8.5x11in" 612 792 14 14 14 14 "<</cupsString0(na_letter_8.5x11in)/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsString0(na_letter_8.5x11in)/PageSize[612 792]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4/A4 210x297mm" 595.44 841.68 14 14 14 14 "<</cupsString0(iso_a4_210x297mm)/PageSize[595 842]/ImagingBBox null>>setpagedevice"
         "<</cupsString0(iso_a4_210x297mm)/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal/Legal 8.5x14in" 612 1008 14 14 14 14 "<</cupsString0(na_legal_8.5x14in)/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsString0(na_legal_8.5x14in)/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
  CustomMedia "Postcard/Postcard (JIS)" 283 420 14 14 14 14 "<</cupsString0(jpn_hagaki_100x148mm)/PageSize[283 420]/ImagingBBox null>>setpagedevice"
         "<</cupsString0(jpn_hagaki_100x148mm)/PageSize[283 420]/ImagingBBox null>>setpagedevice"
// Envelope
  CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279 540 14 14 14 14 "<</cupsString0(na_monarch_3.875x7.5in)/PageSize[279 540]/ImagingBBox null>>setpagedevice"
         "<</cupsString0(na_monarch_3.875x7.5in)/PageSize[279 540]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvDL/DL Envelope 110x220mm" 312 624 14 14 14 14 "<</cupsString0(iso_dl_110x220mm)/PageSize[312 624]/ImagingBBox null>>setpagedevice"
         "<</cupsString0(iso_dl_110x220mm)/PageSize[312 624]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env10/#10 Envelope 4.12x9.5in" 297 684  14 14 14 14 "<</cupsString0(na_number-10_4.125x9.5in)/PageSize[297 684]/ImagingBBox null>>setpagedevice"
         "<</cupsString0(na_number-10_4.125x9.5in)/PageSize[297 684]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC5/C5 Envelope 162x229mm" 459 649 14 14 14 14 "<</cupsString0(iso_c5_162x229mm)/PageSize[459 649]/ImagingBBox null>>setpagedevice"
         "<</cupsString0(iso_c5_162x229mm)/PageSize[459 649]/ImagingBBox null>>setpagedevice"
    // Custom page sizes from 1x4in to Legal
    
   // cupsRowCount values map to PEN_TYPE + 1 from global_types.h
    Option "ColorModel/Output Mode" PickOne AnySetup 10.0
    //*Choice "RGB/Color" "<</cupsColorSpace 17/cupsBitsPerColor 8/cupsRowStep 0>>setpagedevice"
    *Choice "RGB/4-Color" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowCount 3/cupsRowStep 0>>setpagedevice"
     Choice "KGray/Black Only Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2>>setpagedevice"

   //  Print In Grayscale : TODO:-handle in Hbpl1 code
     Option "Gray/Print in Grayscale" Boolean AnySetup 10.0
    *Choice "False/Off" "<</cupsInteger3 0>>setpagedevice"
     Choice "True/On" "<</cupsInteger3 1>>setpagedevice"

    //cupsCompression values map to QUALITY_MODE from global_types.h
    //Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    //*Choice "ImageREt2400/ImageREt 2400" "<</OutputType(ImageREt)/HWResolution[600 600]>>setpagedevice"

    //cupsCompression values map to QUALITY_MODE from global_types.h
    Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "FastRes600/FastRes 600" "<</OutputType(1)/HWResolution[600 600]>>setpagedevice"
    Choice "FastRes1200/FastRes 1200" "<</OutputType(2)/HWResolution[600 600]>>setpagedevice"
    Choice "Draft/Draft" "<</OutputType(0)/HWResolution[600 600]>>setpagedevice"
    Choice "ImageREt2400/ImageREt 2400" "<</HWResolution[600 600]>>setpagedevice"


    // cupsMediaType values map to MEDIATYPE from global_types.h
  Option "MediaType/Media Type" PickOne AnySetup 10.0
    Choice "Auto/Unspecified" "<</MediaType(auto)>>setpagedevice"
    *Choice "Plain/Plain Paper" "<</MediaType(Stationery)>>setpagedevice"
    Choice "HPEcoSMARTLite/HP EcoSMART Lite" "<</MediaType(HPEcoSMARTLite)>>setpagedevice"
    Choice "Light/Light 60-74g" "<</MediaType(light)>>setpagedevice"
    Choice "Mid-Weight/Mid-Weight96-110g" "<</MediaType(midweight)>>setpagedevice"
    Choice "Heavy/Heavy 111-130g" "<</MediaType(heavy)>>setpagedevice"
    Choice "ExtraHeavy/Extra Heavy 131-175g" "<</MediaType(extraHeavy)>>setpagedevice"
    Choice "Transparency/Monochrome Laser Transparency" "<</MediaType(transparencyMonoLaser)>>setpagedevice"
    Choice "Labels/Labels" "<</MediaType(labels)>>setpagedevice"
    Choice "Letterhead/Letterhead" "<</MediaType(stationery-letterhead)>>setpagedevice"
    Choice "Envelope/Envelope" "<</MediaType(envelope)>>setpagedevice"
    Choice "Preprinted/Preprinted" "<</MediaType(stationery-preprinted)>>setpagedevice"
    Choice "Prepunched/Prepunched" "<</MediaType(stationery-prepunched)>>setpagedevice"
    Choice "Colored/Colored" "<</MediaType(color)>>setpagedevice"
    Choice "Bond/Bond" "<</MediaType(bond)>>setpagedevice"
    Choice "Recycled/Recycled" "<</MediaType(recycled)>>setpagedevice"
    Choice "Rough/Rough" "<</MediaType(rough)>>setpagedevice"
    
     HWMargins 14 14 14 14
     VariablePaperSize Yes
     MinSize 3in 5in
     MaxSize 8.5in 14in

     // <%PCLM-COLOR%>

} // End PCLM-COLOR


///////////////////// PCLM-MONO
{
  Attribute "hpPrinterLanguage" "" "hbpl1"
  Attribute "cupsEvenDuplex" "" "True"
  Attribute "cupsBackSide" "" "Rotated"
  Attribute "cupsFlipDuplex" "" "True"
  ColorDevice No
  

  Group "General/General"

  //Duplex 
  Option "Duplex/Double-Sided Printing" PickOne AnySetup 10.0
    Choice "DuplexNoTumble/Long Edge (Standard)" "<</Duplex true/Tumble false>>setpagedevice"
    Choice "DuplexTumble/Short Edge (Flip)" "<</Duplex true/Tumble true>>setpagedevice"
    *Choice "None/Off" "<</Duplex false/Tumble false>>setpagedevice"

  //MediaPosition
  Option "InputSlot/Media Source" PickOne AnySetup 10.0
    Choice "Manual/Manual Feeder" "<</MediaPosition 12>>setpagedevice"
    *Choice "tray1/Tray1" "<</MediaPosition 19>>setpagedevice"

   //Economode
    Option "EconoMode/EconoMode" Boolean AnySetup 10.0
    *Choice "False/Off" "<</cupsInteger2 0>>setpagedevice"
     Choice "True/On" "<</cupsInteger2 1>>setpagedevice"

   // 4x6 or smaller
  CustomMedia "A6/A6 105x148mm" 297.36 419.76 14 14 14 14 "<</cupsString0(iso_a6_105x148mm)/PageSize[298 420]/ImagingBBox null>>setpagedevice"
         "<</cupsString0(iso_a6_105x148mm)/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
    CustomMedia "4x6/4x6" 288 432 14 14 14 14 "<</cupsString0(na_index-4x6_4x6in)/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsString0(na_index-4x6_4x6in)/PageSize [288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card3x5/Index Card 3x5in" 216 360 14 14 14 14 "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"

// 5x7
  // Standard
  CustomMedia "Photo5x7/Photo 5x7in" 360 504 14 14 14 14 "<</cupsString0(na_5x7_5x7in)/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsString0(na_5x7_5x7in)/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5/JB5 182x257mm" 516.24 728.64 14 14 14 14 "<</cupsString0(jis_b5_182x257mm)/PageSize[516 729]/ImagingBBox null>>setpagedevice"
         "<</cupsString0(jis_b5_182x257mm)/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"
  *CustomMedia "Letter/Letter 8.5x11in" 612 792 14 14 14 14 "<</cupsString0(na_letter_8.5x11in)/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsString0(na_letter_8.5x11in)/PageSize[612 792]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4/A4 210x297mm" 595.44 841.68 14 14 14 14 "<</cupsString0(iso_a4_210x297mm)/PageSize[595 842]/ImagingBBox null>>setpagedevice"
         "<</cupsString0(iso_a4_210x297mm)/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal/Legal 8.5x14in" 612 1008 14 14 14 14 "<</cupsString0(na_legal_8.5x14in)/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsString0(na_legal_8.5x14in)/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
  CustomMedia "Postcard/Postcard (JIS)" 283 420 14 14 14 14 "<</cupsString0(jpn_hagaki_100x148mm)/PageSize[283 420]/ImagingBBox null>>setpagedevice"
         "<</cupsString0(jpn_hagaki_100x148mm)/PageSize[283 420]/ImagingBBox null>>setpagedevice"
// Envelope
  CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279 540 14 14 14 14 "<</cupsString0(na_monarch_3.875x7.5in)/PageSize[279 540]/ImagingBBox null>>setpagedevice"
         "<</cupsString0(na_monarch_3.875x7.5in)/PageSize[279 540]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvDL/DL Envelope 110x220mm" 312 624 14 14 14 14 "<</cupsString0(iso_dl_110x220mm)/PageSize[312 624]/ImagingBBox null>>setpagedevice"
         "<</cupsString0(iso_dl_110x220mm)/PageSize[312 624]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env10/#10 Envelope 4.12x9.5in" 297 684  14 14 14 14 "<</cupsString0(na_number-10_4.125x9.5in)/PageSize[297 684]/ImagingBBox null>>setpagedevice"
         "<</cupsString0(na_number-10_4.125x9.5in)/PageSize[297 684]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC5/C5 Envelope 162x229mm" 459 649 14 14 14 14 "<</cupsString0(iso_c5_162x229mm)/PageSize[459 649]/ImagingBBox null>>setpagedevice"
         "<</cupsString0(iso_c5_162x229mm)/PageSize[459 649]/ImagingBBox null>>setpagedevice"
  CustomMedia "8.5x13in/Oficio 8.5x13" 612 936 14 14 14 14 "<</cupsString0(na_foolscap_8.5x13in)/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsString0(na_foolscap_8.5x13in)/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "216x340mm/Oficio 216x340mm" 612 936 14 14 14 14 "<</cupsString0(na_legal_216x340mm)/PageSize[612 964]/ImagingBBox null>>setpagedevice"
         "<</cupsString0(na_legal_216x340mm)/PageSize[612 964]/ImagingBBox null>>setpagedevice" 
  CustomMedia "A5/A5 148x210mm" 419.76 595.44 14 14 14 14 "<</cupsString0(iso_a5_148x210mm)/PageSize[420 595]/ImagingBBox null>>setpagedevice"
         "<</cupsString0(iso_a5_148x210mm)/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.28 459.36 14 14 14 14 "<</cupsString0(iso_c6_114x162mm)/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
         "<</cupsString0(iso_c6_114x162mm)/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 339.84 666 14 14 14 14 "<</cupsString0(jpn_chou3_120x235mm)/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
         "<</cupsString0(jpn_chou3_120x235mm)/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive/Executive " 522 756 8.4 36 8.4 8.4 "<</cupsString0(na_executive_7.25x10.5in)/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         	"<</cupsString0(na_executive_7.25x10.5in)/PageSize[522 756]/ImagingBBox null>>setpagedevice"
  CustomMedia "B6/JIS B6 " 363 516 14 14 14 14 "<</cupsString0(jis_b6_128x182mm)/PageSize[363 516]/ImagingBBox null>>setpagedevice"
         "<</cupsString0(jis_b6_128x182mm)/PageSize[363 516]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou4/Japanese Envelope Chou#4 " 254.88 581.04 8.4 36 8.4 8.4  "<</cupsString0(jpn_chou4_90x205mm)/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
         	"<</cupsString0(jpn_chou4_90x205mm)/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"  
  CustomMedia "OfukuHagaki/Japanese Postcard " 568.32 419.52 8.4 36 8.4 8.4 "<</cupsString0(jpn_oufuku_148x200mm)/PageSize[568.32 419.52]/ImagingBBox null>>setpagedevice"
         	"<</cupsString0(jpn_oufuku_148x200mm)/PageSize[568.32 419.52]/ImagingBBox null>>setpagedevice"
  CustomMedia "195.07x270mm/16k 195x270 mm" 552.96 765.36 18.00 36.00 18.00 9.00 "<</cupsString0(om_16k_195x270mm)/PageSize[552.96 765.36]/ImagingBBox null>>setpagedevice"
         "<</cupsString0(om_16k_195x270mm)/PageSize[552.96 765.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "B5/B5 " 498.72 708.48 8.4 8.4 8.4 8.4 "<</cupsString0(iso_b5_176x250mm)/PageSize[498.72 708.48]/ImagingBBox null>>setpagedevice"
            "<</cupsString0(iso_b5_176x250mm)/PageSize[498.72 708.48]/ImagingBBox null>>setpagedevice" 
    
    
   // cupsRowCount values map to PEN_TYPE + 1 from global_types.h
    //Option "ColorModel/Output Mode" PickOne AnySetup 10.0
    //*Choice "RGB/Color" "<</cupsColorSpace 17/cupsBitsPerColor 8/cupsRowStep 0>>setpagedevice"
    //*Choice "KGray/Black Only Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2>>setpagedevice"
    //*Choice "KGray/Black Only" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2>>setpagedevice"

  // cupsRowCount values map to PEN_TYPE + 1 from global_types.h
    Option "ColorModel/Output Mode" PickOne AnySetup 10.0
     Choice "KGray/Black Only Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowCount 3/cupsRowStep 2>>setpagedevice"
    *Choice "Gray/Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowCount 3/cupsRowStep 2>>setpagedevice"
     Choice "Mono/Monochrome" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowCount 3/cupsRowStep 2>>setpagedevice"

    //Print In Grayscale : TODO:-handle in Hbpl1 code
    Option "Gray/Print in Grayscale" Boolean AnySetup 10.0
    *Choice "False/Off" "<</cupsInteger3 0>>setpagedevice"
    *Choice "True/On" "<</cupsInteger3 1>>setpagedevice"

    //cupsCompression values map to QUALITY_MODE from global_types.h
    Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "FastRes600/FastRes 600" "<</OutputType(1)/HWResolution[600 600]>>setpagedevice"
    Choice "FastRes1200/FastRes 1200" "<</OutputType(2)/HWResolution[600 600]>>setpagedevice"
    Choice "Draft/Draft" "<</OutputType(0)/HWResolution[600 600]>>setpagedevice"
    Choice "ImageREt2400/ImageREt 2400" "<</HWResolution[600 600]>>setpagedevice"

// cupsMediaType values map to MEDIATYPE from global_types.h
  Option "MediaType/Media Type" PickOne AnySetup 10.0
    Choice "Auto/Unspecified" "<</MediaType(auto)>>setpagedevice"
    *Choice "Plain/Plain Paper" "<</MediaType(Stationery)>>setpagedevice"
    Choice "HPEcoSMARTLite/HP EcoSMART Lite" "<</MediaType(HPEcoSMARTLite)>>setpagedevice"
    Choice "Light/Light 60-74g" "<</MediaType(light)>>setpagedevice"
    Choice "Mid-Weight/Mid-Weight96-110g" "<</MediaType(midweight)>>setpagedevice"
    Choice "Heavy/Heavy 111-130g" "<</MediaType(heavy)>>setpagedevice"
    Choice "ExtraHeavy/Extra Heavy 131-175g" "<</MediaType(extraHeavy)>>setpagedevice"
    Choice "Transparency/Monochrome Laser Transparency" "<</MediaType(transparencyMonoLaser)>>setpagedevice"
    Choice "Labels/Labels" "<</MediaType(labels)>>setpagedevice"
    Choice "Letterhead/Letterhead" "<</MediaType(stationery-letterhead)>>setpagedevice"
    Choice "Envelope/Envelope" "<</MediaType(envelope)>>setpagedevice"
    Choice "Preprinted/Preprinted" "<</MediaType(stationery-preprinted)>>setpagedevice"
    Choice "Prepunched/Prepunched" "<</MediaType(stationery-prepunched)>>setpagedevice"
    Choice "Colored/Colored" "<</MediaType(color)>>setpagedevice"
    Choice "Bond/Bond" "<</MediaType(bond)>>setpagedevice"
    Choice "Recycled/Recycled" "<</MediaType(recycled)>>setpagedevice"
    Choice "Rough/Rough" "<</MediaType(rough)>>setpagedevice"
    
     HWMargins 14 14 14 14
     VariablePaperSize Yes
     MinSize 3.94in 5.83in
     MaxSize 8.5in 14in

     // <%PCLM-MONO%>

} // End PCLM-MONO

///////////// PCL4-Class1
{
  Attribute "hpPrinterLanguage" "" "pcl3"
  Attribute "hpPrinterPlatform" "" "apollo2xxx"
  Attribute "HPMechOffset" "" "40"

  Group "General/General"

  // MediaPosition values map to MediaSource enumeration in global_types.h
  Option "InputSlot/Media Source" PickOne AnySetup 10.0
    *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"
    Choice "PhotoTray/Photo Tray" "<</MediaPosition 6>>setpagedevice"
    Choice "Upper/Upper Tray" "<</MediaPosition 1>>setpagedevice"
    Choice "Lower/Lower Tray" "<</MediaPosition 4>>setpagedevice"
    Choice "Envelope/Envelope Feeder" "<</MediaPosition 3>>setpagedevice"
    Choice "LargeCapacity/Large Capacity Tray" "<</MediaPosition 5>>setpagedevice"
    Choice "Manual/Manual Feeder" "<</MediaPosition 2>>setpagedevice"
    Choice "MPTray/Multi Purpose Tray" "<</MediaPosition 1>>setpagedevice"

    Option "ColorModel/Output Mode" PickOne AnySetup 10.0
    Choice "CMYGray/High Quality Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 1>>setpagedevice"
    Choice "KGray/Black Only Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2>>setpagedevice"
    *Choice "RGB/Color" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 0>>setpagedevice"


  // cupsMediaType values map to MEDIATYPE from global_types.h
  Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0>>setpagedevice"
    Choice "Glossy/Photo Paper" "<</MediaType(Glossy)/cupsMediaType 3>>setpagedevice"

  // cupsCompression values map to QUALITY_MODE from global_types.h
  Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "NormalRGB/Normal Color" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 0/OutputType(0)/cupsString0(PlainNormalColor)/HWResolution[300 300]>>setpagedevice"
    Choice "NormaGray/Normal Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2/OutputType(0)/cupsString0(PlainNormalGrayK)/HWResolution[600 600]>>setpagedevice"
    Choice "DraftRGB/Draft Color" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 0/OutputType(-1)/cupsString0(PlainDraftColor)/HWResolution[300 300]>>setpagedevice"
    Choice "DraftGray/Draft Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2/OutputType(-1)/cupsString0(PlainDraftGrayK)/HWResolution[300 300]>>setpagedevice"
    Choice "BestRGB/Best Color" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 0/OutputType(1)/cupsString0(PlainBestColor)/HWResolution[600 600]>>setpagedevice"
    Choice "BestGray/Best Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2/cupsCompression 2/HWResolution[600 600]>>setpagedevice"
    Choice "Photo/Photo" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 0/OutputType(2)/cupsString0(PhotoNormalColor)/HWResolution[1200 1200]>>setpagedevice"

 
// 4x6 or smaller
  CustomMedia "Photo4x6/Photo 4x6in" 288 432 18 48 18 9 "<</cupsInteger0 101/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card3x5/Index Card 3x5in" 216 360 18 48 18 9 "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki/Hagaki 100x148mm" 284 420 18 48 18 9 "<</cupsInteger0 101/PageSize[284 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[284 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6/A6 105x148mm" 297.36 419.76 18 48 18 9 "<</cupsInteger0 101/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"

// 5x7
  CustomMedia "Photo5x7/Photo 5x7in" 360 504 18 48 18 9 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card5x8/Index Card 5x8in" 360 576 18 48 18 9 "<</cupsInteger0 101/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[360 576]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku/Oufuku-Hagaki 148x200mm" 567 420 18 48 18 9 "<</cupsInteger0 101/PageSize[567 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[567 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5/A5 148x210mm" 419.76 595.44 18 48 18 9 "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"

// Standard
  CustomMedia "B5/B5 176x250mm" 498.96 708.48 18 48 18 9 "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5/JB5 182x257mm" 516.24 728.64 18 48 18 9 "<</cupsInteger0 45/PageSize[516.24 728.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive/Executive 7.25x10.5in" 522 756 18 48 18 9 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
  CustomMedia "16k/16k 7.75x10.75in" 558 774 18 48 18 9 "<</cupsInteger0 101/PageSize[558 774]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[558 774]/ImagingBBox null>>setpagedevice"   // custom
  *CustomMedia "Letter/Letter 8.5x11in" 612 792 18 48 18 9 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4/A4 210x297mm" 595.44 841.68 18 48 18 9 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
  CustomMedia "ExecutiveJIS/Executive (JIS) 8.5x12.986in" 612 936 18 48 18 9 "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "FLSA/American Foolscap 8.5x13in" 612 936 18 48 18 9 "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal/Legal 8.5x14in" 612 1008 18 48 18 9 "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"

// Envelope
  CustomMedia "EnvA2/A2 Envelope 4.37x5.75in" 314.64 414 18 48 18 9 "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.28 459.36 18 48 18 9 "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou4/#4 Japanese Envelope 90x205mm" 254.88 581.04 18 48 18 9 "<</cupsInteger0 101/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279 540 18 48 18 9 "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvDL/DL Envelope 110x220mm" 311.76 623.52 18 48 18 9 "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env10/#10 Envelope 4.12x9.5in" 297 684 18 48 18 9 "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 339.84 666 18 48 18 9 "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC5/C5 Envelope 162x229mm" 459 649 18 48 18 9 "<</cupsInteger0 91/PageSize[459 649]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 91/PageSize[459 649]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvB5/B5 Envelope 176x250mm" 499 709 18 48 18 9 "<</cupsInteger0 100/PageSize[499 709]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 100/PageSize[499 709]/ImagingBBox null>>setpagedevice"
   {
    // Custom page sizes from 1x4in to Legal
    HWMargins 18 48 18 9
    VariablePaperSize Yes
    MinSize 1in 4in
    MaxSize 8.5in 14in

   }// <%PCL4-Class1%>

} //End PCL4-Class1


//////////////// LJ-Class1 
{
  Attribute "cupsEvenDuplex" "" "True"
  Attribute "hpPrinterLanguage" "" "ljfastraster"

  Group "General/General"

  Option "Duplex/Double-Sided Printing" PickOne AnySetup 10.0
    Choice "DuplexNoTumble/Long Edge (Standard)" "<</Duplex true/Tumble false>>setpagedevice"
    Choice "DuplexTumble/Short Edge (Flip)" "<</Duplex true/Tumble true>>setpagedevice"
    *Choice "None/Off" "<</Duplex false/Tumble false>>setpagedevice"

  // MediaPosition values map to MediaSource enumeration in global_types.h
  Option "InputSlot/Media Source" PickOne AnySetup 10.0
    *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"
    Choice "PhotoTray/Photo Tray" "<</MediaPosition 1>>setpagedevice"
    Choice "Upper/Upper Tray" "<</MediaPosition 1>>setpagedevice"
    Choice "Lower/Lower Tray" "<</MediaPosition 4>>setpagedevice"
    Choice "Envelope/Envelope Feeder" "<</MediaPosition 3>>setpagedevice"
    Choice "LargeCapacity/Large Capacity Tray" "<</MediaPosition 5>>setpagedevice"
    Choice "Manual/Manual Feeder" "<</MediaPosition 2>>setpagedevice"
    Choice "MPTray/Multi Purpose Tray" "<</MediaPosition 1>>setpagedevice"

  // cupsRowCount values map to PEN_TYPE + 1 from global_types.h
  Option "ColorModel/Output Mode" PickOne AnySetup 10.0
    *Choice "Gray/Grayscale" "<</cupsColorSpace 3/cupsBitsPerColor 1/cupsRowCount 1/cupsRowStep 2>>setpagedevice"

  // cupsMediaType values map to MEDIATYPE from global_types.h
  Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0>>setpagedevice"

  // cupsCompression values map to QUALITY_MODE from global_types.h
  Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "Normal/Normal" "<</OutputType(0)/HWResolution[600 600]>>setpagedevice"
    Choice "Draft/Draft" "<</OutputType(-1)/HWResolution[600 600]>>setpagedevice"

  
 
// 4x6 or smaller
  CustomMedia "Card3x5/Index Card 3x5in" 216 360 12 12 12 12 "<</cupsInteger0 96/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[216 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki/Hagaki 100x148mm" 284 420 12 12 12 12 "<</cupsInteger0 14/PageSize[284 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 14/PageSize[284 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6/A6 105x148mm" 297.36 419.76 12 12 12 12 "<</cupsInteger0 96/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"

// 5x7
  CustomMedia "Card5x8/Index Card 5x8in" 360 576 12 12 12 12 "<</cupsInteger0 96/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[360 576]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku/Oufuku-Hagaki 148x200mm" 420 567 12 12 12 12 "<</cupsInteger0 15/PageSize[420 567]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 15/PageSize[420 567]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5/A5 148x210mm" 419.76 595.44 12 12 12 12 "<</cupsInteger0 16/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 16/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"

// Standard
  CustomMedia "B5/B5 176x250mm" 498.96 708.48 12 12 12 12 "<</cupsInteger0 11/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 11/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5/JB5 182x257mm" 516.24 728.64 12 12 12 12 "<</cupsInteger0 96/PageSize[516.24 728.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive/Executive 7.25x10.5in" 522 756 12 12 12 12 "<</cupsInteger0 3/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[522 756]/ImagingBBox null>>setpagedevice"
  CustomMedia "16k/16k 7.75x10.75in" 558 774 12 12 12 12 "<</cupsInteger0 96/PageSize[558 774]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[558 774]/ImagingBBox null>>setpagedevice"   // custom
  *CustomMedia "Letter/Letter 8.5x11in" 612 792 12 12 12 12 "<</cupsInteger0 0/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 0/PageSize[612 792]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4/A4 210x297mm" 595.44 841.68 12 12 12 12 "<</cupsInteger0 2/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
  CustomMedia "ExecutiveJIS/Executive (JIS) 8.5x12.986in" 612 936 12 12 12 12 "<</cupsInteger0 96/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "FLSA/American Foolscap 8.5x13in" 612 936 12 12 12 12 "<</cupsInteger0 96/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal/Legal 8.5x14in" 612 1008 12 12 12 12 "<</cupsInteger0 1/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[612 1008]/ImagingBBox null>>setpagedevice"

// Envelope
  CustomMedia "EnvA2/A2 Envelope 4.37x5.75in" 314.64 414 12 12 12 12 "<</cupsInteger0 6/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 6/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.28 459.36 12 12 12 12 "<</cupsInteger0 96/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou4/#4 Japanese Envelope 90x205mm" 254.88 581.04 12 12 12 12 "<</cupsInteger0 96/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279 540 12 12 12 12 "<</cupsInteger0 96/PageSize[279 540]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[279 540]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvDL/DL Envelope 110x220mm" 311.76 623.52 12 12 12 12 "<</cupsInteger0 9/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 9/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env10/#10 Envelope 4.12x9.5in" 297 684 12 12 12 12 "<</cupsInteger0 6/PageSize[297 684]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 6/PageSize[297 684]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 339.84 666 12 12 12 12 "<</cupsInteger0 96/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC5/C5 Envelope 162x229mm" 459 649 12 12 12 12 "<</cupsInteger0 8/PageSize[459 649]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 8/PageSize[459 649]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvB5/B5 Envelope 176x250mm" 499 709 12 12 12 12 "<</cupsInteger0 96/PageSize[499 709]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[499 709]/ImagingBBox null>>setpagedevice"


    // <%LJ-Class1%>
   // End Supported media sizes.
} // End LJ-Class1


///////////// LJ-Class2 
{
  Attribute "cupsEvenDuplex" "" "True"
  Attribute "hpPrinterLanguage" "" "ljjetready"

  Group "General/General"

  Option "Duplex/Double-Sided Printing" PickOne AnySetup 10.0
    Choice "DuplexNoTumble/Long Edge (Standard)" "<</Duplex true/Tumble false>>setpagedevice"
    Choice "DuplexTumble/Short Edge (Flip)" "<</Duplex true/Tumble true>>setpagedevice"
    *Choice "None/Off" "<</Duplex false/Tumble false>>setpagedevice"

  // MediaPosition values map to MediaSource enumeration in global_types.h
  Option "InputSlot/Media Source" PickOne AnySetup 10.0
    *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"
    Choice "PhotoTray/Photo Tray" "<</MediaPosition 1>>setpagedevice"
    Choice "Upper/Upper Tray" "<</MediaPosition 1>>setpagedevice"
    Choice "Lower/Lower Tray" "<</MediaPosition 4>>setpagedevice"
    Choice "Envelope/Envelope Feeder" "<</MediaPosition 3>>setpagedevice"
    Choice "LargeCapacity/Large Capacity Tray" "<</MediaPosition 5>>setpagedevice"
    Choice "Manual/Manual Feeder" "<</MediaPosition 2>>setpagedevice"
    Choice "MPTray/Multi Purpose Tray" "<</MediaPosition 1>>setpagedevice"

  // cupsRowCount values map to PEN_TYPE + 1 from global_types.h
  Option "ColorModel/Output Mode" PickOne AnySetup 10.0
    Choice "Gray/Grayscale" "<</cupsColorSpace 3/cupsBitsPerColor 1/cupsRowCount 3/cupsRowStep 2>>setpagedevice"
    *Choice "RGB/Color" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowCount 3/cupsRowStep 0>>setpagedevice"     /* no RGBW */

  // cupsMediaType values map to MEDIATYPE from global_types.h
  Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0>>setpagedevice"
    Choice "Glossy/Photo Paper" "<</MediaType(Glossy)/cupsMediaType 3>>setpagedevice"

  // cupsCompression values map to QUALITY_MODE from global_types.h
  // Best mode is only available with proprietary plugin.
  // Best mode will down-select to Normal if no proprietary plugin is installed.
  Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "Normal/Normal" "<</OutputType(0)/HWResolution[600 600]>>setpagedevice"
    Choice "Draft/Draft" "<</OutputType(-1)/HWResolution[600 600]>>setpagedevice"
    Choice "Best/Best" "<</OutputType(1)/HWResolution[600 600]>>setpagedevice"

  // Duplexer is optional...
  Installable "OptionDuplex/Duplexer Installed"

  // Constraints
  //UIConstraints "*Duplex *OptionDuplex False"

  Attribute "cupsModelName" "" "hp color LaserJet 3500"     // APDK device class


// 4x6 or smaller
  CustomMedia "Card3x5/Index Card 3x5in" 216 360 12.00 14.40 12.00 14.40 "<</cupsInteger0 96/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[216 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki/Hagaki 100x148mm" 284 420 13.36 14.40 13.36 14.40 "<</cupsInteger0 96/PageSize[284 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[284 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6/Photo 4x6in" 288 432 17.28 14.40 17.28 14.40 "<</cupsInteger0 96/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6/A6 105x148mm" 297.36 419.76 14.28 14.40 14.28 14.40 "<</cupsInteger0 96/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"

// 5x7
  CustomMedia "Photo5x7/Photo 5x7in" 360 504 12.96 14.40 12.96 14.40 "<</cupsInteger0 96/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card5x8/Index Card 5x8in" 360 576 12.96 14.40 12.96 14.40 "<</cupsInteger0 96/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[360 576]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku/Oufuku-Hagaki 148x200mm" 567 420 14.70 14.40 14.70 14.40 "<</cupsInteger0 96/PageSize[567 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[567 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5/A5 148x210mm" 419.76 595.44 12.12 14.40 12.12 14.40 "<</cupsInteger0 16/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 16/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"

// Standard
  CustomMedia "B5/B5 176x250mm" 498.96 708.48 13.32 14.40 13.32 14.40 "<</cupsInteger0 11/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 11/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5/JB5 182x257mm" 516.24 728.64 14.28 14.40 14.28 14.40 "<</cupsInteger0 96/PageSize[516.24 728.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive/Executive 7.25x10.5in" 522 756 13.32 14.40 13.32 14.40 "<</cupsInteger0 3/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[522 756]/ImagingBBox null>>setpagedevice"
  CustomMedia "16k/16k 7.75x10.75in" 558 774 12.12 14.40 12.12 14.40 "<</cupsInteger0 96/PageSize[558 774]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[558 774]/ImagingBBox null>>setpagedevice"   // custom
  *CustomMedia "Letter/Letter 8.5x11in" 612 792 14.16 14.40 14.16 14.40 "<</cupsInteger0 0/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 0/PageSize[612 792]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4/A4 210x297mm" 595.44 841.68 13.56 14.40 13.56 14.40 "<</cupsInteger0 2/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
  CustomMedia "ExecutiveJIS/Executive (JIS) 8.5x12.986in" 612 936 14.16 14.40 14.16 14.40 "<</cupsInteger0 96/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "FLSA/American Foolscap 8.5x13in" 612 936 14.16 14.40 14.16 14.40 "<</cupsInteger0 96/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal/Legal 8.5x14in" 612 1008 14.16 14.40 14.16 14.40 "<</cupsInteger0 1/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[612 1008]/ImagingBBox null>>setpagedevice"

// Envelope
  CustomMedia "EnvA2/A2 Envelope 4.37x5.75in" 314.64 414 21.00 14.40 21.00 14.40 "<</cupsInteger0 6/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 6/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.28 459.36 14.16 14.40 14.16 14.40 "<</cupsInteger0 96/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou4/#4 Japanese Envelope 90x205mm" 254.88 581.04 14.16 14.40 14.16 14.40 "<</cupsInteger0 96/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279 540 14.70 14.40 14.70 14.40 "<</cupsInteger0 96/PageSize[279 540]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[279 540]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvDL/DL Envelope 110x220mm" 311.76 623.52 15.72 14.40 15.72 14.40 "<</cupsInteger0 9/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 9/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env10/#10 Envelope 4.12x9.5in" 297 684 14.10 14.40 14.10 14.40 "<</cupsInteger0 6/PageSize[297 684]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 6/PageSize[297 684]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 339.84 666 14.40 14.40 14.40 14.40 "<</cupsInteger0 96/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC5/C5 Envelope 162x229mm" 459 649 14.46 14.40 14.46 14.40 "<</cupsInteger0 96/PageSize[459 649]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[459 649]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvB5/B5 Envelope 176x250mm" 499 709 14.76 14.40 14.76 14.40 "<</cupsInteger0 96/PageSize[499 709]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[499 709]/ImagingBBox null>>setpagedevice"

  { 
 // Custom page sizes from 1x4in to Legal
    HWMargins 18 14.4 18 14.4
    VariablePaperSize Yes
    MinSize 1in 4in
    MaxSize 8.5in 14in

    
  } // End Supported media sizes with full bleed..
   // <%LJ-Class2%>
} // End LJ-Class2 


////////////// LJ-Class3
{
  Attribute "cupsEvenDuplex" "" "True"
  Attribute "hpPrinterLanguage" "" "ljcolor"

  Group "General/General"

  Option "Duplex/Double-Sided Printing" PickOne AnySetup 10.0
    Choice "DuplexNoTumble/Long Edge (Standard)" "<</Duplex true/Tumble false>>setpagedevice"
    Choice "DuplexTumble/Short Edge (Flip)" "<</Duplex true/Tumble true>>setpagedevice"
    *Choice "None/Off" "<</Duplex false/Tumble false>>setpagedevice"

  // cupsRowCount values map to PEN_TYPE + 1 from global_types.h
  Option "ColorModel/Output Mode" PickOne AnySetup 10.0
    Choice "Gray/Grayscale" "<</cupsColorSpace 3/cupsBitsPerColor 1/cupsRowCount 3/cupsRowStep 2>>setpagedevice"
    *Choice "RGB/Color" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowCount 3/cupsRowStep 0>>setpagedevice"

  // cupsMediaType values map to MEDIATYPE from global_types.h
  Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0>>setpagedevice"
    Choice "Glossy/Photo Paper" "<</MediaType(Glossy)/cupsMediaType 3>>setpagedevice"

  // cupsCompression values map to QUALITY_MODE from global_types.h
  Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "Normal/Normal" "<</OutputType(0)/HWResolution[600 600]>>setpagedevice"
    Choice "Draft/Draft" "<</OutputType(-1)/HWResolution[600 600]>>setpagedevice"
    Choice "Best/Best" "<</OutputType(1)/HWResolution[600 600]>>setpagedevice"

  // Duplexer is optional...
  Installable "OptionDuplex/Duplexer Installed"

  // Constraints
  //UIConstraints "*Duplex *OptionDuplex False"

  Attribute "cupsModelName" "" "hp color LaserJet"     // APDK device class

  // Large

   CustomMedia "B4/B4 257x364mm" 729 1033 18 36 18 9 "<</cupsInteger0 46/PageSize[729 1033]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 46/PageSize[729 1033]/ImagingBBox null>>setpagedevice"
   CustomMedia "SuperB/SuperB 13x19in" 936 1368 14.40 36.00 14.40 9.00 "<</cupsInteger0 16/PageSize[936 1368]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 16/PageSize[936 1368]/ImagingBBox null>>setpagedevice"
   CustomMedia "A3/A3 297x420mm" 842 1190 18 36 18 9 "<</cupsInteger0 27/PageSize[842 1190]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 27/PageSize[842 1190]/ImagingBBox null>>setpagedevice"
   CustomMedia "8k/8k 10.75x15.5in" 774 1116 18 36 18 9 "<</cupsInteger0 101/PageSize[774 1116]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[774 1116]/ImagingBBox null>>setpagedevice" 
   CustomMedia "Ledger/Ledger 11x17in" 792 1224 14.40 36.00 14.40 9.00 "<</cupsInteger0 6/PageSize[792 1224]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 6/PageSize[792 1224]/ImagingBBox null>>setpagedevice"

// 4x6 or smaller
  CustomMedia "Card3x5/Index Card 3x5in" 216 360 18.00 14.40 18.00 14.40 "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki/Hagaki 100x148mm" 284 420 18.00 14.40 18.00 14.40 "<</cupsInteger0 71/PageSize[284 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[284 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6/Photo 4x6in" 288 432 18.00 14.40 18.00 14.40 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6/A6 105x148mm" 297.36 419.76 18.00 14.40 18.00 14.40 "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"

// 5x7
  CustomMedia "Photo5x7/Photo 5x7in" 360 504 18.00 14.40 18.00 14.40 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card5x8/Index Card 5x8in" 360 576 18.00 14.40 18.00 14.40 "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku/Oufuku-Hagaki 148x200mm" 567 420 18.00 14.40 18.00 14.40 "<</cupsInteger0 72/PageSize[567 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[567 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5/A5 148x210mm" 419.76 595.44 18.00 14.40 18.00 14.40 "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"

// Standard
  CustomMedia "B5/B5 176x250mm" 498.96 708.48 18 14 18 14 "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5/JB5 182x257mm" 516.24 728.64 18 14 18 14 "<</cupsInteger0 45/PageSize[516.24 728.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive/Executive 7.25x10.5in" 522 756 18.00 14.40 18.00 14.40 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
  CustomMedia "16k/16k 7.75x10.75in" 558 774 18.00 14.40 18.00 14.40 "<</cupsInteger0 101/PageSize[558 774]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[558 774]/ImagingBBox null>>setpagedevice"   // custom
  *CustomMedia "Letter/Letter 8.5x11in" 612 792 18.00 14.40 18.00 14.40 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4/A4 210x297mm" 595.44 841.68 18.00 14.40 18.00 14.40 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
  CustomMedia "ExecutiveJIS/Executive (JIS) 8.5x12.986in" 612 936 18.00 14.40 18.00 14.40 "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "FLSA/American Foolscap 8.5x13in" 612 936 18.00 14.40 18.00 14.40 "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal/Legal 8.5x14in" 612 1008 18.00 14.40 18.00 14.40 "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"

// Envelope
  CustomMedia "EnvA2/A2 Envelope 4.37x5.75in" 314.64 414 18 14 18 14 "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.28 459.36 18.00 14.40 18.00 14.40 "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou4/#4 Japanese Envelope 90x205mm" 254.88 581.04 18 14 18 14 "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279 540 18.00 14.40 18.00 14.40 "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvDL/DL Envelope 110x220mm" 311.76 623.52 18.00 14.40 18.00 14.40 "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env10/#10 Envelope 4.12x9.5in" 297 684 18.00 14.40 18.00 14.40 "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 339.84 666 18 14 18 14 "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC5/C5 Envelope 162x229mm" 459 649 18.00 14.40 18.00 14.40 "<</cupsInteger0 91/PageSize[459 649]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 91/PageSize[459 649]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvB5/B5 Envelope 176x250mm" 499 709 18.00 14.40 18.00 14.40 "<</cupsInteger0 100/PageSize[499 709]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 100/PageSize[499 709]/ImagingBBox null>>setpagedevice"

  {
    // Custom page sizes from 1x4in to Legal
    HWMargins 18 14 18 14
    VariablePaperSize Yes
    MinSize 1in 4in
    MaxSize 8.5in 14in
    {
      // MediaPosition values map to MediaSource enumeration in global_types.h
      Option "InputSlot/Media Source" PickOne AnySetup 10.0
        *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"
        Choice "Tray1_Man/Tray 1 (Manual)" "<</MediaPosition 3>>setpagedevice"
        Choice "Tray2/Tray 2" "<</MediaPosition 0>>setpagedevice"
        Choice "Tray3/Tray 3" "<</MediaPosition 1>>setpagedevice"
        
    }
  } // End supported media sizes.
   // <%LJ-Class3%>
} // End LJ-Class3 



///////////////// LJ-Class4 
{
  Attribute "hpPrinterLanguage" "" "ljzjstream"

  Group "General/General"

  Attribute "cupsIPPReason" "hplip.plugin-error/HP Device requires a proprietary binary Plug-in, run hp-plugin" ""

  Option "Duplex/Double-Sided Printing" PickOne AnySetup 10.0
    Choice "DuplexNoTumble/Long Edge (Standard)" "<</Duplex true/Tumble false>>setpagedevice"
    Choice "DuplexTumble/Short Edge (Flip)" "<</Duplex true/Tumble true>>setpagedevice"
    *Choice "None/Off" "<</Duplex false/Tumble false>>setpagedevice"

  // MediaPosition values map to MediaSource enumeration in global_types.h
  Option "InputSlot/Media Source" PickOne AnySetup 10.0
    *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"
    Choice "Manual/Manual Feeder" "<</MediaPosition 2>>setpagedevice"
   
  // cupsRowCount values map to PEN_TYPE + 1 from global_types.h
  Option "ColorModel/Output Mode" PickOne AnySetup 10.0
    *Choice "Gray/Grayscale" "<</cupsColorSpace 3/cupsBitsPerColor 1/cupsRowCount 1/cupsRowStep 2>>setpagedevice"
     //Choice "RGB/Color" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowCount 3/cupsRowStep 0>>setpagedevice"     /* no RGBW */

  // cupsMediaType values map to MEDIATYPE from global_types.h
  Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0>>setpagedevice"

  // cupsCompression values map to QUALITY_MODE from global_types.h
  Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "Normal/Normal" "<</OutputType(0)/HWResolution[600 600]>>setpagedevice"
    Choice "Draft/Draft" "<</OutputType(-1)/HWResolution[600 600]>>setpagedevice"

  // Duplexer is optional...
  //Installable "OptionDuplex/Duplexer Installed"

  // Constraints
  //UIConstraints "*Duplex *OptionDuplex False"

// 4x6 or smaller
  CustomMedia "Card3x5/Index Card 3x5in" 216 360 12.96 15.5 12.96 15.5 "<</cupsInteger0 96/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[216 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki/Hagaki 100x148mm" 284 420 19.12 15.5 19.12 15.5 "<</cupsInteger0 43/PageSize[284 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 43/PageSize[284 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6/Photo 4x6in" 288 432 17.28 14.40 17.28 14.40 "<</cupsInteger0 96/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6/A6 105x148mm" 297.36 419.76 18.12 15.5 18.12 15.5 "<</cupsInteger0 96/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"

// 5x7
  CustomMedia "Photo5x7/Photo 5x7in" 360 504 12.96 14.40 12.96 14.40 "<</cupsInteger0 96/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card5x8/Index Card 5x8in" 360 576 18.72 15.5 18.72 15.5 "<</cupsInteger0 96/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[360 576]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku/Oufuku-Hagaki 148x200mm" 567 420 18.54 15.5 18.54 15.5 "<</cupsInteger0 101/PageSize[567 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[567 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5/A5 148x210mm" 419.76 595.44 18 15.5 18 15.5 "<</cupsInteger0 11/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 11/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"

// Standard
  CustomMedia "B5/B5 176x250mm" 498.96 708.48 19.08 14.4 19.08 14.4 "<</cupsInteger0 357/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 357/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5/JB5 182x257mm" 516.24 728.64 18 15.5 18 15.5 "<</cupsInteger0 96/PageSize[516.24 728.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive/Executive 7.25x10.5in" 522 756 19.08 15.5 19.08 15.5 "<</cupsInteger0 7/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/PageSize[522 756]/ImagingBBox null>>setpagedevice"
  CustomMedia "16k/16k 7.75x10.75in" 558 774 18 15.5 18 15.5 "<</cupsInteger0 96/PageSize[558 774]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[558 774]/ImagingBBox null>>setpagedevice"   // custom
  *CustomMedia "Letter/Letter 8.5x11in" 612 792 18 15.5 18 15.5 "<</cupsInteger0 1/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[612 792]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4/A4 210x297mm" 595.44 841.68 18 15.5 18 15.5 "<</cupsInteger0 9/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 9/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
  CustomMedia "ExecutiveJIS/Executive (JIS) 8.5x12.986in" 612 936 18 15.5 18 15.5 "<</cupsInteger0 96/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "FLSA/American Foolscap 8.5x13in" 612 936 18 15.5 18 15.5 "<</cupsInteger0 258/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 258/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal/Legal 8.5x14in" 612 1008 18 15.5 18 15.5 "<</cupsInteger0 5/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 5/PageSize[612 1008]/ImagingBBox null>>setpagedevice"

// Envelope
  CustomMedia "EnvA2/A2 Envelope 4.37x5.75in" 314.64 414 19.08 15.5 19.08 15.5 "<</cupsInteger0 96/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.28 459.36 19.56 15.5 19.56 15.5 "<</cupsInteger0 96/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou4/#4 Japanese Envelope 90x205mm" 254.88 581.04 19.92 15.5 19.92 15.5 "<</cupsInteger0 96/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279 540 18 15.5 18 15.5 "<</cupsInteger0 96/PageSize[279 540]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[279 540]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvDL/DL Envelope 110x220mm" 311.76 623.52 18 15.5 18 15.5 "<</cupsInteger0 27/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 27/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env10/#10 Envelope 4.12x9.5in" 297 684 18 15.5 18 15.5 "<</cupsInteger0 20/PageSize[297 684]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 20/PageSize[297 684]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 339.84 666 18 15.5 18 15.5 "<</cupsInteger0 96/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC5/C5 Envelope 162x229mm" 459 649 18.3 15.5 18.3 15.5 "<</cupsInteger0 96/PageSize[459 649]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[459 649]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvB5/B5 Envelope 176x250mm" 499 709 18 15.5 18 15.5 "<</cupsInteger0 96/PageSize[499 709]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[499 709]/ImagingBBox null>>setpagedevice"
  {
    // Custom page sizes from 1x4in to Legal
    HWMargins 18 15.5 18 15.5
    VariablePaperSize Yes
    MinSize 1in 4in
    MaxSize 8.5in 14in

    
  } // End Supported media sizes.
   // <%LJ-Class4%>
   
} // End LJ-Class4 (for proprietary plugin)


///////////////// LJ-Class4A 
{
  Attribute "hpPrinterLanguage" "" "ljzjstream"

  Group "General/General"

  Attribute "cupsIPPReason" "hplip.plugin-error/HP Device requires a proprietary binary Plug-in, run hp-plugin" ""

 // Option "Duplex/Double-Sided Printing" PickOne AnySetup 10.0
   // Choice "DuplexNoTumble/Long Edge (Standard)" "<</Duplex true/Tumble false>>setpagedevice"
    //Choice "DuplexTumble/Short Edge (Flip)" "<</Duplex true/Tumble true>>setpagedevice"
    //*Choice "None/Off" "<</Duplex false/Tumble false>>setpagedevice"

  // MediaPosition values map to MediaSource enumeration in global_types.h
  Option "InputSlot/Media Source" PickOne AnySetup 10.0
    *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"
    Choice "Manual/Manual Feeder" "<</MediaPosition 2>>setpagedevice"
   
  // cupsRowCount values map to PEN_TYPE + 1 from global_types.h
  Option "ColorModel/Output Mode" PickOne AnySetup 10.0
     Choice "Gray/Grayscale" "<</cupsColorSpace 3/cupsBitsPerColor 1/cupsRowCount 1/cupsRowStep 2>>setpagedevice"
     *Choice "RGB/Color" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowCount 3/cupsRowStep 0>>setpagedevice"

  // cupsMediaType values map to MEDIATYPE from global_types.h
  Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0>>setpagedevice"

  // cupsCompression values map to QUALITY_MODE from global_types.h
  Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "Normal/Normal" "<</OutputType(0)/HWResolution[600 600]>>setpagedevice"
    Choice "Draft/Draft" "<</OutputType(-1)/HWResolution[600 600]>>setpagedevice"

  // Duplexer is optional...
 // Installable "OptionDuplex/Duplexer Installed"

  // Constraints
  //UIConstraints "*Duplex *OptionDuplex False"
 
 

// 4x6 or smaller
  CustomMedia "Card3x5/Index Card 3x5in" 216 360 12.96 15.5 12.96 15.5 "<</cupsInteger0 96/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[216 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki/Hagaki 100x148mm" 284 420 19.12 15.5 19.12 15.5 "<</cupsInteger0 43/PageSize[284 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 43/PageSize[284 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6/Photo 4x6in" 288 432 17.28 14.40 17.28 14.40 "<</cupsInteger0 96/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6/A6 105x148mm" 297.36 419.76 18.12 15.5 18.12 15.5 "<</cupsInteger0 96/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"

// 5x7
  CustomMedia "Photo5x7/Photo 5x7in" 360 504 12.96 14.40 12.96 14.40 "<</cupsInteger0 96/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card5x8/Index Card 5x8in" 360 576 18.72 15.5 18.72 15.5 "<</cupsInteger0 96/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[360 576]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku/Oufuku-Hagaki 148x200mm" 567 420 18.54 15.5 18.54 15.5 "<</cupsInteger0 101/PageSize[567 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[567 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5/A5 148x210mm" 419.76 595.44 18 15.5 18 15.5 "<</cupsInteger0 11/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 11/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"

// Standard
  CustomMedia "B5/B5 176x250mm" 498.96 708.48 19.08 14.4 19.08 14.4 "<</cupsInteger0 357/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 357/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5/JB5 182x257mm" 516.24 728.64 18 15.5 18 15.5 "<</cupsInteger0 96/PageSize[516.24 728.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive/Executive 7.25x10.5in" 522 756 19.08 15.5 19.08 15.5 "<</cupsInteger0 7/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/PageSize[522 756]/ImagingBBox null>>setpagedevice"
  CustomMedia "16k/16k 7.75x10.75in" 558 774 18 15.5 18 15.5 "<</cupsInteger0 96/PageSize[558 774]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[558 774]/ImagingBBox null>>setpagedevice"   // custom
  *CustomMedia "Letter/Letter 8.5x11in" 612 792 18 15.5 18 15.5 "<</cupsInteger0 1/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[612 792]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4/A4 210x297mm" 595.44 841.68 18 15.5 18 15.5 "<</cupsInteger0 9/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 9/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
  CustomMedia "ExecutiveJIS/Executive (JIS) 8.5x12.986in" 612 936 18 15.5 18 15.5 "<</cupsInteger0 96/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "FLSA/American Foolscap 8.5x13in" 612 936 18 15.5 18 15.5 "<</cupsInteger0 258/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 258/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal/Legal 8.5x14in" 612 1008 18 15.5 18 15.5 "<</cupsInteger0 5/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 5/PageSize[612 1008]/ImagingBBox null>>setpagedevice"

// Envelope
  CustomMedia "EnvA2/A2 Envelope 4.37x5.75in" 314.64 414 19.08 15.5 19.08 15.5 "<</cupsInteger0 96/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.28 459.36 19.56 15.5 19.56 15.5 "<</cupsInteger0 96/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou4/#4 Japanese Envelope 90x205mm" 254.88 581.04 19.92 15.5 19.92 15.5 "<</cupsInteger0 96/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279 540 18 15.5 18 15.5 "<</cupsInteger0 96/PageSize[279 540]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[279 540]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvDL/DL Envelope 110x220mm" 311.76 623.52 18 15.5 18 15.5 "<</cupsInteger0 27/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 27/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env10/#10 Envelope 4.12x9.5in" 297 684 18 15.5 18 15.5 "<</cupsInteger0 20/PageSize[297 684]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 20/PageSize[297 684]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 339.84 666 18 15.5 18 15.5 "<</cupsInteger0 96/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC5/C5 Envelope 162x229mm" 459 649 18.3 15.5 18.3 15.5 "<</cupsInteger0 96/PageSize[459 649]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[459 649]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvB5/B5 Envelope 176x250mm" 499 709 18 15.5 18 15.5 "<</cupsInteger0 96/PageSize[499 709]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[499 709]/ImagingBBox null>>setpagedevice"
  
  { 
    // Custom page sizes from 1x4in to Legal
    HWMargins 12 12 12 12
    VariablePaperSize Yes
    MinSize 3in 5in
    MaxSize 17in 36in
    
    
    
  } // End Supported media sizes.
    // <%LJ-Class4A%>
   
} // End LJ-Class4A (for proprietary plugin)


///////////// LJ-Class5
{
  Attribute "hpPrinterLanguage" "" "ljzxstream"
  Group "General/General"

  Option "Duplex/Double-Sided Printing" PickOne AnySetup 10.0
    Choice "DuplexNoTumble/Long Edge (Standard)" "<</Duplex true/Tumble false>>setpagedevice"
    Choice "DuplexTumble/Short Edge (Flip)" "<</Duplex true/Tumble true>>setpagedevice"
    *Choice "None/Off" "<</Duplex false/Tumble false>>setpagedevice"

  // MediaPosition values map to MediaSource enumeration in global_types.h
  Option "InputSlot/Media Source" PickOne AnySetup 10.0
    *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"
    Choice "PhotoTray/Photo Tray" "<</MediaPosition 1>>setpagedevice"
    Choice "Upper/Upper Tray" "<</MediaPosition 1>>setpagedevice"
    Choice "Lower/Lower Tray" "<</MediaPosition 4>>setpagedevice"
    Choice "Envelope/Envelope Feeder" "<</MediaPosition 3>>setpagedevice"
    Choice "LargeCapacity/Large Capacity Tray" "<</MediaPosition 5>>setpagedevice"
    Choice "Manual/Manual Feeder" "<</MediaPosition 2>>setpagedevice"
    Choice "MPTray/Multi Purpose Tray" "<</MediaPosition 1>>setpagedevice"

  // cupsRowCount values map to PEN_TYPE + 1 from global_types.h
  Option "ColorModel/Output Mode" PickOne AnySetup 10.0
    *Choice "Gray/Grayscale" "<</cupsColorSpace 3/cupsBitsPerColor 1/cupsRowCount 1/cupsRowStep 2>>setpagedevice"

  // cupsMediaType values map to MEDIATYPE from global_types.h
  Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0>>setpagedevice"

  // cupsCompression values map to QUALITY_MODE from global_types.h
  Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "Normal/Normal" "<</cupsInteger1 600/OutputType(0)/HWResolution[600 600]>>setpagedevice"
    Choice "Draft/Draft" "<</cupsInteger1 400/OutputType(-1)/HWResolution[600 600]>>setpagedevice"
    Choice "Best/Best" "<</cupsInteger1 600/OutputType(1)/HWResolution[600 600]>>setpagedevice"
  // Duplexer is optional...
  Installable "OptionDuplex/Duplexer Installed"

  // Constraints
  //UIConstraints "*Duplex *OptionDuplex False"

  Attribute "cupsModelName" "" "HP LaserJet P1005"     // APDK device class

// 4x6 or smaller
  CustomMedia "Card3x5/Index Card 3x5in" 216 360 12 13 12 13 "<</cupsInteger0 96/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[216 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki/Hagaki 100x148mm" 284 420 12 13 12 13 "<</cupsInteger0 43/PageSize[284 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 43/PageSize[284 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6/A6 105x148mm" 297.36 419.76 12 13 12 13 "<</cupsInteger0 96/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"

// 5x7
  CustomMedia "Card5x8/Index Card 5x8in" 360 576 12 13 12 13 "<</cupsInteger0 96/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[360 576]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku/Oufuku-Hagaki 148x200mm" 567 420 12 13 12 13 "<</cupsInteger0 43/PageSize[567 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 43/PageSize[567 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5/A5 148x210mm" 419.76 595.44 12 13 12 13 "<</cupsInteger0 11/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 11/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"

// Standard
  CustomMedia "B5/B5 176x250mm" 498.96 708.48 12 13 12 13 "<</cupsInteger0 357/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 357/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5/JB5 182x257mm" 516.24 728.64 12.36 13 12.36 13 "<</cupsInteger0 96/PageSize[516.24 728.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive/Executive 7.25x10.5in" 522 756 12 13 12 13 "<</cupsInteger0 7/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/PageSize[522 756]/ImagingBBox null>>setpagedevice"
  CustomMedia "16k/16k 7.75x10.75in" 558 774 12 13 12 13 "<</cupsInteger0 96/PageSize[558 774]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[558 774]/ImagingBBox null>>setpagedevice"   // custom
  *CustomMedia "Letter/Letter 8.5x11in" 612 792 12 13 12 13 "<</cupsInteger0 1/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[612 792]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4/A4 210x297mm" 595.44 841.68 13.56 13.5 13.56 13.5 "<</cupsInteger0 9/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 9/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
  CustomMedia "ExecutiveJIS/Executive (JIS) 8.5x12.986in" 612 936 12 13 12 13 "<</cupsInteger0 96/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "FLSA/American Foolscap 8.5x13in" 612 936 12 13 12 13 "<</cupsInteger0 258/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 258/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal/Legal 8.5x14in" 612 1008 12 13 12 13 "<</cupsInteger0 5/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 5/PageSize[612 1008]/ImagingBBox null>>setpagedevice"

// Envelope
  CustomMedia "EnvA2/A2 Envelope 4.37x5.75in" 314.64 414 12 13 12 13 "<</cupsInteger0 96/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.28 459.36 12 13 12 13 "<</cupsInteger0 96/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou4/#4 Japanese Envelope 90x205mm" 254.88 581.04 12.24 13 12.24 13 "<</cupsInteger0 96/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279 540 12.78 13 12.78 13 "<</cupsInteger0 96/PageSize[279 540]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[279 540]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvDL/DL Envelope 110x220mm" 311.76 623.52 11.76 13 11.76 13 "<</cupsInteger0 27/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 27/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env10/#10 Envelope 4.12x9.5in" 297 684 12 13 12 13 "<</cupsInteger0 20/PageSize[297 684]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 20/PageSize[297 684]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 339.84 666 12.48 13 12.48 13 "<</cupsInteger0 96/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC5/C5 Envelope 162x229mm" 459 649 12 13 12 13 "<</cupsInteger0 96/PageSize[459 649]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[459 649]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvB5/B5 Envelope 176x250mm" 499 709 12 13 12 13 "<</cupsInteger0 96/PageSize[499 709]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[499 709]/ImagingBBox null>>setpagedevice"

  { 
 // Custom page sizes from 1x4in to Legal
    HWMargins 12 13 12 13
    VariablePaperSize Yes
    MinSize 1in 4in
    MaxSize 8.5in 14in

    
  } // End Supported media sizes.
   // <%LJ-Class5%>
} // End LJ-Class5 

///////////////// LJ-Class6
{
  Attribute "cupsEvenDuplex" "" "True"
  Attribute "hpPrinterLanguage" "" "ljmono"

  Group "General/General"

  Option "Duplex/Double-Sided Printing" PickOne AnySetup 10.0
    Choice "DuplexNoTumble/Long Edge (Standard)" "<</Duplex true/Tumble false>>setpagedevice"
    Choice "DuplexTumble/Short Edge (Flip)" "<</Duplex true/Tumble true>>setpagedevice"
    *Choice "None/Off" "<</Duplex false/Tumble false>>setpagedevice"

  // MediaPosition values map to MediaSource enumeration in global_types.h
  Option "InputSlot/Media Source" PickOne AnySetup 10.0
    *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"
    Choice "PhotoTray/Photo Tray" "<</MediaPosition 1>>setpagedevice"
    Choice "Upper/Upper Tray" "<</MediaPosition 1>>setpagedevice"
    Choice "Lower/Lower Tray" "<</MediaPosition 4>>setpagedevice"
    Choice "Envelope/Envelope Feeder" "<</MediaPosition 3>>setpagedevice"
    Choice "LargeCapacity/Large Capacity Tray" "<</MediaPosition 5>>setpagedevice"
    Choice "Manual/Manual Feeder" "<</MediaPosition 2>>setpagedevice"
    Choice "MPTray/Multi Purpose Tray" "<</MediaPosition 1>>setpagedevice"

  // cupsRowCount values map to PEN_TYPE + 1 from global_types.h
  Option "ColorModel/Output Mode" PickOne AnySetup 10.0
	*Choice "Gray/Grayscale" "<</cupsColorSpace 3/cupsBitsPerColor 1/cupsRowCount 1/cupsRowStep 2>>setpagedevice"

  // cupsMediaType values map to MEDIATYPE from global_types.h
  Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0>>setpagedevice"

  // cupsCompression values map to QUALITY_MODE from global_types.h
  Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "Normal/Normal" "<</OutputType(0)/HWResolution[600 600]>>setpagedevice"
    Choice "Draft/Draft (Economy)" "<</OutputType(-1)/HWResolution[300 300]>>setpagedevice"
    Choice "Best/Best" "<</OutputType(0)/HWResolution[600 600]>>setpagedevice"

  // Duplexer is optional...
  Installable "OptionDuplex/Duplexer Installed"

  // Constraints
  //UIConstraints "*Duplex *OptionDuplex False"

  Attribute "cupsModelName" "" "HP LaserJet"     // APDK device class

// 4x6 or smaller
  CustomMedia "Card3x5/Index Card 3x5in" 216 360 18 14 18 14 "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki/Hagaki 100x148mm" 284 420 18 14 18 14 "<</cupsInteger0 71/PageSize[284 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[284 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6/Photo 4x6in" 288 432 18 14 18 14 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6/A6 105x148mm" 297.36 419.76 18 14 18 14 "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
//large

  CustomMedia "B4/B4 257x364mm" 729 1033 18 36 18 9 "<</cupsInteger0 46/PageSize[729 1033]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 46/PageSize[729 1033]/ImagingBBox null>>setpagedevice"
  CustomMedia "SuperB/SuperB 13x19in" 936 1368 14.40 36.00 14.40 9.00 "<</cupsInteger0 16/PageSize[936 1368]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 16/PageSize[936 1368]/ImagingBBox null>>setpagedevice"
  CustomMedia "A3/A3 297x420mm" 842 1190 18 36 18 9 "<</cupsInteger0 27/PageSize[842 1190]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 27/PageSize[842 1190]/ImagingBBox null>>setpagedevice"
  CustomMedia "8k/8k 10.75x15.5in" 774 1116 18 36 18 9 "<</cupsInteger0 101/PageSize[774 1116]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[774 1116]/ImagingBBox null>>setpagedevice"  
  CustomMedia "Ledger/Ledger 11x17in" 792 1224 14.40 36.00 14.40 9.00 "<</cupsInteger0 6/PageSize[792 1224]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 6/PageSize[792 1224]/ImagingBBox null>>setpagedevice" 

// 5x7
  CustomMedia "Photo5x7/Photo 5x7in" 360 504 18 14 18 14 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card5x8/Index Card 5x8in" 360 576 18 14 18 14 "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku/Oufuku-Hagaki 148x200mm" 567 420 18 14 18 14 "<</cupsInteger0 72/PageSize[567 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[567 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5/A5 148x210mm" 419.76 595.44 18 14 18 14 "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"

// Standard
  CustomMedia "B5/B5 176x250mm" 498.96 708.48 18 14 18 14 "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5/JB5 182x257mm" 516.24 728.64 18 14 18 14 "<</cupsInteger0 45/PageSize[516.24 728.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive/Executive 7.25x10.5in" 522 756 18 14 18 14 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
  CustomMedia "16k/16k 7.75x10.75in" 558 774 18 14 18 14 "<</cupsInteger0 101/PageSize[558 774]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[558 774]/ImagingBBox null>>setpagedevice"   // custom
   *CustomMedia "Letter/Letter 8.5x11in" 612 792 18 14 18 14 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4/A4 210x297mm" 595.44 841.68 18 14 18 14 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
  CustomMedia "ExecutiveJIS/Executive (JIS) 8.5x12.986in" 612 936 18 14 18 14 "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "FLSA/American Foolscap 8.5x13in" 612 936 18 14 18 14 "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal/Legal 8.5x14in" 612 1008 18 14 18 14 "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"

// Envelope
  CustomMedia "EnvA2/A2 Envelope 4.37x5.75in" 314.64 414 18 14 18 14 "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.28 459.36 18 14 18 14 "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou4/#4 Japanese Envelope 90x205mm" 254.88 581.04 18 14 18 14 "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279 540 18 14 18 14 "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvDL/DL Envelope 110x220mm" 311.76 623.52 18 14 18 14 "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env10/#10 Envelope 4.12x9.5in" 297 684 18 14 18 14 "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 339.84 666 18 14 18 14 "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC5/C5 Envelope 162x229mm" 459 649 18 14 18 14 "<</cupsInteger0 91/PageSize[459 649]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 91/PageSize[459 649]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvB5/B5 Envelope 176x250mm" 499 709 18 14 18 14 "<</cupsInteger0 100/PageSize[499 709]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 100/PageSize[499 709]/ImagingBBox null>>setpagedevice"

 {
    // Custom page sizes from 1x4in to Legal
    HWMargins 18 14 18 14
    VariablePaperSize Yes
    MinSize 1in 4in
    MaxSize 8.5in 14in

    // <%LJ-Class6%>
    {
      UIConstraints "*OutputMode Best *MediaType"
      
    }
  } // End Supported media sizes.
   // <%LJ-Class6%>

} // End LJ-Class6





//////// Saipan15B
{

    Attribute "hpPrinterLanguage" "" "pcl3gui2"
    Attribute "HPMechOffset" "" "130"
    Attribute "HPMechOffsetBSize" "" "197"
    Group "General/General"

    Option "ColorModel/Output Mode" PickOne AnySetup 10.0
    *Choice "RGB/Color" "<</cupsColorSpace 17/cupsBitsPerColor 8/cupsRowStep 0>>setpagedevice"
    Choice "CMYGray/High Quality Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 1>>setpagedevice"
    Choice "KGray/Black Only Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2>>setpagedevice"

    // cupsMediaType values map to MEDIATYPE from global_types.h
    Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Plain/Plain Paper" "<</MediaType/cupsMediaType 0>>setpagedevice"
    Choice "Glossy/HP Photo Papers" "<</MediaType/cupsMediaType 5>>setpagedevice"
    Choice "CoatedBrochure/HP Matte Brochure or Professional Paper" "<</MediaType/cupsMediaType 2>>setpagedevice"
    Choice "CoatedMatte/HP Matte Presentation Paper" "<</MediaType/cupsMediaType 2>>setpagedevice"
    Choice "BrochureGlosy/HP Glossy Brochure or Professional Paper" "<</MediaType/cupsMediaType 8>>setpagedevice"
    Choice "FastGlossy/Other Photo Inkjet Papers" "<</MediaType/cupsMediaType 5>>setpagedevice"
    Choice "Coated/Other Matte Inkjet Papers" "<</MediaType/cupsMediaType 2>>setpagedevice"
    Choice "Brochure/Other Glossy Inkjet Papers" "<</MediaType/cupsMediaType 8>>setpagedevice"
    Choice "BrochureHagaki/Inkjet Hagaki" "<</MediaType/cupsMediaType 8>>setpagedevice"
    Choice "ThickPlain/Thick Plain Paper" "<</MediaType/cupsMediaType 0>>setpagedevice"

    Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "Normal/Normal" "<</OutputType(0)/HWResolution[600 600]>>setpagedevice"
    Choice "Draft/Draft" "<</OutputType(-2)/HWResolution[300 300]>>setpagedevice"
    Choice "Best/Best" "<</OutputType(1)/HWResolution[600 600]>>setpagedevice"
    Choice "Photo/High-Resolution Photo" "<</OutputType(2)/HWResolution[1200 1200]>>setpagedevice"

    Option "InputSlot/Media Source" PickOne AnySetup 10.0
       *Choice "Tray1/Tray 1" "<</MediaPosition 1>>setpagedevice"

    //Constraints
    UIConstraints "*MediaType Plain *OutputMode Photo"
    UIConstraints "*MediaType Glossy *OutputMode Draft"
        
    CustomMedia "Photo10x15/Photo 10x15cm" 288 432 9.36 9.36 9.36 9.36 
                            "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
                            "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
    CustomMedia "Photo10x15.FB/Borderless Photo 10x15cm" 303.84 446.4 0 0 0 0 
                            "<</cupsInteger0 74/cupsReal0 .01/cupsReal1 .01/PageSize[303.84 446.4]/ImagingBBox null>>setpagedevice"  
                            "<</cupsInteger0 74/cupsReal0 .01/cupsReal1 .01/PageSize[303.84 446.4]/ImagingBBox null>>setpagedevice"
    CustomMedia "11x14Brochure/11x14in Brochure" 792 1008 14.4 45.36 14.4 45.36 
                            "<</cupsInteger0 4/PageSize[792 1008]/ImagingBBox null>>setpagedevice"  
                            "<</cupsInteger0 4/PageSize[792 1008]/ImagingBBox null>>setpagedevice"
    CustomMedia "11x14Brochure.FB/Borderless 11x14in Brochure" 810.24 1022.4 0 0 0 0 
                            "<</cupsInteger0 4/PageSize[810.24 1022.4]/ImagingBBox null>>setpagedevice" 
                            "<</cupsInteger0 4/cupsReal0 .0126/cupsReal1 .01/PageSize[810.24 1022.4]/ImagingBBox null>>setpagedevice"
    CustomMedia "11x14/11x14in" 792 1008 14.4 45.36 14.4 45.36 
                            "<</cupsInteger0 4/PageSize[792 1008]/ImagingBBox null>>setpagedevice"  
                            "<</cupsInteger0 4/PageSize[792 1008]/ImagingBBox null>>setpagedevice"
    CustomMedia "11x14.FB/Borderless 11x14in" 810.24 1022.4 0 0 0 0 
                            "<</cupsInteger0 4/PageSize[810.24 1022.4]/ImagingBBox null>>setpagedevice" 
                            "<</cupsInteger0 4/cupsReal0 .0126/cupsReal1 .01/PageSize[810.24 1022.4]/ImagingBBox null>>setpagedevice"
    CustomMedia "11x14SM/11x14in Small Margins" 792 1008 14.4 14.4 14.4 14.4 
                            "<</cupsInteger0 4/PageSize[792 1008]/ImagingBBox null>>setpagedevice" 
                            "<</cupsInteger0 4/PageSize[792 1008]/ImagingBBox null>>setpagedevice"
    CustomMedia "12x12/12x12in" 864 864 14.4 14.4 14.4 14.4 
                            "<</cupsInteger0 117/PageSize[864 864]/ImagingBBox null>>setpagedevice"
                            "<</cupsInteger0 117/PageSize[864 864]/ImagingBBox null>>setpagedevice"
    CustomMedia "12x12.FB/Borderless 12x12in" 881.28 878.4 0 0 0 0 
                            "<</cupsInteger0 117/PageSize[881.28 878.4]/ImagingBBox null>>setpagedevice"
                            "<</cupsInteger0 117/cupsReal0 0.12/cupsReal1 0.1/PageSize[881.28 878.4]/ImagingBBox null>>setpagedevice"
    CustomMedia "Photo13x18/Photo 13x18cm" 360 504 9.36 9.36 9.36 9.36 
                            "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice" 
                            "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
    CustomMedia "Photo13x18.FB/Borderless Photo  13x18cm" 372.96 518.4 0 0 0 0 
                            "<</cupsInteger0 122/PageSize[372.96 518.4]/ImagingBBox null>>setpagedevice"
                            "<</cupsInteger0 122/cupsReal0 0.09/cupsReal1 0.1/PageSize[372.96 518.4]/ImagingBBox null>>setpagedevice"
    CustomMedia "2L/2L 127x178mm" 360 504 9.36 9.36 9.36 9.36 
                            "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"  
                            "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
    CustomMedia "2L.FB/Borderless 2L 127x178mm" 372.96 518.4 0 0 0 0 
                            "<</cupsInteger0 122/PageSize[372.96 518.4]/ImagingBBox null>>setpagedevice"
                            "<</cupsInteger0 122/cupsReal0 0.09/cupsReal1 0.1/PageSize[372.96 518.4]/ImagingBBox null>>setpagedevice"
    CustomMedia "3x5/3x5in" 216 360 9.36 9.36 9.36 9.36 
                            "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
                            "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
    CustomMedia "Photo4x6/Photo 4x6in" 288 432 9.36 9.36 9.36 9.36 
                            "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice" 
                            "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
    CustomMedia "Photo4x6.FB/Borderless Photo 4x6in" 303.84 446.4 0 0 0 0 
                            "<</cupsInteger0 74/cupsReal0 .1/cupsReal1 .1/PageSize[303.84 446.4]/ImagingBBox null>>setpagedevice" 
                            "<</cupsInteger0 74/cupsReal0 .1/cupsReal1 .1/PageSize[303.84 446.4]/ImagingBBox null>>setpagedevice"
    CustomMedia "Photo5x7/Photo 5x7in" 360 504 9.36 9.36 9.36 9.36 
                            "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"    
                            "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"         
    CustomMedia "Photo5x7.FB/Borderless Photo 5x7in" 372.96 518.4 0 0 0 0 
                            "<</cupsInteger0 122/PageSize[372.96 518.4]/ImagingBBox null>>setpagedevice"   
                            "<</cupsInteger0 122/PageSize[372.96 518.4]/ImagingBBox null>>setpagedevice"
    CustomMedia "Env6/#6 Envelope 3.63x6.5in" 261.36 468 9.36 46.8 9.36 46.8 
                            "<</cupsInteger0 83/PageSize[261.36 468]/ImagingBBox null>>setpagedevice"  
                            "<</cupsInteger0 83/PageSize[261.36 468]/ImagingBBox null>>setpagedevice"
    CustomMedia "8.5x13/8.5x13in" 612 936 9.36 9.36 9.36 9.36 
                            "<</cupsInteger0 101/PageSize[612 936]/ImagingBBox null>>setpagedevice"
                            "<</cupsInteger0 101/PageSize[612 936]/ImagingBBox null>>setpagedevice"
    CustomMedia "Photo8x10/Photo 8x10in" 576 720 9.36 9.36 9.36 9.36 
                            "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
                            "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
    CustomMedia "8x10.FB/Borderless 8x10in" 591.84 734.4 0 0 0 0 
                            "<</cupsInteger0 7/PageSize[591.84 734.4]/ImagingBBox null>>setpagedevice"
                            "<</cupsInteger0 7/cupsReal0 .1/cupsReal1 .1/PageSize[591.84 734.4]/ImagingBBox null>>setpagedevice"
    CustomMedia "A3/A3 297x420mm" 841.68 1190.88 14.4 45.36 14.4 45.36 
                            "<</cupsInteger0 27/PageSize[841.68 1190.88]/ImagingBBox null>>setpagedevice"
                            "<</cupsInteger0 27/PageSize[841.68 1190.88]/ImagingBBox null>>setpagedevice"
    CustomMedia "A3Brochure.FB/Borderless A3 Brochure 297x420mm" 870.08 1281.24 0 0 0 0 
                            "<</cupsInteger0 27/cupsReal0 .196/cupsReal1 .1/PageSize[870.08 1281.24]/ImagingBBox null>>setpagedevice"
                            "<</cupsInteger0 27/cupsReal0 .196/cupsReal1 .1/PageSize[870.08 1281.24]/ImagingBBox null>>setpagedevice"
    CustomMedia "A3SM/A3 297x420mm SmallMargins" 841.68 1190.88 14.4 14.4 14.4 14.4 
                            "<</cupsInteger0 27/PageSize[841.68 1190.88]/ImagingBBox null>>setpagedevice"
                            "<</cupsInteger0 27/PageSize[841.68 1190.88]/ImagingBBox null>>setpagedevice"
    CustomMedia "SuperA3.SM/A3+ 330x483mm SmallMargins" 935.433 1369.133 14.4 14.4 14.4 14.4 
                            "<</cupsInteger0 16/PageSize[935.433 1369.133]/ImagingBBox null>>setpagedevice"
                            "<</cupsInteger0 16/PageSize[935.433 1369.133]/ImagingBBox null>>setpagedevice"
    CustomMedia "SuperA3.FB/Borderless A3+ 330x483mm" 943.913 1383.533 0 0 0 0 
                            "<</cupsInteger0 27/cupsReal0 .12/cupsReal1 .1/PageSize[943.913 1383.533]/ImagingBBox null>>setpagedevice"
                            "<</cupsInteger0 27/cupsReal0 .12/cupsReal1 .1/PageSize[943.913 1383.533]/ImagingBBox null>>setpagedevice"
    CustomMedia "A4/A4 210x297mm" 595.29 841.89 9.36 9.36 9.36 9.36 
                            "<</cupsInteger0 26/PageSize[595.29 841.89]/ImagingBBox null>>setpagedevice"
                            "<</cupsInteger0 26/PageSize[595.29 841.89]/ImagingBBox null>>setpagedevice"
    CustomMedia "A4.FB/Borderless A4 210x297mm" 614.97 856.29 0 0 0 0 
                            "<</cupsInteger0 26/cupsReal0 .136/cupsReal1 .1/PageSize[614.97 856.29]/ImagingBBox null>>setpagedevice"
                            "<</cupsInteger0 26/cupsReal0 .136/cupsReal1 .1/PageSize[614.97 856.29]/ImagingBBox null>>setpagedevice"
    CustomMedia "A5/A5 148x210mm" 419.544 595.296 9.36 9.36 9.36 9.36 
                            "<</cupsInteger0 25/PageSize[419.544 595.296]/ImagingBBox null>>setpagedevice"
                            "<</cupsInteger0 25/PageSize[419.544 595.296]/ImagingBBox null>>setpagedevice"
    CustomMedia "A5.FB/Borderless A5 148x210mm" 435.384 609.696 0 0 0 0 
                            "<</cupsInteger0 25/cupsReal0 .12/cupsReal1 .1/PageSize[435.384 609.696]/ImagingBBox null>>setpagedevice"
                            "<</cupsInteger0 25/cupsReal0 .12/cupsReal1 .1/PageSize[435.384 609.696]/ImagingBBox null>>setpagedevice"
    CustomMedia "A6/A6 105x148mm" 297.65 419.54 9.36 9.36 9.36 9.36 
                            "<</cupsInteger0 73/PageSize[297.65 419.54]/ImagingBBox null>>setpagedevice"
                            "<</cupsInteger0 73/PageSize[297.65 419.54]/ImagingBBox null>>setpagedevice"
    CustomMedia "B4/B4 (JIS) 257x364mm" 729.36 1031.76 14.4 45.36 14.4 45.36 
                            "<</cupsInteger0 46/PageSize[729.36 1031.76]/ImagingBBox null>>setpagedevice"
                            "<</cupsInteger0 46/PageSize[729.36 1031.76]/ImagingBBox null>>setpagedevice"
    CustomMedia "B4.FB/Borderless B4 (JIS) 257x364mm" 749.04 1046.16 0 0 0 0
                            "<</cupsInteger0 46/cupsReal0 .136/cupsReal1 .1/PageSize[749.04 1046.16]/ImagingBBox null>>setpagedevice"
                            "<</cupsInteger0 46/cupsReal0 .136/cupsReal1 .1/PageSize[749.04 1046.16]/ImagingBBox null>>setpagedevice"
    CustomMedia "B4.SM/B4 (JIS) 257x364mm SmallMargins" 729.36 1031.76 14.4 14.4 14.4 14.4 
                            "<</cupsInteger0 46/PageSize[729.36 1031.76]/ImagingBBox null>>setpagedevice"
                            "<</cupsInteger0 46/PageSize[729.36 1031.76]/ImagingBBox null>>setpagedevice"
    CustomMedia "JB5/JB5 182x257mm" 515.88 728.49 9.36 9.36 9.36 9.36 
                            "<</cupsInteger0 45/PageSize[515.88 728.49]/ImagingBBox null>>setpagedevice"
                            "<</cupsInteger0 45/PageSize [515.88 728.49]/ImagingBBox null>>setpagedevice"
    CustomMedia "JB5.FB/Borderless JB5 182x257mm" 535.56 742.89 0 0 0 0 
                            "<</cupsInteger0 45/cupsReal0 .136/cupsReal1 .1/PageSize[535.56 742.89]/ImagingBBox null>>setpagedevice"
                            "<</cupsInteger0 45/cupsReal0 .136/cupsReal1 .1/PageSize[535.56 742.89]/ImagingBBox null>>setpagedevice"
    CustomMedia "Env10/#10 Envelope 4.125x9.5in" 297.36 684 9.36 46.8 9.36 46.8 
                            "<</cupsInteger0 81/PageSize[297.36 684]/ImagingBBox null>>setpagedevice"
                            "<</cupsInteger0 81/PageSize[297.36 684]/ImagingBBox null>>setpagedevice"
    CustomMedia "EnvA2/A2 Envelope 4.37x5.75in" 314.64 413.856 9.36 46.8 9.36 46.8 
                            "<</cupsInteger0 109/PageSize[314.64 413.856]/ImagingBBox null>>setpagedevice"
                            "<</cupsInteger0 109/PageSize[314.64 413.856]/ImagingBBox null>>setpagedevice"
    CustomMedia "EnvC5/C5 Envelope 162x229mm" 459.216 649.152 9.36 46.8 9.36 46.8 
                            "<</cupsInteger0 91/PageSize[459.216 649.152]/ImagingBBox null>>setpagedevice"
                            "<</cupsInteger0 91/PageSize[459.216 649.152]/ImagingBBox null>>setpagedevice"
    CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.136 459.216 9.36 46.8 9.36 46.8 
                            "<</cupsInteger0 92/PageSize[323.136 459.216]/ImagingBBox null>>setpagedevice"
                            "<</cupsInteger0 92/PageSize[323.136 459.216]/ImagingBBox null>>setpagedevice"
    CustomMedia "EnvDL/DL Envelope 110x220mm" 311.832 623.592 9.36 46.8 9.36 46.8 
                            "<</cupsInteger0 90/PageSize[311.832 623.592]/ImagingBBox null>>setpagedevice"
                            "<</cupsInteger0 90/PageSize[311.832 623.592]/ImagingBBox null>>setpagedevice"
    CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279.36 540 9.36 46.8 9.36 46.8 
                            "<</cupsInteger0 80/PageSize[279.36 540]/ImagingBBox null>>setpagedevice"
                            "<</cupsInteger0 80/PageSize[279.36 540]/ImagingBBox null>>setpagedevice"
    CustomMedia "Executive/Executive 7.25x10.5in" 522 756 9.36 9.36 9.36 9.36 
                            "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
                            "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
    CustomMedia "Card3x5/Index Card 3x5in" 216 360 9.36 9.36 9.36 9.36 
                            "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
                            "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
    CustomMedia "Card4x6/Index Card 4x6in" 288 432 9.36 9.36 9.36 9.36 
                            "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice" 
                            "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
    CustomMedia "Card5x8/Index Card 5x8in" 360 576 9.36 9.36 9.36 9.36 
                            "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
                            "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
    CustomMedia "CardA4/Index Card A4 210x297mm" 595.29 841.89 9.36 9.36 9.36 9.36 
                            "<</cupsInteger0 26/PageSize[595.29 841.89]/ImagingBBox null>>setpagedevice"
                            "<</cupsInteger0 26/PageSize[595.29 841.89]/ImagingBBox null>>setpagedevice"
    CustomMedia "CardLetter/Index Card Letter 8.5x11in" 612 792 9.36 9.36 9.36 9.36 
                            "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
                            "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
    CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 340.128 666.144 9.36 46.8 9.36 46.8 
                            "<</cupsInteger0 110/PageSize[340.128 666.144]/ImagingBBox null>>setpagedevice"
                            "<</cupsInteger0 110/PageSize[340.128 666.144]/ImagingBBox null>>setpagedevice"
    CustomMedia "EnvChou4/#4 Japanese Envelope 90x205mm" 255.096 581.112 9.36 46.8 9.36 46.8 
                            "<</cupsInteger0 111/PageSize[255.096 581.112]/ImagingBBox null>>setpagedevice"
                            "<</cupsInteger0 111/PageSize[255.096 581.112]/ImagingBBox null>>setpagedevice"
    CustomMedia "Postcard/Postcard" 283 420 9.36 9.36 9.36 9.36 
                            "<</cupsInteger0 71/PageSize[283 420]/ImagingBBox null>>setpagedevice"
                            "<</cupsInteger0 71/PageSize[283 420]/ImagingBBox null>>setpagedevice"
    CustomMedia "Postcard.FB/Borderless Postcard" 297.40 434.40 0 0 0 0 
                            "<</cupsInteger0 71/cupsReal0 .1/cupsReal1 .1/PageSize[297.40 434.40]/ImagingBBox null>>setpagedevice"
                            "<</cupsInteger0 71/cupsReal0 .1/cupsReal1 .1/PageSize[297.40 434.40]/ImagingBBox null>>setpagedevice"
    CustomMedia "L/L 89x127mm" 252.288 360 9.36 9.36 9.36 9.36 
                            "<</cupsInteger0 121/PageSize[252.288 360]/ImagingBBox null>>setpagedevice"
                            "<</cupsInteger0 121/PageSize[252.288 360]/ImagingBBox null>>setpagedevice"
    CustomMedia "L.FB/Borderless Photo L 89x127mm" 265.248  374.40 0 0 0 0 
                            "<</cupsInteger0 121/cupsReal0 .08/cupsReal1 .1/PageSize [265.248  374.40]/ImagingBBox null>>setpagedevice"
                            "<</cupsInteger0 121/cupsReal0 .08/cupsReal1 .1/PageSize [265.248  374.40]/ImagingBBox null>>setpagedevice"
    CustomMedia "Legal/Legal 8.5x14in" 612 1008 9.36 9.36 9.36 9.36 
                            "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
                            "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
    *CustomMedia "Letter/Letter 8.5x11in" 612 792 9.36 9.36 9.36 9.36 
                            "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
                            "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
    CustomMedia "Letter.FB/Borderless Letter 8.5x11in" 631.68 806.40 0 0 0 0 
                            "<</cupsInteger0 2/cupsReal0 .136/cupsReal1 .1/PageSize[631.68 806.40]/ImagingBBox null>>setpagedevice"
                            "<</cupsInteger0 2/cupsReal0 .136/cupsReal1 .1/PageSize[631.68 806.40]/ImagingBBox null>>setpagedevice"
    CustomMedia "OfukuHagaki/Ofuku-Hagaki 200x148mm" 566.92 419.54 9.36 9.36 9.36 9.36 
                            "<</cupsInteger0 72/PageSize[566.92 419.54]/ImagingBBox null>>setpagedevice"
                            "<</cupsInteger0 72/PageSize[566.92 419.54]/ImagingBBox null>>setpagedevice"
    CustomMedia "Statement/Statement 5.5x8.5in" 396 612 9.36 9.36 9.36 9.36 
                            "<</cupsInteger0 15/PageSize[396 612]/ImagingBBox null>>setpagedevice"
                            "<</cupsInteger0 15/PageSize[396 612]/ImagingBBox null>>setpagedevice"
    CustomMedia "SuperBSM/SuperB 13x19in SmallMargins" 936 1363 14.4 14.4 14.4 14.4
                            "<</cupsInteger0 16/PageSize[936 1363]/ImagingBBox null>>setpagedevice"
                            "<</cupsInteger0 16/PageSize[936 1368]/ImagingBBox null>>setpagedevice"
    CustomMedia "SuperB.FB/Borderless SuperB 13x19in" 954.48 1377.40 0 0 0 0
                            "<</cupsInteger0 16/cupsReal0 .12/cupsReal1 .1/PageSize[954.48 1377.40]/ImagingBBox null>>setpagedevice"
                            "<</cupsInteger0 16/cupsReal0 .12/cupsReal1 .1/PageSize[954.48 1377.40]/ImagingBBox null>>setpagedevice"
    CustomMedia "Tabloid/Tabloid 11x17in" 792 1224 14.4 45.36 14.4 45.36 
                            "<</cupsInteger0 6/PageSize[792 1224]/ImagingBBox null>>setpagedevice"
                            "<</cupsInteger0 6/PageSize[792 1224]/ImagingBBox null>>setpagedevice"
    CustomMedia "Tabloid.FB/Borderless Tabloid 11x17in" 820.32 1238.4 0 0 0 0  
                            "<</cupsInteger0 6/cupsReal0 .196/cupsReal1 .1/PageSize[820.32 1238.4]/ImagingBBox null>>setpagedevice"
                            "<</cupsInteger0 6/cupsReal0 .196/cupsReal1 .1/PageSize[820.32 1238.4]/ImagingBBox null>>setpagedevice"
    CustomMedia "TabloidSM/Tabloid 11x17in Small Margins" 792 1224 14.4 14.4 14.4 14.4 
                            "<</cupsInteger0 6/PageSize[792 1224]/ImagingBBox null>>setpagedevice"
                            "<</cupsInteger0 6/PageSize[792 1224]/ImagingBBox null>>setpagedevice"      

      {
         // <%Saipan15B:Normal%>
         {
           ModelName "HP Officejet 7510 Series"
           Attribute "NickName" "" "HP Officejet 7510 Series, hpcups $Version"
           Attribute "ShortNickName" "" "HP Officejet 7510 Series"
           Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet 7510 series;DES:officejet 7510 series;"
           PCFileName "hp-officejet_7510_series.ppd"
           Attribute "Product" "" "(HP Officejet 7510 Wide Format E-all-in-one Printer)"
         }

      }

} //Saipan15B [End]

//////// Kapan
{

    Attribute "hpPrinterLanguage" "" "pcl3gui2"
    Attribute "HPMechOffset" "" "130"


    Group "General/General"

    Option "ColorModel/Output Mode" PickOne AnySetup 10.0
    *Choice "KGray/Black Only Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2>>setpagedevice"


    // cupsMediaType values map to MEDIATYPE from global_types.h
    Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0>>setpagedevice"


     // cupsCompression values map to QUALITY_MODE from global_types.h
    Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "Normal/Normal" "<</OutputType(0)/HWResolution[600 600]>>setpagedevice"
     Choice "Draft/Draft" "<</OutputType(-2)/HWResolution[300 300]>>setpagedevice"
     Choice "Best/Best" "<</OutputType(1)/HWResolution[600 600]>>setpagedevice"

    Option "InputSlot/Media Source" PickOne AnySetup 10.0
     *Choice "Tray1/Tray 1" "<</MediaPosition 1>>setpagedevice"


      // 4x6 or smaller
      CustomMedia "Card3x5/Index Card 3x5in" 216 360 9.36 9.36 9.36 9.36 "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
      CustomMedia "Card4x6/Index Card 4x6in" 288 432 9.36 9.36 9.36 9.36 "<</cupsInteger0 74/PageSize [288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
      CustomMedia "A6/A6 105x148mm" 297.65 419.54 9.36 9.36 9.36 9.36 "<</cupsInteger0 73/PageSize[297.65 419.54]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[297.65 419.54]/ImagingBBox null>>setpagedevice"
      // 5x7
      CustomMedia "Card5x8/Index Card 5x8in" 360 576 9.36 9.36 9.36 9.36 "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
      CustomMedia "A5/A5 148x210mm" 419.544 595.296 9.36 9.36 9.36 9.36 "<</cupsInteger0 25/PageSize[419.544 595.296]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.544 595.296]/ImagingBBox null>>setpagedevice"
      // Standard
      CustomMedia "6x8/6x8in" 432 576 9.36 9.36 9.36 9.36 "<</cupsInteger0 101/PageSize[432 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[432 576]/ImagingBBox null>>setpagedevice"
      CustomMedia "JB5/JB5 182x257mm" 515.88 728.49 9.36 9.36 9.36 9.36 "<</cupsInteger0 45/PageSize[515.88 728.49]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [515.88 728.49]/ImagingBBox null>>setpagedevice"
      CustomMedia "Executive/Executive 7.25x10.5in" 522 756 9.36 9.36 9.36 9.36 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
      CustomMedia "Statement/Statement 5.5x8.5in" 396 612 9.36 9.36 9.36 9.36 "<</cupsInteger0 15/PageSize[396 612]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 15/PageSize[396 612]/ImagingBBox null>>setpagedevice"
     *CustomMedia "Letter/Letter 8.5x11in" 612 792 9.36 9.36 9.36 9.36 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
      CustomMedia "CardLetter/Index Card Letter 8.5x11in" 612 792 9.36 9.36 9.36 9.36 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
      CustomMedia "A4/A4 210x297mm" 595.29 841.44 9.36 9.36 9.36 9.36 "<</cupsInteger0 26/PageSize[595.29 841.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.29 841.44]/ImagingBBox null>>setpagedevice"
      CustomMedia "CardA4/Index Card A4 210x297mm" 595.44 841.68 9.36 9.36 9.36 9.36 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
      CustomMedia "Legal/Legal 8.5x14in" 612 1008 9.36 9.36 9.36 9.36 "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
      CustomMedia "8.5x13/8.5x13in" 612 936 9.36 9.36 9.36 9.36 "<</cupsInteger0 101/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[612 936]/ImagingBBox null>>setpagedevice"
      // Envelope
      CustomMedia "EnvA2/A2 Envelope 4.37x5.75in" 314.64 413.856 9.36 46.8 9.36 46.8 "<</cupsInteger0 109/PageSize[314.64 413.856]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 109/PageSize[314.64 413.856]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.136 459.216 9.36 46.8 9.36 46.8 "<</cupsInteger0 92/PageSize[323.136 459.216]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 92/PageSize[323.136 459.216]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvCard/Card Envelope 4.4x6in" 315.36 432 9.36 46.8 9.36 46.8 "<</cupsInteger0 114/PageSize[315.36 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 114/PageSize[315.36 432]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279.36 540 9.36 46.8 9.36 46.8 "<</cupsInteger0 80/PageSize[279.36 540]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 80/PageSize[279.36 540]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvDL/DL Envelope 110x220mm" 311.832 623.592 9.36 46.8 9.36 46.8 "<</cupsInteger0 90/PageSize[311.832 623.592]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 90/PageSize[311.832 623.592]/ImagingBBox null>>setpagedevice"
      CustomMedia "Env10/#10 Envelope 4.125x9.5in" 297.36 684 9.36 46.8 9.36 46.8 "<</cupsInteger0 81/PageSize[297.36 684]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 81/PageSize[297.36 684]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvC5/C5 Envelope 162x229mm" 459.216 649.152 9.36 46.8 9.36 46.8 "<</cupsInteger0 91/PageSize[459.216 649.152]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 91/PageSize[459.216 649.152]/ImagingBBox null>>setpagedevice"

     // Custom page sizes from 1x4in to legal
      HWMargins 9.36 9.36 9.36 9.36
      VariablePaperSize Yes
      MinSize 3in 5in
      MaxSize 8.5in 14in

   
    {

        Attribute "cupsEvenDuplex" "" "True"
        Attribute "cupsBackSide" "" "Rotated"
        Attribute "cupsFlipDuplex" "" "True"

         // Non duplex media against duplex
         UIConstraints "*PageSize Card3x5 *Duplex"
         UIConstraints "*PageSize Card4x6 *Duplex"
         UIConstraints "*PageSize A6 *Duplex"
         UIConstraints "*PageSize Card5x8 *Duplex"
         UIConstraints "*PageSize A5 *Duplex"
         UIConstraints "*PageSize JB5 *Duplex"
         UIConstraints "*PageSize EnvA2 *Duplex"
         UIConstraints "*PageSize EnvC6 *Duplex"
         UIConstraints "*PageSize EnvCard *Duplex"
         UIConstraints "*PageSize EnvMonarch *Duplex"
         UIConstraints "*PageSize EnvDL *Duplex"
         UIConstraints "*PageSize Env10 *Duplex"
         UIConstraints "*PageSize EnvC5 *Duplex"
         UIConstraints "*PageSize 6X8 *Duplex"


        // Duplexer is optional...
        Installable "OptionDuplex/Duplexer Installed"


         Option "Duplex/Double-Sided Printing" PickOne AnySetup 10.0
             Choice "DuplexNoTumble/Long Edge (Standard)" "<</Duplex true/Tumble false>>setpagedevice"
             Choice "DuplexTumble/Short Edge (Flip)" "<</Duplex true/Tumble true>>setpagedevice"
             *Choice "None/Off" "<</Duplex false/Tumble false>>setpagedevice"


      CustomMedia "Letter.Duplex/Letter AutoDuplex 8.5x11in" 612 749.44 9.36 33.192 9.36 42.552 "<</cupsInteger0 2/PageSize[612 749.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 749.44]/ImagingBBox null>>setpagedevice"
      CustomMedia "CardLetter.Duplex/Index Card Letter AutoDuplex 8.5x11in AutoDuplex" 612 749.44 9.36 33.192 9.36 42.552 "<</cupsInteger0 2/PageSize[612 749.44]/ImagingBBox null>>setpagedevice"  "<</cupsInteger0 2/PageSize[612 749.44]/ImagingBBox null>>setpagedevice"
      CustomMedia "A4.Duplex/A4 AutoDuplex 210x297mm" 595.27 841.88 9.36 33.192 9.36 42.552 "<</cupsInteger0 26/PageSize[595.27 841.88]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.27 841.88]/ImagingBBox null>>setpagedevice"
      CustomMedia "CardA4.Duplex/Index Card A4 AutoDuplex 210x297mm AutoDuplex" 595.44 799.13 9.36 33.192 9.36 42.552 "<</cupsInteger0 26/PageSize[595.44 799.13]/ImagingBBox null>>setpagedevice" "<</cupsInteger0 26/PageSize[595.44 799.13]/ImagingBBox null>>setpagedevice"


        // <%Kapan:Duplex%>
        {
          ModelName "HP Officejet Pro 3610"
          Attribute "NickName" "" "HP Officejet Pro 3610, hpcups $Version"
          Attribute "ShortNickName" "" "HP Officejet Pro 3610"
          Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet pro 3610;DES:officejet pro 3610;"
          PCFileName "hp-officejet_pro_3610.ppd"
          Attribute "Product" "" "(HP Officejet Pro 3610 Black And White E-all-in-one)"
        }
        {
          ModelName "HP Officejet Pro 3620"
          Attribute "NickName" "" "HP Officejet Pro 3620, hpcups $Version"
          Attribute "ShortNickName" "" "HP Officejet Pro 3620"
          Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet pro 3620;DES:officejet pro 3620;"
          PCFileName "hp-officejet_pro_3620.ppd"
          Attribute "Product" "" "(HP Officejet Pro 3620 Black And White E-all-in-one)"
        }
    }

} // End Kapan


//////// Python11
{
  Attribute "cupsEvenDuplex" "" "True"
  Attribute "cupsBackSide" "" "Rotated"
  Attribute "cupsFlipDuplex" "" "True"
  Attribute "hpPrinterLanguage" "" "pcl3gui2"
  Attribute "HPMechOffset" "" "69"

  Group "General/General"

  Option "Duplex/Double-Sided Printing" PickOne AnySetup 10.0
    Choice "DuplexNoTumble/Long Edge (Standard)" "<</Duplex true/Tumble false>>setpagedevice"
    Choice "DuplexTumble/Short Edge (Flip)" "<</Duplex true/Tumble true>>setpagedevice"
    *Choice "None/Off" "<</Duplex false/Tumble false>>setpagedevice"


  Option "ColorModel/Output Mode" PickOne AnySetup 10.0
    Choice "CMYGray/High Quality Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 1>>setpagedevice"
    Choice "KGray/Black Only Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2>>setpagedevice"
    *Choice "RGB/Color" "<</cupsColorSpace 17/cupsBitsPerColor 8/cupsRowStep 0>>setpagedevice"

  // cupsMediaType values map to MEDIATYPE from global_types.h
  Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Automatic/Automatic" "<</MediaType(Automatic)/cupsMediaType -1>>setpagedevice"
    Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0>>setpagedevice"
    Choice "Glossy/Photo Paper" "<</MediaType(Glossy)/cupsMediaType 3>>setpagedevice"
    Choice "TransparencyFilm/Transparency Film" "<</MediaType(TransparencyFilm)/cupsMediaType 4>>setpagedevice"

  Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    Choice "Auto/Automatic" "<</OutputType(-3)/HWResolution[600 600]>>setpagedevice"
    Choice "FastDraft/Fast Draft" "<</OutputType(-2)/HWResolution[300 300]>>setpagedevice"
    *Choice "Normal/Normal" "<</OutputType(0)/HWResolution[600 600]>>setpagedevice"
    Choice "Best/Best" "<</OutputType(1)/HWResolution[600 600]>>setpagedevice"
    Choice "Photo/High-Resolution Photo" "<</OutputType(2)/HWResolution[1200 1200]>>setpagedevice"

  Option "InputSlot/Media Source" PickOne AnySetup 10.0
     *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"
     Choice "PhotoTray/Photo Tray" "<</MediaPosition 6>>setpagedevice"
     Choice "Upper/Main Tray" "<</MediaPosition 1>>setpagedevice"



  // Duplexer is optional...
  Installable "OptionDuplex/Duplexer Installed"

  // Constraints
  //UIConstraints "*Duplex *OptionDuplex False"
  UIConstraints "*MediaType Automatic *OutputMode FastDraft"
  UIConstraints "*MediaType Glossy *OutputMode FastDraft"
  UIConstraints "*MediaType TransparencyFilm *OutputMode FastDraft"
  UIConstraints "*MediaType TransparencyFilm *OutputMode Best"

  // Non duplex media against duplex
  UIConstraints "*PageSize Card3x5 *Duplex"
  UIConstraints "*PageSize PhotoL *Duplex"
  UIConstraints "*PageSize PhotoL.FB *Duplex"
  UIConstraints "*PageSize Hagaki *Duplex"
  UIConstraints "*PageSize Hagaki.FB *Duplex"
  UIConstraints "*PageSize Card4x6 *Duplex"
  UIConstraints "*PageSize Photo4x6 *Duplex"
  UIConstraints "*PageSize Photo4x6.FB *Duplex"
  UIConstraints "*PageSize A6 *Duplex"
  UIConstraints "*PageSize A6.FB *Duplex"
  UIConstraints "*PageSize Photo5x7 *Duplex"
  UIConstraints "*PageSize Photo5x7.FB *Duplex"
  UIConstraints "*PageSize Photo2L *Duplex"
  UIConstraints "*PageSize Photo2L.FB *Duplex"
  UIConstraints "*PageSize Card5x8 *Duplex"
  UIConstraints "*PageSize Ofuku *Duplex"
  UIConstraints "*PageSize A5 *Duplex"
  UIConstraints "*PageSize A5.FB *Duplex"
  UIConstraints "*PageSize B5 *Duplex"
  UIConstraints "*PageSize JB5 *Duplex"
  UIConstraints "*PageSize Letter.FB *Duplex"
  UIConstraints "*PageSize A4.FB *Duplex"
  UIConstraints "*PageSize EnvA2 *Duplex"
  UIConstraints "*PageSize EnvC6 *Duplex"
  UIConstraints "*PageSize EnvChou4 *Duplex"
  UIConstraints "*PageSize Env6 *Duplex"
  UIConstraints "*PageSize EnvCard *Duplex"
  UIConstraints "*PageSize EnvMonarch *Duplex"
  UIConstraints "*PageSize EnvDL *Duplex"
  UIConstraints "*PageSize Env10 *Duplex"
  UIConstraints "*PageSize EnvChou3 *Duplex"
  UIConstraints "*PageSize EnvC5 *Duplex"

  // Constraint FB against FastDraft
  UIConstraints "*PageSize PhotoL.FB *OutputMode FastDraft"
  UIConstraints "*PageSize L.FB *OutputMode FastDraft"
  UIConstraints "*PageSize Hagaki.FB *OutputMode FastDraft"
  UIConstraints "*PageSize Photo4x6.FB *OutputMode FastDraft"
  UIConstraints "*PageSize A6.FB *OutputMode FastDraft"
  UIConstraints "*PageSize Photo5x7.FB *OutputMode FastDraft"
  UIConstraints "*PageSize Photo2L.FB *OutputMode FastDraft"
  UIConstraints "*PageSize A5.FB *OutputMode FastDraft"
  //UIConstraints "*PageSize JB5.FB *OutputMode FastDraft"
  UIConstraints "*PageSize Letter.FB *OutputMode FastDraft"
  UIConstraints "*PageSize A4.FB *OutputMode FastDraft"

// 4x6 or smaller
  CustomMedia "Card3x5/Index Card 3x5in" 216 360 9 9 9 9 "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "PhotoL/Photo 3.5x5in" 252 360 9 9 9 9 "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "PhotoL.FB/Photo Borderless 3.5x5in" 264.744 374.112 0 0 0 0 "<</cupsInteger0 121/PageSize[264.744 374.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/cupsReal0 .079/cupsReal1 .098/PageSize[264.744 374.112]/ImagingBBox null>>setpagedevice"
  CustomMedia "L/L 89x127mm" 252 360 9 9 9 9 "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "L.FB/L Borderless 89x127mm" 264.744 374.112 0 0 0 0 "<</cupsInteger0 121/PageSize[264.744 374.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/cupsReal0 .079/cupsReal1 .098/PageSize[264.744 374.112]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki/Hagaki 100x148mm" 283.68 419.76 9 9 9 9 "<</cupsInteger0 71/PageSize[283.68 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[283.68 419.76]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki.FB/Hagaki Borderless 100x148mm" 296.424 433.872 0 0 0 0 "<</cupsInteger0 71/PageSize[296.424 433.872]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/cupsReal0 .079/cupsReal1 .098/PageSize[296.424 433.872]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card4x6/Index Card 4x6in" 288 432 9 9 9 9 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6/Photo 4x6in" 288 432 9 9 9 9 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6.FB/Photo Borderless 4x6in" 303.552 446.112 0 0 0 0 "<</cupsInteger0 74/PageSize[303.552 446.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/cupsReal0 .098/cupsReal1 .098/PageSize[303.552 446.112]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6tab/Photo 4x6in (tab)" 288 432 9 9 9 9 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6tab.FB/Photo Borderless 4x6in (tab)" 303.55 446.11 0 0 0 0 "<</cupsInteger0 74/PageSize[303.55 446.11]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/cupsReal0 .098/cupsReal1 .098/PageSize[303.55 446.11]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6/A6 105x148mm" 297.36 419.76 9 9 9 9 "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6.FB/A6 Borderless 105x148mm" 310.104 433.872 0 0 0 0 "<</cupsInteger0 73/PageSize[310.104 433.872]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/cupsReal0 .079/cupsReal1 .098/PageSize[310.104 433.872]/ImagingBBox null>>setpagedevice"

// 5x7
  CustomMedia "Photo5x7/Photo 5x7in" 360 504 9 9 9 9 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo5x7.FB/Photo Borderless 5x7in" 372.816 518.112 0 0 0 0 "<</cupsInteger0 122/PageSize[372.816 518.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/cupsReal0 .089/cupsReal1 .098/PageSize[372.816 518.112]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo2L/Photo 2L 127x178mm" 360 504 9 9 9 9 "<</cupsInteger0 126/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 126/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo2L.FB/Photo 2L Borderless 127x178mm" 372.816 518.112 0 0 0 0 "<</cupsInteger0 126/PageSize[372.816 518.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 126/cupsReal0 .089/cupsReal1 .098/PageSize[372.816 518.112]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card5x8/Index Card 5x8in" 360 576 9 9 9 9 "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
  CustomMedia "Ofuku/Ofuku-Hagaki 200x148mm" 566.64 419.76 9 9 9 9 "<</cupsInteger0 72/PageSize[566.64 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[566.64 419.76]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5/A5 148x210mm" 419.76 595.44 9 9 9 9 "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5.FB/A5 Borderless 148x210mm" 435.312 609.552 0 0 0 0 "<</cupsInteger0 25/PageSize[435.312 609.552]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/cupsReal0 .098/cupsReal1 .098/PageSize[435.312 609.552]/ImagingBBox null>>setpagedevice"

// Standard
  CustomMedia "B5/B5 176x250mm" 498.96 708.48 9 9 9 9 "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "B5.Duplex/B5 AutoDuplex 176x250mm" 498.96 699.48 9 33.192 9 42.192 "<</cupsInteger0 65/PageSize[498.96 699.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[498.96 699.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5/JB5 182x257mm" 516.24 728.64 9 9 9 9 "<</cupsInteger0 45/PageSize[516.24 728.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5.Duplex/JB5 AutoDuplex 182x257mm" 516.24 719.64 9 33.192 9 42.192 "<</cupsInteger0 45/PageSize[516.24 719.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [516.24 719.64]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive/Executive 7.25x10.5in" 522 756 9 9 9 9 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive.Duplex/Executive AutoDuplex 7.25x10.5in" 522 747 9 33.192 9 42.192 "<</cupsInteger0 1/PageSize[522 747]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 747]/ImagingBBox null>>setpagedevice"
  CustomMedia "8x10/8x10in" 576 720 9 9 9 9 "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
  CustomMedia "8x10.FB/Borderless 8x10in" 591.552 734.112 0 0 0 0 "<</cupsInteger0 7/PageSize[591.552 734.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/cupsReal0 .098/cupsReal1 .098/PageSize[591.552 734.112]/ImagingBBox null>>setpagedevice"
  *CustomMedia "Letter/Letter 8.5x11in" 612 792 9 9 9 9 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
  CustomMedia "Letter.FB/Letter Borderless 8.5x11in" 627.552 806.112 0 0 0 0 "<</cupsInteger0 2/PageSize[627.552 806.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/cupsReal0 .098/cupsReal1 .098/PageSize[627.552 806.112]/ImagingBBox null>>setpagedevice"
  CustomMedia "Letter.Duplex/Letter AutoDuplex 8.5x11in" 612 783 9 33.192 9 42.192 "<</cupsInteger0 2/PageSize[612 783]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 783]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4/A4 210x297mm" 595.44 841.68 9 9 9 9 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4.FB/A4 Borderless 210x297mm" 610.992 855.792 0 0 0 0 "<</cupsInteger0 26/PageSize[610.992 855.792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/cupsReal0 .098/cupsReal1 .098/PageSize[610.992 855.792]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4.Duplex/A4 AutoDuplex 210x297mm" 595.44 832.68 9 33.192 9 42.192 "<</cupsInteger0 26/PageSize[595.44 832.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 832.68]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal/Legal 8.5x14in" 612 1008 9 9 9 9 "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo10x15/Photo 10x15cm" 288 432 9 9 9 9 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo10x15.FB/Borderless Photo 10x15cm" 303.552 446.112 0 0 0 0 "<</cupsInteger0 74/cupsReal0 .098/cupsReal1 .098/PageSize[303.552 446.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/cupsReal0 .098/cupsReal1 .098/PageSize[303.552 446.112]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo10x15tab/Photo 10x15cm (tab)" 288 432 9 9 9 9 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo10x15tab.FB/ Borderless Photo 10x15cm (tab)" 303.552 446.112 0 0 0 0 "<</cupsInteger0 74/cupsReal0 .098/cupsReal1 .098/PageSize[303.552 446.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/cupsReal0 .098/cupsReal1 .098/PageSize[303.552 446.112]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo13x18/Photo 13x18cm" 360 504 9 9 9 9 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo13x18.FB/Borderless Photo 13x18cm" 372.816 518.112 0 0 0 0 "<</cupsInteger0 122/PageSize[372.816 518.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/cupsReal0 .089/cupsReal1 .098/PageSize[372.816 518.112]/ImagingBBox null>>setpagedevice"


// Envelope
  CustomMedia "EnvA2/A2 Envelope 4.37x5.75in" 314.64 414 9 42.192 9 9 "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.28 459.36 9 42.192 9 9 "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou4/#4 Japanese Envelope 90x205mm" 254.88 581.04 9 42.192 9 9 "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env6/#6 Envelope 3.63x6.5in" 261.36 468 9 42.192 9 9 "<</cupsInteger0 83/PageSize[261.36 468]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 83/PageSize[261.36 468]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvCard/Card Envelope 4.4x6in" 315 432 9 42.192 9 9 "<</cupsInteger0 114/PageSize[315 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 114/PageSize[315 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279 540 9 42.192 9 9 "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvDL/DL Envelope 110x220mm" 311.76 623.52 9 42.192 9 9 "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env10/#10 Envelope 4.125x9.5in" 297 684 9 42.192 9 9 "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 339.84 666 9 42.192 9 9 "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC5/C5 Envelope 162x229mm" 459.36 649.44 9 42.192 9 9 "<</cupsInteger0 91/PageSize[459.36 649.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 91/PageSize[459.36 649.44]/ImagingBBox null>>setpagedevice"

    // Custom page sizes from 3x4in to Legal
    HWMargins 9 9 9 9
    VariablePaperSize Yes
    MinSize 3in 4in
    MaxSize 8.5in 30in
    {
        UIConstraints "*PageSize Cabinet *Duplex"
        UIConstraints "*PageSize Cabinet.FB *Duplex"
        UIConstraints "*PageSize Cabinet.FB *OutputMode FastDraft"

        CustomMedia "Cabinet/Cabinet Size 165x120mm" 339.84 468 9 9 9 9 "<</cupsInteger0 119/PageSize[339.84 468]/ImagingBBox null>>setpagedevice"
                                    "<</cupsInteger0 119/PageSize[339.84 468]/ImagingBBox null>>setpagedevice"
        CustomMedia "Cabinet.FB/Cabinet Size 120x165 Borderless" 352.584 482.112 0 0 0 0 "<</cupsInteger0 119/PageSize[352.584 482.112]/ImagingBBox null>>setpagedevice"
                                    "<</cupsInteger0 119/cupsReal0 .079/cupsReal1 .098/PageSize[352.584 482.112]/ImagingBBox null>>setpagedevice"
        // <%Python11:Normal%>
        {
          ModelName "HP Photosmart 7510 Series"
          Attribute "NickName" "" "HP Photosmart 7510 Series, hpcups $Version"
          Attribute "ShortNickName" "" "HP Photosmart 7510 Series"
          Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart 7510 series;DES:photosmart 7510 series;"
          PCFileName "hp-photosmart_7510_series.ppd"
          Attribute "Product" "" "(HP Photosmart 7510 E-all-in-one)"
        }
    }

    {

        CustomMedia "Statement/Statement 5.5x8.5in" 396 612 9 9 9 9 "<</cupsInteger0 15/PageSize[396 612]/ImagingBBox null>>setpagedevice"
        "<</cupsInteger0 15/PageSize[396 612]/ImagingBBox null>>setpagedevice"

        // <%Python11:Advanced%>
        {
          ModelName "HP Photosmart 7520 Series"
          Attribute "NickName" "" "HP Photosmart 7520 Series, hpcups $Version"
          Attribute "ShortNickName" "" "HP Photosmart 7520 Series"
          Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart 7520 series;DES:photosmart 7520 series;"
          PCFileName "hp-photosmart_7520_series.ppd"
          Attribute "Product" "" "(HP Photosmart 7520 E-all-in-one)"
          Attribute "Product" "" "(HP Photosmart 7525 E-all-in-one)"
        }
    }

} // End Python11


//////// ViperPlusVIP
{
  Attribute "hpPrinterLanguage" "" "pcl3gui2"
  Attribute "HPMechOffset" "" "70"

  Group "General/General"

  // MediaPosition values map to MediaSource enumeration in global_types.h
  Option "InputSlot/Media Source" PickOne AnySetup 10.0
    *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"
    Choice "Main/Main Tray" "<</MediaPosition 1>>setpagedevice"

  Option "ColorModel/Output Mode" PickOne AnySetup 10.0
    *Choice "RGB/Color" "<</cupsColorSpace 17/cupsBitsPerColor 8/cupsRowStep 0>>setpagedevice"
    Choice "CMYGray/High Quality Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 1>>setpagedevice"
    Choice "KGray/Black Only Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2>>setpagedevice"

  // cupsMediaType values map to MEDIATYPE from global_types.h
  Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0>>setpagedevice"
    Choice "Glossy/Photo Paper" "<</MediaType(Glossy)/cupsMediaType 3>>setpagedevice"
    Choice "TransparencyFilm/Transparency Film" "<</MediaType(TransparencyFilm)/cupsMediaType 4>>setpagedevice"

  // cupsCompression values map to QUALITY_MODE from global_types.h
  Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "Normal/Normal" "<</OutputType(0)/HWResolution[600 600]>>setpagedevice"
    Choice "Best/Best" "<</OutputType(1)/HWResolution[600 600]>>setpagedevice"
    Choice "Photo/High-Resolution Photo" "<</OutputType(2)/HWResolution[1200 1200]>>setpagedevice"
    Choice "FastDraft/Fast Draft" "<</OutputType(-2)/HWResolution[300 300]>>setpagedevice"

  // Constraints
  UIConstraints "*ColorModel KGray *OutputMode Photo"
  UIConstraints "*ColorModel CMYGray *OutputMode Photo"
  UIConstraints "*MediaType Glossy *OutputMode FastDraft"
  UIConstraints "*MediaType TransparencyFilm *OutputMode FastDraft"
  UIConstraints "*MediaType Plain *OutputMode Photo"
  UIConstraints "*MediaType TransparencyFilm *OutputMode Photo"
  UIConstraints "*MediaType TransparencyFilm *OutputMode Best"

  UIConstraints "*PageSize PhotoL.FB *OutputMode FastDraft"
  UIConstraints "*PageSize Photo4x6.FB *OutputMode FastDraft"
  UIConstraints "*PageSize A6.FB *OutputMode FastDraft"
  UIConstraints "*PageSize Cabinet.FB *OutputMode FastDraft"
  UIConstraints "*PageSize Photo5x7.FB *OutputMode FastDraft"
  UIConstraints "*PageSize A5.FB *OutputMode FastDraft"
  UIConstraints "*PageSize 8x10.FB *OutputMode FastDraft"
  UIConstraints "*PageSize Letter.FB *OutputMode FastDraft"
  UIConstraints "*PageSize A4.FB *OutputMode FastDraft"
  UIConstraints "*PageSize B5.FB *OutputMode FastDraft"
  UIConstraints "*PageSize HV.FB *OutputMode FastDraft"

// 4x6 or smaller
  CustomMedia "Card3x5/Index Card 3x5in" 216 360 9 9 9 9 "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card4x6/Index Card 4x6in" 288 432 9 9 9 9 "<</cupsInteger0 74/PageSize [288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "PhotoL/Photo 3.5x5in" 252 360 9 9 9 9 "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "PhotoL.FB/Photo Borderless 3.5x5in" 264.74 370.36 0 0 0 0 "<</cupsInteger0 121/PageSize[264.74 370.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/cupsReal0 .079/cupsReal1 .051/PageSize[264.74 370.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6/Photo 4x6in" 288 432 9 9 9 9 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6.FB/Photo Borderless 4x6in" 303.55 442.36 0 0 0 0 "<</cupsInteger0 74/PageSize[303.55 442.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/cupsReal0 .098/cupsReal1 .051/PageSize[303.55 442.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6/A6 105x148mm" 297.36 419.76 9 9 9 9 "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6.FB/A6 Borderless 105x148mm" 310.1 430.12 0 0 0 0 "<</cupsInteger0 73/PageSize[310.1 430.12]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/cupsReal0 .079/cupsReal1 .051/PageSize[310.1 430.12]/ImagingBBox null>>setpagedevice"

// 5x7
  CustomMedia "HV/HV 101x180mm" 286.56 510.48 9 9 9 9 "<</cupsInteger0 101/PageSize[286.56 510.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[286.56 510.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "HV.FB/HV Borderless 101x180mm" 302.11 520.84 0 0 0 0 "<</cupsInteger0 101/PageSize[302.11 520.84]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/cupsReal0 .098/cupsReal1 .051/PageSize[302.11 520.84]/ImagingBBox null>>setpagedevice"
  CustomMedia "Cabinet/Cabinet Size 120x165mm" 339.84 468 9 9 9 9 "<</cupsInteger0 119/PageSize[339.84 468]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 119/PageSize[339.84 468]/ImagingBBox null>>setpagedevice"
  CustomMedia "Cabinet.FB/Cabinet Size Borderless 120x165mm" 352.58 478.36 0 0 0 0 "<</cupsInteger0 119/PageSize[352.58 478.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 119/cupsReal0 .079/cupsReal1 .051/PageSize[352.58 478.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo5x7/Photo 5x7in" 360 504 9 9 9 9 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo5x7.FB/Photo Borderless 5x7in" 372.81 514.36 0 0 0 0 "<</cupsInteger0 122/PageSize[372.81 514.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/cupsReal0 .089/cupsReal1 .051/PageSize[372.81 514.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card5x8/Index Card 5x8in" 360 576 9 9 9 9 "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5/A5 148x210mm" 419.76 595.44 9 9 9 9 "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5.FB/A5 Borderless 148x210mm" 435.31 605.8 0 0 0 0 "<</cupsInteger0 25/PageSize[435.31 605.8]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/cupsReal0 .098/cupsReal1 .051/PageSize[435.31 605.8]/ImagingBBox null>>setpagedevice"

// Standard
  CustomMedia "B5/B5 176x250mm" 498.96 708.48 9 9 9 9 "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "B5.FB/B5 Borderless 176x250mm" 514.51 718.84 0 0 0 0 "<</cupsInteger0 65/PageSize[514.51 718.84]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/cupsReal0 .098/cupsReal1 .051/PageSize[514.51 718.84]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive/Executive 7.25x10.5in" 522 756 9 9 9 9 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
  CustomMedia "8x10/8x10in" 576 720 9 9 9 9 "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
  CustomMedia "8x10.FB/Borderless 8x10in" 589.46 730.36 0 0 0 0 "<</cupsInteger0 7/PageSize[589.46 730.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/cupsReal0 .098/cupsReal1 .051/PageSize[589.46 730.36]/ImagingBBox null>>setpagedevice"
  *CustomMedia "Letter/Letter 8.5x11in" 612 792 9 9 9 9 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
  CustomMedia "Letter.FB/Letter Borderless 8.5x11in" 627.55 802.36 0 0 0 0 "<</cupsInteger0 2/PageSize[627.55 802.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/cupsReal0 .098/cupsReal1 .051/PageSize[627.55 802.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4/A4 210x297mm" 595.44 841.68 9 9 9 9 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4.FB/A4 Borderless 210x297mm" 610.99 852.04 0 0 0 0 "<</cupsInteger0 26/PageSize[610.99 852.04]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/cupsReal0 .098/cupsReal1 .051/PageSize[610.99 852.04]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal/Legal 8.5x14in" 612 1008 9 9 9 9 "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/cupsReal0 .098/cupsReal1 .051/PageSize[612 1008]/ImagingBBox null>>setpagedevice"

// Envelope
  CustomMedia "EnvA2/A2 Envelope 4.37x5.75in" 314.64 414 9 40.536 9 9 "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.28 459.36 9 40.536 9 9 "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279 540 9 40.536 9 9 "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvDL/DL Envelope 110x220mm" 311.76 623.52 9 40.536 9 9 "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env10/#10 Envelope 4.125x9.5in" 297 684 9 40.536 9 9 "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC5/C5 Envelope 162x229mm" 459.36 649.44 9 40.536 9 9 "<</cupsInteger0 91/PageSize[459.36 649.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 91/PageSize[459.36 649.44]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env6/#6 Envelope 3.63x6.5in" 261.36 468 9 40.536 9 9 "<</cupsInteger0 83/PageSize[261.36 468]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 83/PageSize[261.36 468]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvCard/Card Envelope 4.4x6in" 315 432 9 40.536 9 9 "<</cupsInteger0 114/PageSize[315 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 114/PageSize[315 432]/ImagingBBox null>>setpagedevice"

  {

  // Custom page sizes from 3x4in to Legal
  HWMargins 9 9 9 9
  VariablePaperSize Yes
  MinSize 3in 4in
  MaxSize 8.5in 30in

  // <%ViperPlusVIP:Trim%>
  {
    ModelName "HP Officejet 4500 g510n-z"
    Attribute "NickName" "" "HP Officejet 4500 g510n-z, hpcups $Version"
    Attribute "ShortNickName" "" "HP Officejet 4500 g510n-z"
    Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet 4500 g510n-z;DES:officejet 4500 g510n-z;"
    PCFileName "hp-officejet_4500_g510n-z.ppd"
    Attribute "Product" "" "(HP Officejet 4500 g510n-z All-in-one Printer)"
  }
  } // End Supported media sizes with full bleed.

  {
  UIConstraints "*PageSize L.FB *OutputMode FastDraft"
  UIConstraints "*PageSize Hagaki.FB *OutputMode FastDraft"
  UIConstraints "*PageSize JB5.FB *OutputMode FastDraft"
  UIConstraints "*PageSize 2L.FB *OutputMode FastDraft"
  UIConstraints "*PageSize Mutsugiri.FB *OutputMode FastDraft"

  CustomMedia "L/L 89x127mm" 252 360 9 9 9 9 "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "L.FB/L Borderless 89x127mm" 264.74 370.36 0 0 0 0 "<</cupsInteger0 121/PageSize[264.74 370.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/cupsReal0 .079/cupsReal1 .051/PageSize[264.74 370.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki/Hagaki 100x148mm" 283.68 419.76 9 9 9 9 "<</cupsInteger0 71/PageSize[283.68 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[283.68 419.76]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki.FB/Hagaki Borderless 100x148mm" 296.42 430.12 0 0 0 0 "<</cupsInteger0 71/PageSize[296.42 430.12]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/cupsReal0 .098/cupsReal1 .051/PageSize[296.42 430.12]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku/Oufuku-Hagaki 200x148mm" 566.64 419.76 9 9 9 9 "<</cupsInteger0 72/PageSize[566.64 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[566.64 419.76]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5/JB5 182x257mm" 516.24 728.64 9 9 9 9 "<</cupsInteger0 45/PageSize[516.24 728.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5.FB/JB5 Borderless 182x257mm" 531.79 739 0 0 0 0 "<</cupsInteger0 45/PageSize[531.79 739]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/cupsReal0 .098/cupsReal1 .051/PageSize [531.79 739]/ImagingBBox null>>setpagedevice"
  CustomMedia "2L/2L 127x178mm" 360 504 9 9 9 9 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "2L.FB/2L Borderless 127x178mm" 372.81 514.36 0 0 0 0 "<</cupsInteger0 122/PageSize[372.81 514.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/cupsReal0 .089/cupsReal1 .051/PageSize[372.81 514.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "Mutsugiri/Mutsugiri 8x10in" 576 720 9 9 9 9 "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
  CustomMedia "Mutsugiri.FB/Mutsugiri Borderless 8x10in" 589.46 730.36 0 0 0 0 "<</cupsInteger0 7/PageSize[589.46 730.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/cupsReal0 .098/cupsReal1 .051/PageSize[589.46 730.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 339.84 666 9 40.536 9 9 "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou4/#4 Japanese Envelope 90x205mm" 254.88 581.04 9 40.536 9 9 "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"

  // Custom page sizes from 3x4in to Legal
  HWMargins 9 9 9 9
  VariablePaperSize Yes
  MinSize 3in 4in
  MaxSize 8.5in 30in

  // <%ViperPlusVIP:Normal%>
  {
    ModelName "HP Photosmart d110 Series"
    Attribute "NickName" "" "HP Photosmart d110 Series, hpcups $Version"
    Attribute "ShortNickName" "" "HP Photosmart d110 Series"
    Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart d110 series;DES:photosmart d110 series;"
    PCFileName "hp-photosmart_d110_series.ppd"
    Attribute "Product" "" "(HP Photosmart d110 Series Printer)"
  }
  {
    ModelName "HP Officejet 4400 k410"
    Attribute "NickName" "" "HP Officejet 4400 k410, hpcups $Version"
    Attribute "ShortNickName" "" "HP Officejet 4400 k410"
    Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet 4400 k410;DES:officejet 4400 k410;"
    PCFileName "hp-officejet_4400_k410.ppd"
    Attribute "Product" "" "(HP Officejet 4400 k410 All-in-one Printer)"
  }
  {
    ModelName "HP Deskjet f4400 Series"
    Attribute "NickName" "" "HP Deskjet f4400 Series, hpcups $Version"
    Attribute "ShortNickName" "" "HP Deskjet f4400 Series"
    Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet f4400 series;DES:deskjet f4400 series;"
    PCFileName "hp-deskjet_f4400_series.ppd"
    Attribute "Product" "" "(HP Deskjet f4440 All-in-one Printer)"
    Attribute "Product" "" "(HP Deskjet f4435 All-in-one Printer)"
    Attribute "Product" "" "(HP Deskjet f4450 All-in-one Printer)"
    Attribute "Product" "" "(HP Deskjet f4470 All-in-one Printer)"
    Attribute "Product" "" "(HP Deskjet f4472 All-in-one Printer)"
    Attribute "Product" "" "(HP Deskjet f4473 All-in-one Printer)"
    Attribute "Product" "" "(HP Deskjet f4480 All-in-one Printer)"
    Attribute "Product" "" "(HP Deskjet f4483 All-in-one Printer)"
    Attribute "Product" "" "(HP Deskjet f4488 All-in-one Printer)"
    Attribute "Product" "" "(HP Deskjet f4492 All-in-one Printer)"
  }
  {
    ModelName "HP Officejet 4500 g510a-f"
    Attribute "NickName" "" "HP Officejet 4500 g510a-f, hpcups $Version"
    Attribute "ShortNickName" "" "HP Officejet 4500 g510a-f"
    Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet 4500 g510a-f;DES:officejet 4500 g510a-f;"
    PCFileName "hp-officejet_4500_g510a-f.ppd"
    Attribute "Product" "" "(HP Officejet 4500 Desktop All-in-one Printer - g510a)"
    Attribute "Product" "" "(HP Officejet 4500 All-in-one Desktop Printer - g510b)"
  }
  {
    ModelName "HP Deskjet f4500 Series"
    Attribute "NickName" "" "HP Deskjet f4500 Series, hpcups $Version"
    Attribute "ShortNickName" "" "HP Deskjet f4500 Series"
    Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet f4500 series;DES:deskjet f4500 series;"
    PCFileName "hp-deskjet_f4500_series.ppd"
    Attribute "Product" "" "(HP Deskjet f4500 All-in-one Printer Series)"
  }
  {
    ModelName "HP Officejet 4500 k710"
    Attribute "NickName" "" "HP Officejet 4500 k710, hpcups $Version"
    Attribute "ShortNickName" "" "HP Officejet 4500 k710"
    Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet 4500 k710;DES:officejet 4500 k710;"
    PCFileName "hp-officejet_4500_k710.ppd"
    Attribute "Product" "" "(HP Officejet 4500 All-in-one Printer - k710)"
  }
  {
    ModelName "HP Officejet 4500 g510g-m"
    Attribute "NickName" "" "HP Officejet 4500 g510g-m, hpcups $Version"
    Attribute "ShortNickName" "" "HP Officejet 4500 g510g-m"
    Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet 4500 g510g-m;DES:officejet 4500 g510g-m;"
    PCFileName "hp-officejet_4500_g510g-m.ppd"
    Attribute "Product" "" "(HP Officejet 4500 All-in-one Printer - g510g)"
    Attribute "Product" "" "(HP Officejet 4500 All-in-one Printer - g510h)"
  }
  {
    ModelName "HP Photosmart c4600 Series"
    Attribute "NickName" "" "HP Photosmart c4600 Series, hpcups $Version"
    Attribute "ShortNickName" "" "HP Photosmart c4600 Series"
    Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart c4600 series;DES:photosmart c4600 series;"
    PCFileName "hp-photosmart_c4600_series.ppd"
    Attribute "Product" "" "(HP Photosmart c4640 All-in-one Printer)"
    Attribute "Product" "" "(HP Photosmart c4650 All-in-one Printer)"
    Attribute "Product" "" "(HP Photosmart c4680 All-in-one Printer)"
    Attribute "Product" "" "(HP Photosmart c4610 All-in-one Printer)"
    Attribute "Product" "" "(HP Photosmart c4635 All-in-one Printer)"
    Attribute "Product" "" "(HP Photosmart c4670 All-in-one Printer)"
    Attribute "Product" "" "(HP Photosmart c4673 All-in-one Printer)"
    Attribute "Product" "" "(HP Photosmart c4680 All-in-one Printer)"
    Attribute "Product" "" "(HP Photosmart c4683 All-in-one Printer)"
    Attribute "Product" "" "(HP Photosmart c4688 All-in-one Printer)"
  }
  {
    ModelName "HP Photosmart c4700 Series"
    Attribute "NickName" "" "HP Photosmart c4700 Series, hpcups $Version"
    Attribute "ShortNickName" "" "HP Photosmart c4700 Series"
    Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart c4700 series;DES:photosmart c4700 series;"
    PCFileName "hp-photosmart_c4700_series.ppd"
    Attribute "Product" "" "(HP Photosmart c4740 All-in-one Printer)"
    Attribute "Product" "" "(HP Photosmart c4750 All-in-one Printer)"
    Attribute "Product" "" "(HP Photosmart c4780 All-in-one Printer)"
    Attribute "Product" "" "(HP Photosmart c4783 All-in-one Printer)"
    Attribute "Product" "" "(HP Photosmart c4785 All-in-one Printer)"
    Attribute "Product" "" "(HP Photosmart c4788 All-in-one Printer)"
    Attribute "Product" "" "(HP Photosmart c4793 All-in-one Printer)"
    Attribute "Product" "" "(HP Photosmart c4795 All-in-one Printer)"
    Attribute "Product" "" "(HP Photosmart c4798 All-in-one Printer)"
    Attribute "Product" "" "(HP Photosmart c4799 All-in-one Printer)"
  }
  {
    ModelName "HP Photosmart Ink Adv k510"
    Attribute "NickName" "" "HP Photosmart Ink Adv k510, hpcups $Version"
    Attribute "ShortNickName" "" "HP Photosmart Ink Adv k510"
    Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart ink adv k510;DES:photosmart ink adv k510;"
    PCFileName "hp-photosmart_ink_adv_k510.ppd"
    Attribute "Product" "" "(HP Photosmart Ink Adv k510)"
  }
  {
    ModelName "HP Deskjet d5500 Series"
    Attribute "NickName" "" "HP Deskjet d5500 Series, hpcups $Version"
    Attribute "ShortNickName" "" "HP Deskjet d5500 Series"
    Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet d5500 series;DES:deskjet d5500 series;"
    PCFileName "hp-deskjet_d5500_series.ppd"
    Attribute "Product" "" "(HP Deskjet d5545 Printer)"
    Attribute "Product" "" "(HP Deskjet d5560 Printer)"
    Attribute "Product" "" "(HP Deskjet d5563 Printer)"
    Attribute "Product" "" "(HP Deskjet d5568 Printer)"
  }
  } // End Supported media sizes with full bleed.

} // End ViperPlusVIP

//////// ViperMinusVIP
{
  Attribute "hpPrinterLanguage" "" "pcl3gui2"
  Attribute "HPMechOffset" "" "70"

  Group "General/General"

// MediaPosition values map to MediaSource enumeration in global_types.h
  Option "InputSlot/Media Source" PickOne AnySetup 10.0
    *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"

  Option "ColorModel/Output Mode" PickOne AnySetup 10.0
    *Choice "RGB/Color" "<</cupsColorSpace 17/cupsBitsPerColor 8/cupsRowStep 0>>setpagedevice"
    Choice "CMYGray/High Quality Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 1>>setpagedevice"
    Choice "KGray/Black Only Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2>>setpagedevice"

  // cupsMediaType values map to MEDIATYPE from global_types.h
  Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0>>setpagedevice"
    Choice "Glossy/Photo Paper" "<</MediaType(Glossy)/cupsMediaType 3>>setpagedevice"
    Choice "TransparencyFilm/Transparency Film" "<</MediaType(TransparencyFilm)/cupsMediaType 4>>setpagedevice"

  // cupsCompression values map to QUALITY_MODE from global_types.h
  Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "Normal/Normal" "<</OutputType(0)/HWResolution[600 600]>>setpagedevice"
    Choice "Best/Best" "<</OutputType(1)/HWResolution[600 600]>>setpagedevice"
    Choice "Photo/High-Resolution Photo" "<</OutputType(2)/HWResolution[1200 1200]>>setpagedevice"
    Choice "FastDraft/Fast Draft" "<</OutputType(-2)/HWResolution[300 300]>>setpagedevice"

  // Constraints
  UIConstraints "*ColorModel KGray *OutputMode Photo"
  UIConstraints "*ColorModel CMYGray *OutputMode Photo"
  UIConstraints "*MediaType Glossy *OutputMode FastDraft"
  UIConstraints "*MediaType TransparencyFilm *OutputMode FastDraft"
  UIConstraints "*MediaType Plain *OutputMode Photo"
  UIConstraints "*MediaType TransparencyFilm *OutputMode Photo"
  UIConstraints "*MediaType TransparencyFilm *OutputMode Best"
  UIConstraints "*PageSize Photo4x6tab.FB *OutputMode FastDraft"

// 4x6 or smaller
  CustomMedia "Card3x5/Index Card 3x5in" 216 360 9 36 9 4.968 "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card4x6/Card 4x6in" 288 432 9 36 9 4.968 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6/Photo 4x6in" 288 432 9 36 9 9 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6tab/Photo 4x6in (tab)" 288 432 9 9 9 9 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6tab.FB/Photo Borderless 4x6in (tab)" 303.55 443.01 0 0 0 0 "<</cupsInteger0 74/PageSize[303.55 443.01]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/cupsReal0 .098/cupsReal1 .051/PageSize[303.55 443.01]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6/A6 105x148mm" 297.36 419.76 9 36 9 4.968 "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"

// 5x7
  CustomMedia "Cabinet/Cabinet Size 120x165mm" 339.84 468 9 36 9 4.968 "<</cupsInteger0 119/PageSize[339.84 468]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 119/PageSize[339.84 468]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo5x7/Photo 5x7in" 360 504 9 36 9 9 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card5x8/Index Card 5x8in" 360 576 9 36 9 4.968 "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5/A5 148x210mm" 419.76 595.44 9 36 9 4.968 "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"

// Standard
  CustomMedia "B5/B5 176x250mm" 498.96 708.48 9 36 9 4.968 "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5/JB5 182x257mm" 516.24 728.64 9 36 9 4.968 "<</cupsInteger0 45/PageSize[516.24 728.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive/Executive 7.25x10.5in" 522 756 18 36 18 4.968 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
  CustomMedia "8x10/8x10in" 576 720 9 36 9 9 "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
  *CustomMedia "Letter/Letter 8.5x11in" 612 792 9 36 9 4.968 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4/A4 210x297mm" 595.44 841.68 9 36 9 4.968 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal/Legal 8.5x14in" 612 1008 18 36 18 4.968  "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"

// Envelope
  CustomMedia "EnvA2/A2 Envelope 4.37x5.75in" 314.64 414 9 36 9 4.968 "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.28 459.36 9 36 9 4.968 "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvDL/DL Envelope 110x220mm" 311.76 623.52 9 36 9 4.968 "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env10/#10 Envelope 4.125x9.5in" 297 684 9 36 9 4.968 "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC5/C5 Envelope 162x229mm" 459.36 649.44 9 36 9 4.968 "<</cupsInteger0 91/PageSize[459.36 649.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 91/PageSize[459.36 649.44]/ImagingBBox null>>setpagedevice"

  {
    // Custom page sizes from 3x4in to Legal
    HWMargins 18 36 18 5.04
    VariablePaperSize Yes
    MinSize 3in 4in
    MaxSize 8.5in 30in

    // <%ViperMinusVIP:Normal%>
    {
      ModelName "HP Deskjet f2400 Series"
      Attribute "NickName" "" "HP Deskjet f2400 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet f2400 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet f2400 series;DES:deskjet f2400 series;"
      PCFileName "hp-deskjet_f2400_series.ppd"
      Attribute "Product" "" "(HP Deskjet f2410 All-in-one Printer)"
      Attribute "Product" "" "(HP Deskjet f2418 All-in-one Printer)"
      Attribute "Product" "" "(HP Deskjet f2420 All-in-one Printer)"
      Attribute "Product" "" "(HP Deskjet f2423 All-in-one Printer)"
      Attribute "Product" "" "(HP Deskjet f2430 All-in-one Printer)"
      Attribute "Product" "" "(HP Deskjet f2440 All-in-one Printer)"
      Attribute "Product" "" "(HP Deskjet f2476 All-in-one Printer)"
      Attribute "Product" "" "(HP Deskjet f2480 All-in-one Printer)"
      Attribute "Product" "" "(HP Deskjet f2483 All-in-one Printer)"
      Attribute "Product" "" "(HP Deskjet f2488 All-in-one Printer)"
      Attribute "Product" "" "(HP Deskjet f2492 All-in-one Printer)"
      Attribute "Product" "" "(HP Deskjet f2493 All-in-one Printer)"
    }
  } // End Supported media sizes with full bleed.

} // End ViperMinusVIP

//////// ViperPlusTrim
{
  Attribute "hpPrinterLanguage" "" "lidil"
  Attribute "hpPrinterPlatform" "" "dj2600"
  Attribute "HPMechOffset" "" "70"

  Group "General/General"

  // MediaPosition values map to MediaSource enumeration in global_types.h
  Option "InputSlot/Media Source" PickOne AnySetup 10.0
    *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"
    Choice "Main/Main Tray" "<</MediaPosition 1>>setpagedevice"

  // cupsMediaType values map to MEDIATYPE from global_types.h
  Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0>>setpagedevice"
    Choice "Glossy/Photo Paper" "<</MediaType(Glossy)/cupsMediaType 3>>setpagedevice"
    Choice "TransparencyFilm/Transparency Film" "<</MediaType(TransparencyFilm)/cupsMediaType 4>>setpagedevice"

  // cupsCompression values map to QUALITY_MODE from global_types.h
  Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "NormalRGB/Normal Color" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 1/OutputType(0)/cupsInteger2 0/HWResolution[600 600]>>setpagedevice"
    Choice "NormalGray/Normal Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2/OutputType(0)/cupsInteger2 1/HWResolution[600 600]>>setpagedevice"
    Choice "DraftRGB/Draft Color" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 0/OutputType(-1)/cupsInteger2 2/HWResolution[300 300]>>setpagedevice"
    Choice "DraftGray/Draft Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2/OutputType(-1)/cupsInteger2 3/HWResolution[300 300]>>setpagedevice"
    Choice "Photo/High-Resolution Photo" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 0/OutputType(2)/cupsInteger2 4/HWResolution[600 600]>>setpagedevice"


  // Installed Cartridge: Only For Lidil Devices.
  Option "InstalledCartridge/Installed Cartridges" PickOne AnySetup 10.0
    Choice "BlackColorOnly/Black Only" "<</cupsInteger1 0>>setpagedevice"
    Choice "TriColorOnly/TriColor Only" "<</cupsInteger1 1>>setpagedevice"
    Choice "PhotoColorOnly/Photo Only" "<</cupsInteger1 2>>setpagedevice"
    *Choice "BlackAndTriColor/Black and TriColor" "<</cupsInteger1 3>>setpagedevice"
    Choice "PhotoAndColor/Photo and TriColor" "<</cupsInteger1 4>>setpagedevice"

  // Constraints
  UIConstraints "*MediaType Glossy *OutputMode DraftRGB"
  UIConstraints "*MediaType Glossy *OutputMode DraftGray"
  UIConstraints "*MediaType TransparencyFilm *OutputMode DraftRGB"
  UIConstraints "*MediaType TransparencyFilm *OutputMode DraftGray"
  UIConstraints "*MediaType Plain *OutputMode Photo"
  UIConstraints "*MediaType TransparencyFilm *OutputMode Photo"

  UIConstraints "*PageSize L.FB *OutputMode DraftRGB"
  UIConstraints "*PageSize L.FB *OutputMode DraftGray"
  UIConstraints "*PageSize PhotoL.FB *OutputMode DraftRGB"
  UIConstraints "*PageSize PhotoL.FB *OutputMode DraftGray"
  UIConstraints "*PageSize Hagaki.FB *OutputMode DraftRGB"
  UIConstraints "*PageSize Hagaki.FB *OutputMode DraftGray"
  UIConstraints "*PageSize Photo4x6.FB *OutputMode DraftRGB"
  UIConstraints "*PageSize Photo4x6.FB *OutputMode DraftGray"
  UIConstraints "*PageSize A6.FB *OutputMode DraftRGB"
  UIConstraints "*PageSize A6.FB *OutputMode DraftGray"
  UIConstraints "*PageSize Cabinet.FB *OutputMode DraftRGB"
  UIConstraints "*PageSize Cabinet.FB *OutputMode DraftGray"
  UIConstraints "*PageSize Photo5x7.FB *OutputMode DraftRGB"
  UIConstraints "*PageSize Photo5x7.FB *OutputMode DraftGray"
  UIConstraints "*PageSize 2L.FB *OutputMode DraftRGB"
  UIConstraints "*PageSize 2L.FB *OutputMode DraftGray"
  UIConstraints "*PageSize A5.FB *OutputMode DraftRGB"
  UIConstraints "*PageSize A5.FB *OutputMode DraftGray"
  UIConstraints "*PageSize 8x10.FB *OutputMode DraftRGB"
  UIConstraints "*PageSize 8x10.FB *OutputMode DraftGray"
  UIConstraints "*PageSize Letter.FB *OutputMode DraftRGB"
  UIConstraints "*PageSize Letter.FB *OutputMode DraftGray"
  UIConstraints "*PageSize A4.FB *OutputMode DraftRGB"
  UIConstraints "*PageSize A4.FB *OutputMode DraftGray"
  UIConstraints "*PageSize B5.FB *OutputMode DraftRGB"
  UIConstraints "*PageSize B5.FB *OutputMode DraftGray"
  UIConstraints "*PageSize JB5.FB *OutputMode DraftRGB"
  UIConstraints "*PageSize JB5.FB *OutputMode DraftGray"
  UIConstraints "*PageSize HV.FB *OutputMode DraftRGB"
  UIConstraints "*PageSize HV.FB *OutputMode DraftGray"
  UIConstraints "*PageSize Mutsugiri.FB *OutputMode DraftRGB"
  UIConstraints "*PageSize Mutsugiri.FB *OutputMode DraftGray"

// 4x6 or smaller
  CustomMedia "Card3x5/Index Card 3x5in" 216 360 9 9 9 9 "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "L/L 89x127mm" 252 360 9 9 9 9 "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "L.FB/L Borderless 89x127mm" 264.74 370.36 0 0 0 0 "<</cupsInteger0 121/PageSize[264.74 370.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/cupsReal0 .079/cupsReal1 .051/PageSize[264.74 370.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "PhotoL/Photo 3.5x5in" 252 360 9 9 9 9 "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "PhotoL.FB/Photo Borderless 3.5x5in" 264.74 370.36 0 0 0 0 "<</cupsInteger0 121/PageSize[264.74 370.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/cupsReal0 .079/cupsReal1 .051/PageSize[264.74 370.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki/Hagaki 100x148mm" 283.68 419.76 9 9 9 9 "<</cupsInteger0 71/PageSize[283.68 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[283.68 419.76]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki.FB/Hagaki Borderless 100x148mm" 296.42 430.12 0 0 0 0 "<</cupsInteger0 71/PageSize[296.42 430.12]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/cupsReal0 .098/cupsReal1 .051/PageSize[296.42 430.12]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6/Photo 4x6in" 288 432 9 9 9 9 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6.FB/Photo Borderless 4x6in" 303.55 442.36 0 0 0 0 "<</cupsInteger0 74/PageSize[303.55 442.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/cupsReal0 .098/cupsReal1 .051/PageSize[303.55 442.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6/A6 105x148mm" 297.36 419.76 9 9 9 9 "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6.FB/A6 Borderless 105x148mm" 310.1 430.12 0 0 0 0 "<</cupsInteger0 73/PageSize[310.1 430.12]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/cupsReal0 .079/cupsReal1 .051/PageSize[310.1 430.12]/ImagingBBox null>>setpagedevice"

// 5x7
  CustomMedia "HV/HV 101x180mm" 286.56 510.48 9 9 9 9 "<</cupsInteger0 101/PageSize[286.56 510.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[286.56 510.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "HV.FB/HV Borderless 101x180mm" 302.11 520.84 0 0 0 0 "<</cupsInteger0 101/PageSize[302.11 520.84]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/cupsReal0 .098/cupsReal1 .051/PageSize[302.11 520.84]/ImagingBBox null>>setpagedevice"
  CustomMedia "Cabinet/Cabinet Size 120x165mm" 339.84 468 9 9 9 9 "<</cupsInteger0 119/PageSize[339.84 468]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 119/PageSize[339.84 468]/ImagingBBox null>>setpagedevice"
  CustomMedia "Cabinet.FB/Cabinet Size Borderless 120x165mm" 352.58 478.36 0 0 0 0 "<</cupsInteger0 119/PageSize[352.58 478.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 119/cupsReal0 .079/cupsReal1 .051/PageSize[352.58 478.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo5x7/Photo 5x7in" 360 504 9 9 9 9 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo5x7.FB/Photo Borderless 5x7in" 372.81 514.36 0 0 0 0 "<</cupsInteger0 122/PageSize[372.81 514.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/cupsReal0 .089/cupsReal1 .051/PageSize[372.81 514.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "2L/2L 127x178mm" 360 504 9 9 9 9 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "2L.FB/2L Borderless 127x178mm" 372.81 514.36 0 0 0 0 "<</cupsInteger0 122/PageSize[372.81 514.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/cupsReal0 .089/cupsReal1 .051/PageSize[372.81 514.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card5x8/Index Card 5x8in" 360 576 9 9 9 9 "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku/Oufuku-Hagaki 200x148mm" 566.64 419.76 9 9 9 9 "<</cupsInteger0 72/PageSize[566.64 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[566.64 419.76]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5/A5 148x210mm" 419.76 595.44 9 9 9 9 "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5.FB/A5 Borderless 148x210mm" 435.31 605.8 0 0 0 0 "<</cupsInteger0 25/PageSize[435.31 605.8]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/cupsReal0 .098/cupsReal1 .051/PageSize[435.31 605.8]/ImagingBBox null>>setpagedevice"

// Standard
  CustomMedia "B5/B5 176x250mm" 498.96 708.48 9 9 9 9 "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "B5.FB/B5 Borderless 176x250mm" 514.51 718.84 0 0 0 0 "<</cupsInteger0 65/PageSize[514.51 718.84]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/cupsReal0 .098/cupsReal1 .051/PageSize[514.51 718.84]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5/JB5 182x257mm" 516.24 728.64 9 9 9 9 "<</cupsInteger0 45/PageSize[516.24 728.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5.FB/JB5 Borderless 182x257mm" 531.79 739 0 0 0 0 "<</cupsInteger0 45/PageSize[531.79 739]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/cupsReal0 .098/cupsReal1 .051/PageSize [531.79 739]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive/Executive 7.25x10.5in" 522 756 9 9 9 9 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
  CustomMedia "8x10/8x10in" 576 720 9 9 9 9 "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
  CustomMedia "8x10.FB/Borderless 8x10in" 589.46 730.36 0 0 0 0 "<</cupsInteger0 7/PageSize[589.46 730.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/cupsReal0 .098/cupsReal1 .051/PageSize[589.46 730.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "Mutsugiri/Mutsugiri 8x10in" 576 720 9 9 9 9 "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
  CustomMedia "Mutsugiri.FB/Mutsugiri Borderless 8x10in" 589.46 730.36 0 0 0 0 "<</cupsInteger0 7/PageSize[589.46 730.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/cupsReal0 .098/cupsReal1 .051/PageSize[589.46 730.36]/ImagingBBox null>>setpagedevice"
  *CustomMedia "Letter/Letter 8.5x11in" 612 792 9 9 9 9 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
  CustomMedia "Letter.FB/Letter Borderless 8.5x11in" 627.55 802.36 0 0 0 0 "<</cupsInteger0 2/PageSize[627.55 802.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/cupsReal0 .098/cupsReal1 .051/PageSize[627.55 802.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4/A4 210x297mm" 595.44 841.68 9 9 9 9 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4.FB/A4 Borderless 210x297mm" 610.99 852.04 0 0 0 0 "<</cupsInteger0 26/PageSize[610.99 852.04]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/cupsReal0 .098/cupsReal1 .051/PageSize[610.99 852.04]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal/Legal 8.5x14in" 612 1008 9 9 9 9 "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/cupsReal0 .098/cupsReal1 .051/PageSize[612 1008]/ImagingBBox null>>setpagedevice"

// Envelope
  CustomMedia "EnvA2/A2 Envelope 4.37x5.75in" 314.64 414 9 40.536 9 9 "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.28 459.36 9 40.536 9 9 "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou4/#4 Japanese Envelope 90x205mm" 254.88 581.04 9 40.536 9 9 "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279 540 9 40.536 9 9 "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvDL/DL Envelope 110x220mm" 311.76 623.52 9 40.536 9 9 "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env10/#10 Envelope 4.125x9.5in" 297 684 9 40.536 9 9 "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 339.84 666 9 40.536 9 9 "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC5/C5 Envelope 162x229mm" 459.36 649.44 9 40.536 9 9 "<</cupsInteger0 91/PageSize[459.36 649.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 91/PageSize[459.36 649.44]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env6/#6 Envelope 3.63x6.5in" 261.36 468 9 40.536 9 9 "<</cupsInteger0 83/PageSize[261.36 468]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 83/PageSize[261.36 468]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvCard/Card Envelope 4.4x6in" 315 432 9 40.536 9 9 "<</cupsInteger0 114/PageSize[315 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 114/PageSize[315 432]/ImagingBBox null>>setpagedevice"

  {
    // Custom page sizes from 3x4in to Legal
    HWMargins 9 9 9 9
    VariablePaperSize Yes
    MinSize 3in 4in
    MaxSize 8.5in 30in

    // <%ViperPlusTrim:Normal%>
    {
      ModelName "HP Deskjet Ink Advant k109a-z"
      Attribute "NickName" "" "HP Deskjet Ink Advant k109a-z, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet Ink Advant k109a-z"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet ink advant k109a-z;DES:deskjet ink advant k109a-z;"
      PCFileName "hp-deskjet_ink_advant_k109a-z.ppd"
      Attribute "Product" "" "(HP Deskjet Ink Advantage k109a Printer)"
    }
    {
      ModelName "HP Deskjet d2600 Series"
      Attribute "NickName" "" "HP Deskjet d2600 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet d2600 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet d2600 series;DES:deskjet d2600 series;"
      PCFileName "hp-deskjet_d2600_series.ppd"
      Attribute "Product" "" "(HP Deskjet d2660 Printer)"
      Attribute "Product" "" "(HP Deskjet d2645 Printer)"
      Attribute "Product" "" "(HP Deskjet d2663 Printer)"
      Attribute "Product" "" "(HP Deskjet d2666 Printer)"
      Attribute "Product" "" "(HP Deskjet d2668 Printer)"
      Attribute "Product" "" "(HP Deskjet d2680 Printer)"
    }
    {
      ModelName "HP Officejet 4000 k210"
      Attribute "NickName" "" "HP Officejet 4000 k210, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet 4000 k210"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet 4000 k210;DES:officejet 4000 k210;"
      PCFileName "hp-officejet_4000_k210.ppd"
      Attribute "Product" "" "(HP Officejet 4000 k210 Printer)"
    }
  } // End Supported media sizes with full bleed.

} // End ViperPlusTrim

//////// ViperMinusTrim
{
  Attribute "hpPrinterLanguage" "" "lidil"
  Attribute "hpPrinterPlatform" "" "dj2600"
  Attribute "HPMechOffset" "" "70"

  Group "General/General"

// MediaPosition values map to MediaSource enumeration in global_types.h
  Option "InputSlot/Media Source" PickOne AnySetup 10.0
    *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"

  // cupsMediaType values map to MEDIATYPE from global_types.h
  Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0>>setpagedevice"
    Choice "Glossy/Photo Paper" "<</MediaType(Glossy)/cupsMediaType 3>>setpagedevice"
    Choice "TransparencyFilm/Transparency Film" "<</MediaType(TransparencyFilm)/cupsMediaType 4>>setpagedevice"

// cupsCompression values map to QUALITY_MODE from global_types.h
  Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "NormalRGB/Normal Color" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 1/OutputType(0)/cupsInteger2 0/HWResolution[600 600]>>setpagedevice"
    Choice "NormalGray/Normal Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2/OutputType(0)/cupsInteger2 1/HWResolution[600 600]>>setpagedevice"
    Choice "DraftRGB/Draft Color" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 0/OutputType(-1)/cupsInteger2 2/HWResolution[300 300]>>setpagedevice"
    Choice "DraftGray/Draft Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2/OutputType(-1)/cupsInteger2 3/HWResolution[300 300]>>setpagedevice"
    Choice "Photo/High-Resolution Photo" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 0/OutputType(2)/cupsInteger2 4/HWResolution[600 600]>>setpagedevice"


  // Installed Cartridge: Only For Lidil Devices.
  Option "InstalledCartridge/Installed Cartridges" PickOne AnySetup 10.0
    Choice "BlackColorOnly/Black Only" "<</cupsInteger1 0>>setpagedevice"
    Choice "TriColorOnly/TriColor Only" "<</cupsInteger1 1>>setpagedevice"
    Choice "PhotoColorOnly/Photo Only" "<</cupsInteger1 2>>setpagedevice"
    *Choice "BlackAndTriColor/Black and TriColor" "<</cupsInteger1 3>>setpagedevice"
    Choice "PhotoAndColor/Photo and TriColor" "<</cupsInteger1 4>>setpagedevice"


  // Constraints
  UIConstraints "*MediaType Glossy *OutputMode DraftRGB"
  UIConstraints "*MediaType Glossy *OutputMode DraftGray"
  UIConstraints "*MediaType TransparencyFilm *OutputMode DraftRGB"
  UIConstraints "*MediaType TransparencyFilm *OutputMode DraftGray"
  UIConstraints "*MediaType Plain *OutputMode Photo"
  UIConstraints "*MediaType TransparencyFilm *OutputMode Photo"

  UIConstraints "*PageSize Photo4x6tab.FB *OutputMode DraftRGB"
  UIConstraints "*PageSize Photo4x6tab.FB *OutputMode DraftGray"

// 4x6 or smaller
  CustomMedia "Card3x5/Index Card 3x5in" 216 360 9 36 9 4.968 "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card4x6/Card 4x6in" 288 432 9 36 9 4.968 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6/Photo 4x6in" 288 432 9 36 9 9 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6tab/Photo 4x6in (tab)" 288 432 9 9 9 9 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6tab.FB/Photo Borderless 4x6in (tab)" 303.55 443.01 0 0 0 0 "<</cupsInteger0 74/PageSize[303.55 443.01]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/cupsReal0 .098/cupsReal1 .051/PageSize[303.55 443.01]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6/A6 105x148mm" 297.36 419.76 9 36 9 4.968 "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"

// 5x7
  CustomMedia "Cabinet/Cabinet Size 120x165mm" 339.84 468 9 36 9 4.968 "<</cupsInteger0 119/PageSize[339.84 468]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 119/PageSize[339.84 468]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo5x7/Photo 5x7in" 360 504 9 36 9 9 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card5x8/Index Card 5x8in" 360 576 9 36 9 4.968 "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5/A5 148x210mm" 419.76 595.44 9 36 9 4.968 "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"

// Standard
  CustomMedia "B5/B5 176x250mm" 498.96 708.48 9 36 9 4.968 "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5/JB5 182x257mm" 516.24 728.64 9 36 9 4.968 "<</cupsInteger0 45/PageSize[516.24 728.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive/Executive 7.25x10.5in" 522 756 18 36 18 4.968 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
  CustomMedia "8x10/8x10in" 576 720 9 36 9 9 "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
  *CustomMedia "Letter/Letter 8.5x11in" 612 792 9 36 9 4.968 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4/A4 210x297mm" 595.44 841.68 9 36 9 4.968 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal/Legal 8.5x14in" 612 1008 18 36 18 4.968  "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"

// Envelope
  CustomMedia "EnvA2/A2 Envelope 4.37x5.75in" 314.64 414 9 36 9 4.968 "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.28 459.36 9 36 9 4.968 "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvDL/DL Envelope 110x220mm" 311.76 623.52 9 36 9 4.968 "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env10/#10 Envelope 4.125x9.5in" 297 684 9 36 9 4.968 "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC5/C5 Envelope 162x229mm" 459.36 649.44 9 36 9 4.968 "<</cupsInteger0 91/PageSize[459.36 649.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 91/PageSize[459.36 649.44]/ImagingBBox null>>setpagedevice"

  {
    // Custom page sizes from 3x4in to Legal
    HWMargins 18 36 18 5.04
    VariablePaperSize Yes
    MinSize 3in 4in
    MaxSize 8.5in 30in

    // <%ViperMinusTrim:Normal%>
    {
      ModelName "HP Deskjet d1600 Series"
      Attribute "NickName" "" "HP Deskjet d1600 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet d1600 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet d1600 series;DES:deskjet d1600 series;"
      PCFileName "hp-deskjet_d1600_series.ppd"
      Attribute "Product" "" "(HP Deskjet d1620 Printer)"
      Attribute "Product" "" "(HP Deskjet d1630 Printer)"
      Attribute "Product" "" "(HP Deskjet d1650 Printer)"
      Attribute "Product" "" "(HP Deskjet d1658 Printer)"
      Attribute "Product" "" "(HP Deskjet d1660 Printer)"
      Attribute "Product" "" "(HP Deskjet d1663 Printer)"
      Attribute "Product" "" "(HP Deskjet d1668 Printer)"
    }
  } // End Supported media sizes with full bleed.

} // End ViperMinusTrim

//////// Corbett
{
  Attribute "cupsEvenDuplex" "" "True"
  Attribute "cupsBackSide" "" "Rotated"
  Attribute "cupsFlipDuplex" "" "True"
  Attribute "hpPrinterLanguage" "" "pcl3gui2"
  Attribute "HPMechOffset" "" "130"

  Group "General/General"

  Option "Duplex/Double-Sided Printing" PickOne AnySetup 10.0
    Choice "DuplexNoTumble/Long Edge (Standard)" "<</Duplex true/Tumble false>>setpagedevice"
    Choice "DuplexTumble/Short Edge (Flip)" "<</Duplex true/Tumble true>>setpagedevice"
    *Choice "None/Off" "<</Duplex false/Tumble false>>setpagedevice"

  // MediaPosition values map to MediaSource enumeration in global_types.h
  Option "InputSlot/Media Source" PickOne AnySetup 10.0
    *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"
    Choice "Tray1/Tray 1" "<</MediaPosition 1>>setpagedevice"
    Choice "Tray2/Tray 2" "<</MediaPosition 4>>setpagedevice"

  Option "ColorModel/Output Mode" PickOne AnySetup 10.0
    *Choice "RGB/Color" "<</cupsColorSpace 17/cupsBitsPerColor 8/cupsRowStep 0>>setpagedevice"
    Choice "CMYGray/High Quality Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 1>>setpagedevice"
    Choice "KGray/Black Only Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2>>setpagedevice"

  // cupsMediaType values map to MEDIATYPE from global_types.h
  Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0>>setpagedevice"
    Choice "Glossy/Photo Paper" "<</MediaType(Glossy)/cupsMediaType 3>>setpagedevice"
    Choice "TransparencyFilm/Transparency Film" "<</MediaType(TransparencyFilm)/cupsMediaType 4>>setpagedevice"

  // cupsCompression values map to QUALITY_MODE from global_types.h
  Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "Normal/Normal" "<</OutputType(0)/HWResolution[600 600]>>setpagedevice"
    Choice "Draft/Draft" "<</OutputType(-1)/HWResolution[300 300]>>setpagedevice"
    Choice "Best/Best" "<</OutputType(1)/HWResolution[600 600]>>setpagedevice"
    Choice "Photo/High-Resolution Photo" "<</OutputType(2)/HWResolution[1200 1200]>>setpagedevice"

  // Duplexer is optional...
  Installable "OptionDuplex/Duplexer Installed"

  // Constraints
  //UIConstraints "*Duplex *OptionDuplex False"
  UIConstraints "*ColorModel KGray *OutputMode Photo"
  UIConstraints "*ColorModel CMYGray *OutputMode Photo"
  UIConstraints "*MediaType Glossy *OutputMode Draft"
  UIConstraints "*MediaType Plain *OutputMode Photo"
  UIConstraints "*MediaType TransparencyFilm *OutputMode Best"
  UIConstraints "*MediaType TransparencyFilm *OutputMode Photo"
  UIConstraints "*PageSize Photo5x7 *Duplex"
  UIConstraints "*PageSize Photo4x6 *Duplex"
  UIConstraints "*PageSize Card4x6 *Duplex"
  UIConstraints "*PageSize A5 *Duplex"
  UIConstraints "*PageSize A6 *Duplex"
  UIConstraints "*PageSize JB5 *Duplex"
  UIConstraints "*PageSize Card5x8 *Duplex"
  UIConstraints "*PageSize Oufuku *Duplex"
  UIConstraints "*PageSize Hagaki *Duplex"
  UIConstraints "*PageSize Statement *Duplex"
  UIConstraints "*PageSize 6x8 *Duplex"
  UIConstraints "*PageSize Card3x5 *Duplex"
  UIConstraints "*PageSize Photo2L *Duplex"
  UIConstraints "*PageSize L *Duplex"
  UIConstraints "*PageSize 8x10 *Duplex"
  UIConstraints "*PageSize Env10 *Duplex"
  UIConstraints "*PageSize EnvA2 *Duplex"
  UIConstraints "*PageSize EnvC6 *Duplex"
  UIConstraints "*PageSize EnvDL *Duplex"
  UIConstraints "*PageSize EnvC5 *Duplex"
  UIConstraints "*PageSize EnvChou3 *Duplex"
  UIConstraints "*PageSize EnvChou4 *Duplex"
  UIConstraints "*PageSize EnvMonarch *Duplex"
  UIConstraints "*PageSize EnvCard *Duplex"

// Constraint FB and Draft
  UIConstraints "*PageSize L.FB *OutputMode Draft"
  UIConstraints "*PageSize Hagaki.FB *OutputMode Draft"
  UIConstraints "*PageSize Photo4x6.FB *OutputMode Draft"
  UIConstraints "*PageSize A6.FB *OutputMode Draft"
  UIConstraints "*PageSize Photo5x7.FB *OutputMode Draft"
  UIConstraints "*PageSize Photo2L.FB *OutputMode Draft"
  UIConstraints "*PageSize A5.FB *OutputMode Draft"
  UIConstraints "*PageSize 8x10.FB *OutputMode Draft"
  UIConstraints "*PageSize Letter.FB *OutputMode Draft"
  UIConstraints "*PageSize A4.FB *OutputMode Draft"
  UIConstraints "*PageSize JB5.FB *OutputMode Draft"

// Constraint FB and Duplex
  UIConstraints "*PageSize L.FB *Duplex"
  UIConstraints "*PageSize Hagaki.FB *Duplex"
  UIConstraints "*PageSize Photo4x6.FB *Duplex"
  UIConstraints "*PageSize A6.FB *Duplex"
  UIConstraints "*PageSize Photo5x7.FB *Duplex"
  UIConstraints "*PageSize Photo2L.FB *Duplex"
  UIConstraints "*PageSize A5.FB *Duplex"
  UIConstraints "*PageSize 8x10.FB *Duplex"
  UIConstraints "*PageSize Letter.FB *Duplex"
  UIConstraints "*PageSize A4.FB *Duplex"
  UIConstraints "*PageSize JB5.FB *Duplex"

// 4x6 or smaller
  CustomMedia "Card3x5/Index Card 3x5in" 216 360 9.36 9.36 9.36 9.36 "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "L/L 89x127mm" 252 360 9.36 9.36 9.36 9.36 "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "L.FB/L Borderless 89x127mm" 264.96 371.16 0 0 0 0 "<</cupsInteger0 121/PageSize [264.96 371.16]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/cupsReal0 .090/cupsReal1 .060/PageSize[264.96 371.16]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki/Hagaki 100x148mm" 283.68 419.76 9.36 9.36 9.36 9.36 "<</cupsInteger0 71/PageSize[283.68 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[283.68 419.76]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki.FB/Hagaki Borderless 100x148mm" 296.64 430.2 0 0 0 0 "<</cupsInteger0 71/PageSize[296.64 430.2]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/cupsReal0 .090/cupsReal1 .050/PageSize[296.64 430.2]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card4x6/Index Card 4x6in" 288 432 9.36 9.36 9.36 9.36 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card4x6.Duplex/Index Card AutoDuplex 4x6in" 288 423 9.36 25.56 9.36 34.56 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6/Photo 4x6in" 288 432 9.36 9.36 9.36 9.36 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6.FB/Photo Borderless 4x6in" 300.96 442.44 0 0 0 0 "<</cupsInteger0 74/PageSize[300.96 442.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/cupsReal0 .090/cupsReal1 .050/PageSize[300.96 442.44]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6/A6 105x148mm" 297.36 419.76 9.36 9.36 9.36 9.36 "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6.FB/A6 Borderless 105x148mm" 310.32 430.92 0 0 0 0 "<</cupsInteger0 73/PageSize[310.32 430.92]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/cupsReal0 .090/cupsReal1 .060/PageSize[310.32 430.92]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6.Duplex/A6 AutoDuplex 105x148mm" 297.36 410.76 9.36 25.56 9.36 34.56 "<</cupsInteger0 73/PageSize[297.36 410.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[297.36 410.76]/ImagingBBox null>>setpagedevice"


// 5x7
  CustomMedia "Photo5x7/Photo 5x7in" 360 504 9.36 9.36 9.36 9.36 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo5x7.FB/Photo Borderless 5x7in" 372.96 515.6 0 0 0 0 "<</cupsInteger0 122/PageSize[372.96 515.6]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/cupsReal0 .090/cupsReal1 .060/PageSize[372.96 515.6]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo2L/Photo 2L 127x178mm" 360 504 9.36 9.36 9.36 9.36 "<</cupsInteger0 126/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 126/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo2L.FB/Photo 2L Borderless 127x178mm" 372.96 515.16 0 0 0 0 "<</cupsInteger0 126/PageSize[372.96 515.16]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 126/cupsReal0 .090/cupsReal1 .060/PageSize[372.96 515.16]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku/Oufuku-Hagaki 200x148mm" 566.64 419.76 9.36 9.36 9.36 9.36 "<</cupsInteger0 72/PageSize[566.64 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[566.64 419.76]/ImagingBBox null>>setpagedevice"

// Standard
  CustomMedia "Card5x8/Index Card 5x8in" 360 576 9.36 9.36 9.36 9.36 "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card5x8.Duplex/Index Card AutoDuplex 5x8in" 360 567 9.36 25.56 9.36 34.56 "<</cupsInteger0 75/PageSize[360 567]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 567]/ImagingBBox null>>setpagedevice"
  CustomMedia "Statement/Statement 5.5x8.5in" 396 612 9.36 9.36 9.36 9.36 "<</cupsInteger0 15/PageSize[396 612]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 15/PageSize[396 612]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5/A5 148x210mm" 419.76 595.44 9.36 9.36 9.36 9.36 "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5.FB/A5 Borderless 148x210mm" 432.72 606.6 0 0 0 0 "<</cupsInteger0 25/PageSize[432.72 606.6]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/cupsReal0 .090/cupsReal1 .060/PageSize[432.72 606.6]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5.Duplex/A5 AutoDuplex 148x210mm" 419.76 586.44 9.36 25.56 9.36 34.56 "<</cupsInteger0 25/PageSize[419.76 586.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.76 586.44]/ImagingBBox null>>setpagedevice"
  CustomMedia "6x8/6x8in" 432 576 9.36 9.36 9.36 9.36 "<</cupsInteger0 101/PageSize[432 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[432 576]/ImagingBBox null>>setpagedevice"
  CustomMedia "6x8.Duplex/AutoDuplex 6x8in" 432 567 9.36 25.56 9.36 34.56 "<</cupsInteger0 101/PageSize[432 567]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[432 567]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5/JB5 182x257mm" 516.24 728.64 9.36 9.36 9.36 9.36 "<</cupsInteger0 45/PageSize[516.24 728.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5.FB/JB5 Borderless 182x257mm" 529.2 739.8 0 0 0 0 "<</cupsInteger0 45/PageSize[529.2 739.8]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/cupsReal0 .090/cupsReal1 .060/PageSize [529.2 739.8]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5.Duplex/JB5 AutoDuplex 182x257mm" 516.24 719.64 9.36 24.84 9.36 33.84 "<</cupsInteger0 45/PageSize[516.24 719.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [516.24 719.64]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive/Executive 7.25x10.5in" 522 756 9.36 9.36 9.36 9.36 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive.Duplex/Executive AutoDuplex 7.25x10.5in" 522 747 9.36 25.56 9.36 34.56 "<</cupsInteger0 1/PageSize[522 747]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 747]/ImagingBBox null>>setpagedevice"
  CustomMedia "8x10/8x10in" 576 720 9.36 9.36 9.36 9.36 "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
  CustomMedia "8x10.FB/Borderless 8x10in" 584.64 731.16 0 0 0 0 "<</cupsInteger0 7/PageSize[584.64 731.16]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/cupsReal0 .060/cupsReal1 .060/PageSize[584.64 731.16]/ImagingBBox null>>setpagedevice"
  *CustomMedia "Letter/Letter 8.5x11in" 612 792 9.36 9.36 9.36 9.36 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
  CustomMedia "Letter.FB/Letter Borderless 8.5x11in" 624.96 803.16 0 0 0 0 "<</cupsInteger0 2/PageSize[624.96 803.16]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/cupsReal0 .090/cupsReal1 .060/PageSize[624.96 803.16]/ImagingBBox null>>setpagedevice"
  CustomMedia "Letter.Duplex/Letter AutoDuplex 8.5x11in" 612 783 9.36 24.84 9.36 33.84 "<</cupsInteger0 2/PageSize[612 783]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 783]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4/A4 210x297mm" 595.44 841.68 9.36 9.36 9.36 9.36 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4.FB/A4 Borderless 210x297mm" 608.4 852.84 0 0 0 0 "<</cupsInteger0 26/PageSize[608.4 852.84]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/cupsReal0 .090/cupsReal1 .060/PageSize[608.4 852.84]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4.Duplex/A4 AutoDuplex 210x297mm" 595.44 832.68 9.36 24.84 9.36 33.84 "<</cupsInteger0 26/PageSize[595.44 832.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 832.68]/ImagingBBox null>>setpagedevice"
  CustomMedia "8.5x13/8.5x13in" 612 936 9.36 9.36 9.36 9.36 "<</cupsInteger0 101/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal/Legal 8.5x14in" 612 1008 9.36 9.36 9.36 9.36 "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"

// Envelope
  CustomMedia "EnvA2/A2 Envelope 4.37x5.75in" 314.64 414 9.36 46.8 9.36 46.8 "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvCard/Card Envelope 4.4x6in" 315.36 432 9.36 46.8 9.36 46.8 "<</cupsInteger0 114/PageSize[315.36 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 114/PageSize[315.36 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.28 459.36 9.36 46.8 9.36 46.8 "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou4/#4 Japanese Envelope 90x205mm" 254.88 581.04 9.36 46.8 9.36 46.8 "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279 540 9.36 46.8 9.36 46.8 "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvDL/DL Envelope 110x220mm" 311.76 623.52 9.36 46.8 9.36 46.8 "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env10/#10 Envelope 4.125x9.5in" 297 684 9.36 46.8 9.36 46.8 "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 339.84 666 9.36 46.8 9.36 46.8 "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC5/C5 Envelope 162x229mm" 459.36 649.44 9.36 46.8 9.36 46.8 "<</cupsInteger0 91/PageSize[459.36 649.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 91/PageSize[459.36 649.44]/ImagingBBox null>>setpagedevice"

  {
    // Custom page sizes from 3x4in to Legal
    HWMargins 9.36 9.36 9.36 9.36
    VariablePaperSize Yes
    MinSize 3in 5in
    MaxSize 8.5in 14in

    // <%Corbett:Normal%>
    {
      ModelName "HP Officejet Pro 8000 a809"
      Attribute "NickName" "" "HP Officejet Pro 8000 a809, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet Pro 8000 a809"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet pro 8000 a809;DES:officejet pro 8000 a809;"
      PCFileName "hp-officejet_pro_8000_a809.ppd"
      Attribute "Product" "" "(HP Officejet Pro 8000 Printer - a809a)"
      Attribute "Product" "" "(HP Officejet Pro 8000 Wireless Printer - a809n)"
    }
    {
      ModelName "HP Officejet Pro 8500 a909a"
      Attribute "NickName" "" "HP Officejet Pro 8500 a909a, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet Pro 8500 a909a"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet pro 8500 a909a;DES:officejet pro 8500 a909a;"
      PCFileName "hp-officejet_pro_8500_a909a.ppd"
      Attribute "Product" "" "(HP Officejet Pro 8500 All-in-one Printer - a909a)"
    }
    {
      ModelName "HP Officejet Pro 8500 a909n"
      Attribute "NickName" "" "HP Officejet Pro 8500 a909n, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet Pro 8500 a909n"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet pro 8500 a909n;DES:officejet pro 8500 a909n;"
      PCFileName "hp-officejet_pro_8500_a909n.ppd"
      Attribute "Product" "" "(HP Officejet Pro 8500 Premier All-in-one Printer - a909n)"
    }
    {
      ModelName "HP Officejet Pro 8500 a909g"
      Attribute "NickName" "" "HP Officejet Pro 8500 a909g, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet Pro 8500 a909g"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet pro 8500 a909g;DES:officejet pro 8500 a909g;"
      PCFileName "hp-officejet_pro_8500_a909g.ppd"
      Attribute "Product" "" "(HP Officejet Pro 8500 Wireless All-in-one Printer - a909g)"
    }
    {
      ModelName "HP Officejet Pro 8500 a910"
      Attribute "NickName" "" "HP Officejet Pro 8500 a910, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet Pro 8500 a910"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet pro 8500 a910;DES:officejet pro 8500 a910;"
      PCFileName "hp-officejet_pro_8500_a910.ppd"
      Attribute "Product" "" "(HP Officejet Pro 8500a Plus E-aio Printer - a910g)"
      Attribute "Product" "" "(HP Officejet Pro 8500a Premium E-aio Printer - a910n)"
      Attribute "Product" "" "(HP Officejet Pro 8500a E-aio Printer - a910a)"
    }
  } // End Supported media sizes with full bleed.

} // End Corbett

//////// Ampere
{
  Attribute "cupsEvenDuplex" "" "True"
  Attribute "cupsBackSide" "" "Rotated"
  Attribute "cupsFlipDuplex" "" "True"
  Attribute "hpPrinterLanguage" "" "pcl3gui2"
  Attribute "HPMechOffset" "" "130"

  Group "General/General"

  Option "Duplex/Double-Sided Printing" PickOne AnySetup 10.0
    Choice "DuplexNoTumble/Long Edge (Standard)" "<</Duplex true/Tumble false>>setpagedevice"
    Choice "DuplexTumble/Short Edge (Flip)" "<</Duplex true/Tumble true>>setpagedevice"
    *Choice "None/Off" "<</Duplex false/Tumble false>>setpagedevice"

  // MediaPosition values map to MediaSource enumeration in global_types.h
  Option "InputSlot/Media Source" PickOne AnySetup 10.0
    *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"
    Choice "Tray1/Tray 1" "<</MediaPosition 1>>setpagedevice"
    Choice "Tray2/Tray 2" "<</MediaPosition 4>>setpagedevice"

  Option "ColorModel/Output Mode" PickOne AnySetup 10.0
    *Choice "RGB/Color" "<</cupsColorSpace 17/cupsBitsPerColor 8/cupsRowStep 0>>setpagedevice"
    Choice "CMYGray/High Quality Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 1>>setpagedevice"
    Choice "KGray/Black Only Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2>>setpagedevice"

  // cupsMediaType values map to MEDIATYPE from global_types.h
  Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0>>setpagedevice"
    Choice "Glossy/Photo Paper" "<</MediaType(Glossy)/cupsMediaType 3>>setpagedevice"
    Choice "TransparencyFilm/Transparency Film" "<</MediaType(TransparencyFilm)/cupsMediaType 4>>setpagedevice"

  // cupsCompression values map to QUALITY_MODE from global_types.h
  Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "Normal/Normal" "<</OutputType(0)/HWResolution[600 600]>>setpagedevice"
    Choice "Draft/Draft" "<</OutputType(-1)/HWResolution[600 600]>>setpagedevice"
    Choice "Best/Best" "<</OutputType(1)/HWResolution[600 600]>>setpagedevice"
    Choice "Photo/High-Resolution Photo" "<</OutputType(2)/HWResolution[1200 1200]>>setpagedevice"

  // Duplexer is optional...
  Installable "OptionDuplex/Duplexer Installed"

  //Constraints
     //MediaType & OutputMode
     UIConstraints "*MediaType Plain *OutputMode Photo"
     UIConstraints "*MediaType Glossy *OutputMode Draft"
     UIConstraints "*MediaType TransparencyFilm *OutputMode Draft"


   // Constraints
     //UIConstraints "*Duplex *OptionDuplex False"
     UIConstraints "*PageSize JB5 *Duplex"

 // Constraint FB and Draft
     UIConstraints "*PageSize L.FB *OutputMode Draft"
     UIConstraints "*PageSize Hagaki.FB *OutputMode Draft"
     UIConstraints "*PageSize Photo4x6.FB *OutputMode Draft"
     UIConstraints "*PageSize A6.FB *OutputMode Draft"
     UIConstraints "*PageSize Photo5x7.FB *OutputMode Draft"
     UIConstraints "*PageSize Photo2L.FB *OutputMode Draft"
     UIConstraints "*PageSize A5.FB *OutputMode Draft"
     UIConstraints "*PageSize 8x10.FB *OutputMode Draft"
     UIConstraints "*PageSize Letter.FB *OutputMode Draft"
     UIConstraints "*PageSize A4.FB *OutputMode Draft"
     UIConstraints "*PageSize JB5.FB *OutputMode Draft"

// 4x6 or smaller
  CustomMedia "Card3x5/Index Card 3x5in" 216 360 9.36 9.36 9.36 9.36 "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "L/L 89x127mm" 252.288 360 9.36 9.36 9.36 9.36 "<</cupsInteger0 121/PageSize[252.288 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/PageSize[252.288 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "L.FB/L Borderless 89x127mm" 265 371 0 0 0 0 "<</cupsInteger0 121/PageSize [265 371]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/cupsReal0 .090/cupsReal1 .060/PageSize[265 371]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo3x5/Photo 3x5in" 216 360 9.36 9.36 9.36 9.36 "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo10x15/Photo 10x15cm" 288 432 9.36 9.36 9.36 9.36 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki/Hagaki 100x148mm" 283.464 419.544 9.36 9.36 9.36 9.36 "<</cupsInteger0 71/PageSize[283.464 419.544]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[283.464 419.544]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki.FB/Hagaki Borderless 100x148mm" 296 430 0 0 0 0 "<</cupsInteger0 71/PageSize[296 430]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/cupsReal0 .090/cupsReal1 .050/PageSize[296 430]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card4x6/Index Card 4x6in" 288 432 9.36 9.36 9.36 9.36 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6/Photo 4x6in" 288 432 9.36 9.36 9.36 9.36 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6.FB/Photo Borderless 4x6in" 301 442 0 0 0 0 "<</cupsInteger0 74/PageSize[301 442]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/cupsReal0 .090/cupsReal1 .050/PageSize[301 442]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo10x15.FB/Borderless 10x15cm" 301 442 0 0 0 0 "<</cupsInteger0 74/PageSize[301 442]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/cupsReal0 .090/cupsReal1 .050/PageSize[301 442]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6/A6 105x148mm" 297.648 419.544 9.36 9.36 9.36 9.36 "<</cupsInteger0 73/PageSize[297.648 419.544]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[297.648 419.544]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6.FB/A6 Borderless 105x148mm" 311 431 0 0 0 0 "<</cupsInteger0 73/PageSize[311 431]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/cupsReal0 .090/cupsReal1 .060/PageSize[311 431]/ImagingBBox null>>setpagedevice"

// 5x7
  CustomMedia "Photo5x7/Photo 5x7in" 360 504 9.36 9.36 9.36 9.36 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo13x18/13x18cm" 360 504 9.36 9.36 9.36 9.36 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo5x7.FB/Photo Borderless 5x7in" 372 515 0 0 0 0 "<</cupsInteger0 122/PageSize[372 515]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/cupsReal0 .090/cupsReal1 .060/PageSize[372 515]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo13x18.FB/Borderless 13x18cm" 372 515 0 0 0 0 "<</cupsInteger0 122/PageSize[372 515]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/cupsReal0 .090/cupsReal1 .060/PageSize[372 515]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo2L/Photo 2L 127x178mm" 360 504.576 9.36 9.36 9.36 9.36 "<</cupsInteger0 126/PageSize[360 504.576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 126/PageSize[360 504.576]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo2L.FB/Photo 2L Borderless 127x178mm" 373 515 0 0 0 0 "<</cupsInteger0 126/PageSize[373 515]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 126/cupsReal0 .090/cupsReal1 .060/PageSize[373 515]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku/Oufuku-Hagaki 200x148mm" 566.928 419.544 9.36 9.36 9.36 9.36 "<</cupsInteger0 72/PageSize[566.928 419.544]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[566.928 419.544]/ImagingBBox null>>setpagedevice"

// Standard
  CustomMedia "Card5x8/Index Card 5x8in" 360 576 9.36 9.36 9.36 9.36 "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
  CustomMedia "Statement/Statement 5.5x8.5in" 396 612 9.36 9.36 9.36 9.36 "<</cupsInteger0 15/PageSize[396 612]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 15/PageSize[396 612]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5/A5 148x210mm" 419.544 595.296 9.36 9.36 9.36 9.36 "<</cupsInteger0 25/PageSize[419.544 595.296]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.544 595.296]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5.FB/A5 Borderless 148x210mm" 432 606 0 0 0 0 "<</cupsInteger0 25/PageSize[432 606]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/cupsReal0 .090/cupsReal1 .060/PageSize[432 606]/ImagingBBox null>>setpagedevice"
  CustomMedia "6x8/6x8in" 432 576 9.36 9.36 9.36 9.36 "<</cupsInteger0 101/PageSize[432 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[432 576]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5/JB5 182x257mm" 515.88 728.496 9.36 9.36 9.36 9.36 "<</cupsInteger0 45/PageSize[515.88 728.496]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [515.88 728.496]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5.FB/JB5 Borderless 182x257mm" 529 740 0 0 0 0 "<</cupsInteger0 45/PageSize[529 740]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/cupsReal0 .090/cupsReal1 .060/PageSize [529 740]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5.Duplex/JB5 AutoDuplex 182x257mm" 515.88 728.496 9.36 7.92 9.36 17.28 "<</cupsInteger0 45/PageSize[515.88 728.496]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [515.88 728.496]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive/Executive 7.25x10.5in" 522 756 9.36 9.36 9.36 9.36 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive.Duplex/Executive AutoDuplex 7.25x10.5in" 522 756 9.36 7.92 9.36 17.28 "<</cupsInteger0 1/PageSize[522 747]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 747]/ImagingBBox null>>setpagedevice"
  CustomMedia "8x10/8x10in" 576 720 9.36 9.36 9.36 9.36 "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
  CustomMedia "8x10.FB/Borderless 8x10in" 589 731 0 0 0 0 "<</cupsInteger0 7/PageSize[589 731]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/cupsReal0 .090/cupsReal1 .060/PageSize[589 731]/ImagingBBox null>>setpagedevice"
  *CustomMedia "Letter/Letter 8.5x11in" 612 792 9.36 9.36 9.36 9.36 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
  CustomMedia "Letter.FB/Letter Borderless 8.5x11in" 625 803 0 0 0 0 "<</cupsInteger0 2/PageSize[625 803]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/cupsReal0 .090/cupsReal1 .060/PageSize[625 803]/ImagingBBox null>>setpagedevice"
  CustomMedia "Letter.Duplex/Letter AutoDuplex 8.5x11in" 612 792 9.36 7.92 9.36 17.28 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
    CustomMedia "CardLetter/Index Card Letter 8.5x11in" 612 792 9.36 9.36 9.36 9.36 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4/A4 210x297mm" 595.296 841.896 9.36 9.36 9.36 9.36 "<</cupsInteger0 26/PageSize[595.296 841.896]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.296 841.896]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4.FB/A4 Borderless 210x297mm" 608 853 0 0 0 0 "<</cupsInteger0 26/PageSize[608 853]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/cupsReal0 .090/cupsReal1 .060/PageSize[608 853]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4.Duplex/A4 AutoDuplex 210x297mm" 595.296 841.896 9.36 7.92 9.36 17.28 "<</cupsInteger0 26/PageSize[595.296 841.896]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.296 841.896]/ImagingBBox null>>setpagedevice"
  CustomMedia "CardA4/Index Card A4 210x297mm" 595.44 841.68 9.36 9.36 9.36 9.36 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
  CustomMedia "8.5x13/8.5x13in" 612 936 9.36 9.36 9.36 9.36 "<</cupsInteger0 101/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal/Legal 8.5x14in" 612 1008 9.36 9.36 9.36 9.36 "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"

// Envelope
  CustomMedia "EnvA2/A2 Envelope 4.37x5.75in" 314.64 413.856 9.36 46.8 9.36 9.36 "<</cupsInteger0 109/PageSize[314.64 413.856]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 109/PageSize[314.64 413.856]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvCard/Card Envelope 4.4x6in" 315.36 432 9.36 46.8 9.36 9.36 "<</cupsInteger0 114/PageSize[315.36 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 114/PageSize[315.36 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.136 459.216 9.36 46.8 9.36 9.36 "<</cupsInteger0 92/PageSize[323.136 459.216]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 92/PageSize[323.136 459.216]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou4/#4 Japanese Envelope 90x205mm" 255.096 581.112 9.36 46.8 9.36 9.36 "<</cupsInteger0 111/PageSize[255.096 581.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 111/PageSize[255.096 581.112]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279.36 540 9.36 46.8 9.36 9.36 "<</cupsInteger0 80/PageSize[279.36 540]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 80/PageSize[279.36 540]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvDL/DL Envelope 110x220mm" 311.832 623.52 9.36 46.8 9.36 9.36 "<</cupsInteger0 90/PageSize[311.832 623.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 90/PageSize[311.832 623.52]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env10/#10 Envelope 4.125x9.5in" 297.36 684 9.36 46.8 9.36 9.36 "<</cupsInteger0 81/PageSize[297.36 684]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 81/PageSize[297.36 684]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 340.128 666.144 9.36 46.8 9.36 9.36 "<</cupsInteger0 110/PageSize[340.128 666.144]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 110/PageSize[340.128 666.144]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC5/C5 Envelope 162x229mm" 459.216 649.152 9.36 46.8 9.36 9.36 "<</cupsInteger0 91/PageSize[459.216 649.152]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 91/PageSize[459.216 649.152]/ImagingBBox null>>setpagedevice"

  {
    // Custom page sizes from 3x4in to Legal
    HWMargins 9.36 9.36 9.36 9.36
    VariablePaperSize Yes
    MinSize 3in 5in
    MaxSize 8.5in 14in

    // <%Ampere:Normal%>
    {
      ModelName "HP Officejet Pro 8100"
      Attribute "NickName" "" "HP Officejet Pro 8100, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet Pro 8100"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet pro 8100;DES:officejet pro 8100;"
      PCFileName "hp-officejet_pro_8100.ppd"
      Attribute "Product" "" "(HP Officejet Pro 8100 eprinter-n811a)"
    }
    {
      ModelName "HP Officejet Pro 8600"
      Attribute "NickName" "" "HP Officejet Pro 8600, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet Pro 8600"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet pro 8600;DES:officejet pro 8600;"
      PCFileName "hp-officejet_pro_8600.ppd"
      Attribute "Product" "" "(HP Officejet Pro 8600 E-aio n911a)"
      Attribute "Product" "" "(HP Officejet Pro 8600 Plus E-aio n911g)"
      Attribute "Product" "" "(HP Officejet Pro 8600 Premium E-aio n911n)"
    }
    {
      ModelName "HP Officejet Pro 8610"
      Attribute "NickName" "" "HP Officejet Pro 8610, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet Pro 8610"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:hp officejet pro 8610;DES:hp officejet pro 8610;"
      PCFileName "hp-officejet_pro_8610.ppd"
      Attribute "Product" "" "(HP Officejet Pro 8610 E-all-in-one Printer)"
      Attribute "Product" "" "(HP Officejet Pro 8615 E-all-in-one Printer)"
      Attribute "Product" "" "(HP Officejet Pro 8616 E-all-in-one Printer)"
    }
    {
      ModelName "HP Officejet Pro 8620"
      Attribute "NickName" "" "HP Officejet Pro 8620, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet Pro 8620"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:hp officejet pro 8620;DES:hp officejet pro 8620;"
      PCFileName "hp-officejet_pro_8620.ppd"
      Attribute "Product" "" "(HP Officejet Pro 8620 E-all-in-one Printer)"
      Attribute "Product" "" "(HP Officejet Pro 8625 E-all-in-one Printer)"
    }
    {
      ModelName "HP Officejet Pro 8630"
      Attribute "NickName" "" "HP Officejet Pro 8630, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet Pro 8630"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:hp officejet pro 8630;DES:hp officejet pro 8630;"
      PCFileName "hp-officejet_pro_8630.ppd"
      Attribute "Product" "" "(HP Officejet Pro 8630 E-all-in-one Printer)"
    }
    {
      ModelName "HP Officejet Pro 8640"
      Attribute "NickName" "" "HP Officejet Pro 8640, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet Pro 8640"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:hp officejet pro 8640;DES:hp officejet pro 8640;"
      PCFileName "hp-officejet_pro_8640.ppd"
      Attribute "Product" "" "(HP Officejet Pro 8640 E-all-in-one Printer)"
    }
    {
      ModelName "HP Officejet Pro 8660"
      Attribute "NickName" "" "HP Officejet Pro 8660, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet Pro 8660"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:hp officejet pro 8660;DES:hp officejet pro 8660;"
      PCFileName "hp-officejet_pro_8660.ppd"
      Attribute "Product" "" "(HP Officejet Pro 8660 E-all-in-one Printer)"
    }
  } // End Supported media sizes with full bleed.

} // End Ampere



//////// Python with AutoDuplex and CDDVD (Photosmart c309a series)
{
  Attribute "cupsEvenDuplex" "" "True"
  Attribute "cupsBackSide" "" "Rotated"
  Attribute "cupsFlipDuplex" "" "True"
  Attribute "hpPrinterLanguage" "" "pcl3gui2"
  Attribute "HPMechOffset" "" "69"

  Group "General/General"

  Option "Duplex/Double-Sided Printing" PickOne AnySetup 10.0
    Choice "DuplexNoTumble/Long Edge (Standard)" "<</Duplex true/Tumble false>>setpagedevice"
    Choice "DuplexTumble/Short Edge (Flip)" "<</Duplex true/Tumble true>>setpagedevice"
    *Choice "None/Off" "<</Duplex false/Tumble false>>setpagedevice"

  // MediaPosition values map to MediaSource enumeration in global_types.h
  Option "InputSlot/Media Source" PickOne AnySetup 10.0
   *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"
    Choice "PhotoTray/Photo Tray" "<</MediaPosition 6>>setpagedevice"
    Choice "Upper/Upper Tray" "<</MediaPosition 1>>setpagedevice"
    Choice "CDDVDTray/CD or DVD Tray" "<</MediaPosition 14>>setpagedevice"

  Option "ColorModel/Output Mode" PickOne AnySetup 10.0
    Choice "CMYGray/High Quality Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 1>>setpagedevice"
    Choice "KGray/Black Only Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2>>setpagedevice"
    *Choice "RGB/Color" "<</cupsColorSpace 17/cupsBitsPerColor 8/cupsRowStep 0>>setpagedevice"

  // cupsMediaType values map to MEDIATYPE from global_types.h
  Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Automatic/Automatic" "<</MediaType(Automatic)/cupsMediaType -1>>setpagedevice"
    Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0>>setpagedevice"
    Choice "Glossy/Photo Paper" "<</MediaType(Glossy)/cupsMediaType 3>>setpagedevice"
    Choice "TransparencyFilm/Transparency Film" "<</MediaType(TransparencyFilm)/cupsMediaType 4>>setpagedevice"
    Choice "CDDVDMedia/CD or DVD Media" "<</MediaType(CDDVDMedia)/cupsMediaType 7>>setpagedevice"

  // cupsCompression values map to QUALITY_MODE from global_types.h
  Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    Choice "Auto/Automatic" "<</OutputType(-3)/HWResolution[600 600]>>setpagedevice"
    Choice "FastDraft/Fast Draft" "<</OutputType(-2)/HWResolution[300 300]>>setpagedevice"
    *Choice "Normal/Normal" "<</OutputType(0)/HWResolution[600 600]>>setpagedevice"
    Choice "Best/Best" "<</OutputType(1)/HWResolution[600 600]>>setpagedevice"

  // Duplexer is optional...
  Installable "OptionDuplex/Duplexer Installed"

  // Constraints
  //UIConstraints "*Duplex *OptionDuplex False"
  UIConstraints "*MediaType Automatic *OutputMode FastDraft"
  UIConstraints "*MediaType Glossy *OutputMode FastDraft"
  UIConstraints "*MediaType TransparencyFilm *OutputMode FastDraft"
  UIConstraints "*MediaType TransparencyFilm *OutputMode Best"

  // Non duplex media against duplex
  UIConstraints "*PageSize Card3x5 *Duplex"
  UIConstraints "*PageSize PhotoL *Duplex"
  UIConstraints "*PageSize PhotoL.FB *Duplex"
  UIConstraints "*PageSize Hagaki *Duplex"
  UIConstraints "*PageSize Hagaki.FB *Duplex"
  UIConstraints "*PageSize Card4x6 *Duplex"
  UIConstraints "*PageSize Photo4x6 *Duplex"
  UIConstraints "*PageSize Photo4x6.FB *Duplex"
  UIConstraints "*PageSize A6 *Duplex"
  UIConstraints "*PageSize A6.FB *Duplex"
  UIConstraints "*PageSize HV *Duplex"
  UIConstraints "*PageSize HV.FB *Duplex"
  UIConstraints "*PageSize Photo5x7 *Duplex"
  UIConstraints "*PageSize Photo5x7.FB *Duplex"
  UIConstraints "*PageSize Photo2L *Duplex"
  UIConstraints "*PageSize Photo2L.FB *Duplex"
  UIConstraints "*PageSize Card5x8 *Duplex"
  UIConstraints "*PageSize Oufuku *Duplex"
  UIConstraints "*PageSize Cabinet *Duplex"
  UIConstraints "*PageSize Cabinet.FB *Duplex"
  UIConstraints "*PageSize A5 *Duplex"
  UIConstraints "*PageSize A5.FB *Duplex"
  UIConstraints "*PageSize B5 *Duplex"
  UIConstraints "*PageSize JB5 *Duplex"
  UIConstraints "*PageSize JB5.FB *Duplex"
  UIConstraints "*PageSize 8x10 *Duplex"
  UIConstraints "*PageSize Letter.FB *Duplex"
  UIConstraints "*PageSize A4.FB *Duplex"
  UIConstraints "*PageSize EnvA2 *Duplex"
  UIConstraints "*PageSize EnvC6 *Duplex"
  UIConstraints "*PageSize EnvChou4 *Duplex"
  UIConstraints "*PageSize Env6 *Duplex"
  UIConstraints "*PageSize EnvCard *Duplex"
  UIConstraints "*PageSize EnvMonarch *Duplex"
  UIConstraints "*PageSize EnvDL *Duplex"
  UIConstraints "*PageSize Env10 *Duplex"
  UIConstraints "*PageSize EnvChou3 *Duplex"
  UIConstraints "*PageSize EnvC5 *Duplex"

  // Constraint FB against FastDraft
  UIConstraints "*PageSize PhotoL.FB *OutputMode FastDraft"
  UIConstraints "*PageSize L.FB *OutputMode FastDraft"
  UIConstraints "*PageSize Hagaki.FB *OutputMode FastDraft"
  UIConstraints "*PageSize Photo4x6.FB *OutputMode FastDraft"
  UIConstraints "*PageSize A6.FB *OutputMode FastDraft"
  UIConstraints "*PageSize HV.FB *OutputMode FastDraft"
  UIConstraints "*PageSize Photo5x7.FB *OutputMode FastDraft"
  UIConstraints "*PageSize Photo2L.FB *OutputMode FastDraft"
  UIConstraints "*PageSize Cabinet.FB *OutputMode FastDraft"
  UIConstraints "*PageSize A5.FB *OutputMode FastDraft"
  UIConstraints "*PageSize JB5.FB *OutputMode FastDraft"
  UIConstraints "*PageSize Letter.FB *OutputMode FastDraft"
  UIConstraints "*PageSize A4.FB *OutputMode FastDraft"

// 4x6 or smaller
  CustomMedia "Card3x5/Index Card 3x5in" 216 360 9 9 9 9 "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "PhotoL/Photo 3.5x5in" 252 360 9 9 9 9 "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "PhotoL.FB/Photo Borderless 3.5x5in" 264.744 374.112 0 0 0 0 "<</cupsInteger0 121/PageSize[264.744 374.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/cupsReal0 .079/cupsReal1 .098/PageSize[264.744 374.112]/ImagingBBox null>>setpagedevice"
  CustomMedia "L/L 89x127mm" 252 360 9 9 9 9 "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "L.FB/L Borderless 89x127mm" 264.744 374.112 0 0 0 0 "<</cupsInteger0 121/PageSize[264.744 374.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/cupsReal0 .079/cupsReal1 .098/PageSize[264.744 374.112]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki/Hagaki 100x148mm" 283.68 419.76 9 9 9 9 "<</cupsInteger0 71/PageSize[283.68 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[283.68 419.76]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki.FB/Hagaki Borderless 100x148mm" 296.424 433.872 0 0 0 0 "<</cupsInteger0 71/PageSize[296.424 433.872]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/cupsReal0 .079/cupsReal1 .098/PageSize[296.424 433.872]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki.Duplex/Hagaki AutoDuplex 100x148mm" 283.68 410.76 9 0 9 9 "<</cupsInteger0 71/PageSize[283.68 410.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[283.68 410.76]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card4x6/Index Card 4x6in" 288 432 9 9 9 9 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card4x6.Duplex/Index Card AutoDuplex 4x6in" 288 423 9 0 9 9 "<</cupsInteger0 74/PageSize[288 423]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 423]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6/Photo 4x6in" 288 432 9 9 9 9 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6.FB/Photo Borderless 4x6in" 303.552 446.112 0 0 0 0 "<</cupsInteger0 74/PageSize[303.552 446.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/cupsReal0 .098/cupsReal1 .098/PageSize[303.552 446.112]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6/A6 105x148mm" 297.36 419.76 9 9 9 9 "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6.FB/A6 Borderless 105x148mm" 310.104 433.872 0 0 0 0 "<</cupsInteger0 73/PageSize[310.104 433.872]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/cupsReal0 .079/cupsReal1 .098/PageSize[310.104 433.872]/ImagingBBox null>>setpagedevice"

// 5x7
  CustomMedia "HV/HV 101x180mm" 286.56 510.48 9 9 9 9 "<</cupsInteger0 101/PageSize[286.56 510.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[286.56 510.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "HV.FB/HV Borderless 101x180mm" 302.112 524.592 0 0 0 0 "<</cupsInteger0 101/PageSize[302.112 524.592]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/cupsReal0 .098/cupsReal1 .098/PageSize[302.112 524.592]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo5x7/Photo 5x7in" 360 504 9 9 9 9 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo5x7.FB/Photo Borderless 5x7in" 372.816 518.112 0 0 0 0 "<</cupsInteger0 122/PageSize[372.816 518.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/cupsReal0 .089/cupsReal1 .098/PageSize[372.816 518.112]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo2L/Photo 2L 127x178mm" 360 504 9 9 9 9 "<</cupsInteger0 126/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 126/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo2L.FB/Photo 2L Borderless 127x178mm" 372.816 518.112 0 0 0 0 "<</cupsInteger0 126/PageSize[372.816 518.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 126/cupsReal0 .089/cupsReal1 .098/PageSize[372.816 518.112]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card5x8/Index Card 5x8in" 360 576 9 9 9 9 "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card5x8.Duplex/Index Card AutoDuplex 5x8in" 360 567 9 27 9 36 "<</cupsInteger0 75/PageSize[360 567]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 567]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku/Oufuku-Hagaki 200x148mm" 566.64 419.76 9 9 9 9 "<</cupsInteger0 72/PageSize[566.64 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[566.64 419.76]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku.Duplex/Oufuku-Hagaki AutoDuplex 200x148mm" 566.64 410.76 9 0 9 9 "<</cupsInteger0 72/PageSize[566.64 410.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[566.64 410.76]/ImagingBBox null>>setpagedevice"
  CustomMedia "Cabinet/Cabinet Size 120x165" 339.84 468 9 9 9 9 "<</cupsInteger0 119/PageSize[339.84 468]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 119/PageSize[339.84 468]/ImagingBBox null>>setpagedevice"
  CustomMedia "Cabinet.FB/Cabinet Size 120x165 Borderless" 352.584 482.112 0 0 0 0 "<</cupsInteger0 119/PageSize[352.584 482.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 119/cupsReal0 .079/cupsReal1 .098/PageSize[352.584 482.112]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5/A5 148x210mm" 419.76 595.44 9 9 9 9 "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5.FB/A5 Borderless 148x210mm" 435.312 609.552 0 0 0 0 "<</cupsInteger0 25/PageSize[435.312 609.552]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/cupsReal0 .098/cupsReal1 .098/PageSize[435.312 609.552]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5.Duplex/A5 AutoDuplex 148x210mm" 419.76 586.44 9 33.192 9 42.192 "<</cupsInteger0 25/PageSize[419.76 586.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.76 586.44]/ImagingBBox null>>setpagedevice"

// Standard
  CustomMedia "B5/B5 176x250mm" 498.96 708.48 9 9 9 9 "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "B5.Duplex/B5 AutoDuplex 176x250mm" 498.96 699.48 9 33.192 9 42.192 "<</cupsInteger0 65/PageSize[498.96 699.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[498.96 699.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5/JB5 182x257mm" 516.24 728.64 9 9 9 9 "<</cupsInteger0 45/PageSize[516.24 728.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5.FB/JB5 Borderless 182x257mm" 531.792 742.752 0 0 0 0 "<</cupsInteger0 45/PageSize[531.792 742.752]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/cupsReal0 .098/cupsReal1 .098/PageSize [531.792 742.752]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5.Duplex/JB5 AutoDuplex 182x257mm" 516.24 719.64 9 33.192 9 42.192 "<</cupsInteger0 45/PageSize[516.24 719.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [516.24 719.64]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive/Executive 7.25x10.5in" 522 756 9 9 9 9 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive.Duplex/Executive AutoDuplex 7.25x10.5in" 522 747 9 33.192 9 42.192 "<</cupsInteger0 1/PageSize[522 747]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 747]/ImagingBBox null>>setpagedevice"
  CustomMedia "8x10/8x10in" 576 720 9 9 9 9 "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
  *CustomMedia "Letter/Letter 8.5x11in" 612 792 9 9 9 9 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
  CustomMedia "Letter.FB/Letter Borderless 8.5x11in" 627.552 806.112 0 0 0 0 "<</cupsInteger0 2/PageSize[627.552 806.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/cupsReal0 .098/cupsReal1 .098/PageSize[627.552 806.112]/ImagingBBox null>>setpagedevice"
  CustomMedia "Letter.Duplex/Letter AutoDuplex 8.5x11in" 612 783 9 33.192 9 42.192 "<</cupsInteger0 2/PageSize[612 783]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 783]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4/A4 210x297mm" 595.44 841.68 9 9 9 9 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4.FB/A4 Borderless 210x297mm" 610.992 855.792 0 0 0 0 "<</cupsInteger0 26/PageSize[610.992 855.792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/cupsReal0 .098/cupsReal1 .098/PageSize[610.992 855.792]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4.Duplex/A4 AutoDuplex 210x297mm" 595.44 832.68 9 33.192 9 42.192 "<</cupsInteger0 26/PageSize[595.44 832.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 832.68]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal/Legal 8.5x14in" 612 1008 9 9 9 9 "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"

// Envelope
  CustomMedia "EnvA2/A2 Envelope 4.37x5.75in" 314.64 414 9 42.192 9 9 "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.28 459.36 9 42.192 9 9 "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou4/#4 Japanese Envelope 90x205mm" 254.88 581.04 9 42.192 9 9 "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env6/#6 Envelope 3.63x6.5in" 261.36 468 9 42.192 9 9 "<</cupsInteger0 83/PageSize[261.36 468]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 83/PageSize[261.36 468]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvCard/Card Envelope 4.4x6in" 315 432 9 42.192 9 9 "<</cupsInteger0 114/PageSize[315 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 114/PageSize[315 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279 540 9 42.192 9 9 "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvDL/DL Envelope 110x220mm" 311.76 623.52 9 42.192 9 9 "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env10/#10 Envelope 4.125x9.5in" 297 684 9 42.192 9 9 "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 339.84 666 9 42.192 9 9 "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC5/C5 Envelope 162x229mm" 459.36 649.44 9 42.192 9 9 "<</cupsInteger0 91/PageSize[459.36 649.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 91/PageSize[459.36 649.44]/ImagingBBox null>>setpagedevice"

  {
    // CDDVD
    UIConstraints "*InputSlot CDDVDTray *MediaType Automatic"
    UIConstraints "*InputSlot CDDVDTray *MediaType Plain"
    UIConstraints "*InputSlot CDDVDTray *MediaType Glossy"
    UIConstraints "*InputSlot CDDVDTray *MediaType TransparencyFilm"

    // CDDVD
    CustomMedia "CDDVD80/CD DVD 80mm" 254.88 254.88 14.184 14.184 14.184 14.184 "<</cupsInteger0 98/PageSize[254.88 254.88]/ImagingBBox null>>setpagedevice"
           "<</cupsInteger0 98/PageSize[254.88 254.88]/ImagingBBox null>>setpagedevice"
    CustomMedia "CDDVD120/CD DVD 120mm" 368.64 368.64 14.184 14.184 14.184 14.184 "<</cupsInteger0 99/PageSize[368.64 368.64]/ImagingBBox null>>setpagedevice"
           "<</cupsInteger0 99/PageSize[368.64 368.64]/ImagingBBox null>>setpagedevice"

    // Custom page sizes from 3x4in to Legal
    HWMargins 9 9 9 9
    VariablePaperSize Yes
    MinSize 3in 4in
    MaxSize 8.5in 30in

    // <%Python:NoMaxDPI%>
    {
      ModelName "HP Photosmart c309a Series"
      Attribute "NickName" "" "HP Photosmart c309a Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart c309a Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart c309a series;DES:photosmart c309a series;"
      PCFileName "hp-photosmart_c309a_series.ppd"
      Attribute "Product" "" "(HP Photosmart Premium Fax All-in-one Printer - c309a)"
    }
  } // End Supported media sizes with full bleed and Duplex.

} // End Python with AutoDuplex and CDDVD

//////// Python without CD-DVD
{
  Attribute "cupsEvenDuplex" "" "True"
  Attribute "cupsBackSide" "" "Rotated"
  Attribute "cupsFlipDuplex" "" "True"
  Attribute "hpPrinterLanguage" "" "pcl3gui2"
  Attribute "HPMechOffset" "" "69"

  Group "General/General"

  Option "Duplex/Double-Sided Printing" PickOne AnySetup 10.0
    Choice "DuplexNoTumble/Long Edge (Standard)" "<</Duplex true/Tumble false>>setpagedevice"
    Choice "DuplexTumble/Short Edge (Flip)" "<</Duplex true/Tumble true>>setpagedevice"
    *Choice "None/Off" "<</Duplex false/Tumble false>>setpagedevice"

  // MediaPosition values map to MediaSource enumeration in global_types.h
  Option "InputSlot/Media Source" PickOne AnySetup 10.0
   *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"
    Choice "PhotoTray/Photo Tray" "<</MediaPosition 6>>setpagedevice"
    Choice "Upper/Upper Tray" "<</MediaPosition 1>>setpagedevice"

  Option "ColorModel/Output Mode" PickOne AnySetup 10.0
    Choice "CMYGray/High Quality Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 1>>setpagedevice"
    Choice "KGray/Black Only Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2>>setpagedevice"
    *Choice "RGB/Color" "<</cupsColorSpace 17/cupsBitsPerColor 8/cupsRowStep 0>>setpagedevice"

  // cupsMediaType values map to MEDIATYPE from global_types.h
  Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Automatic/Automatic" "<</MediaType(Automatic)/cupsMediaType -1>>setpagedevice"
    Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0>>setpagedevice"
    Choice "Glossy/Photo Paper" "<</MediaType(Glossy)/cupsMediaType 3>>setpagedevice"
    Choice "TransparencyFilm/Transparency Film" "<</MediaType(TransparencyFilm)/cupsMediaType 4>>setpagedevice"

  // cupsCompression values map to QUALITY_MODE from global_types.h
  Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    Choice "Auto/Automatic" "<</OutputType(-3)/HWResolution[600 600]>>setpagedevice"
    Choice "FastDraft/Fast Draft" "<</OutputType(-2)/HWResolution[300 300]>>setpagedevice"
    *Choice "Normal/Normal" "<</OutputType(0)/HWResolution[600 600]>>setpagedevice"
    Choice "Best/Best" "<</OutputType(1)/HWResolution[600 600]>>setpagedevice"
    Choice "Photo/High-Resolution Photo" "<</OutputType(2)/HWResolution[1200 1200]>>setpagedevice"

  // Duplexer is optional...
  Installable "OptionDuplex/Duplexer Installed"

  // Constraints
  //UIConstraints "*Duplex *OptionDuplex False"
  UIConstraints "*ColorModel KGray *OutputMode Photo"
  UIConstraints "*ColorModel CMYGray *OutputMode Photo"
  UIConstraints "*MediaType Automatic *OutputMode FastDraft"
  UIConstraints "*MediaType Glossy *OutputMode FastDraft"
  UIConstraints "*MediaType TransparencyFilm *OutputMode FastDraft"
  UIConstraints "*MediaType TransparencyFilm *OutputMode Best"
  UIConstraints "*MediaType TransparencyFilm *OutputMode Photo"
  UIConstraints "*MediaType Plain *OutputMode Photo"

  // Non duplex media against duplex
  UIConstraints "*PageSize Card3x5 *Duplex"
  UIConstraints "*PageSize PhotoL *Duplex"
  UIConstraints "*PageSize PhotoL.FB *Duplex"
  UIConstraints "*PageSize Hagaki *Duplex"
  UIConstraints "*PageSize Hagaki.FB *Duplex"
  UIConstraints "*PageSize Card4x6 *Duplex"
  UIConstraints "*PageSize Photo4x6 *Duplex"
  UIConstraints "*PageSize Photo4x6.FB *Duplex"
  UIConstraints "*PageSize A6 *Duplex"
  UIConstraints "*PageSize A6.FB *Duplex"
  UIConstraints "*PageSize HV *Duplex"
  UIConstraints "*PageSize HV.FB *Duplex"
  UIConstraints "*PageSize Photo5x7 *Duplex"
  UIConstraints "*PageSize Photo5x7.FB *Duplex"
  UIConstraints "*PageSize Photo2L *Duplex"
  UIConstraints "*PageSize Photo2L.FB *Duplex"
  UIConstraints "*PageSize Card5x8 *Duplex"
  UIConstraints "*PageSize Oufuku *Duplex"
  UIConstraints "*PageSize Cabinet *Duplex"
  UIConstraints "*PageSize Cabinet.FB *Duplex"
  UIConstraints "*PageSize A5 *Duplex"
  UIConstraints "*PageSize A5.FB *Duplex"
  UIConstraints "*PageSize B5 *Duplex"
  UIConstraints "*PageSize JB5 *Duplex"
  UIConstraints "*PageSize JB5.FB *Duplex"
  UIConstraints "*PageSize 8x10 *Duplex"
  UIConstraints "*PageSize Letter.FB *Duplex"
  UIConstraints "*PageSize A4.FB *Duplex"
  UIConstraints "*PageSize EnvA2 *Duplex"
  UIConstraints "*PageSize EnvC6 *Duplex"
  UIConstraints "*PageSize EnvChou4 *Duplex"
  UIConstraints "*PageSize Env6 *Duplex"
  UIConstraints "*PageSize EnvCard *Duplex"
  UIConstraints "*PageSize EnvMonarch *Duplex"
  UIConstraints "*PageSize EnvDL *Duplex"
  UIConstraints "*PageSize Env10 *Duplex"
  UIConstraints "*PageSize EnvChou3 *Duplex"
  UIConstraints "*PageSize EnvC5 *Duplex"

  // Constraint FB against FastDraft
  UIConstraints "*PageSize PhotoL.FB *OutputMode FastDraft"
  UIConstraints "*PageSize L.FB *OutputMode FastDraft"
  UIConstraints "*PageSize Hagaki.FB *OutputMode FastDraft"
  UIConstraints "*PageSize Photo4x6.FB *OutputMode FastDraft"
  UIConstraints "*PageSize A6.FB *OutputMode FastDraft"
  UIConstraints "*PageSize HV.FB *OutputMode FastDraft"
  UIConstraints "*PageSize Photo5x7.FB *OutputMode FastDraft"
  UIConstraints "*PageSize Photo2L.FB *OutputMode FastDraft"
  UIConstraints "*PageSize Cabinet.FB *OutputMode FastDraft"
  UIConstraints "*PageSize A5.FB *OutputMode FastDraft"
  UIConstraints "*PageSize JB5.FB *OutputMode FastDraft"
  UIConstraints "*PageSize Letter.FB *OutputMode FastDraft"
  UIConstraints "*PageSize A4.FB *OutputMode FastDraft"

// 4x6 or smaller
  CustomMedia "Card3x5/Index Card 3x5in" 216 360 9 9 9 9 "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "PhotoL/Photo 3.5x5in" 252 360 9 9 9 9 "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "PhotoL.FB/Photo Borderless 3.5x5in" 264.744 374.112 0 0 0 0 "<</cupsInteger0 121/PageSize[264.744 374.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/cupsReal0 .079/cupsReal1 .098/PageSize[264.744 374.112]/ImagingBBox null>>setpagedevice"
  CustomMedia "L/L 89x127mm" 252 360 9 9 9 9 "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "L.FB/L Borderless 89x127mm" 264.744 374.112 0 0 0 0 "<</cupsInteger0 121/PageSize[264.744 374.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/cupsReal0 .079/cupsReal1 .098/PageSize[264.744 374.112]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki/Hagaki 100x148mm" 283.68 419.76 9 9 9 9 "<</cupsInteger0 71/PageSize[283.68 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[283.68 419.76]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki.FB/Hagaki Borderless 100x148mm" 296.424 433.872 0 0 0 0 "<</cupsInteger0 71/PageSize[296.424 433.872]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/cupsReal0 .079/cupsReal1 .098/PageSize[296.424 433.872]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki.Duplex/Hagaki AutoDuplex 100x148mm" 283.68 410.76 9 0 9 9 "<</cupsInteger0 71/PageSize[283.68 410.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[283.68 410.76]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card4x6/Index Card 4x6in" 288 432 9 9 9 9 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card4x6.Duplex/Index Card AutoDuplex 4x6in" 288 423 9 0 9 9 "<</cupsInteger0 74/PageSize[288 423]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 423]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6/Photo 4x6in" 288 432 9 9 9 9 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6.FB/Photo Borderless 4x6in" 303.552 446.112 0 0 0 0 "<</cupsInteger0 74/PageSize[303.552 446.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/cupsReal0 .098/cupsReal1 .098/PageSize[303.552 446.112]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6/A6 105x148mm" 297.36 419.76 9 9 9 9 "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6.FB/A6 Borderless 105x148mm" 310.104 433.872 0 0 0 0 "<</cupsInteger0 73/PageSize[310.104 433.872]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/cupsReal0 .079/cupsReal1 .098/PageSize[310.104 433.872]/ImagingBBox null>>setpagedevice"

// 5x7
  CustomMedia "HV/HV 101x180mm" 286.56 510.48 9 9 9 9 "<</cupsInteger0 101/PageSize[286.56 510.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[286.56 510.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "HV.FB/HV Borderless 101x180mm" 302.112 524.592 0 0 0 0 "<</cupsInteger0 101/PageSize[302.112 524.592]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/cupsReal0 .098/cupsReal1 .098/PageSize[302.112 524.592]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo5x7/Photo 5x7in" 360 504 9 9 9 9 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo5x7.FB/Photo Borderless 5x7in" 372.816 518.112 0 0 0 0 "<</cupsInteger0 122/PageSize[372.816 518.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/cupsReal0 .089/cupsReal1 .098/PageSize[372.816 518.112]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo2L/Photo 2L 127x178mm" 360 504 9 9 9 9 "<</cupsInteger0 126/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 126/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo2L.FB/Photo 2L Borderless 127x178mm" 372.816 518.112 0 0 0 0 "<</cupsInteger0 126/PageSize[372.816 518.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 126/cupsReal0 .089/cupsReal1 .098/PageSize[372.816 518.112]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card5x8/Index Card 5x8in" 360 576 9 9 9 9 "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card5x8.Duplex/Index Card AutoDuplex 5x8in" 360 567 9 27 9 36 "<</cupsInteger0 75/PageSize[360 567]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 567]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku/Oufuku-Hagaki 200x148mm" 566.64 419.76 9 9 9 9 "<</cupsInteger0 72/PageSize[566.64 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[566.64 419.76]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku.Duplex/Oufuku-Hagaki AutoDuplex 200x148mm" 566.64 410.76 9 0 9 9 "<</cupsInteger0 72/PageSize[566.64 410.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[566.64 410.76]/ImagingBBox null>>setpagedevice"
  CustomMedia "Cabinet/Cabinet Size 120x165" 339.84 468 9 9 9 9 "<</cupsInteger0 119/PageSize[339.84 468]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 119/PageSize[339.84 468]/ImagingBBox null>>setpagedevice"
  CustomMedia "Cabinet.FB/Cabinet Size 120x165 Borderless" 352.584 482.112 0 0 0 0 "<</cupsInteger0 119/PageSize[352.584 482.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 119/cupsReal0 .079/cupsReal1 .098/PageSize[352.584 482.112]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5/A5 148x210mm" 419.76 595.44 9 9 9 9 "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5.FB/A5 Borderless 148x210mm" 435.312 609.552 0 0 0 0 "<</cupsInteger0 25/PageSize[435.312 609.552]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/cupsReal0 .098/cupsReal1 .098/PageSize[435.312 609.552]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5.Duplex/A5 AutoDuplex 148x210mm" 419.76 586.44 9 33.192 9 42.192 "<</cupsInteger0 25/PageSize[419.76 586.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.76 586.44]/ImagingBBox null>>setpagedevice"

// Standard
  CustomMedia "B5/B5 176x250mm" 498.96 708.48 9 9 9 9 "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "B5.Duplex/B5 AutoDuplex 176x250mm" 498.96 699.48 9 33.192 9 42.192 "<</cupsInteger0 65/PageSize[498.96 699.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[498.96 699.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5/JB5 182x257mm" 516.24 728.64 9 9 9 9 "<</cupsInteger0 45/PageSize[516.24 728.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5.FB/JB5 Borderless 182x257mm" 531.792 742.752 0 0 0 0 "<</cupsInteger0 45/PageSize[531.792 742.752]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/cupsReal0 .098/cupsReal1 .098/PageSize [531.792 742.752]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5.Duplex/JB5 AutoDuplex 182x257mm" 516.24 719.64 9 33.192 9 42.192 "<</cupsInteger0 45/PageSize[516.24 719.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [516.24 719.64]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive/Executive 7.25x10.5in" 522 756 9 9 9 9 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive.Duplex/Executive AutoDuplex 7.25x10.5in" 522 747 9 33.192 9 42.192 "<</cupsInteger0 1/PageSize[522 747]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 747]/ImagingBBox null>>setpagedevice"
  CustomMedia "8x10/8x10in" 576 720 9 9 9 9 "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
  *CustomMedia "Letter/Letter 8.5x11in" 612 792 9 9 9 9 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
  CustomMedia "Letter.FB/Letter Borderless 8.5x11in" 627.552 806.112 0 0 0 0 "<</cupsInteger0 2/PageSize[627.552 806.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/cupsReal0 .098/cupsReal1 .098/PageSize[627.552 806.112]/ImagingBBox null>>setpagedevice"
  CustomMedia "Letter.Duplex/Letter AutoDuplex 8.5x11in" 612 783 9 33.192 9 42.192 "<</cupsInteger0 2/PageSize[612 783]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 783]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4/A4 210x297mm" 595.44 841.68 9 9 9 9 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4.FB/A4 Borderless 210x297mm" 610.992 855.792 0 0 0 0 "<</cupsInteger0 26/PageSize[610.992 855.792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/cupsReal0 .098/cupsReal1 .098/PageSize[610.992 855.792]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4.Duplex/A4 AutoDuplex 210x297mm" 595.44 832.68 9 33.192 9 42.192 "<</cupsInteger0 26/PageSize[595.44 832.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 832.68]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal/Legal 8.5x14in" 612 1008 9 9 9 9 "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"

// Envelope
  CustomMedia "EnvA2/A2 Envelope 4.37x5.75in" 314.64 414 9 42.192 9 9 "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.28 459.36 9 42.192 9 9 "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou4/#4 Japanese Envelope 90x205mm" 254.88 581.04 9 42.192 9 9 "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env6/#6 Envelope 3.63x6.5in" 261.36 468 9 42.192 9 9 "<</cupsInteger0 83/PageSize[261.36 468]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 83/PageSize[261.36 468]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvCard/Card Envelope 4.4x6in" 315 432 9 42.192 9 9 "<</cupsInteger0 114/PageSize[315 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 114/PageSize[315 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279 540 9 42.192 9 9 "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvDL/DL Envelope 110x220mm" 311.76 623.52 9 42.192 9 9 "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env10/#10 Envelope 4.125x9.5in" 297 684 9 42.192 9 9 "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 339.84 666 9 42.192 9 9 "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC5/C5 Envelope 162x229mm" 459.36 649.44 9 42.192 9 9 "<</cupsInteger0 91/PageSize[459.36 649.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 91/PageSize[459.36 649.44]/ImagingBBox null>>setpagedevice"

  // Custom page sizes from 3x4in to Legal
  HWMargins 9 9 9 9
  VariablePaperSize Yes
  MinSize 3in 4in
  MaxSize 8.5in 30in

  // <%Python:NoCDDVD%>
  {
    ModelName "HP Officejet 6000 e609n"
    Attribute "NickName" "" "HP Officejet 6000 e609n, hpcups $Version"
    Attribute "ShortNickName" "" "HP Officejet 6000 e609n"
    Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet 6000 e609n;DES:officejet 6000 e609n;"
    PCFileName "hp-officejet_6000_e609n.ppd"
    Attribute "Product" "" "(HP Officejet 6000 Wireless Printer - e609n)"
  }
  {
    ModelName "HP Officejet 6500 e709n"
    Attribute "NickName" "" "HP Officejet 6500 e709n, hpcups $Version"
    Attribute "ShortNickName" "" "HP Officejet 6500 e709n"
    Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet 6500 e709n;DES:officejet 6500 e709n;"
    PCFileName "hp-officejet_6500_e709n.ppd"
    Attribute "Product" "" "(HP Officejet 6500 Wireless All-in-one Printer - e709n)"
    Attribute "Product" "" "(HP Officejet 6500 Wireless All-in-one Printer - e709q)"
  }
  // End Supported media sizes with full bleed and Duplex.

} // End Python without CD-DVD

//////// Python without CD-DVD and NoMaxDPI
{
  Attribute "cupsEvenDuplex" "" "True"
  Attribute "cupsBackSide" "" "Rotated"
  Attribute "cupsFlipDuplex" "" "True"
  Attribute "hpPrinterLanguage" "" "pcl3gui2"
  Attribute "HPMechOffset" "" "69"

  Group "General/General"

  Option "Duplex/Double-Sided Printing" PickOne AnySetup 10.0
    Choice "DuplexNoTumble/Long Edge (Standard)" "<</Duplex true/Tumble false>>setpagedevice"
    Choice "DuplexTumble/Short Edge (Flip)" "<</Duplex true/Tumble true>>setpagedevice"
    *Choice "None/Off" "<</Duplex false/Tumble false>>setpagedevice"

  // MediaPosition values map to MediaSource enumeration in global_types.h
  Option "InputSlot/Media Source" PickOne AnySetup 10.0
   *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"
    Choice "PhotoTray/Photo Tray" "<</MediaPosition 6>>setpagedevice"
    Choice "Upper/Upper Tray" "<</MediaPosition 1>>setpagedevice"

  Option "ColorModel/Output Mode" PickOne AnySetup 10.0
    Choice "CMYGray/High Quality Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 1>>setpagedevice"
    Choice "KGray/Black Only Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2>>setpagedevice"
    *Choice "RGB/Color" "<</cupsColorSpace 17/cupsBitsPerColor 8/cupsRowStep 0>>setpagedevice"

  // cupsMediaType values map to MEDIATYPE from global_types.h
  Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Automatic/Automatic" "<</MediaType(Automatic)/cupsMediaType -1>>setpagedevice"
    Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0>>setpagedevice"
    Choice "Glossy/Photo Paper" "<</MediaType(Glossy)/cupsMediaType 3>>setpagedevice"
    Choice "TransparencyFilm/Transparency Film" "<</MediaType(TransparencyFilm)/cupsMediaType 4>>setpagedevice"

  // cupsCompression values map to QUALITY_MODE from global_types.h
  Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "Normal/Normal" "<</OutputType(0)/HWResolution[600 600]>>setpagedevice"
    Choice "Best/Best" "<</OutputType(1)/HWResolution[600 600]>>setpagedevice"
    Choice "FastDraft/Fast Draft" "<</OutputType(-2)/HWResolution[300 300]>>setpagedevice"
    Choice "Auto/Automatic" "<</OutputType(-3)/HWResolution[600 600]>>setpagedevice"

  // Duplexer is optional...
  Installable "OptionDuplex/Duplexer Installed"

  // Constraints
  //UIConstraints "*Duplex *OptionDuplex False"
  UIConstraints "*MediaType Automatic *OutputMode FastDraft"
  UIConstraints "*MediaType Glossy *OutputMode FastDraft"
  UIConstraints "*MediaType TransparencyFilm *OutputMode FastDraft"
  UIConstraints "*MediaType TransparencyFilm *OutputMode Best"

  // Non duplex media against duplex
  UIConstraints "*PageSize Card3x5 *Duplex"
  UIConstraints "*PageSize PhotoL *Duplex"
  UIConstraints "*PageSize PhotoL.FB *Duplex"
  UIConstraints "*PageSize Hagaki *Duplex"
  UIConstraints "*PageSize Hagaki.FB *Duplex"
  UIConstraints "*PageSize Card4x6 *Duplex"
  UIConstraints "*PageSize Photo4x6 *Duplex"
  UIConstraints "*PageSize Photo4x6.FB *Duplex"
  UIConstraints "*PageSize A6 *Duplex"
  UIConstraints "*PageSize A6.FB *Duplex"
  UIConstraints "*PageSize HV *Duplex"
  UIConstraints "*PageSize HV.FB *Duplex"
  UIConstraints "*PageSize Photo5x7 *Duplex"
  UIConstraints "*PageSize Photo5x7.FB *Duplex"
  UIConstraints "*PageSize Photo2L *Duplex"
  UIConstraints "*PageSize Photo2L.FB *Duplex"
  UIConstraints "*PageSize Card5x8 *Duplex"
  UIConstraints "*PageSize Oufuku *Duplex"
  UIConstraints "*PageSize Cabinet *Duplex"
  UIConstraints "*PageSize Cabinet.FB *Duplex"
  UIConstraints "*PageSize A5 *Duplex"
  UIConstraints "*PageSize A5.FB *Duplex"
  UIConstraints "*PageSize B5 *Duplex"
  UIConstraints "*PageSize JB5 *Duplex"
  UIConstraints "*PageSize JB5.FB *Duplex"
  UIConstraints "*PageSize 8x10 *Duplex"
  UIConstraints "*PageSize Letter.FB *Duplex"
  UIConstraints "*PageSize A4.FB *Duplex"
  UIConstraints "*PageSize EnvA2 *Duplex"
  UIConstraints "*PageSize EnvC6 *Duplex"
  UIConstraints "*PageSize EnvChou4 *Duplex"
  UIConstraints "*PageSize Env6 *Duplex"
  UIConstraints "*PageSize EnvCard *Duplex"
  UIConstraints "*PageSize EnvMonarch *Duplex"
  UIConstraints "*PageSize EnvDL *Duplex"
  UIConstraints "*PageSize Env10 *Duplex"
  UIConstraints "*PageSize EnvChou3 *Duplex"
  UIConstraints "*PageSize EnvC5 *Duplex"

  // Constraint FB against FastDraft
  UIConstraints "*PageSize PhotoL.FB *OutputMode FastDraft"
  UIConstraints "*PageSize L.FB *OutputMode FastDraft"
  UIConstraints "*PageSize Hagaki.FB *OutputMode FastDraft"
  UIConstraints "*PageSize Photo4x6.FB *OutputMode FastDraft"
  UIConstraints "*PageSize A6.FB *OutputMode FastDraft"
  UIConstraints "*PageSize HV.FB *OutputMode FastDraft"
  UIConstraints "*PageSize Photo5x7.FB *OutputMode FastDraft"
  UIConstraints "*PageSize Photo2L.FB *OutputMode FastDraft"
  UIConstraints "*PageSize Cabinet.FB *OutputMode FastDraft"
  UIConstraints "*PageSize A5.FB *OutputMode FastDraft"
  UIConstraints "*PageSize JB5.FB *OutputMode FastDraft"
  UIConstraints "*PageSize Letter.FB *OutputMode FastDraft"
  UIConstraints "*PageSize A4.FB *OutputMode FastDraft"

// 4x6 or smaller
  CustomMedia "Card3x5/Index Card 3x5in" 216 360 9 9 9 9 "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "PhotoL/Photo 3.5x5in" 252 360 9 9 9 9 "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "PhotoL.FB/Photo Borderless 3.5x5in" 264.744 374.112 0 0 0 0 "<</cupsInteger0 121/PageSize[264.744 374.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/cupsReal0 .079/cupsReal1 .098/PageSize[264.744 374.112]/ImagingBBox null>>setpagedevice"
  CustomMedia "L/L 89x127mm" 252 360 9 9 9 9 "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "L.FB/L Borderless 89x127mm" 264.744 374.112 0 0 0 0 "<</cupsInteger0 121/PageSize[264.744 374.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/cupsReal0 .079/cupsReal1 .098/PageSize[264.744 374.112]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki/Hagaki 100x148mm" 283.68 419.76 9 9 9 9 "<</cupsInteger0 71/PageSize[283.68 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[283.68 419.76]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki.FB/Hagaki Borderless 100x148mm" 296.424 433.872 0 0 0 0 "<</cupsInteger0 71/PageSize[296.424 433.872]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/cupsReal0 .079/cupsReal1 .098/PageSize[296.424 433.872]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki.Duplex/Hagaki AutoDuplex 100x148mm" 283.68 410.76 9 0 9 9 "<</cupsInteger0 71/PageSize[283.68 410.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[283.68 410.76]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card4x6/Index Card 4x6in" 288 432 9 9 9 9 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card4x6.Duplex/Index Card AutoDuplex 4x6in" 288 423 9 0 9 9 "<</cupsInteger0 74/PageSize[288 423]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 423]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6/Photo 4x6in" 288 432 9 9 9 9 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6.FB/Photo Borderless 4x6in" 303.552 446.112 0 0 0 0 "<</cupsInteger0 74/PageSize[303.552 446.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/cupsReal0 .098/cupsReal1 .098/PageSize[303.552 446.112]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6/A6 105x148mm" 297.36 419.76 9 9 9 9 "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6.FB/A6 Borderless 105x148mm" 310.104 433.872 0 0 0 0 "<</cupsInteger0 73/PageSize[310.104 433.872]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/cupsReal0 .079/cupsReal1 .098/PageSize[310.104 433.872]/ImagingBBox null>>setpagedevice"

// 5x7
  CustomMedia "HV/HV 101x180mm" 286.56 510.48 9 9 9 9 "<</cupsInteger0 101/PageSize[286.56 510.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[286.56 510.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "HV.FB/HV Borderless 101x180mm" 302.112 524.592 0 0 0 0 "<</cupsInteger0 101/PageSize[302.112 524.592]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/cupsReal0 .098/cupsReal1 .098/PageSize[302.112 524.592]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo5x7/Photo 5x7in" 360 504 9 9 9 9 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo5x7.FB/Photo Borderless 5x7in" 372.816 518.112 0 0 0 0 "<</cupsInteger0 122/PageSize[372.816 518.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/cupsReal0 .089/cupsReal1 .098/PageSize[372.816 518.112]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo2L/Photo 2L 127x178mm" 360 504 9 9 9 9 "<</cupsInteger0 126/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 126/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo2L.FB/Photo 2L Borderless 127x178mm" 372.816 518.112 0 0 0 0 "<</cupsInteger0 126/PageSize[372.816 518.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 126/cupsReal0 .089/cupsReal1 .098/PageSize[372.816 518.112]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card5x8/Index Card 5x8in" 360 576 9 9 9 9 "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card5x8.Duplex/Index Card AutoDuplex 5x8in" 360 567 9 27 9 36 "<</cupsInteger0 75/PageSize[360 567]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 567]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku/Oufuku-Hagaki 200x148mm" 566.64 419.76 9 9 9 9 "<</cupsInteger0 72/PageSize[566.64 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[566.64 419.76]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku.Duplex/Oufuku-Hagaki AutoDuplex 200x148mm" 566.64 410.76 9 0 9 9 "<</cupsInteger0 72/PageSize[566.64 410.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[566.64 410.76]/ImagingBBox null>>setpagedevice"
  CustomMedia "Cabinet/Cabinet Size 120x165" 339.84 468 9 9 9 9 "<</cupsInteger0 119/PageSize[339.84 468]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 119/PageSize[339.84 468]/ImagingBBox null>>setpagedevice"
  CustomMedia "Cabinet.FB/Cabinet Size 120x165 Borderless" 352.584 482.112 0 0 0 0 "<</cupsInteger0 119/PageSize[352.584 482.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 119/cupsReal0 .079/cupsReal1 .098/PageSize[352.584 482.112]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5/A5 148x210mm" 419.76 595.44 9 9 9 9 "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5.FB/A5 Borderless 148x210mm" 435.312 609.552 0 0 0 0 "<</cupsInteger0 25/PageSize[435.312 609.552]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/cupsReal0 .098/cupsReal1 .098/PageSize[435.312 609.552]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5.Duplex/A5 AutoDuplex 148x210mm" 419.76 586.44 9 33.192 9 42.192 "<</cupsInteger0 25/PageSize[419.76 586.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.76 586.44]/ImagingBBox null>>setpagedevice"

// Standard
  CustomMedia "B5/B5 176x250mm" 498.96 708.48 9 9 9 9 "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "B5.Duplex/B5 AutoDuplex 176x250mm" 498.96 699.48 9 33.192 9 42.192 "<</cupsInteger0 65/PageSize[498.96 699.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[498.96 699.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5/JB5 182x257mm" 516.24 728.64 9 9 9 9 "<</cupsInteger0 45/PageSize[516.24 728.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5.FB/JB5 Borderless 182x257mm" 531.792 742.752 0 0 0 0 "<</cupsInteger0 45/PageSize[531.792 742.752]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/cupsReal0 .098/cupsReal1 .098/PageSize [531.792 742.752]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5.Duplex/JB5 AutoDuplex 182x257mm" 516.24 719.64 9 33.192 9 42.192 "<</cupsInteger0 45/PageSize[516.24 719.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [516.24 719.64]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive/Executive 7.25x10.5in" 522 756 9 9 9 9 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive.Duplex/Executive AutoDuplex 7.25x10.5in" 522 747 9 33.192 9 42.192 "<</cupsInteger0 1/PageSize[522 747]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 747]/ImagingBBox null>>setpagedevice"
  CustomMedia "8x10/8x10in" 576 720 9 9 9 9 "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
  *CustomMedia "Letter/Letter 8.5x11in" 612 792 9 9 9 9 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
  CustomMedia "Letter.FB/Letter Borderless 8.5x11in" 627.552 806.112 0 0 0 0 "<</cupsInteger0 2/PageSize[627.552 806.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/cupsReal0 .098/cupsReal1 .098/PageSize[627.552 806.112]/ImagingBBox null>>setpagedevice"
  CustomMedia "Letter.Duplex/Letter AutoDuplex 8.5x11in" 612 783 9 33.192 9 42.192 "<</cupsInteger0 2/PageSize[612 783]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 783]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4/A4 210x297mm" 595.44 841.68 9 9 9 9 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4.FB/A4 Borderless 210x297mm" 610.992 855.792 0 0 0 0 "<</cupsInteger0 26/PageSize[610.992 855.792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/cupsReal0 .098/cupsReal1 .098/PageSize[610.992 855.792]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4.Duplex/A4 AutoDuplex 210x297mm" 595.44 832.68 9 33.192 9 42.192 "<</cupsInteger0 26/PageSize[595.44 832.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 832.68]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal/Legal 8.5x14in" 612 1008 9 9 9 9 "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"

// Envelope
  CustomMedia "EnvA2/A2 Envelope 4.37x5.75in" 314.64 414 9 42.192 9 9 "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.28 459.36 9 42.192 9 9 "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou4/#4 Japanese Envelope 90x205mm" 254.88 581.04 9 42.192 9 9 "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env6/#6 Envelope 3.63x6.5in" 261.36 468 9 42.192 9 9 "<</cupsInteger0 83/PageSize[261.36 468]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 83/PageSize[261.36 468]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvCard/Card Envelope 4.4x6in" 315 432 9 42.192 9 9 "<</cupsInteger0 114/PageSize[315 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 114/PageSize[315 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279 540 9 42.192 9 9 "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvDL/DL Envelope 110x220mm" 311.76 623.52 9 42.192 9 9 "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env10/#10 Envelope 4.125x9.5in" 297 684 9 42.192 9 9 "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 339.84 666 9 42.192 9 9 "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC5/C5 Envelope 162x229mm" 459.36 649.44 9 42.192 9 9 "<</cupsInteger0 91/PageSize[459.36 649.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 91/PageSize[459.36 649.44]/ImagingBBox null>>setpagedevice"

  // Custom page sizes from 3x4in to Legal
  HWMargins 9 9 9 9
  VariablePaperSize Yes
  MinSize 3in 4in
  MaxSize 8.5in 30in

  // <%Python:NoCDDVD:NoMaxDPI%>
  {
    ModelName "HP Photosmart Prem-web c309n-s"
    Attribute "NickName" "" "HP Photosmart Prem-web c309n-s, hpcups $Version"
    Attribute "ShortNickName" "" "HP Photosmart Prem-web c309n-s"
    Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart prem-web c309n-s;DES:photosmart prem-web c309n-s;"
    PCFileName "hp-photosmart_prem-web_c309n-s.ppd"
    Attribute "Product" "" "(HP Photosmart Premium Fax All-in-one Printer Series -c309a)"
    Attribute "Product" "" "(HP Photosmart Premium Fax All-in-one Printer Series -c309c)"
  }
  {
    ModelName "HP Photosmart Premium c309g-m"
    Attribute "NickName" "" "HP Photosmart Premium c309g-m, hpcups $Version"
    Attribute "ShortNickName" "" "HP Photosmart Premium c309g-m"
    Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart premium c309g-m;DES:photosmart premium c309g-m;"
    PCFileName "hp-photosmart_premium_c309g-m.ppd"
    Attribute "Product" "" "(HP Photosmart Premium All-in-one Printer Series - c309g)"
    Attribute "Product" "" "(HP Photosmart Premium All-in-one Printer Series - c309h)"
  }
  // End Supported media sizes with full bleed and Duplex.

} // End Python without CD-DVD and NoMaxDPI

//////// Python without AutoDuplex and CD-DVD
{
  Attribute "hpPrinterLanguage" "" "pcl3gui2"
  Attribute "HPMechOffset" "" "69"

  Group "General/General"

  // MediaPosition values map to MediaSource enumeration in global_types.h
  Option "InputSlot/Media Source" PickOne AnySetup 10.0
   *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"
    Choice "PhotoTray/Photo Tray" "<</MediaPosition 6>>setpagedevice"
    Choice "Upper/Upper Tray" "<</MediaPosition 1>>setpagedevice"

  Option "ColorModel/Output Mode" PickOne AnySetup 10.0
    Choice "CMYGray/High Quality Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 1>>setpagedevice"
    Choice "KGray/Black Only Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2>>setpagedevice"
    *Choice "RGB/Color" "<</cupsColorSpace 17/cupsBitsPerColor 8/cupsRowStep 0>>setpagedevice"

  // cupsMediaType values map to MEDIATYPE from global_types.h
  Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Automatic/Automatic" "<</MediaType(Automatic)/cupsMediaType -1>>setpagedevice"
    Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0>>setpagedevice"
    Choice "Glossy/Photo Paper" "<</MediaType(Glossy)/cupsMediaType 3>>setpagedevice"
    Choice "TransparencyFilm/Transparency Film" "<</MediaType(TransparencyFilm)/cupsMediaType 4>>setpagedevice"

  // cupsCompression values map to QUALITY_MODE from global_types.h
  Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    Choice "Auto/Automatic" "<</OutputType(-3)/HWResolution[600 600]>>setpagedevice"
    Choice "FastDraft/Fast Draft" "<</OutputType(-2)/HWResolution[300 300]>>setpagedevice"
    *Choice "Normal/Normal" "<</OutputType(0)/HWResolution[600 600]>>setpagedevice"
    Choice "Best/Best" "<</OutputType(1)/HWResolution[600 600]>>setpagedevice"
    Choice "Photo/High-Resolution Photo" "<</OutputType(2)/HWResolution[1200 1200]>>setpagedevice"

  // Constraints
  UIConstraints "*ColorModel KGray *OutputMode Photo"
  UIConstraints "*ColorModel CMYGray *OutputMode Photo"
  UIConstraints "*MediaType Automatic *OutputMode FastDraft"
  UIConstraints "*MediaType Glossy *OutputMode FastDraft"
  UIConstraints "*MediaType TransparencyFilm *OutputMode FastDraft"
  UIConstraints "*MediaType TransparencyFilm *OutputMode Best"
  UIConstraints "*MediaType TransparencyFilm *OutputMode Photo"
  UIConstraints "*MediaType Plain *OutputMode Photo"

  // Constraint FB against FastDraft
  UIConstraints "*PageSize PhotoL.FB *OutputMode FastDraft"
  UIConstraints "*PageSize L.FB *OutputMode FastDraft"
  UIConstraints "*PageSize Hagaki.FB *OutputMode FastDraft"
  UIConstraints "*PageSize Photo4x6.FB *OutputMode FastDraft"
  UIConstraints "*PageSize A6.FB *OutputMode FastDraft"
  UIConstraints "*PageSize HV.FB *OutputMode FastDraft"
  UIConstraints "*PageSize Photo5x7.FB *OutputMode FastDraft"
  UIConstraints "*PageSize Photo2L.FB *OutputMode FastDraft"
  UIConstraints "*PageSize Cabinet.FB *OutputMode FastDraft"
  UIConstraints "*PageSize A5.FB *OutputMode FastDraft"
  UIConstraints "*PageSize JB5.FB *OutputMode FastDraft"
  UIConstraints "*PageSize Letter.FB *OutputMode FastDraft"
  UIConstraints "*PageSize A4.FB *OutputMode FastDraft"

// 4x6 or smaller
  CustomMedia "Card3x5/Index Card 3x5in" 216 360 9 9 9 9 "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "PhotoL/Photo 3.5x5in" 252 360 9 9 9 9 "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "PhotoL.FB/Photo Borderless 3.5x5in" 264.744 374.112 0 0 0 0 "<</cupsInteger0 121/PageSize[264.744 374.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/cupsReal0 .079/cupsReal1 .098/PageSize[264.744 374.112]/ImagingBBox null>>setpagedevice"
  CustomMedia "L/L 89x127mm" 252 360 9 9 9 9 "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "L.FB/L Borderless 89x127mm" 264.744 374.112 0 0 0 0 "<</cupsInteger0 121/PageSize[264.744 374.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/cupsReal0 .079/cupsReal1 .098/PageSize[264.744 374.112]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki/Hagaki 100x148mm" 283.68 419.76 9 9 9 9 "<</cupsInteger0 71/PageSize[283.68 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[283.68 419.76]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki.FB/Hagaki Borderless 100x148mm" 296.424 433.872 0 0 0 0 "<</cupsInteger0 71/PageSize[296.424 433.872]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/cupsReal0 .079/cupsReal1 .098/PageSize[296.424 433.872]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card4x6/Index Card 4x6in" 288 432 9 9 9 9 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6/Photo 4x6in" 288 432 9 9 9 9 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6.FB/Photo Borderless 4x6in" 303.552 446.112 0 0 0 0 "<</cupsInteger0 74/PageSize[303.552 446.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/cupsReal0 .098/cupsReal1 .098/PageSize[303.552 446.112]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6/A6 105x148mm" 297.36 419.76 9 9 9 9 "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6.FB/A6 Borderless 105x148mm" 310.104 433.872 0 0 0 0 "<</cupsInteger0 73/PageSize[310.104 433.872]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/cupsReal0 .079/cupsReal1 .098/PageSize[310.104 433.872]/ImagingBBox null>>setpagedevice"

// 5x7
  CustomMedia "HV/HV 101x180mm" 286.56 510.48 9 9 9 9 "<</cupsInteger0 101/PageSize[286.56 510.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[286.56 510.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "HV.FB/HV Borderless 101x180mm" 302.112 524.592 0 0 0 0 "<</cupsInteger0 101/PageSize[302.112 524.592]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/cupsReal0 .098/cupsReal1 .098/PageSize[302.112 524.592]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo5x7/Photo 5x7in" 360 504 9 9 9 9 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo5x7.FB/Photo Borderless 5x7in" 372.816 518.112 0 0 0 0 "<</cupsInteger0 122/PageSize[372.816 518.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/cupsReal0 .089/cupsReal1 .098/PageSize[372.816 518.112]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo2L/Photo 2L 127x178mm" 360 504 9 9 9 9 "<</cupsInteger0 126/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 126/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo2L.FB/Photo 2L Borderless 127x178mm" 372.816 518.112 0 0 0 0 "<</cupsInteger0 126/PageSize[372.816 518.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 126/cupsReal0 .089/cupsReal1 .098/PageSize[372.816 518.112]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card5x8/Index Card 5x8in" 360 576 9 9 9 9 "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku/Oufuku-Hagaki 200x148mm" 566.64 419.76 9 9 9 9 "<</cupsInteger0 72/PageSize[566.64 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[566.64 419.76]/ImagingBBox null>>setpagedevice"
  CustomMedia "Cabinet/Cabinet Size 120x165" 339.84 468 9 9 9 9 "<</cupsInteger0 119/PageSize[339.84 468]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 119/PageSize[339.84 468]/ImagingBBox null>>setpagedevice"
  CustomMedia "Cabinet.FB/Cabinet Size 120x165 Borderless" 352.584 482.112 0 0 0 0 "<</cupsInteger0 119/PageSize[352.584 482.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 119/cupsReal0 .079/cupsReal1 .098/PageSize[352.584 482.112]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5/A5 148x210mm" 419.76 595.44 9 9 9 9 "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5.FB/A5 Borderless 148x210mm" 435.312 609.552 0 0 0 0 "<</cupsInteger0 25/PageSize[435.312 609.552]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/cupsReal0 .098/cupsReal1 .098/PageSize[435.312 609.552]/ImagingBBox null>>setpagedevice"

// Standard
  CustomMedia "B5/B5 176x250mm" 498.96 708.48 9 9 9 9 "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5/JB5 182x257mm" 516.24 728.64 9 9 9 9 "<</cupsInteger0 45/PageSize[516.24 728.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5.FB/JB5 Borderless 182x257mm" 531.792 742.752 0 0 0 0 "<</cupsInteger0 45/PageSize[531.792 742.752]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/cupsReal0 .098/cupsReal1 .098/PageSize [531.792 742.752]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive/Executive 7.25x10.5in" 522 756 9 9 9 9 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
  CustomMedia "8x10/8x10in" 576 720 9 9 9 9 "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
  *CustomMedia "Letter/Letter 8.5x11in" 612 792 9 9 9 9 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
  CustomMedia "Letter.FB/Letter Borderless 8.5x11in" 627.552 806.112 0 0 0 0 "<</cupsInteger0 2/PageSize[627.552 806.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/cupsReal0 .098/cupsReal1 .098/PageSize[627.552 806.112]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4/A4 210x297mm" 595.44 841.68 9 9 9 9 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4.FB/A4 Borderless 210x297mm" 610.992 855.792 0 0 0 0 "<</cupsInteger0 26/PageSize[610.992 855.792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/cupsReal0 .098/cupsReal1 .098/PageSize[610.992 855.792]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal/Legal 8.5x14in" 612 1008 9 9 9 9 "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"

// Envelope
  CustomMedia "EnvA2/A2 Envelope 4.37x5.75in" 314.64 414 9 42.192 9 9 "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.28 459.36 9 42.192 9 9 "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou4/#4 Japanese Envelope 90x205mm" 254.88 581.04 9 42.192 9 9 "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env6/#6 Envelope 3.63x6.5in" 261.36 468 9 42.192 9 9 "<</cupsInteger0 83/PageSize[261.36 468]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 83/PageSize[261.36 468]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvCard/Card Envelope 4.4x6in" 315 432 9 42.192 9 9 "<</cupsInteger0 114/PageSize[315 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 114/PageSize[315 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279 540 9 42.192 9 9 "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvDL/DL Envelope 110x220mm" 311.76 623.52 9 42.192 9 9 "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env10/#10 Envelope 4.125x9.5in" 297 684 9 42.192 9 9 "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 339.84 666 9 42.192 9 9 "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC5/C5 Envelope 162x229mm" 459.36 649.44 9 42.192 9 9 "<</cupsInteger0 91/PageSize[459.36 649.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 91/PageSize[459.36 649.44]/ImagingBBox null>>setpagedevice"

  // Custom page sizes from 3x4in to Legal
  HWMargins 9 9 9 9
  VariablePaperSize Yes
  MinSize 3in 4in
  MaxSize 8.5in 30in

  // <%Python:NoAutoDuplex:NoCDDVD%>
  {
    ModelName "HP Officejet 6000 e609a"
    Attribute "NickName" "" "HP Officejet 6000 e609a, hpcups $Version"
    Attribute "ShortNickName" "" "HP Officejet 6000 e609a"
    Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet 6000 e609a;DES:officejet 6000 e609a;"
    PCFileName "hp-officejet_6000_e609a.ppd"
    Attribute "Product" "" "(HP Officejet 6000 Printer - e609a)"
  }
  {
    ModelName "HP Officejet 6500 e709a"
    Attribute "NickName" "" "HP Officejet 6500 e709a, hpcups $Version"
    Attribute "ShortNickName" "" "HP Officejet 6500 e709a"
    Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet 6500 e709a;DES:officejet 6500 e709a;"
    PCFileName "hp-officejet_6500_e709a.ppd"
    Attribute "Product" "" "(HP Officejet 6500 All-in-one Printer - e709a)"
    Attribute "Product" "" "(HP Officejet 6500 All-in-one Printer - e709c)"
  }
  {
    ModelName "HP Officejet 6500 e710a-f"
    Attribute "NickName" "" "HP Officejet 6500 e710a-f, hpcups $Version"
    Attribute "ShortNickName" "" "HP Officejet 6500 e710a-f"
    Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet 6500 e710a-f;DES:officejet 6500 e710a-f;"
    PCFileName "hp-officejet_6500_e710a-f.ppd"
    Attribute "Product" "" "(HP Officejet 6500 e710)"
  }
  // End Supported media sizes with full bleed.

} // End Python without AutoDuplex and CD-DVD

//////// Python without AutoDuplex and CD-DVD and NoMaxDPI
{
  Attribute "hpPrinterLanguage" "" "pcl3gui2"
  Attribute "HPMechOffset" "" "69"

  Group "General/General"

  // MediaPosition values map to MediaSource enumeration in global_types.h
  Option "InputSlot/Media Source" PickOne AnySetup 10.0
   *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"
    Choice "PhotoTray/Photo Tray" "<</MediaPosition 6>>setpagedevice"
    Choice "Upper/Upper Tray" "<</MediaPosition 1>>setpagedevice"

  Option "ColorModel/Output Mode" PickOne AnySetup 10.0
    Choice "CMYGray/High Quality Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 1>>setpagedevice"
    Choice "KGray/Black Only Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2>>setpagedevice"
    *Choice "RGB/Color" "<</cupsColorSpace 17/cupsBitsPerColor 8/cupsRowStep 0>>setpagedevice"

  // cupsMediaType values map to MEDIATYPE from global_types.h
  Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Automatic/Automatic" "<</MediaType(Automatic)/cupsMediaType -1>>setpagedevice"
    Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0>>setpagedevice"
    Choice "Glossy/Photo Paper" "<</MediaType(Glossy)/cupsMediaType 3>>setpagedevice"
    Choice "TransparencyFilm/Transparency Film" "<</MediaType(TransparencyFilm)/cupsMediaType 4>>setpagedevice"

  // cupsCompression values map to QUALITY_MODE from global_types.h
  Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    Choice "Auto/Automatic" "<</OutputType(-3)/HWResolution[600 600]>>setpagedevice"
    Choice "FastDraft/Fast Draft" "<</OutputType(-2)/HWResolution[300 300]>>setpagedevice"
    *Choice "Normal/Normal" "<</OutputType(0)/HWResolution[600 600]>>setpagedevice"
    Choice "Best/Best" "<</OutputType(1)/HWResolution[600 600]>>setpagedevice"

  // Constraints
  UIConstraints "*MediaType Automatic *OutputMode FastDraft"
  UIConstraints "*MediaType Glossy *OutputMode FastDraft"
  UIConstraints "*MediaType TransparencyFilm *OutputMode FastDraft"
  UIConstraints "*MediaType TransparencyFilm *OutputMode Best"

  // Constraint FB against FastDraft
  UIConstraints "*PageSize PhotoL.FB *OutputMode FastDraft"
  UIConstraints "*PageSize L.FB *OutputMode FastDraft"
  UIConstraints "*PageSize Hagaki.FB *OutputMode FastDraft"
  UIConstraints "*PageSize Photo4x6.FB *OutputMode FastDraft"
  UIConstraints "*PageSize A6.FB *OutputMode FastDraft"
  UIConstraints "*PageSize HV.FB *OutputMode FastDraft"
  UIConstraints "*PageSize Photo5x7.FB *OutputMode FastDraft"
  UIConstraints "*PageSize Photo2L.FB *OutputMode FastDraft"
  UIConstraints "*PageSize Cabinet.FB *OutputMode FastDraft"
  UIConstraints "*PageSize A5.FB *OutputMode FastDraft"
  UIConstraints "*PageSize JB5.FB *OutputMode FastDraft"
  UIConstraints "*PageSize Letter.FB *OutputMode FastDraft"
  UIConstraints "*PageSize A4.FB *OutputMode FastDraft"

// 4x6 or smaller
  CustomMedia "Card3x5/Index Card 3x5in" 216 360 9 9 9 9 "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "PhotoL/Photo 3.5x5in" 252 360 9 9 9 9 "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "PhotoL.FB/Photo Borderless 3.5x5in" 264.744 374.112 0 0 0 0 "<</cupsInteger0 121/PageSize[264.744 374.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/cupsReal0 .079/cupsReal1 .098/PageSize[264.744 374.112]/ImagingBBox null>>setpagedevice"
  CustomMedia "L/L 89x127mm" 252 360 9 9 9 9 "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "L.FB/L Borderless 89x127mm" 264.744 374.112 0 0 0 0 "<</cupsInteger0 121/PageSize[264.744 374.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/cupsReal0 .079/cupsReal1 .098/PageSize[264.744 374.112]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki/Hagaki 100x148mm" 283.68 419.76 9 9 9 9 "<</cupsInteger0 71/PageSize[283.68 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[283.68 419.76]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki.FB/Hagaki Borderless 100x148mm" 296.424 433.872 0 0 0 0 "<</cupsInteger0 71/PageSize[296.424 433.872]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/cupsReal0 .079/cupsReal1 .098/PageSize[296.424 433.872]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card4x6/Index Card 4x6in" 288 432 9 9 9 9 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6/Photo 4x6in" 288 432 9 9 9 9 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6.FB/Photo Borderless 4x6in" 303.552 446.112 0 0 0 0 "<</cupsInteger0 74/PageSize[303.552 446.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/cupsReal0 .098/cupsReal1 .098/PageSize[303.552 446.112]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6/A6 105x148mm" 297.36 419.76 9 9 9 9 "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6.FB/A6 Borderless 105x148mm" 310.104 433.872 0 0 0 0 "<</cupsInteger0 73/PageSize[310.104 433.872]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/cupsReal0 .079/cupsReal1 .098/PageSize[310.104 433.872]/ImagingBBox null>>setpagedevice"

// 5x7
  CustomMedia "HV/HV 101x180mm" 286.56 510.48 9 9 9 9 "<</cupsInteger0 101/PageSize[286.56 510.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[286.56 510.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "HV.FB/HV Borderless 101x180mm" 302.112 524.592 0 0 0 0 "<</cupsInteger0 101/PageSize[302.112 524.592]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/cupsReal0 .098/cupsReal1 .098/PageSize[302.112 524.592]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo5x7/Photo 5x7in" 360 504 9 9 9 9 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo5x7.FB/Photo Borderless 5x7in" 372.816 518.112 0 0 0 0 "<</cupsInteger0 122/PageSize[372.816 518.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/cupsReal0 .089/cupsReal1 .098/PageSize[372.816 518.112]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo2L/Photo 2L 127x178mm" 360 504 9 9 9 9 "<</cupsInteger0 126/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 126/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo2L.FB/Photo 2L Borderless 127x178mm" 372.816 518.112 0 0 0 0 "<</cupsInteger0 126/PageSize[372.816 518.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 126/cupsReal0 .089/cupsReal1 .098/PageSize[372.816 518.112]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card5x8/Index Card 5x8in" 360 576 9 9 9 9 "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku/Oufuku-Hagaki 200x148mm" 566.64 419.76 9 9 9 9 "<</cupsInteger0 72/PageSize[566.64 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[566.64 419.76]/ImagingBBox null>>setpagedevice"
  CustomMedia "Cabinet/Cabinet Size 120x165" 339.84 468 9 9 9 9 "<</cupsInteger0 119/PageSize[339.84 468]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 119/PageSize[339.84 468]/ImagingBBox null>>setpagedevice"
  CustomMedia "Cabinet.FB/Cabinet Size 120x165 Borderless" 352.584 482.112 0 0 0 0 "<</cupsInteger0 119/PageSize[352.584 482.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 119/cupsReal0 .079/cupsReal1 .098/PageSize[352.584 482.112]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5/A5 148x210mm" 419.76 595.44 9 9 9 9 "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5.FB/A5 Borderless 148x210mm" 435.312 609.552 0 0 0 0 "<</cupsInteger0 25/PageSize[435.312 609.552]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/cupsReal0 .098/cupsReal1 .098/PageSize[435.312 609.552]/ImagingBBox null>>setpagedevice"

// Standard
  CustomMedia "B5/B5 176x250mm" 498.96 708.48 9 9 9 9 "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5/JB5 182x257mm" 516.24 728.64 9 9 9 9 "<</cupsInteger0 45/PageSize[516.24 728.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5.FB/JB5 Borderless 182x257mm" 531.792 742.752 0 0 0 0 "<</cupsInteger0 45/PageSize[531.792 742.752]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/cupsReal0 .098/cupsReal1 .098/PageSize [531.792 742.752]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive/Executive 7.25x10.5in" 522 756 9 9 9 9 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
  CustomMedia "8x10/8x10in" 576 720 9 9 9 9 "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
  *CustomMedia "Letter/Letter 8.5x11in" 612 792 9 9 9 9 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
  CustomMedia "Letter.FB/Letter Borderless 8.5x11in" 627.552 806.112 0 0 0 0 "<</cupsInteger0 2/PageSize[627.552 806.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/cupsReal0 .098/cupsReal1 .098/PageSize[627.552 806.112]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4/A4 210x297mm" 595.44 841.68 9 9 9 9 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4.FB/A4 Borderless 210x297mm" 610.992 855.792 0 0 0 0 "<</cupsInteger0 26/PageSize[610.992 855.792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/cupsReal0 .098/cupsReal1 .098/PageSize[610.992 855.792]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal/Legal 8.5x14in" 612 1008 9 9 9 9 "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"

// Envelope
  CustomMedia "EnvA2/A2 Envelope 4.37x5.75in" 314.64 414 9 42.192 9 9 "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.28 459.36 9 42.192 9 9 "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou4/#4 Japanese Envelope 90x205mm" 254.88 581.04 9 42.192 9 9 "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env6/#6 Envelope 3.63x6.5in" 261.36 468 9 42.192 9 9 "<</cupsInteger0 83/PageSize[261.36 468]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 83/PageSize[261.36 468]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvCard/Card Envelope 4.4x6in" 315 432 9 42.192 9 9 "<</cupsInteger0 114/PageSize[315 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 114/PageSize[315 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279 540 9 42.192 9 9 "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvDL/DL Envelope 110x220mm" 311.76 623.52 9 42.192 9 9 "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env10/#10 Envelope 4.125x9.5in" 297 684 9 42.192 9 9 "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 339.84 666 9 42.192 9 9 "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC5/C5 Envelope 162x229mm" 459.36 649.44 9 42.192 9 9 "<</cupsInteger0 91/PageSize[459.36 649.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 91/PageSize[459.36 649.44]/ImagingBBox null>>setpagedevice"

  // Custom page sizes from 3x4in to Legal
  HWMargins 9 9 9 9
  VariablePaperSize Yes
  MinSize 3in 4in
  MaxSize 8.5in 30in

  // <%Python:NoAutoDuplex:NoCDDVD:NoMaxDPI%>
  {
    ModelName "HP Photosmart c5300 Series"
    Attribute "NickName" "" "HP Photosmart c5300 Series, hpcups $Version"
    Attribute "ShortNickName" "" "HP Photosmart c5300 Series"
    Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart c5300 series;DES:photosmart c5300 series;"
    PCFileName "hp-photosmart_c5300_series.ppd"
    Attribute "Product" "" "(HP Photosmart c5370 All-in-one Printer)"
    Attribute "Product" "" "(HP Photosmart c5373 All-in-one Printer)"
    Attribute "Product" "" "(HP Photosmart c5380 All-in-one Printer)"
    Attribute "Product" "" "(HP Photosmart c5383 All-in-one Printer)"
    Attribute "Product" "" "(HP Photosmart c5388 All-in-one Printer)"
    Attribute "Product" "" "(HP Photosmart c5390 All-in-one Printer)"
    Attribute "Product" "" "(HP Photosmart c5393 All-in-one Printer)"
  }
  {
    ModelName "HP Photosmart c6300 Series"
    Attribute "NickName" "" "HP Photosmart c6300 Series, hpcups $Version"
    Attribute "ShortNickName" "" "HP Photosmart c6300 Series"
    Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart c6300 series;DES:photosmart c6300 series;"
    PCFileName "hp-photosmart_c6300_series.ppd"
    Attribute "Product" "" "(HP Photosmart c6324 All-in-one Printer)"
    Attribute "Product" "" "(HP Photosmart c6340 All-in-one Printer)"
    Attribute "Product" "" "(HP Photosmart c6350 All-in-one Printer)"
    Attribute "Product" "" "(HP Photosmart c6375 All-in-one Printer)"
    Attribute "Product" "" "(HP Photosmart c6380 All-in-one Printer)"
    Attribute "Product" "" "(HP Photosmart c6383 All-in-one Printer)"
    Attribute "Product" "" "(HP Photosmart c6388 All-in-one Printer)"
  }
  {
    ModelName "HP Photosmart d7500 Series"
    Attribute "NickName" "" "HP Photosmart d7500 Series, hpcups $Version"
    Attribute "ShortNickName" "" "HP Photosmart d7500 Series"
    Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart d7500 series;DES:photosmart d7500 series;"
    PCFileName "hp-photosmart_d7500_series.ppd"
    Attribute "Product" "" "(HP Photosmart d7560 Printer)"
  }
  // End Supported media sizes with full bleed.

} // End Python without AutoDuplex and CD-DVD and NoMaxDPI

//////// Python B-size (Standard media support different from Python:Normal class)
{
  Attribute "hpPrinterLanguage" "" "pcl3gui2"
  Attribute "HPMechOffset" "" "69"

  Group "General/General"

  // MediaPosition values map to MediaSource enumeration in global_types.h
  Option "InputSlot/Media Source" PickOne AnySetup 10.0
   *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"
    Choice "PhotoTray/Photo Tray" "<</MediaPosition 6>>setpagedevice"
    Choice "Upper/Upper Tray" "<</MediaPosition 1>>setpagedevice"

  Option "ColorModel/Output Mode" PickOne AnySetup 10.0
    Choice "CMYGray/High Quality Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 1>>setpagedevice"
    Choice "KGray/Black Only Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2>>setpagedevice"
    *Choice "RGB/Color" "<</cupsColorSpace 17/cupsBitsPerColor 8/cupsRowStep 0>>setpagedevice"

  // cupsMediaType values map to MEDIATYPE from global_types.h
  Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Automatic/Automatic" "<</MediaType(Automatic)/cupsMediaType -1>>setpagedevice"
    Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0>>setpagedevice"
    Choice "Glossy/Photo Paper" "<</MediaType(Glossy)/cupsMediaType 3>>setpagedevice"
    Choice "TransparencyFilm/Transparency Film" "<</MediaType(TransparencyFilm)/cupsMediaType 4>>setpagedevice"

  // cupsCompression values map to QUALITY_MODE from global_types.h
  Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    Choice "Auto/Automatic" "<</OutputType(-3)/HWResolution[600 600]>>setpagedevice"
    Choice "FastDraft/Fast Draft" "<</OutputType(-2)/HWResolution[300 300]>>setpagedevice"
    *Choice "Normal/Normal" "<</OutputType(0)/HWResolution[600 600]>>setpagedevice"
    Choice "Best/Best" "<</OutputType(1)/HWResolution[600 600]>>setpagedevice"
    Choice "Photo/High-Resolution Photo" "<</OutputType(2)/HWResolution[1200 1200]>>setpagedevice"

  // Constraints
  UIConstraints "*ColorModel KGray *OutputMode Photo"
  UIConstraints "*ColorModel CMYGray *OutputMode Photo"
  UIConstraints "*MediaType Automatic *OutputMode FastDraft"
  UIConstraints "*MediaType Glossy *OutputMode FastDraft"
  UIConstraints "*MediaType TransparencyFilm *OutputMode FastDraft"
  UIConstraints "*MediaType TransparencyFilm *OutputMode Best"
  UIConstraints "*MediaType Plain *OutputMode Photo"
  UIConstraints "*MediaType TransparencyFilm *OutputMode Photo"

// 4x6 or smaller
  CustomMedia "Card3x5/Index Card 3x5in" 216 360 9 9 9 9 "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "L/L 89x127mm" 252 360 9 9 9 9 "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "L.FB/L Borderless 89x127mm" 264.744 374.112 0 0 0 0 "<</cupsInteger0 121/PageSize[264.744 374.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/cupsReal0 .079/cupsReal1 .098/PageSize[264.744 374.112]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki/Hagaki 100x148mm" 283.68 419.76 9 9 9 9 "<</cupsInteger0 71/PageSize[283.68 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[283.68 419.76]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki.FB/Hagaki Borderless 100x148mm" 296.424 433.872 0 0 0 0 "<</cupsInteger0 71/PageSize[296.424 433.872]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/cupsReal0 .079/cupsReal1 .098/PageSize[296.424 433.872]/ImagingBBox null>>setpagedevice"
  CustomMedia "B7/B7 88x125mm" 249.12 354.24 9 9 9 9 "<</cupsInteger0 63/PageSize[249.12 354.24]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 63/PageSize[249.12 354.24]/ImagingBBox null>>setpagedevice"
  CustomMedia "B7.FB/B7 Borderless 88x125mm" 263.232 368.352 0 0 0 0 "<</cupsInteger0 63/PageSize[263.232 368.352]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 63/cupsReal0 .098/cupsReal1 .098/PageSize[263.232 368.352]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB7/JB7 91x128mm" 257.76 362.88 9 9 9 9 "<</cupsInteger0 43/PageSize[257.76 362.88]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 43/PageSize [257.76 362.88]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB7.FB/JB7 Borderless 91x128mm" 271.872 376.992 0 0 0 0 "<</cupsInteger0 43/PageSize[271.872 376.992]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 43/cupsReal0 .098/cupsReal1 .098/PageSize [271.872 376.992]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card4x6/Index Card 4x6in" 288 432 9 9 9 9 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6/Photo 4x6in" 288 432 9 9 9 9 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6.FB/Photo Borderless 4x6in" 303.552 446.112 0 0 0 0 "<</cupsInteger0 74/PageSize[303.552 446.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/cupsReal0 .098/cupsReal1 .098/PageSize[303.552 446.112]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6/A6 105x148mm" 297.36 419.76 9 9 9 9 "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6.FB/A6 Borderless 105x148mm" 310.104 433.872 0 0 0 0 "<</cupsInteger0 73/PageSize[310.104 433.872]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/cupsReal0 .079/cupsReal1 .098/PageSize[310.104 433.872]/ImagingBBox null>>setpagedevice"


// 5x7
  CustomMedia "HV/HV 101x180mm" 286.56 510.48 9 9 9 9 "<</cupsInteger0 101/PageSize[286.56 510.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[286.56 510.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "HV.FB/HV Borderless 101x180mm" 302.112 524.592 0 0 0 0 "<</cupsInteger0 101/PageSize[302.112 524.592]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/cupsReal0 .098/cupsReal1 .098/PageSize[302.112 524.592]/ImagingBBox null>>setpagedevice"
  CustomMedia "10x20/10x20cm (tab)" 288 576 9 9 9 9 "<</cupsInteger0 101/PageSize[288 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[288 576]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo5x7/Photo 5x7in" 360 504 9 9 9 9 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo5x7.FB/Photo Borderless 5x7in" 372.816 518.112 0 0 0 0 "<</cupsInteger0 122/PageSize[372.816 518.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/cupsReal0 .089/cupsReal1 .098/PageSize[372.816 518.112]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo2L/Photo 2L 127x178mm" 360 504 9 9 9 9 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo2L.FB/Photo 2L Borderless 127x178mm" 372.816 518.112 0 0 0 0 "<</cupsInteger0 122/PageSize[372.816 518.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/cupsReal0 .089/cupsReal1 .098/PageSize[372.816 518.112]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card5x8/Index Card 5x8in" 360 576 9 9 9 9 "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku/Oufuku-Hagaki 200x148mm" 566.64 419.76 9 9 9 9 "<</cupsInteger0 72/PageSize[566.64 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[566.64 419.76]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku.FB/Oufuku-Hagaki Borderless 200x148mm" 579.384 433.872 0 0 0 0 "<</cupsInteger0 72/PageSize[579.384 433.872]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/cupsReal0 .079/cupsReal1 .098/PageSize[579.384 433.872]/ImagingBBox null>>setpagedevice"
  CustomMedia "Cabinet/Cabinet Size 120x165" 339.84 468 9 9 9 9 "<</cupsInteger0 119/PageSize[339.84 468]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 119/PageSize[339.84 468]/ImagingBBox null>>setpagedevice"
  CustomMedia "Cabinet.FB/Cabinet Size 120x165 Borderless" 352.584 482.112 0 0 0 0 "<</cupsInteger0 119/PageSize[352.584 482.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 119/cupsReal0 .079/cupsReal1 .098/PageSize[352.584 482.112]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5/A5 148x210mm" 419.76 595.44 9 9 9 9 "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5.FB/A5 Borderless 148x210mm" 435.312 609.552 0 0 0 0 "<</cupsInteger0 25/PageSize[435.312 609.552]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/cupsReal0 .098/cupsReal1 .098/PageSize[435.312 609.552]/ImagingBBox null>>setpagedevice"

//Photo 4x10, 4x11, 4x12
  CustomMedia "Photo4x10/Photo 4x10in" 288 720 9 9 9 9 "<</cupsInteger0 101/PageSize[288 720]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[288 720]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x10.FB/Photo Borderless 4x10in" 304.992 734.112 0 0 0 0 "<</cupsInteger0 101/PageSize[304.992 734.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/cupsReal0 .098/cupsReal1 .098/PageSize[304.992 734.112]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x11/Photo 4x11in" 288 792 9 9 9 9 "<</cupsInteger0 101/PageSize[288 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize [288 792]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x11.FB/Photo Borderless 4x11in" 306.432 806.112 0 0 0 0 "<</cupsInteger0 101/PageSize[306.432 806.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/cupsReal0 .108/cupsReal1 .098/PageSize[306.432 806.112]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x12/Photo 4x12in" 288 864 9 9 9 9 "<</cupsInteger0 30000/PageSize[288 864]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 30000/PageSize [288 864]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x12.FB/Photo Borderless 4x12in" 307.8 878.112 0 0 0 0 "<</cupsInteger0 30000/PageSize[307.8 878.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 30000/cupsReal0 .118/cupsReal1 .098/PageSize[307.8 878.112]/ImagingBBox null>>setpagedevice"


// Standard
  CustomMedia "B5/B5 176x250mm" 498.96 708.48 9 9 9 9 "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5/JB5 182x257mm" 516.24 728.64 9 9 9 9 "<</cupsInteger0 45/PageSize[516.24 728.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5.FB/JB5 Borderless 182x257mm" 531.792 742.752 0 0 0 0 "<</cupsInteger0 45/PageSize[531.792 742.752]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/cupsReal0 .098/cupsReal1 .098/PageSize [531.792 742.752]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive/Executive 7.25x10.5in" 522 756 9 9 9 9 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
  CustomMedia "8x10/8x10in" 576 720 9 9 9 9 "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
  CustomMedia "8x10.FB/Borderless 8x10in" 591.552 734.112 0 0 0 0 "<</cupsInteger0 7/PageSize[591.552 734.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/cupsReal0 .098/cupsReal1 .098/PageSize[591.552 734.112]/ImagingBBox null>>setpagedevice"
  *CustomMedia "Letter/Letter 8.5x11in" 612 792 9 9 9 9 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
  CustomMedia "Letter.FB/Letter Borderless 8.5x11in" 627.552 806.112 0 0 0 0 "<</cupsInteger0 2/PageSize[627.552 806.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/cupsReal0 .098/cupsReal1 .098/PageSize[627.552 806.112]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4/A4 210x297mm" 595.44 841.68 9 9 9 9 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4.FB/A4 Borderless 210x297mm" 610.992 855.792 0 0 0 0 "<</cupsInteger0 26/PageSize[610.992 855.792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/cupsReal0 .098/cupsReal1 .098/PageSize[610.992 855.792]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal/Legal 8.5x14in" 612 1008 9 9 9 9 "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
  CustomMedia "DoubleA4/Double A4 210x594mm" 595.44 1684.08 9 9 9 9 "<</cupsInteger0 101/PageSize[595.44 1684.08]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[595.44 1684.08]/ImagingBBox null>>setpagedevice"
  CustomMedia "DoubleA4.FB/Double A4 Borderless 210x594mm" 621.648 1698.192 0 0 0 0 "<</cupsInteger0 101/PageSize[621.648 1698.192]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/cupsReal0 .167/cupsReal1 .098/PageSize[621.648 1698.192]/ImagingBBox null>>setpagedevice"

// Envelope
  CustomMedia "EnvA2/A2 Envelope 4.37x5.75in" 314.64 414 9 42.192 9 9 "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.28 459.36 9 42.192 9 9 "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou4/#4 Japanese Envelope 90x205mm" 254.88 581.04 9 42.192 9 9 "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env6/#6 Envelope 3.63x6.5in" 261.36 468 9 42.192 9 9 "<</cupsInteger0 83/PageSize[261.36 468]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 83/PageSize[261.36 468]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvCard/Card Envelope 4.4x6in" 315 432 9 42.192 9 9 "<</cupsInteger0 114/PageSize[315 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 114/PageSize[315 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279 540 9 42.192 9 9 "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvDL/DL Envelope 110x220mm" 311.76 623.52 9 42.192 9 9 "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env10/#10 Envelope 4.125x9.5in" 297 684 9 42.192 9 9 "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 339.84 666 9 42.192 9 9 "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou2/#2 Envelope 119x277mm" 337.68 785.52 9 42.192 9 9 "<</cupsInteger0 109/PageSize[337.68 785.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 109/PageSize[337.68 785.52]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvKaku2/#2 Envelope Kaku 240x332mm" 680.40 941.04 9 42.192 9 9 "<</cupsInteger0 101/PageSize[680.40 941.04]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[680.40 941.04]/ImagingBBox null>>setpagedevice"

  {
    // Large Media
    CustomMedia "11x14/11x14in" 792 1008 9 9 9 9 "<</cupsInteger0 4/PageSize[792 1008]/ImagingBBox null>>setpagedevice"
           "<</cupsInteger0 4/PageSize[792 1008]/ImagingBBox null>>setpagedevice"
    CustomMedia "11x14.FB/Borderless 11x14in" 807.552 1022.112 0 0 0 0 "<</cupsInteger0 4/PageSize[807.552 1022.112]/ImagingBBox null>>setpagedevice"
           "<</cupsInteger0 4/cupsReal0 .098/cupsReal1 .098/PageSize[807.552 1022.112]/ImagingBBox null>>setpagedevice"
    CustomMedia "12x12/12x12in" 864 864 9 9 9 9 "<</cupsInteger0 117/PageSize[864 864]/ImagingBBox null>>setpagedevice"
           "<</cupsInteger0 117/PageSize[864 864]/ImagingBBox null>>setpagedevice"
    CustomMedia "12x12.FB/Borderless 12x12in" 879.552 878.112 0 0 0 0 "<</cupsInteger0 117/PageSize[879.552 878.112]/ImagingBBox null>>setpagedevice"
           "<</cupsInteger0 117/cupsReal0 .098/cupsReal1 .098/PageSize[879.552 878.112]/ImagingBBox null>>setpagedevice"
    CustomMedia "B/B 11x17in" 792 1224 9 9 9 9 "<</cupsInteger0 6/PageSize[792 1224]/ImagingBBox null>>setpagedevice"
           "<</cupsInteger0 6/PageSize[792 1224]/ImagingBBox null>>setpagedevice"
    CustomMedia "B.FB/B Borderless 11x17in" 807.552 1238.112 0 0 0 0 "<</cupsInteger0 6/PageSize[807.552 1238.112]/ImagingBBox null>>setpagedevice"
           "<</cupsInteger0 6/cupsReal0 .098/cupsReal1 .098/PageSize[807.552 1238.112]/ImagingBBox null>>setpagedevice"
    CustomMedia "SuperB/SuperB 13x19in" 936 1368 9 9 9 9 "<</cupsInteger0 16/PageSize[936 1368]/ImagingBBox null>>setpagedevice"
           "<</cupsInteger0 16/PageSize[936 1368]/ImagingBBox null>>setpagedevice"
    CustomMedia "SuperB.FB/SuperB Borderless 13x19in" 951.552 1382.112 0 0 0 0 "<</cupsInteger0 16/PageSize[951.552 1382.112]/ImagingBBox null>>setpagedevice"
           "<</cupsInteger0 16/cupsReal0 .098/cupsReal1 .098/PageSize[951.552 1382.112]/ImagingBBox null>>setpagedevice"
    CustomMedia "A3/A3 297x420mm" 841.68 1190.88 9 9 9 9 "<</cupsInteger0 27/PageSize[841.68 1190.88]/ImagingBBox null>>setpagedevice"
           "<</cupsInteger0 27/PageSize[841.68 1190.88]/ImagingBBox null>>setpagedevice"
    CustomMedia "A3.FB/A3 Borderless 297x420mm" 857.232 1204.992 0 0 0 0 "<</cupsInteger0 27/PageSize[857.232 1204.992]/ImagingBBox null>>setpagedevice"
           "<</cupsInteger0 27/cupsReal0 .098/cupsReal1 .098/PageSize[857.232 1204.992]/ImagingBBox null>>setpagedevice"
    CustomMedia "SuperA3/A3+ 330x483mm" 935.28 1369.44 9 9 9 9 "<</cupsInteger0 16/PageSize[935.28 1369.44]/ImagingBBox null>>setpagedevice"
           "<</cupsInteger0 16/PageSize[935.28 1369.44]/ImagingBBox null>>setpagedevice"
    CustomMedia "SuperA3.FB/A3+ Borderless 330x483mm" 950.832 1383.552 0 0 0 0 "<</cupsInteger0 16/PageSize[950.832 1383.552]/ImagingBBox null>>setpagedevice"
           "<</cupsInteger0 16/cupsReal0 .098/cupsReal1 .098/PageSize[950.832 1383.552]/ImagingBBox null>>setpagedevice"


    // Custom page sizes from 3x4in to 13x44in
    HWMargins 9 9 9 9
    VariablePaperSize Yes
    MinSize 3in 4in
    MaxSize 13in 44in

    // <%Python:LargeFormatA3:NoAutoDuplex%>
    {
      ModelName "HP Photosmart Pro b8300 Series"
      Attribute "NickName" "" "HP Photosmart Pro b8300 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart Pro b8300 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart pro b8300 series;DES:photosmart pro b8300 series;"
      PCFileName "hp-photosmart_pro_b8300_series.ppd"
      Attribute "Product" "" "(HP Photosmart Pro b8330 Printer)"
      Attribute "Product" "" "(HP Photosmart Pro b8338 Printer)"
      Attribute "Product" "" "(HP Photosmart Pro b8350 Printer)"
      Attribute "Product" "" "(HP Photosmart Pro b8353 Printer)"
    }
    {
      ModelName "HP Photosmart b8500 Series"
      Attribute "NickName" "" "HP Photosmart b8500 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart b8500 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart b8500 series;DES:photosmart b8500 series;"
      PCFileName "hp-photosmart_b8500_series.ppd"
      Attribute "Product" "" "(HP Photosmart b8550 Photo Printer)"
      Attribute "Product" "" "(HP Photosmart b8553 Photo Printer)"
      Attribute "Product" "" "(HP Photosmart b8558 Photo Printer)"
    }

    //Adding Speciality Media Tray Support (LP#105443)
    {
        Option "InputSlot/Media Source" PickOne AnySetup 10.0
            Choice "MediaTray/Speciality Media Tray" "<</MediaPosition 2>>setpagedevice"
        // <%Python:LargeFormatA3:NoAutoDuplex:Advanced%>
        {
          ModelName "HP Photosmart Pro b8800 Series"
          Attribute "NickName" "" "HP Photosmart Pro b8800 Series, hpcups $Version"
          Attribute "ShortNickName" "" "HP Photosmart Pro b8800 Series"
          Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart pro b8800 series;DES:photosmart pro b8800 series;"
          PCFileName "hp-photosmart_pro_b8800_series.ppd"
          Attribute "Product" "" "(HP Photosmart Pro b8850 Printer)"
        }
    }



  } // End Large format media sizes with full bleed

} // End Python B-size

//////// Python10
{
  Attribute "cupsEvenDuplex" "" "True"
  Attribute "cupsBackSide" "" "Rotated"
  Attribute "cupsFlipDuplex" "" "True"
  Attribute "hpPrinterLanguage" "" "pcl3gui2"
  Attribute "HPMechOffset" "" "69"

  Group "General/General"

  Option "Duplex/Double-Sided Printing" PickOne AnySetup 10.0
    Choice "DuplexNoTumble/Long Edge (Standard)" "<</Duplex true/Tumble false>>setpagedevice"
    Choice "DuplexTumble/Short Edge (Flip)" "<</Duplex true/Tumble true>>setpagedevice"
    *Choice "None/Off" "<</Duplex false/Tumble false>>setpagedevice"


  Option "ColorModel/Output Mode" PickOne AnySetup 10.0
    Choice "CMYGray/High Quality Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 1>>setpagedevice"
    Choice "KGray/Black Only Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2>>setpagedevice"
    *Choice "RGB/Color" "<</cupsColorSpace 17/cupsBitsPerColor 8/cupsRowStep 0>>setpagedevice"

  // cupsMediaType values map to MEDIATYPE from global_types.h
  Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Automatic/Automatic" "<</MediaType(Automatic)/cupsMediaType -1>>setpagedevice"
    Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0>>setpagedevice"
    Choice "Glossy/Photo Paper" "<</MediaType(Glossy)/cupsMediaType 3>>setpagedevice"
    Choice "TransparencyFilm/Transparency Film" "<</MediaType(TransparencyFilm)/cupsMediaType 4>>setpagedevice"


  // Duplexer is optional...
  Installable "OptionDuplex/Duplexer Installed"

  // Constraints
  //UIConstraints "*Duplex *OptionDuplex False"
  UIConstraints "*MediaType Automatic *OutputMode FastDraft"
  UIConstraints "*MediaType Glossy *OutputMode FastDraft"
  UIConstraints "*MediaType TransparencyFilm *OutputMode FastDraft"
  UIConstraints "*MediaType TransparencyFilm *OutputMode Best"

  // Non duplex media against duplex
  UIConstraints "*PageSize Card3x5 *Duplex"
  UIConstraints "*PageSize PhotoL *Duplex"
  UIConstraints "*PageSize PhotoL.FB *Duplex"
  UIConstraints "*PageSize Hagaki *Duplex"
  UIConstraints "*PageSize Hagaki.FB *Duplex"
  UIConstraints "*PageSize Card4x6 *Duplex"
  UIConstraints "*PageSize Photo4x6 *Duplex"
  UIConstraints "*PageSize Photo4x6.FB *Duplex"
  UIConstraints "*PageSize A6 *Duplex"
  UIConstraints "*PageSize A6.FB *Duplex"
  UIConstraints "*PageSize HV *Duplex"
  UIConstraints "*PageSize HV.FB *Duplex"
  UIConstraints "*PageSize Photo5x7 *Duplex"
  UIConstraints "*PageSize Photo5x7.FB *Duplex"
  UIConstraints "*PageSize Photo2L *Duplex"
  UIConstraints "*PageSize Photo2L.FB *Duplex"
  UIConstraints "*PageSize Card5x8 *Duplex"
  UIConstraints "*PageSize Oufuku *Duplex"
  UIConstraints "*PageSize Cabinet *Duplex"
  UIConstraints "*PageSize Cabinet.FB *Duplex"
  UIConstraints "*PageSize A5 *Duplex"
  UIConstraints "*PageSize A5.FB *Duplex"
  UIConstraints "*PageSize B5 *Duplex"
  UIConstraints "*PageSize JB5 *Duplex"
  UIConstraints "*PageSize JB5.FB *Duplex"
  UIConstraints "*PageSize 8x10 *Duplex"
  UIConstraints "*PageSize Letter.FB *Duplex"
  UIConstraints "*PageSize A4.FB *Duplex"
  UIConstraints "*PageSize EnvA2 *Duplex"
  UIConstraints "*PageSize EnvC6 *Duplex"
  UIConstraints "*PageSize EnvChou4 *Duplex"
  UIConstraints "*PageSize Env6 *Duplex"
  UIConstraints "*PageSize EnvCard *Duplex"
  UIConstraints "*PageSize EnvMonarch *Duplex"
  UIConstraints "*PageSize EnvDL *Duplex"
  UIConstraints "*PageSize Env10 *Duplex"
  UIConstraints "*PageSize EnvChou3 *Duplex"
  UIConstraints "*PageSize EnvC5 *Duplex"

  // Constraint FB against FastDraft
  UIConstraints "*PageSize PhotoL.FB *OutputMode FastDraft"
  UIConstraints "*PageSize L.FB *OutputMode FastDraft"
  UIConstraints "*PageSize Hagaki.FB *OutputMode FastDraft"
  UIConstraints "*PageSize Photo4x6.FB *OutputMode FastDraft"
  UIConstraints "*PageSize A6.FB *OutputMode FastDraft"
  UIConstraints "*PageSize HV.FB *OutputMode FastDraft"
  UIConstraints "*PageSize Photo5x7.FB *OutputMode FastDraft"
  UIConstraints "*PageSize Photo2L.FB *OutputMode FastDraft"
  UIConstraints "*PageSize Cabinet.FB *OutputMode FastDraft"
  UIConstraints "*PageSize A5.FB *OutputMode FastDraft"
  UIConstraints "*PageSize JB5.FB *OutputMode FastDraft"
  UIConstraints "*PageSize Letter.FB *OutputMode FastDraft"
  UIConstraints "*PageSize A4.FB *OutputMode FastDraft"

// 4x6 or smaller
  CustomMedia "Card3x5/Index Card 3x5in" 216 360 9 9 9 9 "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "PhotoL/Photo 3.5x5in" 252 360 9 9 9 9 "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "PhotoL.FB/Photo Borderless 3.5x5in" 264.744 374.112 0 0 0 0 "<</cupsInteger0 121/PageSize[264.744 374.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/cupsReal0 .079/cupsReal1 .098/PageSize[264.744 374.112]/ImagingBBox null>>setpagedevice"
  CustomMedia "L/L 89x127mm" 252 360 9 9 9 9 "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "L.FB/L Borderless 89x127mm" 264.744 374.112 0 0 0 0 "<</cupsInteger0 121/PageSize[264.744 374.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/cupsReal0 .079/cupsReal1 .098/PageSize[264.744 374.112]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki/Hagaki 100x148mm" 283.68 419.76 9 9 9 9 "<</cupsInteger0 71/PageSize[283.68 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[283.68 419.76]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki.FB/Hagaki Borderless 100x148mm" 296.424 433.872 0 0 0 0 "<</cupsInteger0 71/PageSize[296.424 433.872]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/cupsReal0 .079/cupsReal1 .098/PageSize[296.424 433.872]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card4x6/Index Card 4x6in" 288 432 9 9 9 9 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6/Photo 4x6in" 288 432 9 9 9 9 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6.FB/Photo Borderless 4x6in" 303.552 446.112 0 0 0 0 "<</cupsInteger0 74/PageSize[303.552 446.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/cupsReal0 .098/cupsReal1 .098/PageSize[303.552 446.112]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6/A6 105x148mm" 297.36 419.76 9 9 9 9 "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6.FB/A6 Borderless 105x148mm" 310.104 433.872 0 0 0 0 "<</cupsInteger0 73/PageSize[310.104 433.872]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/cupsReal0 .079/cupsReal1 .098/PageSize[310.104 433.872]/ImagingBBox null>>setpagedevice"

// 5x7
  CustomMedia "HV/HV 101x180mm" 286.56 510.48 9 9 9 9 "<</cupsInteger0 101/PageSize[286.56 510.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[286.56 510.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "HV.FB/HV Borderless 101x180mm" 302.112 524.592 0 0 0 0 "<</cupsInteger0 101/PageSize[302.112 524.592]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/cupsReal0 .098/cupsReal1 .098/PageSize[302.112 524.592]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo5x7/Photo 5x7in" 360 504 9 9 9 9 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo5x7.FB/Photo Borderless 5x7in" 372.816 518.112 0 0 0 0 "<</cupsInteger0 122/PageSize[372.816 518.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/cupsReal0 .089/cupsReal1 .098/PageSize[372.816 518.112]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo2L/Photo 2L 127x178mm" 360 504 9 9 9 9 "<</cupsInteger0 126/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 126/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo2L.FB/Photo 2L Borderless 127x178mm" 372.816 518.112 0 0 0 0 "<</cupsInteger0 126/PageSize[372.816 518.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 126/cupsReal0 .089/cupsReal1 .098/PageSize[372.816 518.112]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card5x8/Index Card 5x8in" 360 576 9 9 9 9 "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku/Oufuku-Hagaki 200x148mm" 566.64 419.76 9 9 9 9 "<</cupsInteger0 72/PageSize[566.64 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[566.64 419.76]/ImagingBBox null>>setpagedevice"
  CustomMedia "Cabinet/Cabinet Size 120x165" 339.84 468 9 9 9 9 "<</cupsInteger0 119/PageSize[339.84 468]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 119/PageSize[339.84 468]/ImagingBBox null>>setpagedevice"
  CustomMedia "Cabinet.FB/Cabinet Size 120x165 Borderless" 352.584 482.112 0 0 0 0 "<</cupsInteger0 119/PageSize[352.584 482.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 119/cupsReal0 .079/cupsReal1 .098/PageSize[352.584 482.112]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5/A5 148x210mm" 419.76 595.44 9 9 9 9 "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5.FB/A5 Borderless 148x210mm" 435.312 609.552 0 0 0 0 "<</cupsInteger0 25/PageSize[435.312 609.552]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/cupsReal0 .098/cupsReal1 .098/PageSize[435.312 609.552]/ImagingBBox null>>setpagedevice"

// Standard
  CustomMedia "B5/B5 176x250mm" 498.96 708.48 9 9 9 9 "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "B5.Duplex/B5 AutoDuplex 176x250mm" 498.96 699.48 9 33.192 9 42.192 "<</cupsInteger0 65/PageSize[498.96 699.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[498.96 699.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5/JB5 182x257mm" 516.24 728.64 9 9 9 9 "<</cupsInteger0 45/PageSize[516.24 728.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5.FB/JB5 Borderless 182x257mm" 531.792 742.752 0 0 0 0 "<</cupsInteger0 45/PageSize[531.792 742.752]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/cupsReal0 .098/cupsReal1 .098/PageSize [531.792 742.752]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5.Duplex/JB5 AutoDuplex 182x257mm" 516.24 719.64 9 33.192 9 42.192 "<</cupsInteger0 45/PageSize[516.24 719.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [516.24 719.64]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive/Executive 7.25x10.5in" 522 756 9 9 9 9 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive.Duplex/Executive AutoDuplex 7.25x10.5in" 522 747 9 33.192 9 42.192 "<</cupsInteger0 1/PageSize[522 747]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 747]/ImagingBBox null>>setpagedevice"
  CustomMedia "8x10/8x10in" 576 720 9 9 9 9 "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
  *CustomMedia "Letter/Letter 8.5x11in" 612 792 9 9 9 9 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
  CustomMedia "Letter.FB/Letter Borderless 8.5x11in" 627.552 806.112 0 0 0 0 "<</cupsInteger0 2/PageSize[627.552 806.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/cupsReal0 .098/cupsReal1 .098/PageSize[627.552 806.112]/ImagingBBox null>>setpagedevice"
  CustomMedia "Letter.Duplex/Letter AutoDuplex 8.5x11in" 612 783 9 33.192 9 42.192 "<</cupsInteger0 2/PageSize[612 783]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 783]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4/A4 210x297mm" 595.44 841.68 9 9 9 9 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4.FB/A4 Borderless 210x297mm" 610.992 855.792 0 0 0 0 "<</cupsInteger0 26/PageSize[610.992 855.792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/cupsReal0 .098/cupsReal1 .098/PageSize[610.992 855.792]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4.Duplex/A4 AutoDuplex 210x297mm" 595.44 832.68 9 33.192 9 42.192 "<</cupsInteger0 26/PageSize[595.44 832.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 832.68]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal/Legal 8.5x14in" 612 1008 9 9 9 9 "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"

// Envelope
  CustomMedia "EnvA2/A2 Envelope 4.37x5.75in" 314.64 414 9 42.192 9 9 "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.28 459.36 9 42.192 9 9 "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou4/#4 Japanese Envelope 90x205mm" 254.88 581.04 9 42.192 9 9 "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env6/#6 Envelope 3.63x6.5in" 261.36 468 9 42.192 9 9 "<</cupsInteger0 83/PageSize[261.36 468]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 83/PageSize[261.36 468]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvCard/Card Envelope 4.4x6in" 315 432 9 42.192 9 9 "<</cupsInteger0 114/PageSize[315 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 114/PageSize[315 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279 540 9 42.192 9 9 "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvDL/DL Envelope 110x220mm" 311.76 623.52 9 42.192 9 9 "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env10/#10 Envelope 4.125x9.5in" 297 684 9 42.192 9 9 "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 339.84 666 9 42.192 9 9 "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC5/C5 Envelope 162x229mm" 459.36 649.44 9 42.192 9 9 "<</cupsInteger0 91/PageSize[459.36 649.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 91/PageSize[459.36 649.44]/ImagingBBox null>>setpagedevice"

     // Custom page sizes from 3x4in to Legal
     HWMargins 9 9 9 9
     VariablePaperSize Yes
     MinSize 3in 4in
     MaxSize 8.5in 30in

   //Python10 with NoCDDVD
   {
     // MediaPosition values map to MediaSource enumeration in global_types.h
     Option "InputSlot/Media Source" PickOne AnySetup 10.0
     *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"
     Choice "PhotoTray/Photo Tray" "<</MediaPosition 6>>setpagedevice"
     Choice "Upper/Main Tray" "<</MediaPosition 1>>setpagedevice"

     //With NoMaxDPI
     {
	// cupsCompression values map to QUALITY_MODE from global_types.h
	Option "OutputMode/Print Quality" PickOne AnySetup 10.0
	Choice "Auto/Automatic" "<</OutputType(-3)/HWResolution[600 600]>>setpagedevice"
	Choice "FastDraft/Fast Draft" "<</OutputType(-2)/HWResolution[300 300]>>setpagedevice"
	*Choice "Normal/Normal" "<</OutputType(0)/HWResolution[600 600]>>setpagedevice"
	Choice "Best/Best" "<</OutputType(1)/HWResolution[600 600]>>setpagedevice"

        // <%Python10:NoCDDVD:NoMaxDPI%>
        {
          ModelName "HP Photosmart Prem c310 Series"
          Attribute "NickName" "" "HP Photosmart Prem c310 Series, hpcups $Version"
          Attribute "ShortNickName" "" "HP Photosmart Prem c310 Series"
          Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart prem c310 series;DES:photosmart prem c310 series;"
          PCFileName "hp-photosmart_prem_c310_series.ppd"
          Attribute "Product" "" "(HP Photosmart Prem c310 Series)"
        }
        {
          ModelName "HP Photosmart Prem c410 Series"
          Attribute "NickName" "" "HP Photosmart Prem c410 Series, hpcups $Version"
          Attribute "ShortNickName" "" "HP Photosmart Prem c410 Series"
          Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart prem c410 series;DES:photosmart prem c410 series;"
          PCFileName "hp-photosmart_prem_c410_series.ppd"
          Attribute "Product" "" "(HP Photosmart Prem c410 Series)"
        }
        {
          ModelName "HP Photosmart Estn c510 Series"
          Attribute "NickName" "" "HP Photosmart Estn c510 Series, hpcups $Version"
          Attribute "ShortNickName" "" "HP Photosmart Estn c510 Series"
          Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart estn c510 series;DES:photosmart estn c510 series;"
          PCFileName "hp-photosmart_estn_c510_series.ppd"
          Attribute "Product" "" "(HP Photosmart Estn c510 Series)"
        }
     }

   } //NOCDDVD Block Ends

   //Python10 with NoAutoTray
   {
     // MediaPosition values map to MediaSource enumeration in global_types.h
     Option "InputSlot/Media Source" PickOne AnySetup 10.0
     Choice "Main/Main Tray" "<</MediaPosition 1>>setpagedevice"

     //With MaxDPI as 1200x1200
     {
	// cupsCompression values map to QUALITY_MODE from global_types.h
	Option "OutputMode/Print Quality" PickOne AnySetup 10.0
	Choice "Auto/Automatic" "<</OutputType(-3)/HWResolution[600 600]>>setpagedevice"
	Choice "FastDraft/Fast Draft" "<</OutputType(-2)/HWResolution[300 300]>>setpagedevice"
	*Choice "Normal/Normal" "<</OutputType(0)/HWResolution[600 600]>>setpagedevice"
	Choice "Best/Best" "<</OutputType(1)/HWResolution[600 600]>>setpagedevice"
	Choice "Photo/High-Resolution Photo" "<</OutputType(2)/HWResolution[1200 1200]>>setpagedevice"

        // <%Python10:NoAutoTray%>
        {
          ModelName "HP Officejet 6500 e710n-z"
          Attribute "NickName" "" "HP Officejet 6500 e710n-z, hpcups $Version"
          Attribute "ShortNickName" "" "HP Officejet 6500 e710n-z"
          Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet 6500 e710n-z;DES:officejet 6500 e710n-z;"
          PCFileName "hp-officejet_6500_e710n-z.ppd"
          Attribute "Product" "" "(HP Officejet 6500 e710n-z)"
        }
     }
   } //NoAutoTray Block Ends


} // End Python10



//////// Mimas class without CDDVD
{
  Attribute "cupsEvenDuplex" "" "True"
  Attribute "cupsBackSide" "" "Rotated"
  Attribute "cupsFlipDuplex" "" "True"
  Attribute "hpPrinterLanguage" "" "pcl3gui2"
  Attribute "HPMechOffset" "" "70"

  Group "General/General"


  // MediaPosition values map to MediaSource enumeration in global_types.h
  Option "Duplex/Double-Sided Printing" PickOne AnySetup 10.0
    Choice "DuplexNoTumble/Long Edge (Standard)" "<</Duplex true/Tumble false>>setpagedevice"
    Choice "DuplexTumble/Short Edge (Flip)" "<</Duplex true/Tumble true>>setpagedevice"
    *Choice "None/Off" "<</Duplex false/Tumble false>>setpagedevice"

  // MediaPosition values map to MediaSource enumeration in global_types.h
  Option "InputSlot/Media Source" PickOne AnySetup 10.0
    *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"
    Choice "Main/Main Tray" "<</MediaPosition 1>>setpagedevice"

  Option "ColorModel/Output Mode" PickOne AnySetup 10.0
    *Choice "RGB/Color" "<</cupsColorSpace 17/cupsBitsPerColor 8/cupsRowStep 0>>setpagedevice"
    Choice "CMYGray/High Quality Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 1>>setpagedevice"
    Choice "KGray/Black Only Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2>>setpagedevice"

  // cupsMediaType values map to MEDIATYPE from global_types.h
  Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0>>setpagedevice"
    Choice "Glossy/Photo Paper" "<</MediaType(Glossy)/cupsMediaType 3>>setpagedevice"
    Choice "TransparencyFilm/Transparency Film" "<</MediaType(TransparencyFilm)/cupsMediaType 4>>setpagedevice"

  // cupsCompression values map to QUALITY_MODE from global_types.h
  Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "Normal/Normal" "<</OutputType(0)/HWResolution[600 600]>>setpagedevice"
    Choice "Best/Best" "<</OutputType(1)/HWResolution[600 600]>>setpagedevice"
    Choice "Photo/High-Resolution Photo" "<</OutputType(2)/HWResolution[1200 1200]>>setpagedevice"
    Choice "FastDraft/Fast Draft" "<</OutputType(-2)/HWResolution[300 300]>>setpagedevice"


  // Duplexer is optional...
  Installable "OptionDuplex/Duplexer Installed"


  // Constraints
  //UIConstraints "*Duplex *OptionDuplex False"
  UIConstraints "*MediaType Glossy *OutputMode FastDraft"
  UIConstraints "*MediaType TransparencyFilm *OutputMode FastDraft"
  UIConstraints "*MediaType TransparencyFilm *OutputMode Best"

  UIConstraints "*ColorModel KGray *OutputMode Photo"
  UIConstraints "*ColorModel CMYGray *OutputMode Photo"
  UIConstraints "*MediaType Glossy *OutputMode FastDraft"
  UIConstraints "*MediaType TransparencyFilm *OutputMode FastDraft"
  UIConstraints "*MediaType Plain *OutputMode Photo"
  UIConstraints "*MediaType TransparencyFilm *OutputMode Photo"
  UIConstraints "*MediaType TransparencyFilm *OutputMode Best"

  UIConstraints "*PageSize Photo4x6.FB *OutputMode FastDraft"
  UIConstraints "*PageSize A6.FB *OutputMode FastDraft"
  UIConstraints "*PageSize Cabinet.FB *OutputMode FastDraft"
  UIConstraints "*PageSize Photo5x7.FB *OutputMode FastDraft"
  UIConstraints "*PageSize A5.FB *OutputMode FastDraft"
  UIConstraints "*PageSize 8x10.FB *OutputMode FastDraft"
  UIConstraints "*PageSize Letter.FB *OutputMode FastDraft"
  UIConstraints "*PageSize A4.FB *OutputMode FastDraft"
  UIConstraints "*PageSize B5.FB *OutputMode FastDraft"
  UIConstraints "*PageSize HV.FB *OutputMode FastDraft"


  // Non duplex media against duplex
  UIConstraints "*PageSize Card3x5 *Duplex"
  UIConstraints "*PageSize Hagaki *Duplex"
  UIConstraints "*PageSize Hagaki.FB *Duplex"
  UIConstraints "*PageSize Card4x6 *Duplex"
  UIConstraints "*PageSize Photo4x6 *Duplex"
  UIConstraints "*PageSize Photo4x6.FB *Duplex"
  UIConstraints "*PageSize A6 *Duplex"
  UIConstraints "*PageSize A6.FB *Duplex"
  UIConstraints "*PageSize HV *Duplex"
  UIConstraints "*PageSize HV.FB *Duplex"
  UIConstraints "*PageSize Photo5x7 *Duplex"
  UIConstraints "*PageSize Photo5x7.FB *Duplex"
  UIConstraints "*PageSize Card5x8 *Duplex"
  UIConstraints "*PageSize Oufuku *Duplex"
  UIConstraints "*PageSize Cabinet *Duplex"
  UIConstraints "*PageSize Cabinet.FB *Duplex"
  UIConstraints "*PageSize A5 *Duplex"
  UIConstraints "*PageSize A5.FB *Duplex"
  UIConstraints "*PageSize B5 *Duplex"
  UIConstraints "*PageSize JB5 *Duplex"
  UIConstraints "*PageSize JB5.FB *Duplex"
  UIConstraints "*PageSize 8x10 *Duplex"
  UIConstraints "*PageSize Letter.FB *Duplex"
  UIConstraints "*PageSize A4.FB *Duplex"
  UIConstraints "*PageSize EnvA2 *Duplex"
  UIConstraints "*PageSize EnvC6 *Duplex"
  UIConstraints "*PageSize EnvChou4 *Duplex"
  UIConstraints "*PageSize Env6 *Duplex"
  UIConstraints "*PageSize EnvCard *Duplex"
  UIConstraints "*PageSize EnvMonarch *Duplex"
  UIConstraints "*PageSize EnvDL *Duplex"
  UIConstraints "*PageSize Env10 *Duplex"
  UIConstraints "*PageSize EnvChou3 *Duplex"
  UIConstraints "*PageSize EnvC5 *Duplex"

// 4x6 or smaller
  CustomMedia "Card3x5/Index Card 3x5in" 216 360 9 9 9 9 "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card4x6/Index Card 4x6in" 288 432 9 9 9 9 "<</cupsInteger0 74/PageSize [288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card4x6.Duplex/Index Card AutoDuplex 4x6in" 288 423 9 27 9 36 "<</cupsInteger0 74/PageSize[288 423]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 423]/ImagingBBox null>>setpagedevice"
  CustomMedia "L/L 89x127mm" 252 360 9 9 9 9 "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "L.FB/L Borderless 89x127mm" 264.74 370.36 0 0 0 0 "<</cupsInteger0 121/PageSize[264.74 370.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/cupsReal0 .079/cupsReal1 .051/PageSize[264.74 370.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6/Photo 4x6in" 288 432 9 9 9 9 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6.FB/Photo Borderless 4x6in" 303.55 442.36 0 0 0 0 "<</cupsInteger0 74/PageSize[303.55 442.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/cupsReal0 .098/cupsReal1 .051/PageSize[303.55 442.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6/A6 105x148mm" 297.36 419.76 9 9 9 9 "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6.FB/A6 Borderless 105x148mm" 310.1 430.12 0 0 0 0 "<</cupsInteger0 73/PageSize[310.1 430.12]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/cupsReal0 .079/cupsReal1 .051/PageSize[310.1 430.12]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6.Duplex/A6 AutoDuplex 105x148mm)" 297 411 9 27 9 36 "<</cupsInteger0 73/PageSize[297 411]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[297 411]/ImagingBBox null>>setpagedevice"

// 5x7
  CustomMedia "HV/HV 101x180mm" 286.56 510.48 9 9 9 9 "<</cupsInteger0 101/PageSize[286.56 510.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[286.56 510.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "HV.FB/HV Borderless 101x180mm" 302.11 520.84 0 0 0 0 "<</cupsInteger0 101/PageSize[302.11 520.84]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/cupsReal0 .098/cupsReal1 .051/PageSize[302.11 520.84]/ImagingBBox null>>setpagedevice"
  CustomMedia "Cabinet/Cabinet Size 120x165mm" 339.84 468 9 9 9 9 "<</cupsInteger0 119/PageSize[339.84 468]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 119/PageSize[339.84 468]/ImagingBBox null>>setpagedevice"
  CustomMedia "Cabinet.FB/Cabinet Size Borderless 120x165mm" 352.58 478.36 0 0 0 0 "<</cupsInteger0 119/PageSize[352.58 478.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 119/cupsReal0 .079/cupsReal1 .051/PageSize[352.58 478.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo5x7/Photo 5x7in" 360 504 9 9 9 9 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo5x7.FB/Photo Borderless 5x7in" 372.81 514.36 0 0 0 0 "<</cupsInteger0 122/PageSize[372.81 514.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/cupsReal0 .089/cupsReal1 .051/PageSize[372.81 514.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card5x8/Index Card 5x8in" 360 576 9 9 9 9 "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card5x8.Duplex/Index Card AutoDuplex 5x8in" 360 567 9 27 9 36 "<</cupsInteger0 75/PageSize[360 567]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 567]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5/A5 148x210mm" 419.76 595.44 9 9 9 9 "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5.Duplex/A5 AutoDuplex 148x210mm" 419.76 586.44 9 27 9 36 "<</cupsInteger0 25/PageSize[419.76 586.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.76 586.44]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5.FB/A5 Borderless 148x210mm" 435.31 605.8 0 0 0 0 "<</cupsInteger0 25/PageSize[435.31 605.8]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/cupsReal0 .098/cupsReal1 .051/PageSize[435.31 605.8]/ImagingBBox null>>setpagedevice"

// Standard
  CustomMedia "B5/B5 176x250mm" 498.96 708.48 9 9 9 9 "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "B5.Duplex/B5 AutoDuplex 176x250mm" 498.96 699.48 9 27 9 36 "<</cupsInteger0 65/PageSize[498.96 699.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[498.96 699.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "B5.FB/B5 Borderless 176x250mm" 514.51 718.84 0 0 0 0 "<</cupsInteger0 65/PageSize[514.51 718.84]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/cupsReal0 .098/cupsReal1 .051/PageSize[514.51 718.84]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive/Executive 7.25x10.5in" 522 756 9 9 9 9 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive.Duplex/Executive AutoDuplex 7.25x10.5in" 522 747 9 27 9 36 "<</cupsInteger0 1/PageSize[522 747]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 747]/ImagingBBox null>>setpagedevice"
  CustomMedia "8x10/8x10in" 576 720 9 9 9 9 "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
  CustomMedia "8x10.FB/Borderless 8x10in" 589.46 730.36 0 0 0 0 "<</cupsInteger0 7/PageSize[589.46 730.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/cupsReal0 .098/cupsReal1 .051/PageSize[589.46 730.36]/ImagingBBox null>>setpagedevice"
  *CustomMedia "Letter/Letter 8.5x11in" 612 792 9 9 9 9 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
  CustomMedia "Letter.Duplex/Letter AutoDuplex 8.5x11in" 612 783 9 27 9 36 "<</cupsInteger0 2/PageSize[612 783]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 783]/ImagingBBox null>>setpagedevice"
  CustomMedia "Letter.FB/Letter Borderless 8.5x11in" 627.55 802.36 0 0 0 0 "<</cupsInteger0 2/PageSize[627.55 802.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/cupsReal0 .098/cupsReal1 .051/PageSize[627.55 802.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4/A4 210x297mm" 595.44 841.68 9 9 9 9 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4.Duplex/A4 AutoDuplex 210x297mm" 595.44 832.68 9 27 9 36 "<</cupsInteger0 26/PageSize[595.44 832.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 832.68]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4.FB/A4 Borderless 210x297mm" 610.99 852.04 0 0 0 0 "<</cupsInteger0 26/PageSize[610.99 852.04]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/cupsReal0 .098/cupsReal1 .051/PageSize[610.99 852.04]/ImagingBBox null>>setpagedevice"

// Envelope
  CustomMedia "EnvA2/A2 Envelope 4.37x5.75in" 314.64 414 9 40.536 9 9 "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.28 459.36 9 40.536 9 9 "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279 540 9 40.536 9 9 "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvDL/DL Envelope 110x220mm" 311.76 623.52 9 40.536 9 9 "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env10/#10 Envelope 4.125x9.5in" 297 684 9 40.536 9 9 "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env6/#6 Envelope 3.63x6.5in" 261.36 468 9 40.536 9 9 "<</cupsInteger0 83/PageSize[261.36 468]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 83/PageSize[261.36 468]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvCard/Card Envelope 4.4x6in" 315 432 9 40.536 9 9 "<</cupsInteger0 114/PageSize[315 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 114/PageSize[315 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC5/C5 Envelope 162x229mm" 459 649.44 9 42.19 9 9 "<</cupsInteger0 91/PageSize[459 649.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 91/PageSize[459 649.44]/ImagingBBox null>>setpagedevice"

  {
  UIConstraints "*PageSize L.FB *OutputMode FastDraft"
  UIConstraints "*PageSize Hagaki.FB *OutputMode FastDraft"
  UIConstraints "*PageSize JB5.FB *OutputMode FastDraft"
  UIConstraints "*PageSize 2L.FB *OutputMode FastDraft"


  CustomMedia "Hagaki/Hagaki 100x148mm" 283.68 419.76 9 9 9 9 "<</cupsInteger0 71/PageSize[283.68 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[283.68 419.76]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki.Duplex/Hagaki AutoDuplex 100x148mm" 283.68 410.76 9 27 9 36 "<</cupsInteger0 71/PageSize[283.68 410.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[283.68 410.76]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki.FB/Hagaki Borderless 100x148mm" 296.42 430.12 0 0 0 0 "<</cupsInteger0 71/PageSize[296.42 430.12]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/cupsReal0 .098/cupsReal1 .051/PageSize[296.42 430.12]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku/Oufuku-Hagaki 200x148mm" 566.64 419.76 9 9 9 9 "<</cupsInteger0 72/PageSize[566.64 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[566.64 419.76]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku.Duplex/Oufuku-Hagaki AutoDuplex 200x148mm" 566.64 410.76 9 27 9 36 "<</cupsInteger0 72/PageSize[566.64 410.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[566.64 410.76]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5/JB5 182x257mm" 516.24 728.64 9 9 9 9 "<</cupsInteger0 45/PageSize[516.24 728.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5.Duplex/JB5 AutoDuplex 182x257mm" 516.24 719.64 9 27 9 36 "<</cupsInteger0 45/PageSize[516.24 719.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [516.24 719.64]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5.FB/JB5 Borderless 182x257mm" 531.79 739 0 0 0 0 "<</cupsInteger0 45/PageSize[531.79 739]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/cupsReal0 .098/cupsReal1 .051/PageSize [531.79 739]/ImagingBBox null>>setpagedevice"
  CustomMedia "2L/2L 127x178mm" 360 504 9 9 9 9 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "2L.FB/2L Borderless 127x178mm" 372.81 514.36 0 0 0 0 "<</cupsInteger0 122/PageSize[372.81 514.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/cupsReal0 .089/cupsReal1 .051/PageSize[372.81 514.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 339.84 666 9 40.536 9 9 "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou4/#4 Japanese Envelope 90x205mm" 254.88 581.04 9 40.536 9 9 "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
  CustomMedia "Custom1/Custom 1" 612 1008 8.4 8.4 8.4 8.4 "<</cupsInteger0 101/PageSize [612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
  CustomMedia "Custom1.FB/Borderless Custom" 612 1008 0 0 0 0 "<</cupsInteger0 101/PageSize [612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
  CustomMedia "IndexCardA4/Index Card A4" 595.44 841.68 8.4 8.4 8.4 8.4 "<</cupsInteger0 26/PageSize [595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
  CustomMedia "IndexCardA4.FB/Borderless Index Card A4" 595.44 841.68 0 0 0 0 "<</cupsInteger0 26/PageSize [595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
  CustomMedia "IndexCardLetter/Index Card Letter" 612 792 8.4 8.4 8.4 8.4 "<</cupsInteger0 2/PageSize [612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
  CustomMedia "IndexCardLetter.FB/Borderless Index Card Letter" 612 792 0 0 0 0 "<</cupsInteger0 2/PageSize [612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"

  // Custom page sizes from 3x4in to Legal
  HWMargins 9 9 9 9
  VariablePaperSize Yes
  MinSize 3in 4in
  MaxSize 8.5in 30in

  // <%Mimas:NoCDDVD%>
  {
    ModelName "HP Envy 100 d410 Series"
    Attribute "NickName" "" "HP Envy 100 d410 Series, hpcups $Version"
    Attribute "ShortNickName" "" "HP Envy 100 d410 Series"
    Attribute "1284DeviceID" "" "MFG:HP;MDL:envy 100 d410 series;DES:envy 100 d410 series;"
    PCFileName "hp-envy_100_d410_series.ppd"
    Attribute "Product" "" "(HP Envy 100 d410 Series)"
  }
  {
    ModelName "HP Envy 110 Series"
    Attribute "NickName" "" "HP Envy 110 Series, hpcups $Version"
    Attribute "ShortNickName" "" "HP Envy 110 Series"
    Attribute "1284DeviceID" "" "MFG:HP;MDL:envy 110 series;DES:envy 110 series;"
    PCFileName "hp-envy_110_series.ppd"
    Attribute "Product" "" "(HP Envy 110 E-all-in-one)"
    Attribute "Product" "" "(HP Envy 111 E-all-in-one)"
    Attribute "Product" "" "(HP Envy 114 E-all-in-one)"
  }
  {
    ModelName "HP Envy 120 Series"
    Attribute "NickName" "" "HP Envy 120 Series, hpcups $Version"
    Attribute "ShortNickName" "" "HP Envy 120 Series"
    Attribute "1284DeviceID" "" "MFG:HP;MDL:envy 120 series;DES:envy 120 series;"
    PCFileName "hp-envy_120_series.ppd"
    Attribute "Product" "" "(HP Envy 120 E-all-in-one)"
    Attribute "Product" "" "(HP Envy 121 E-all-in-one)"
  }
  {
    ModelName "HP Envy 6000 Series"
    Attribute "NickName" "" "HP Envy 6000 Series, hpcups $Version"
    Attribute "ShortNickName" "" "HP Envy 6000 Series"
    Attribute "1284DeviceID" "" "MFG:HP;MDL:envy 6000 series;DES:envy 6000 series;"
    PCFileName "hp-envy_6000_series.ppd"
    Attribute "Product" "" "(HP Envy 6000 Series)"
  }
  {
    ModelName "HP Deskjet Plus 6000 Series"
    Attribute "NickName" "" "HP Deskjet Plus 6000 Series, hpcups $Version"
    Attribute "ShortNickName" "" "HP Deskjet Plus 6000 Series"
    Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet plus 6000 series;DES:deskjet plus 6000 series;"
    PCFileName "hp-deskjet_plus_6000_series.ppd"
    Attribute "Product" "" "(HP Deskjet Plus 6000 Series)"
  }
  {
    ModelName "HP Envy Pro 6400 Series"
    Attribute "NickName" "" "HP Envy Pro 6400 Series, hpcups $Version"
    Attribute "ShortNickName" "" "HP Envy Pro 6400 Series"
    Attribute "1284DeviceID" "" "MFG:HP;MDL:envy pro 6400 series;DES:envy pro 6400 series;"
    PCFileName "hp-envy_pro_6400_series.ppd"
    Attribute "Product" "" "(HP Envy Pro 6400 Series)"
  }
  {
    ModelName "HP Deskjet Plus 6400 Series"
    Attribute "NickName" "" "HP Deskjet Plus 6400 Series, hpcups $Version"
    Attribute "ShortNickName" "" "HP Deskjet Plus 6400 Series"
    Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet plus 6400 series;DES:deskjet plus 6400 series;"
    PCFileName "hp-deskjet_plus_6400_series.ppd"
    Attribute "Product" "" "(HP Deskjet Plus 6400 Series)"
  }
  {
    ModelName "HP Envy 6400 Series"
    Attribute "NickName" "" "HP Envy 6400 Series, hpcups $Version"
    Attribute "ShortNickName" "" "HP Envy 6400 Series"
    Attribute "1284DeviceID" "" "MFG:HP;MDL:envy 6400 series;DES:envy 6400 series;"
    PCFileName "hp-envy_6400_series.ppd"
    Attribute "Product" "" "(HP Envy 6400 Series)"
  }
  } // End Supported media sizes with full bleed.

} // End Mimas

//////////Mimas15
{
    Attribute "cupsEvenDuplex" "" "True"
    Attribute "cupsBackSide" "" "Rotated"
    Attribute "cupsFlipDuplex" "" "True"
    Attribute "hpPrinterLanguage" "" "pcl3gui2"
    Attribute "HPMechOffset" "" "117"
    Attribute "HPSPDClass" "" 1

    Group "General/General"

    Option "ColorModel/Output Mode" PickOne AnySetup 10.0
    *Choice "RGB/Color" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 0>>setpagedevice"
    Choice "CMYGray/High Quality Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 1>>setpagedevice"
    Choice "KGray/Black Only Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2>>setpagedevice"

    // cupsMediaType values map to MEDIATYPE from global_types.h
    Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Plain/Plain Paper" "<</MediaType/cupsMediaType 0>>setpagedevice"
    Choice "Glossy/HP Photo Papers" "<</MediaType/cupsMediaType 5>>setpagedevice"
    Choice "CoatedBrochure/HP Matte Brochure or Professional Paper" "<</MediaType/cupsMediaType 2>>setpagedevice"
    Choice "CoatedMatte/HP Matte Presentation Paper" "<</MediaType/cupsMediaType 2>>setpagedevice"
    Choice "BrochureGlosy/HP Glossy Brochure or Professional Paper" "<</MediaType/cupsMediaType 8>>setpagedevice"
    Choice "FastGlossy/Other photo inkjet papers" "<</MediaType/cupsMediaType 5>>setpagedevice"
    Choice "Coated/Other matte inkjet papers Paper" "<</MediaType/cupsMediaType 2>>setpagedevice"
    Choice "Brochure/Other glossy inkjet Paper" "<</MediaType/cupsMediaType 8>>setpagedevice"


     // cupsCompression values map to QUALITY_MODE from global_types.h
    Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "Normal/Normal" "<</OutputType(0)/HWResolution[600 600]>>setpagedevice"
     Choice "FastDraft/Draft" "<</OutputType(-2)/HWResolution[300 300]>>setpagedevice"
     Choice "Best/Best" "<</OutputType(1)/HWResolution[600 600]>>setpagedevice"
     Choice "Photo/High-Resolution Photo" "<</OutputType(2)/HWResolution[1200 1200]>>setpagedevice"


    Option "InputSlot/Media Source" PickOne AnySetup 10.0
       *Choice "Upper/Main Tray" "<</MediaPosition 1>>setpagedevice"

    Option "Duplex/Double-Sided Printing" PickOne AnySetup 10.0
     Choice "DuplexNoTumble/Long Edge (Standard)" "<</Duplex true/Tumble false>>setpagedevice"
     Choice "DuplexTumble/Short Edge (Flip)" "<</Duplex true/Tumble true>>setpagedevice"
    *Choice "None/Off" "<</Duplex false/Tumble false>>setpagedevice"

     //Constraints
     //MediaType & OutputMode
     UIConstraints "*MediaType FastGlossy *OutputMode FastDraft"
     UIConstraints "*MediaType Glossy *OutputMode FastDraft"
     UIConstraints "*MediaType CoatedBrochure *OutputMode FastDraft"
     UIConstraints "*MediaType CoatedMatte *OutputMode FastDraft"
     UIConstraints "*MediaType Coated *OutputMode FastDraft"
     UIConstraints "*MediaType BrochureGlosy *OutputMode FastDraft"
     UIConstraints "*MediaType Brochure *OutputMode FastDraft"

     //Non duplex media against duplex
     UIConstraints "*PageSize Photo2L.FB *Duplex"
     UIConstraints "*PageSize Photo2L *Duplex"
     UIConstraints "*PageSize Photo4x6 *Duplex"
     UIConstraints "*PageSize Photo4x6.FB *Duplex"
     UIConstraints "*PageSize Photo5x7 *Duplex"
     UIConstraints "*PageSize Photo5x7.FB *Duplex"
     UIConstraints "*PageSize 8.5x13 *Duplex"
     UIConstraints "*PageSize Photo8x10 *Duplex"
     UIConstraints "*PageSize A5 *Duplex"
     UIConstraints "*PageSize A5.FB *Duplex"
     UIConstraints "*PageSize A6 *Duplex"
     UIConstraints "*PageSize A6.FB *Duplex"
     UIConstraints "*PageSize Env10 *Duplex"
     UIConstraints "*PageSize EnvC6 *Duplex"
     UIConstraints "*PageSize EnvC5 *Duplex"
     UIConstraints "*PageSize EnvMonarch *Duplex"
     UIConstraints "*PageSize EnvDL *Duplex"
     UIConstraints "*PageSize EnvChou3 *Duplex"

     //PaperSizes & MediaTypes
     UIConstraints "*PageSize Photo3x5.FB *MediaType Plain"
     UIConstraints "*PageSize Photo4x6.FB *MediaType Plain"
     UIConstraints "*PageSize Photo2L.FB *MediaType Plain"
     UIConstraints "*PageSize Photo5x7.FB *MediaType Plain"
     UIConstraints "*PageSize 8x10.FB *MediaType Plain"
     UIConstraints "*PageSize Photo3x5 *MediaType Plain"
     UIConstraints "*PageSize Photo4x6 *MediaType Plain"
     UIConstraints "*PageSize Photo2L *MediaType Plain"
     UIConstraints "*PageSize Photo5x7 *MediaType Plain"
     UIConstraints "*PageSize Photo8x10 *MediaType Plain"

     UIConstraints "*PageSize A5 *MediaType FastGlossy"
     UIConstraints "*PageSize JB5 *MediaType FastGlossy"
     UIConstraints "*PageSize B5 *MediaType FastGlossy"
     UIConstraints "*PageSize Executive *MediaType FastGlossy"
     UIConstraints "*PageSize A4 *MediaType FastGlossy"
     UIConstraints "*PageSize Letter *MediaType FastGlossy"
     UIConstraints "*PageSize Legal *MediaType FastGlossy"
     UIConstraints "*PageSize CardA4 *MediaType FastGlossy"
     UIConstraints "*PageSize CardLetter *MediaType FastGlossy"
     UIConstraints "*PageSize Card3x5 *MediaType FastGlossy"
     UIConstraints "*PageSize Card4x6 *MediaType FastGlossy"
     UIConstraints "*PageSize Card5x8 *MediaType FastGlossy"
     UIConstraints "*PageSize 8.5x13 *MediaType FastGlossy"
     UIConstraints "*PageSize Statement *MediaType FastGlossy"

     UIConstraints "*PageSize EnvChou4 *MediaType FastGlossy"
     UIConstraints "*PageSize EnvA2 *MediaType FastGlossy"
     UIConstraints "*PageSize EnvC6 *MediaType FastGlossy"
     UIConstraints "*PageSize EnvChou3 *MediaType FastGlossy"
     UIConstraints "*PageSize EnvMonarch *MediaType FastGlossy"
     UIConstraints "*PageSize Env10 *MediaType FastGlossy"
     UIConstraints "*PageSize EnvDL *MediaType FastGlossy"
     UIConstraints "*PageSize EnvC5 *MediaType FastGlossy"
     UIConstraints "*PageSize Env6 *MediaType FastGlossy"

     UIConstraints "*PageSize A5 *MediaType Glossy"
     UIConstraints "*PageSize JB5 *MediaType Glossy"
     UIConstraints "*PageSize B5 *MediaType Glossy"
     UIConstraints "*PageSize Executive *MediaType Glossy"
     UIConstraints "*PageSize A4 *MediaType Glossy"
     UIConstraints "*PageSize Letter *MediaType Glossy"
     UIConstraints "*PageSize Legal *MediaType Glossy"
     UIConstraints "*PageSize CardA4 *MediaType Glossy"
     UIConstraints "*PageSize CardLetter *MediaType Glossy"
     UIConstraints "*PageSize Card3x5 *MediaType Glossy"
     UIConstraints "*PageSize Card4x6 *MediaType Glossy"
     UIConstraints "*PageSize Card5x8 *MediaType Glossy"
     UIConstraints "*PageSize 8.5x13 *MediaType Glossy"
     UIConstraints "*PageSize Statement *MediaType Glossy"

     UIConstraints "*PageSize EnvChou4 *MediaType Glossy"
     UIConstraints "*PageSize EnvA2 *MediaType Glossy"
     UIConstraints "*PageSize EnvC6 *MediaType Glossy"
     UIConstraints "*PageSize EnvChou3 *MediaType Glossy"
     UIConstraints "*PageSize EnvMonarch *MediaType Glossy"
     UIConstraints "*PageSize Env10 *MediaType Glossy"
     UIConstraints "*PageSize EnvDL *MediaType Glossy"
     UIConstraints "*PageSize EnvC5 *MediaType Glossy"
     UIConstraints "*PageSize Env6 *MediaType Glossy"

    // 4x6 or smaller
      CustomMedia "Card3x5/Index Card 3x5in" 216 360 8.4 8.4 8.4 8.4 "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
      CustomMedia "Card4x6/Index Card 4x6in" 288 432 8.4 8.4 8.4 8.4 "<</cupsInteger0 74/PageSize [288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo3x5/Photo 3x5in" 216 360 8.4 8.4 8.4 8.4 "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo3x5.FB/Borderless Photo 3x5in" 216 360 0 0 0 0 "<</cupsInteger0 78/cupsReal0 0/cupsReal1 0/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/cupsReal0 0/cupsReal1 0/PageSize[216 360]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo4x6/Photo 4x6in" 288 432 8.4 8.4 8.4 8.4 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo4x6.FB/Borderless Photo 4x6in" 288 432 0 0 0 0 "<</cupsInteger0 74/cupsReal0 0/cupsReal1 0/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/cupsReal0 0/cupsReal1 0/PageSize[288 432]/ImagingBBox null>>setpagedevice"
      CustomMedia "A6/A6 105x148mm" 297.36 419.76 8.4 8.4 8.4 8.4 "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
      CustomMedia "A6.FB/A6 Borderless 105x148mm" 297.36 419.76 0 0 0 0 "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/cupsReal0 0/cupsReal1 0/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
      CustomMedia "Hagaki/Hagaki 100x148mm" 283.46 419.52 8.4 8.4 8.4 8.4 "<</cupsInteger0 71/PageSize[283.46 419.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/cupsReal0 0/cupsReal1 0/PageSize[283.46 419.52]/ImagingBBox null>>setpagedevice"
      CustomMedia "Hagaki.FB/Hagaki Borderless 100x148mm" 283.46 419.52 0 0 0 0 "<</cupsInteger0 71/PageSize[283.46 419.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/cupsReal0 0/cupsReal1 0/PageSize[283.46 419.52]/ImagingBBox null>>setpagedevice"
      CustomMedia "Hagaki.Duplex/Hagaki AutoDuplex 100x148mm" 283 420 8.4 0 8.4 8.4 "<</cupsInteger0 71/PageSize[283 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[283 420]/ImagingBBox null>>setpagedevice"

      // 5x7
      CustomMedia "Photo5x7/Photo 5x7in" 360 504 8.4 8.4 8.4 8.4 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo5x7.FB/Photo Borderless 5x7in" 360 504 0 0 0 0 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/cupsReal0 0/cupsReal1 0/PageSize[360 504]/ImagingBBox null>>setpagedevice"
      CustomMedia "Card5x8/Index Card 5x8in" 360 576 8.4 8.4 8.4 8.4 "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
      CustomMedia "Card5x8.FB/Borderless Index Card 5x8in" 360 576 0 0 0 0 "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/cupsReal0 0/cupsReal1 0/PageSize[360 576]/ImagingBBox null>>setpagedevice"
      CustomMedia "A5/A5 148x210mm" 419.76 595.44 8.4 8.4 8.4 8.4 "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
      CustomMedia "A5.FB/A5 Borderless 148x210mm" 419.76 595.44 0 0 0 0 "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/cupsReal0 0/cupsReal1 0/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
      CustomMedia "Oufuku/Oufuku-Hagaki 200x148mm" 566.64 419.76 8.4 8.4 8.4 8.4 "<</cupsInteger0 72/PageSize[566.64 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[566.64 419.76]/ImagingBBox null>>setpagedevice"
      CustomMedia "Oufuku.FB/Borderless Oufuku-Hagaki 200x148mm" 566.64 419.76 0 0 0 0 "<</cupsInteger0 72/PageSize[566.64 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/cupsReal0 0/cupsReal1 0/PageSize[566.64 419.76]/ImagingBBox null>>setpagedevice"


      // Standard
      CustomMedia "8.5x13/8.5x13in" 612 936 8.4 8.4 8.4 8.4 "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
      CustomMedia "B5/B5 176x250mm" 498.96 708.48 8.4 8.4 8.4 8.4 "<</cupsInteger0 101/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
      CustomMedia "B5.Duplex/B5 AutoDuplex 176x250mm" 498.96 699.48 8.4 0 8.4 8.4 "<</cupsInteger0 101/PageSize[498.96 699.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[498.96 699.48]/ImagingBBox null>>setpagedevice"
      CustomMedia "JB5/JB5 182x257mm" 516.24 728.64 8.4 8.4 8.4 8.4 "<</cupsInteger0 45/PageSize[516.24 728.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"
      CustomMedia "JB5.FB/JB5 Borderless 182x257mm" 516.24 728.64 0 0 0 0 "<</cupsInteger0 45/PageSize[516.24 728.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/cupsReal0 0/cupsReal1 0/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"
      CustomMedia "JB5.Duplex/JB5 AutoDuplex 182x257mm" 515.90 728.50 8.4 0 8.4 8.4 "<</cupsInteger0 45/PageSize[515.90 728.50]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 45/PageSize [515.90 728.50]/ImagingBBox null>>setpagedevice"
      CustomMedia "Executive/Executive 7.25x10.5in" 522 756 8.4 8.4 8.4 8.4 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
      CustomMedia "Executive.Duplex/Executive AutoDuplex 7.25x10.5in" 522 756 8.4 0 8.4 8.4 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
      *CustomMedia "Letter/Letter 8.5x11in" 612 792 8.4 8.4 8.4 8.4 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
      CustomMedia "Letter.FB/Letter Borderless 8.5x11in" 612 792 0 0 0 0 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/cupsReal0 0/cupsReal1 0/PageSize[612 792]/ImagingBBox null>>setpagedevice"
       CustomMedia "Letter.Duplex/Letter AutoDuplex 8.5x11in" 612 792 8.4 0 8.4 8.4 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
      CustomMedia "CardLetter/Index Card Letter 8.5x11in" 612 792 8.4 8.4 8.4 8.4 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
      CustomMedia "CardLetter.FB/Borderless Index Card Letter 8.5x11in" 612 792 0 0 0 0 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/cupsReal0 0/cupsReal1 0/PageSize[612 792]/ImagingBBox null>>setpagedevice"
      CustomMedia "Statement/Statement 5.5x8.5in" 396 612 8.4 8.4 8.4 8.4 "<</cupsInteger0 15/PageSize[396 612]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 15/PageSize[396 612]/ImagingBBox null>>setpagedevice"

      CustomMedia "A4/A4 210x297mm" 595.44 841.68 8.4 8.4 8.4 8.4 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
      CustomMedia "A4.FB/A4 Borderless 210x297mm" 595.44 841.68 0 0 0 0 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/cupsReal0 0/cupsReal1 0/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
      CustomMedia "A4.Duplex/A4 AutoDuplex 210x297mm" 595.27 841.88 8.4 0 8.4 8.4 "<</cupsInteger0 26/PageSize[595.27 841.88]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 26/PageSize[595.27 841.88]/ImagingBBox null>>setpagedevice"
      CustomMedia "CardA4/Index Card A4 210x297mm" 595.44 841.68 8.4 8.4 8.4 8.4 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
      CustomMedia "CardA4.FB/Borderless Index Card A4 210x297mm" 595.44 841.68 0 0 0 0 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/cupsReal0 0/cupsReal1 0/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"

      CustomMedia "Legal/Legal 8.5x14in" 612 1008 8.4 8.4 8.4 8.4 "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo2L/Photo 2L 127x178mm" 360 504 8.4 8.4 8.4 8.4 "<</cupsInteger0 126/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 126/PageSize[360 504]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo2L.FB/Photo 2L Borderless 127x178mm" 360 504 0 0 0 0 "<</cupsInteger0 126/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 126/cupsReal0 0/cupsReal1 0/PageSize[360 504]/ImagingBBox null>>setpagedevice"

      CustomMedia "Photo8x10/Photo 8x10in" 576 720 8.4 8.4 8.4 8.4 "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
      CustomMedia "8x10.FB/Borderless 8x10in" 576 720 0 0 0 0 "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/cupsReal0 0/cupsReal1 0/PageSize[576 720]/ImagingBBox null>>setpagedevice"


    {
      // Custom page sizes from 1x4in to legal
      HWMargins 8.4 8.4 8.4 8.4
      VariablePaperSize Yes
      MinSize 3in 5in
      MaxSize 8.5in 14in


    }


         // Envelope
      CustomMedia "EnvA2/A2 Envelope 4.37x5.75in" 314.64 414 8.4 8.4 8.4 8.4 "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.28 459.36 8.4 8.4 8.4 8.4 "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvChou4/#4 Japanese Envelope 90x205mm" 254.88 581.04 8.4 8.4 8.4 8.4 "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
      CustomMedia "Env6/#6 Envelope 3.63x6.5in" 261.36 468 8.4 8.4 8.4 8.4 "<</cupsInteger0 83/PageSize[261.36 468]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 83/PageSize[261.36 468]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279 540 8.4 8.4 8.4 8.4 "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvDL/DL Envelope 110x220mm" 311.76 623.52 8.4 8.4 8.4 8.4 "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
      CustomMedia "Env10/#10 Envelope 4.125x9.5in" 297 684 8.4 8.4 8.4 8.4 "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 339.84 666 8.4 8.4 8.4 8.4 "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvC5/C5 Envelope 162x229mm" 459.36 649.44 8.4 8.4 8.4 8.4 "<</cupsInteger0 91/PageSize[459.36 649.44]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 91/PageSize[459.36 649.44]/ImagingBBox null>>setpagedevice"

          // <%Mimas15:Normal%>
          {
            ModelName "HP Envy 4510 Series"
            Attribute "NickName" "" "HP Envy 4510 Series, hpcups $Version"
            Attribute "ShortNickName" "" "HP Envy 4510 Series"
            Attribute "1284DeviceID" "" "MFG:HP;MDL:envy 4510 series;DES:envy 4510 series;"
            PCFileName "hp-envy_4510_series.ppd"
            Attribute "Product" "" "(HP Envy 4510 All-in-one)"
            Attribute "Product" "" "(HP Envy 4512 All-in-one)"
            Attribute "Product" "" "(HP Envy 4516 All-in-one)"
          }
          {
            ModelName "HP Envy 4520 Series"
            Attribute "NickName" "" "HP Envy 4520 Series, hpcups $Version"
            Attribute "ShortNickName" "" "HP Envy 4520 Series"
            Attribute "1284DeviceID" "" "MFG:HP;MDL:envy 4520 series;DES:envy 4520 series;"
            PCFileName "hp-envy_4520_series.ppd"
            Attribute "Product" "" "(HP Envy 4520 All-in-one Printer Series)"
            Attribute "Product" "" "(HP Envy 4520 All-in-one Printer)"
            Attribute "Product" "" "(HP Envy 4522 All-in-one Printer)"
            Attribute "Product" "" "(HP Envy 4523 All-in-one Printer)"
            Attribute "Product" "" "(HP Envy 4524 All-in-one Printer)"
          }
          {
            ModelName "HP Deskjet 4530 Series"
            Attribute "NickName" "" "HP Deskjet 4530 Series, hpcups $Version"
            Attribute "ShortNickName" "" "HP Deskjet 4530 Series"
            Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 4530 series;DES:deskjet 4530 series;"
            PCFileName "hp-deskjet_4530_series.ppd"
            Attribute "Product" "" "(HP Deskjet Ink Advantage 4530 All-in-one)"
            Attribute "Product" "" "(HP Deskjet Ink Advantage 4535 All-in-one)"
            Attribute "Product" "" "(HP Deskjet Ink Advantage 4536 All-in-one)"
          }
          {
            ModelName "HP Officejet 4650 Series"
            Attribute "NickName" "" "HP Officejet 4650 Series, hpcups $Version"
            Attribute "ShortNickName" "" "HP Officejet 4650 Series"
            Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet 4650 series;DES:officejet 4650 series;"
            PCFileName "hp-officejet_4650_series.ppd"
            Attribute "Product" "" "(HP Officejet 4650 All-in-one Printer Series)"
            Attribute "Product" "" "(HP Officejet 4650 All-in-one Printer)"
            Attribute "Product" "" "(HP Officejet 4652 All-in-one Printer)"
            Attribute "Product" "" "(HP Officejet 4654 All-in-one Printer)"
            Attribute "Product" "" "(HP Officejet 4655 All-in-one Printer)"
          }
          {
            ModelName "HP Deskjet 4670 Series"
            Attribute "NickName" "" "HP Deskjet 4670 Series, hpcups $Version"
            Attribute "ShortNickName" "" "HP Deskjet 4670 Series"
            Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 4670 series;DES:deskjet 4670 series;"
            PCFileName "hp-deskjet_4670_series.ppd"
            Attribute "Product" "" "(HP Deskjet Ink Advantage 4670 All-in-one)"
            Attribute "Product" "" "(HP Deskjet Ink Advantage 4675 All-in-one)"
            Attribute "Product" "" "(HP Deskjet Ink Advantage 4676 All-in-one)"
          }

}// End Mimas15


//////// MimasTDR
{
  Attribute "cupsEvenDuplex" "" "True"
  Attribute "cupsBackSide" "" "Rotated"
  Attribute "cupsFlipDuplex" "" "True"
  Attribute "hpPrinterLanguage" "" "pcl3gui2"
  Attribute "HPMechOffset" "" "70"

  Group "General/General"


  // MediaPosition values map to MediaSource enumeration in global_types.h
  Option "Duplex/Double-Sided Printing" PickOne AnySetup 10.0
    Choice "DuplexNoTumble/Long Edge (Standard)" "<</Duplex true/Tumble false>>setpagedevice"
    Choice "DuplexTumble/Short Edge (Flip)" "<</Duplex true/Tumble true>>setpagedevice"
    *Choice "None/Off" "<</Duplex false/Tumble false>>setpagedevice"

  // MediaPosition values map to MediaSource enumeration in global_types.h
  Option "InputSlot/Media Source" PickOne AnySetup 10.0
    *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"

  Option "ColorModel/Output Mode" PickOne AnySetup 10.0
    *Choice "RGB/Color" "<</cupsColorSpace 17/cupsBitsPerColor 8/cupsRowStep 0>>setpagedevice"
    Choice "CMYGray/High Quality Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 1>>setpagedevice"
    Choice "KGray/Black Only Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2>>setpagedevice"

  // cupsMediaType values map to MEDIATYPE from global_types.h
  Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0>>setpagedevice"
    Choice "Glossy/Photo Paper" "<</MediaType(Glossy)/cupsMediaType 3>>setpagedevice"
    Choice "TransparencyFilm/Transparency Film" "<</MediaType(TransparencyFilm)/cupsMediaType 4>>setpagedevice"

  // cupsCompression values map to QUALITY_MODE from global_types.h
  Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "Normal/Normal" "<</OutputType(0)/HWResolution[600 300]>>setpagedevice"
    Choice "Best/Best" "<</OutputType(1)/HWResolution[600 600]>>setpagedevice"
    Choice "Photo/High-Resolution Photo" "<</OutputType(2)/HWResolution[1200 1200]>>setpagedevice"
    Choice "FastDraft/Draft" "<</OutputType(-2)/HWResolution[300 300]>>setpagedevice"


  // Duplexer is optional...
  Installable "OptionDuplex/Duplexer Installed"


  // Constraints
  //UIConstraints "*Duplex *OptionDuplex False"
  UIConstraints "*MediaType Glossy *OutputMode FastDraft"
  UIConstraints "*MediaType TransparencyFilm *OutputMode FastDraft"
  UIConstraints "*MediaType TransparencyFilm *OutputMode Best"

  UIConstraints "*ColorModel KGray *OutputMode Photo"
  UIConstraints "*ColorModel CMYGray *OutputMode Photo"
  UIConstraints "*MediaType Glossy *OutputMode FastDraft"
  UIConstraints "*MediaType TransparencyFilm *OutputMode FastDraft"
  UIConstraints "*MediaType Plain *OutputMode Photo"
  UIConstraints "*MediaType TransparencyFilm *OutputMode Photo"
  UIConstraints "*MediaType TransparencyFilm *OutputMode Best"

  UIConstraints "*PageSize PhotoL.FB *OutputMode FastDraft"
  UIConstraints "*PageSize Photo4x6.FB *OutputMode FastDraft"
  UIConstraints "*PageSize A6.FB *OutputMode FastDraft"
  UIConstraints "*PageSize Photo5x7.FB *OutputMode FastDraft"
  UIConstraints "*PageSize A5.FB *OutputMode FastDraft"
  UIConstraints "*PageSize 8x10.FB *OutputMode FastDraft"
  UIConstraints "*PageSize Letter.FB *OutputMode FastDraft"
  UIConstraints "*PageSize A4.FB *OutputMode FastDraft"

  //Black only grayscale against borderless
  UIConstraints "*PageSize PhotoL.FB *ColorModel KGray"
  UIConstraints "*PageSize Photo3.5x5.FB *ColorModel KGray"
  UIConstraints "*PageSize Photo4x6.FB *ColorModel KGray"
  UIConstraints "*PageSize Photo4x6tab.FB *ColorModel KGray"
  UIConstraints "*PageSize Photo10x15.FB *ColorModel KGray"
  UIConstraints "*PageSize Photo10x15tab.FB *ColorModel KGray"
  UIConstraints "*PageSize A6.FB *ColorModel KGray"
  UIConstraints "*PageSize Hagaki.FB *ColorModel KGray"
  UIConstraints "*PageSize Photo5x7.FB *ColorModel KGray"
  UIConstraints "*PageSize Photo2L.FB *ColorModel KGray"
  UIConstraints "*PageSize Photo13x18.FB *ColorModel KGray"
  UIConstraints "*PageSize A5.FB *ColorModel KGray"
  UIConstraints "*PageSize 8x10.FB *ColorModel KGray"
  UIConstraints "*PageSize Letter.FB *ColorModel KGray"
  UIConstraints "*PageSize A4.FB *ColorModel KGray"

  // Non duplex media against duplex
  UIConstraints "*PageSize Card3x5 *Duplex"
  UIConstraints "*PageSize PhotoL *Duplex"
  UIConstraints "*PageSize PhotoL.FB *Duplex"
  UIConstraints "*PageSize Hagaki.FB *Duplex"
  UIConstraints "*PageSize Photo4x6 *Duplex"
  UIConstraints "*PageSize Photo4x6.FB *Duplex"
  UIConstraints "*PageSize A6.FB *Duplex"
  UIConstraints "*PageSize Photo5x7 *Duplex"
  UIConstraints "*PageSize Photo5x7.FB *Duplex"
  UIConstraints "*PageSize Photo2L *Duplex"
  UIConstraints "*PageSize Photo2L.FB *Duplex"
  UIConstraints "*PageSize A5.FB *Duplex"
  UIConstraints "*PageSize B5 *Duplex"
  UIConstraints "*PageSize 8x10 *Duplex"
  UIConstraints "*PageSize Letter.FB *Duplex"
  UIConstraints "*PageSize A4.FB *Duplex"
  UIConstraints "*PageSize Legal *Duplex"
  UIConstraints "*PageSize EnvA2 *Duplex"
  UIConstraints "*PageSize EnvC6 *Duplex"
  UIConstraints "*PageSize EnvChou4 *Duplex"
  UIConstraints "*PageSize Env6 *Duplex"
  UIConstraints "*PageSize EnvCard *Duplex"
  UIConstraints "*PageSize EnvMonarch *Duplex"
  UIConstraints "*PageSize EnvDL *Duplex"
  UIConstraints "*PageSize Env10 *Duplex"
  UIConstraints "*PageSize EnvChou3 *Duplex"
  UIConstraints "*PageSize EnvC5 *Duplex"

// 4x6 or smaller
  CustomMedia "Card3x5/Index Card 3x5in" 216 360 9 9 9 9 "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card4x6/Index Card 4x6in" 288 432 9 9 9 9 "<</cupsInteger0 74/PageSize [288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card4x6.Duplex/Index Card AutoDuplex 4x6in" 288 423 9 27 9 36 "<</cupsInteger0 74/PageSize[288 423]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 423]/ImagingBBox null>>setpagedevice"
  CustomMedia "PhotoL/L 89x127mm" 252 360 9 9 9 9 "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "PhotoL.FB/L Borderless 89x127mm" 264.74 370.36 0 0 0 0 "<</cupsInteger0 121/PageSize[264.74 370.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/cupsReal0 .079/cupsReal1 .051/PageSize[264.74 370.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo3.5x5/Photo 3.5x5in" 252 360 9 9 9 9 "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo3.5x5.FB/Photo 3.5x5 Borderless 89x127mm" 264.74 370.36 0 0 0 0 "<</cupsInteger0 121/PageSize[264.74 370.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/cupsReal0 .079/cupsReal1 .051/PageSize[264.74 370.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6/Photo 4x6in" 288 432 9 9 9 9 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6.FB/Photo Borderless 4x6in" 303.55 442.36 0 0 0 0 "<</cupsInteger0 74/PageSize[303.55 442.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/cupsReal0 .098/cupsReal1 .051/PageSize[303.55 442.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6tab/Photo 4x6in (tab)" 288 432 9 9 9 9 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6tab.FB/Borderless Photo 4x6in (tab)" 303.55 442.36 0 0 0 0 "<</cupsInteger0 74/cupsReal0 .091/cupsReal1 .051/PageSize[303.55 442.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/cupsReal0 .091/cupsReal1 .051/PageSize[303.55 442.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo10x15/Photo 10x15cm" 288 432 9 9 9 9 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo10x15.FB/Photo Borderless 10x15cm" 303.55 442.36 0 0 0 0 "<</cupsInteger0 74/PageSize[303.55 442.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/cupsReal0 .098/cupsReal1 .051/PageSize[303.55 442.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo10x15tab/Photo 10x15cm (tab)" 288 432 9 9 9 9 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo10x15tab.FB/Borderless Photo 10x15cm (tab)" 303.55 442.36 0 0 0 0 "<</cupsInteger0 74/cupsReal0 .091/cupsReal1 .051/PageSize[303.55 442.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/cupsReal0 .091/cupsReal1 .051/PageSize[303.55 442.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6/A6 105x148mm" 297.36 419.76 9 9 9 9 "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6.FB/A6 Borderless 105x148mm" 310.1 430.12 0 0 0 0 "<</cupsInteger0 73/PageSize[310.1 430.12]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/cupsReal0 .079/cupsReal1 .051/PageSize[310.1 430.12]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6.Duplex/A6 AutoDuplex 105x148mm)" 297 411 9 27 9 36 "<</cupsInteger0 73/PageSize[297 411]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[297 411]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki/Hagaki 100x148mm" 283.68 419.76 9 9 9 9 "<</cupsInteger0 71/PageSize[283.68 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[283.68 419.76]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki.Duplex/Hagaki AutoDuplex 100x148mm" 283.68 410.76 9 27 9 36 "<</cupsInteger0 71/PageSize[283.68 410.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[283.68 410.76]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki.FB/Hagaki Borderless 100x148mm" 296.42 430.12 0 0 0 0 "<</cupsInteger0 71/PageSize[296.42 430.12]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/cupsReal0 .098/cupsReal1 .051/PageSize[296.42 430.12]/ImagingBBox null>>setpagedevice"

// 5x7
  CustomMedia "Photo5x7/Photo 5x7in" 360 504 9 9 9 9 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo5x7.FB/Photo Borderless 5x7in" 373 514 0 0 0 0 "<</cupsInteger0 122/PageSize[373 514]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/cupsReal0 .089/cupsReal1 .051/PageSize[373 514]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo2L/2L 178x127mm" 360 504 9 9 9 9 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo2L.FB/2L Borderless 178x127mm" 373 514 0 0 0 0 "<</cupsInteger0 122/PageSize[373 514]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/cupsReal0 .089/cupsReal1 .051/PageSize[373 514]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo13x18/Photo 13x18cm" 360 504 9 9 9 9 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo13x18.FB/Photo Borderless 13x18cm" 373 514 0 0 0 0 "<</cupsInteger0 122/PageSize[373 514]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/cupsReal0 .089/cupsReal1 .051/PageSize[373 514]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card5x8/Index Card 5x8in" 360 576 9 9 9 9 "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card5x8.Duplex/Index Card AutoDuplex 5x8in" 360 567 9 27 9 36 "<</cupsInteger0 75/PageSize[360 567]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 567]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5/A5 148x210mm" 419.76 595.44 9 9 9 9 "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5.Duplex/A5 AutoDuplex 148x210mm" 419.76 586.44 9 27 9 36 "<</cupsInteger0 25/PageSize[419.76 586.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.76 586.44]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5.FB/A5 Borderless 148x210mm" 435 606 0 0 0 0 "<</cupsInteger0 25/PageSize[435 606]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/cupsReal0 .098/cupsReal1 .051/PageSize[435 606]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku/Oufuku-Hagaki 200x148mm" 566.64 419.76 9 9 9 9 "<</cupsInteger0 72/PageSize[566.64 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[566.64 419.76]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku.Duplex/Oufuku-Hagaki AutoDuplex 200x148mm" 566.64 410.76 9 27 9 36 "<</cupsInteger0 72/PageSize[566.64 410.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[566.64 410.76]/ImagingBBox null>>setpagedevice"

// Standard
  CustomMedia "B5/B5 176x250mm" 498.96 708.48 9 9 9 9 "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "B5.Duplex/B5 AutoDuplex 176x250mm" 498.96 699.48 9 27 9 36 "<</cupsInteger0 65/PageSize[498.96 699.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[498.96 699.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5/JB5 182x257mm" 516.24 728.64 9 9 9 9 "<</cupsInteger0 45/PageSize[516.24 728.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5.Duplex/JB5 AutoDuplex 182x257mm" 516 720 9 27 9 36 "<</cupsInteger0 45/PageSize[516 720]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [516 720]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive/Executive 7.25x10.5in" 522 756 9 9 9 9 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive.Duplex/Executive AutoDuplex 7.25x10.5in" 522 747 9 27 9 36 "<</cupsInteger0 1/PageSize[522 747]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 747]/ImagingBBox null>>setpagedevice"
  CustomMedia "8x10/8x10in" 576 720 9 9 9 9 "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
  CustomMedia "8x10.FB/Borderless 8x10in" 589.46 730.36 0 0 0 0 "<</cupsInteger0 7/PageSize[589.46 730.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/cupsReal0 .098/cupsReal1 .051/PageSize[589.46 730.36]/ImagingBBox null>>setpagedevice"
  *CustomMedia "Letter/Letter 8.5x11in" 612 792 9 9 9 9 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
  CustomMedia "Letter.Duplex/Letter AutoDuplex 8.5x11in" 612 783 9 27 9 36 "<</cupsInteger0 2/PageSize[612 783]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 783]/ImagingBBox null>>setpagedevice"
  CustomMedia "Letter.FB/Letter Borderless 8.5x11in" 627.55 802.36 0 0 0 0 "<</cupsInteger0 2/PageSize[627.55 802.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/cupsReal0 .098/cupsReal1 .051/PageSize[627.55 802.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal/Legal 8.5x14in" 612 1008 9 9 9 9 "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4/A4 210x297mm" 595.44 841.68 9 9 9 9 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4.Duplex/A4 AutoDuplex 210x297mm" 595.44 832.68 9 27 9 36 "<</cupsInteger0 26/PageSize[595.44 832.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 832.68]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4.FB/A4 Borderless 210x297mm" 610.99 852.04 0 0 0 0 "<</cupsInteger0 26/PageSize[610.99 852.04]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/cupsReal0 .098/cupsReal1 .051/PageSize[610.99 852.04]/ImagingBBox null>>setpagedevice"

// Envelope
  CustomMedia "EnvA2/A2 Envelope 4.37x5.75in" 314.64 414 9 36 9 9 "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.28 459.36 9 36 9 9 "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279 540 9 36 9 9 "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvDL/DL Envelope 110x220mm" 311.76 623.52 9 36 9 9 "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env10/#10 Envelope 4.125x9.5in" 297 684 9 36 9 9 "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env6/#6 Envelope 3.63x6.5in" 261.36 468 9 36 9 9 "<</cupsInteger0 83/PageSize[261.36 468]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 83/PageSize[261.36 468]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvCard/Card Envelope 4.4x6in" 315 432 9 36 9 9 "<</cupsInteger0 114/PageSize[315 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 114/PageSize[315 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC5/C5 Envelope 162x229mm" 459.36 649.44 9 42.19 9 9 "<</cupsInteger0 91/PageSize[459.36 649.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 91/PageSize[459.36 649.44]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 339.84 666 9 36 9 9 "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou4/#4 Japanese Envelope 90x205mm" 254.88 581.04 9 36 9 9 "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"

  // Custom page sizes from 3x4in to Legal
  HWMargins 9 9 9 9
  VariablePaperSize Yes
  MinSize 3in 4in
  MaxSize 8.5in 30in

    // <%MimasTDR:Normal%>
    {
      ModelName "HP Deskjet 3540 Series"
      Attribute "NickName" "" "HP Deskjet 3540 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 3540 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 3540 series;DES:deskjet 3540 series;"
      PCFileName "hp-deskjet_3540_series.ppd"
      Attribute "Product" "" "(HP Deskjet Ink Advantage 3540 E-all-in-one Printer Series)"
      Attribute "Product" "" "(HP Deskjet Ink Advantage 3545 E-all-in-one Printer)"
      Attribute "Product" "" "(HP Deskjet Ink Advantage 3546 E-all-in-one Printer)"
    }
    {
      ModelName "HP Envy 4500 Series"
      Attribute "NickName" "" "HP Envy 4500 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Envy 4500 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:envy 4500 series;DES:envy 4500 series;"
      PCFileName "hp-envy_4500_series.ppd"
      Attribute "Product" "" "(HP Envy 4500 E-all-in-one)"
      Attribute "Product" "" "(HP Envy 4501 E-all-in-one)"
      Attribute "Product" "" "(HP Envy 4502 E-all-in-one)"
      Attribute "Product" "" "(HP Envy 4503 E-all-in-one)"
      Attribute "Product" "" "(HP Envy 4504 E-all-in-one)"
      Attribute "Product" "" "(HP Envy 4505 E-all-in-one)"
      Attribute "Product" "" "(HP Envy 4507 E-all-in-one)"
      Attribute "Product" "" "(HP Envy 4508 E-all-in-one)"
    }
    {
      ModelName "HP Deskjet 4510 Series"
      Attribute "NickName" "" "HP Deskjet 4510 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 4510 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 4510 series;DES:deskjet 4510 series;"
      PCFileName "hp-deskjet_4510_series.ppd"
      Attribute "Product" "" "(HP Deskjet Ink Advantage 4515 E-all-in-one Printer)"
      Attribute "Product" "" "(HP Deskjet Ink Advantage 4518 E-all-in-one Printer)"
    }
    {
      ModelName "HP Officejet 4630 Series"
      Attribute "NickName" "" "HP Officejet 4630 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet 4630 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet 4630 series;DES:officejet 4630 series;"
      PCFileName "hp-officejet_4630_series.ppd"
      Attribute "Product" "" "(HP Officejet 4630 E-all-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 4631 E-all-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 4632 E-all-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 4634 E-all-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 4635 E-all-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 4636 E-all-in-one Printer)"
    }
    {
      ModelName "HP Deskjet 4640 Series"
      Attribute "NickName" "" "HP Deskjet 4640 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 4640 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 4640 series;DES:deskjet 4640 series;"
      PCFileName "hp-deskjet_4640_series.ppd"
      Attribute "Product" "" "(HP Deskjet Ink Advantage 4640 E-all-in-one Printer Series)"
      Attribute "Product" "" "(HP Deskjet Ink Advantage 4645 E-all-in-one Printer)"
      Attribute "Product" "" "(HP Deskjet Ink Advantage 4646 E-all-in-one Printer)"
      Attribute "Product" "" "(HP Deskjet Ink Advantage 4648 E-all-in-one Printer)"
    }
    {
      ModelName "HP Envy 5530 Series"
      Attribute "NickName" "" "HP Envy 5530 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Envy 5530 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:envy 5530 series;DES:envy 5530 series;"
      PCFileName "hp-envy_5530_series.ppd"
      Attribute "Product" "" "(HP Envy 5530 E-all-in-one Printer)"
      Attribute "Product" "" "(HP Envy 5531 E-all-in-one Printer)"
      Attribute "Product" "" "(HP Envy 5532 E-all-in-one Printer)"
      Attribute "Product" "" "(HP Envy 5534 E-all-in-one Printer)"
      Attribute "Product" "" "(HP Envy 5535 E-all-in-one Printer)"
      Attribute "Product" "" "(HP Envy 5536 E-all-in-one Printer)"
      Attribute "Product" "" "(HP Envy 5539 E-all-in-one Printer)"
    }

} // End MimasTDR

//////////Mimas17
{
    Attribute "cupsEvenDuplex" "" "True"
    Attribute "cupsBackSide" "" "Rotated"
    Attribute "cupsFlipDuplex" "" "True"
    Attribute "hpPrinterLanguage" "" "pcl3gui2"
    Attribute "HPMechOffset" "" "117"
    Attribute "HPSPDClass" "" 1

    Group "General/General"

    Option "ColorModel/Output Mode" PickOne AnySetup 10.0
    *Choice "RGB/Color" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 0>>setpagedevice"
    Choice "CMYGray/High Quality Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 1>>setpagedevice"
    Choice "KGray/Black Only Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2>>setpagedevice"

    // cupsMediaType values map to MEDIATYPE from global_types.h
    Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0>>setpagedevice"
    Choice "Glossy/HP Photo Papers" "<</MediaType(Glossy)/cupsMediaType 5>>setpagedevice"
    Choice "CoatedBrochure/HP Matte Brochure or Professional Paper" "<</MediaType(CoatedBrochure)/cupsMediaType 2>>setpagedevice"
    Choice "CoatedMatte/HP Matte Presentation Paper" "<</MediaType(CoatedMatte)/cupsMediaType 2>>setpagedevice"
    Choice "BrochureGlosy/HP Glossy Brochure or Professional Paper" "<</MediaType(BrochureGlosy)/cupsMediaType 8>>setpagedevice"
    Choice "FastGlossy/Other photo inkjet papers" "<</MediaType(FastGlossy)/cupsMediaType 5>>setpagedevice"
    Choice "Coated/Other matte inkjet papers Paper" "<</MediaType(Coated)/cupsMediaType 2>>setpagedevice"
    Choice "Brochure/Other glossy inkjet Paper" "<</MediaType(Brochure)/cupsMediaType 8>>setpagedevice"
    Choice "PlainPaperLight/Plain Paper Light Recycled" "<</MediaType(PlainPaperLight)/cupsMediaType 1>>setpagedevice"


     // cupsCompression values map to QUALITY_MODE from global_types.h
    Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "Normal/Normal" "<</OutputType(0)/HWResolution[600 600]>>setpagedevice"
     Choice "FastDraft/Draft" "<</OutputType(-2)/HWResolution[300 300]>>setpagedevice"
     Choice "Best/Best" "<</OutputType(1)/HWResolution[600 600]>>setpagedevice"
     Choice "Photo/High-Resolution Photo" "<</OutputType(2)/HWResolution[1200 1200]>>setpagedevice"


    Option "InputSlot/Media Source" PickOne AnySetup 10.0
       *Choice "Upper/Main Tray" "<</MediaPosition 1>>setpagedevice"
        Choice "Photo/Photo Tray" "<</MediaPosition 6>>setpagedevice"
        Choice "Auto/Auto" "<</MediaPosition 7>>setpagedevice"

    Option "Duplex/Double-Sided Printing" PickOne AnySetup 10.0
     Choice "DuplexNoTumble/Long Edge (Standard)" "<</Duplex true/Tumble false>>setpagedevice"
     Choice "DuplexTumble/Short Edge (Flip)" "<</Duplex true/Tumble true>>setpagedevice"
    *Choice "None/Off" "<</Duplex false/Tumble false>>setpagedevice"

     //Constraints
     
     //Non duplex media against duplex
     UIConstraints "*PageSize 2L.FB *Duplex"
     UIConstraints "*PageSize 2L *Duplex"
     UIConstraints "*PageSize Card3.5x5 *Duplex"
     UIConstraints "*PageSize Card3.5x5.FB *Duplex"
     UIConstraints "*PageSize Card3x5 *Duplex"
     UIConstraints "*PageSize Card3x5.FB *Duplex"
     UIConstraints "*PageSize 4x5in *Duplex"
     UIConstraints "*PageSize 4x5in.FB *Duplex"
     UIConstraints "*PageSize 4x6in *Duplex"
     UIConstraints "*PageSize 4x6in.FB *Duplex"
     UIConstraints "*PageSize 5x7in *Duplex"
     UIConstraints "*PageSize 5x7in.FB *Duplex"
     UIConstraints "*PageSize Envelope_No_6_75 *Duplex"
     UIConstraints "*PageSize 8.5x13 *Duplex"
     UIConstraints "*PageSize 8x10 *Duplex"
     UIConstraints "*PageSize 8x10.FB *Duplex"
     UIConstraints "*PageSize A5 *Duplex"
     UIConstraints "*PageSize A5.FB *Duplex"
     UIConstraints "*PageSize A6 *Duplex"
     UIConstraints "*PageSize A6.FB *Duplex"
     UIConstraints "*PageSize Custom1 *Duplex"
     UIConstraints "*PageSize Custom1.FB *Duplex" 
     UIConstraints "*PageSize Envelope#10 *Duplex"
     UIConstraints "*PageSize EnvelopeC5 *Duplex" 
     UIConstraints "*PageSize EnvelopeC6 *Duplex" 
     UIConstraints "*PageSize EnvelopeDL *Duplex"
     UIConstraints "*PageSize EnvelopeMonarch *Duplex"
     UIConstraints "*PageSize IndexCard3x5 *Duplex" 
     UIConstraints "*PageSize IndexCard3x5.FB *Duplex"
     UIConstraints "*PageSize IndexCard4x6 *Duplex" 
     UIConstraints "*PageSize IndexCard4x6.FB *Duplex"
     UIConstraints "*PageSize IndexCard5x8 *Duplex" 
     UIConstraints "*PageSize IndexCard5x8.FB *Duplex"
     UIConstraints "*PageSize IndexCardA4 *Duplex" 
     UIConstraints "*PageSize IndexCardA4.FB *Duplex" 
     UIConstraints "*PageSize IndexCardLetter *Duplex" 
     UIConstraints "*PageSize IndexCardLetter.FB *Duplex"
     UIConstraints "*PageSize JapaneseEnvelope#3 *Duplex" 
     UIConstraints "*PageSize Legal *Duplex"
     UIConstraints "*PageSize OfukuHagaki *Duplex"
     UIConstraints "*PageSize OfukuHagaki.FB *Duplex"
     UIConstraints "*PageSize JapaneseEnvelope#4 *Duplex" 
     UIConstraints "*PageSize Statement *Duplex"

     //Non duplex media type against duplex
      UIConstraints "*MediaType Glossy *Duplex"
      UIConstraints "*MediaType FastGlossy *Duplex"
     
    //PaperSizes & MediaTypes
      UIConstraints "*PageSize 2L.FB *MediaType Plain"
      UIConstraints "*PageSize Card3.5x5.FB *MediaType Plain"
      UIConstraints "*PageSize 4x5in.FB *MediaType Plain"
      UIConstraints "*PageSize 4x6in.FB *MediaType Plain"
      UIConstraints "*PageSize 4x12in.FB *MediaType Plain"
      UIConstraints "*PageSize 5x7in.FB *MediaType Plain"
      UIConstraints "*PageSize 8x10.FB *MediaType Plain"
      UIConstraints "*PageSize A4.FB *MediaType Plain"
      UIConstraints "*PageSize A5.FB *MediaType Plain"
      UIConstraints "*PageSize A6.FB *MediaType Plain"
      UIConstraints "*PageSize JB5.FB *MediaType Plain"
      UIConstraints "*PageSize Custom1.FB *MediaType Plain"   
      UIConstraints "*PageSize IndexCard3x5.FB *MediaType Plain"
      UIConstraints "*PageSize IndexCard5x8.FB *MediaType Plain"
      UIConstraints "*PageSize IndexCardA4.FB *MediaType Plain"
      UIConstraints "*PageSize IndexCardLetter.FB *MediaType Plain"
      UIConstraints "*PageSize JapanesePostCard.FB *MediaType Plain"
      UIConstraints "*PageSize Letter.FB *MediaType Plain"
      UIConstraints "*PageSize OfukuHagaki.FB *MediaType Plain"

      
     
    // 4x6 or smaller
      CustomMedia "2L/2L 127x178mm" 360 504 8.4 8.4 8.4 8.4 "<</cupsInteger0 126/PageSize [360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 126/PageSize[360 504]/ImagingBBox null>>setpagedevice"
      CustomMedia "2L.FB/Borderless 2L 127x178mm" 360 504 0 0 0 0 "<</cupsInteger0 126/PageSize [360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 126/PageSize[360 504]/ImagingBBox null>>setpagedevice"
      CustomMedia "Card3.5x5/3.5x5in" 252 360 8.4 8.4 8.4 8.4 "<</cupsInteger0 121/PageSize [252 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
      CustomMedia "Card3.5x5.FB/Borderless 3.5x5in" 252 360 0 0 0 0 "<</cupsInteger0 121/PageSize [252 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
      CustomMedia "Card3x5/3x5in" 216 360 8.4 8.4 8.4 8.4 "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
      CustomMedia "Card3x5.FB/Borderless 3x5in" 216 360 0 0 0 0 "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
      CustomMedia "4x5in/4x5in" 288 360 8.4 8.4 8.4 8.4 "<</cupsInteger0 30002/PageSize [288 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 30002/PageSize[288 360]/ImagingBBox null>>setpagedevice"
      CustomMedia "4x5in.FB/Borderless 4x5in" 288 360 0 0 0 0 "<</cupsInteger0 30002/PageSize [288 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 30002/PageSize[288 360]/ImagingBBox null>>setpagedevice"
      CustomMedia "4x6in/4x6in" 288 432 8.4 8.4 8.4 8.4 "<</cupsInteger0 74/PageSize [288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
      CustomMedia "4x6in.FB/Borderless 4x6in" 288 432 0 0 0 0 "<</cupsInteger0 74/PageSize [288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
      CustomMedia "4x12in/4x12in" 288 864 8.4 8.4 8.4 8.4 "<</cupsInteger0 30000/PageSize [288 864]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 30000/PageSize[288 864]/ImagingBBox null>>setpagedevice"
      CustomMedia "4x12in.FB/Borderless 4x12in" 288 864 0 0 0 0 "<</cupsInteger0 30000/PageSize [288 864]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 30000/PageSize[288 864]/ImagingBBox null>>setpagedevice"
      CustomMedia "5x7in/5x7in" 360 504 8.4 8.4 8.4 8.4 "<</cupsInteger0 122/PageSize [360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice" 
      CustomMedia "5x7in.FB/Borderless 5x7in" 360 504 0 0 0 0 "<</cupsInteger0 122/PageSize [360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice" 
      CustomMedia "Envelope_No_6_75/Envelope No 6_75" 260.88 468 8.4 8.4 8.4 8.4 "<</cupsInteger0 83/PageSize [260.88 468]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 83/PageSize[260.88 468]/ImagingBBox null>>setpagedevice" 
      CustomMedia "8.5x13/8.5x13in" 612 936 8.4 8.4 8.4 8.4 "<</cupsInteger0 10/PageSize [612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
      CustomMedia "8x10/8x10in" 576 720 8.4 8.4 8.4 8.4 "<</cupsInteger0 7/PageSize [576 720]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
      CustomMedia "8x10.FB/Borderless 8x10in" 576 720 0 0 0 0 "<</cupsInteger0 7/PageSize [576 720]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
      CustomMedia "A4/A4" 595.44 841.68 8.4 8.4 8.4 8.4 "<</cupsInteger0 26/PageSize [595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
      CustomMedia "A4.FB/Borderless A4" 595.44 841.68 0 0 0 0 "<</cupsInteger0 26/PageSize [595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
      CustomMedia "A5/A5" 419.76 595.44 8.4 8.4 8.4 8.4 "<</cupsInteger0 25/PageSize [419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
      CustomMedia "A5.FB/Borderless A5" 419.76 595.44 0 0 0 0 "<</cupsInteger0 25/PageSize [419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
      CustomMedia "A6/A6" 297.84 419.52 8.4 8.4 8.4 8.4 "<</cupsInteger0 24/PageSize [297.84 419.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 24/PageSize[297.84 419.52]/ImagingBBox null>>setpagedevice"
      CustomMedia "A6.FB/Borderless A6" 297.84 419.52 0 0 0 0 "<</cupsInteger0 24/PageSize [297.84 419.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 24/PageSize[297.84 419.52]/ImagingBBox null>>setpagedevice"
      CustomMedia "B5/B5" 498.72 708.48 8.4 8.4 8.4 8.4 "<</cupsInteger0 65/PageSize [498.72 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[498.72 708.48]/ImagingBBox null>>setpagedevice"
      CustomMedia "JB5/JB5" 515.76 728.4 8.4 8.4 8.4 8.4 "<</cupsInteger0 45/PageSize [515.76 728.4]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize[515.76 728.4]/ImagingBBox null>>setpagedevice"
      CustomMedia "JB5.FB/Borderless JB5" 515.76 728.4 0 0 0 0 "<</cupsInteger0 45/PageSize [515.76 728.4]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize[515.76 728.4]/ImagingBBox null>>setpagedevice"
      CustomMedia "Envelope#10/Envelope #10" 296.88 684 8.4 8.4 8.4 8.4 "<</cupsInteger0 81/PageSize [296.88 684]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 81/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvelopeA2/Envelope A2" 314.88 414 8.4 8.4 8.4 8.4 "<</cupsInteger0 109/PageSize [314.88 414]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 109/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvelopeC5/Envelope C5" 459.12 648.96 8.4 8.4 8.4 8.4 "<</cupsInteger0 91/PageSize [459.12 648.96]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 91/PageSize[459.12 648.96]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvelopeC6/Envelope C6" 323.04 459.12 8.4 8.4 8.4 8.4 "<</cupsInteger0 92/PageSize [323.04 459.12]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 92/PageSize[323.04 459.12]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvelopeDL/Envelope DL" 311.76 623.52 8.4 8.4 8.4 8.4 "<</cupsInteger0 90/PageSize [311.76 623.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvelopeMonarch/Envelope Monarch" 278.88 540 8.4 8.4 8.4 8.4 "<</cupsInteger0 80/PageSize [278.88 540]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 80/PageSize[278.88 540]/ImagingBBox null>>setpagedevice"  
      CustomMedia "Executive/Executive" 522 756 8.4 8.4 8.4 8.4 "<</cupsInteger0 1/PageSize [522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
      CustomMedia "IndexCard3x5/Index Card 3x5in" 216 360 8.4 8.4 8.4 8.4 "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
      CustomMedia "IndexCard3x5.FB/Borderless Index Card 3x5in" 216 360 0 0 0 0 "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
      CustomMedia "IndexCard4x6/Index Card 4x6in" 288 432 8.4 8.4 8.4 8.4 "<</cupsInteger0 74/PageSize [288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
      CustomMedia "IndexCard4x6.FB/Borderless Index Card 4x6in" 288 432 0 0 0 0 "<</cupsInteger0 74/PageSize [288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
      CustomMedia "IndexCard5x8/Index Card 5x8in" 360 576 8.4 8.4 8.4 8.4 "<</cupsInteger0 75/PageSize [360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
      CustomMedia "IndexCard5x8.FB/Borderless Index Card 5x8in" 360 576 0 0 0 0 "<</cupsInteger0 75/PageSize [360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
      CustomMedia "IndexCardA4/Index Card A4" 595.44 841.68 8.4 8.4 8.4 8.4 "<</cupsInteger0 26/PageSize [595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
      CustomMedia "IndexCardA4.FB/Borderless Index Card A4" 595.44 841.68 0 0 0 0 "<</cupsInteger0 26/PageSize [595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
      CustomMedia "IndexCardLetter/Index Card Letter" 612 792 8.4 8.4 8.4 8.4 "<</cupsInteger0 2/PageSize [612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
      CustomMedia "IndexCardLetter.FB/Borderless Index Card Letter" 612 792 0 0 0 0 "<</cupsInteger0 2/PageSize [612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
      CustomMedia "JapaneseEnvelope#3/Japanese Envelope #3" 339.84 666 8.4 8.4 8.4 8.4 "<</cupsInteger0 110/PageSize [339.84 666]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
      CustomMedia "JapaneseEnvelope#4/Japanese Envelope #4" 254.88 581.04 8.4 8.4 8.4 8.4 "<</cupsInteger0 111/PageSize [254.88 581.04]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
      CustomMedia "JapanesePostCard/Japanese PostCard" 284.16 428.16 8.4 8.4 8.4 8.4 "<</cupsInteger0 71/PageSize [284.16 428.16]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[284.16 428.16]/ImagingBBox null>>setpagedevice"
      CustomMedia "JapanesePostCard.FB/Borderless Japanese PostCard" 284.16 428.16 0 0 0 0 "<</cupsInteger0 71/PageSize [284.16 428.16]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[284.16 428.16]/ImagingBBox null>>setpagedevice"
      CustomMedia "Legal/Legal" 612 1008 8.4 8.4 8.4 8.4 "<</cupsInteger0 3/PageSize [612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
      CustomMedia "Letter/Letter" 612 792 8.4 8.4 8.4 8.4 "<</cupsInteger0 2/PageSize [612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
      CustomMedia "Letter.FB/Borderless Letter" 612 792 0 0 0 0 "<</cupsInteger0 2/PageSize [612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
      CustomMedia "OfukuHagaki/Ofuku Hagaki" 566.64 428.16 8.4 8.4 8.4 8.4 "<</cupsInteger0 72/PageSize [566.64 428.16]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[566.64 428.16]/ImagingBBox null>>setpagedevice"
      CustomMedia "OfukuHagaki.FB/Borderless Ofuku Hagaki" 566.64 428.16 0 0 0 0 "<</cupsInteger0 72/PageSize [566.64 428.16]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[566.64 428.16]/ImagingBBox null>>setpagedevice"
      CustomMedia "Statement/Statement" 396 612 8.4 8.4 8.4 8.4 "<</cupsInteger0 15/PageSize [396 612]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 15/PageSize[396 612]/ImagingBBox null>>setpagedevice"       
     
    {
      // Custom page sizes from 1x4in to legal
      HWMargins 8.4 8.4 8.4 8.4
      VariablePaperSize Yes
      MinSize 3in 5in
      MaxSize 8.5in 14in


    }


         
          // <%Mimas17:Normal%>
          {
            ModelName "HP Envy 5000 Series"
            Attribute "NickName" "" "HP Envy 5000 Series, hpcups $Version"
            Attribute "ShortNickName" "" "HP Envy 5000 Series"
            Attribute "1284DeviceID" "" "MFG:HP;MDL:envy 5000 series;DES:envy 5000 series;"
            PCFileName "hp-envy_5000_series.ppd"
            Attribute "Product" "" "(HP Envy 5000 All-in-one)"
            Attribute "Product" "" "(HP Envy 5020 All-in-one)"
            Attribute "Product" "" "(HP Envy 5032 All-in-one)"
            Attribute "Product" "" "(HP Envy 5030 All-in-one)"
          }
          {
            ModelName "HP Deskjet 5000 Series"
            Attribute "NickName" "" "HP Deskjet 5000 Series, hpcups $Version"
            Attribute "ShortNickName" "" "HP Deskjet 5000 Series"
            Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 5000 series;DES:deskjet 5000 series;"
            PCFileName "hp-deskjet_5000_series.ppd"
            Attribute "Product" "" "(HP Deskjet Ink Advantage 5075 All-in-one)"
          }
          {
            ModelName "HP Officejet 5200 Series"
            Attribute "NickName" "" "HP Officejet 5200 Series, hpcups $Version"
            Attribute "ShortNickName" "" "HP Officejet 5200 Series"
            Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet 5200 series;DES:officejet 5200 series;"
            PCFileName "hp-officejet_5200_series.ppd"
            Attribute "Product" "" "(HP Officejet 5200 All-in-one)"
            Attribute "Product" "" "(HP Officejet 5220 All-in-one)"
            Attribute "Product" "" "(HP Officejet 5230 All-in-one)"
            Attribute "Product" "" "(HP Officejet 5232 All-in-one)"
          }
          {
            ModelName "HP Deskjet 5200 Series"
            Attribute "NickName" "" "HP Deskjet 5200 Series, hpcups $Version"
            Attribute "ShortNickName" "" "HP Deskjet 5200 Series"
            Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 5200 series;DES:deskjet 5200 series;"
            PCFileName "hp-deskjet_5200_series.ppd"
            Attribute "Product" "" "(HP Deskjet Ink Advantage 5275 All-in-one)"
          }

}// End Mimas17

//////// PyramidRefresh15
{
  Attribute "hpPrinterLanguage" "" "pcl3gui2"
  Attribute "HPMechOffset" "" "117"
  
  Group "General/General"

  // MediaPosition values map to MediaSource enumeration in global_types.h
  Option "InputSlot/Media Source" PickOne AnySetup 10.0
    *Choice "Main/Main Tray" "<</MediaPosition 1>>setpagedevice"

  Option "ColorModel/Output Mode" PickOne AnySetup 10.0
    Choice "CMYGray/High Quality Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 1>>setpagedevice"
    Choice "KGray/Black Only Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2>>setpagedevice"
    *Choice "RGB/Color" "<</cupsColorSpace 17/cupsBitsPerColor 8/cupsRowStep 0>>setpagedevice"

  // cupsMediaType values map to MEDIATYPE from global_types.h
    Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Plain/Plain Paper" "<</MediaType/cupsMediaType 0>>setpagedevice"
    Choice "Glossy/HP Photo Papers" "<</MediaType/cupsMediaType 5>>setpagedevice"
    Choice "CoatedBrochure/HP Matte Brochure or Professional Paper" "<</MediaType/cupsMediaType 2>>setpagedevice"
    Choice "CoatedMatte/HP Matte Presentation Paper" "<</MediaType/cupsMediaType 2>>setpagedevice"
    Choice "BrochureGlosy/HP Glossy Brochure or Professional Paper" "<</MediaType/cupsMediaType 8>>setpagedevice"
    Choice "FastGlossy/Other photo inkjet papers" "<</MediaType/cupsMediaType 5>>setpagedevice"
    Choice "Coated/Other matte inkjet papers Paper" "<</MediaType/cupsMediaType 2>>setpagedevice"
    Choice "Brochure/Other glossy inkjet Paper" "<</MediaType/cupsMediaType 8>>setpagedevice"
  
 
  Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    Choice "FastDraft/Draft" "<</OutputType(-2)/HWResolution[300 300]>>setpagedevice"
    *Choice "Normal/Normal" "<</OutputType(0)/HWResolution[600 600]>>setpagedevice"
    Choice "Best/Best" "<</OutputType(1)/HWResolution[600 600]>>setpagedevice"
    Choice "Photo/High-Resolution Photo" "<</OutputType(2)/HWResolution[1200 1200]>>setpagedevice"

    
  // Constraints

  

  //MediaType & OutputMode
  UIConstraints "*MediaType Glossy *OutputMode FastDraft"
  UIConstraints "*MediaType FastGlossy *OutputMode FastDraft"
  UIConstraints "*MediaType BrochureGlosy *OutputMode FastDraft"
  UIConstraints "*MediaType Brochure *OutputMode FastDraft"

//PaperSizes & MediaTypes
    
  UIConstraints "*PageSize Photo4x6 *MediaType Plain"
  UIConstraints "*PageSize Photo13x18 *MediaType Plain"
  UIConstraints "*PageSize Photo2L *MediaType Plain"
  UIConstraints "*PageSize Photo5x7 *MediaType Plain"
  UIConstraints "*PageSize Photo8x10 *MediaType Plain"
  UIConstraints "*PageSize L *MediaType Plain"

//PaperSizes & MediaTypes
  UIConstraints "*PageSize 8.5x13 *MediaType Glossy"
  UIConstraints "*PageSize A4 *MediaType Glossy"
  UIConstraints "*PageSize A5 *MediaType Glossy"
  UIConstraints "*PageSize JB5 *MediaType Glossy"
  UIConstraints "*PageSize B5 *MediaType Glossy"
  UIConstraints "*PageSize EnvC6 *MediaType Glossy"
  UIConstraints "*PageSize EnvChou3 *MediaType Glossy"
  UIConstraints "*PageSize EnvChou4 *MediaType Glossy"
  UIConstraints "*PageSize EnvMonarch *MediaType Glossy"
  UIConstraints "*PageSize Env10 *MediaType Glossy"
  UIConstraints "*PageSize EnvDL *MediaType Glossy"
  UIConstraints "*PageSize EnvC5 *MediaType Glossy"
  UIConstraints "*PageSize Env6 *MediaType Glossy"
  UIConstraints "*PageSize EnvA2 *MediaType Glossy"
  UIConstraints "*PageSize Executive *MediaType Glossy"
  UIConstraints "*PageSize Card4x6 *MediaType Glossy"
  UIConstraints "*PageSize Card3x5 *MediaType Glossy"
  UIConstraints "*PageSize Card5x8 *MediaType Glossy"
  UIConstraints "*PageSize CardA4 *MediaType Glossy"
  UIConstraints "*PageSize CardLetter *MediaType Glossy"
  UIConstraints "*PageSize Letter *MediaType Glossy"
  UIConstraints "*PageSize Legal *MediaType Brochure"
  UIConstraints "*PageSize Statement *MediaType Glossy"

  UIConstraints "*PageSize 8.5x13 *MediaType FastGlossy"
  UIConstraints "*PageSize A4 *MediaType FastGlossy"
  UIConstraints "*PageSize A5 *MediaType FastGlossy"
  UIConstraints "*PageSize JB5 *MediaType FastGlossy"
  UIConstraints "*PageSize B5 *MediaType FastGlossy"
  UIConstraints "*PageSize EnvC6 *MediaType FastGlossy"
  UIConstraints "*PageSize EnvChou3 *MediaType FastGlossy"
  UIConstraints "*PageSize EnvChou4 *MediaType FastGlossy"
  UIConstraints "*PageSize EnvMonarch *MediaType FastGlossy"
  UIConstraints "*PageSize Env10 *MediaType FastGlossy"
  UIConstraints "*PageSize EnvDL *MediaType FastGlossy"
  UIConstraints "*PageSize EnvC5 *MediaType FastGlossy"
  UIConstraints "*PageSize Env6 *MediaType FastGlossy"
  UIConstraints "*PageSize EnvA2 *MediaType FastGlossy"
  UIConstraints "*PageSize Executive *MediaType FastGlossy"
  UIConstraints "*PageSize Card4x6 *MediaType FastGlossy"
  UIConstraints "*PageSize Card3x5 *MediaType FastGlossy"
  UIConstraints "*PageSize Card5x8 *MediaType FastGlossy"
  UIConstraints "*PageSize CardA4 *MediaType FastGlossy"
  UIConstraints "*PageSize CardLetter *MediaType FastGlossy"
  UIConstraints "*PageSize Letter *MediaType FastGlossy"
  UIConstraints "*PageSize Legal *MediaType Brochure"
  UIConstraints "*PageSize Statement *MediaType FastGlossy"

  UIConstraints "*PageSize 8.5x13 *MediaType BrochureGlosy"
  UIConstraints "*PageSize A4 *MediaType BrochureGlosy"
  UIConstraints "*PageSize A5 *MediaType BrochureGlosy"
  UIConstraints "*PageSize JB5 *MediaType BrochureGlosy"
  UIConstraints "*PageSize B5 *MediaType BrochureGlosy"
  UIConstraints "*PageSize EnvC6 *MediaType BrochureGlosy"
  UIConstraints "*PageSize EnvChou3 *MediaType BrochureGlosy"
  UIConstraints "*PageSize EnvChou4 *MediaType BrochureGlosy"
  UIConstraints "*PageSize EnvMonarch *MediaType BrochureGlosy"
  UIConstraints "*PageSize Env10 *MediaType BrochureGlosy"
  UIConstraints "*PageSize EnvDL *MediaType BrochureGlosy"
  UIConstraints "*PageSize EnvC5 *MediaType BrochureGlosy"
  UIConstraints "*PageSize Env6 *MediaType BrochureGlosy"
  UIConstraints "*PageSize EnvA2 *MediaType BrochureGlosy"
  UIConstraints "*PageSize Executive *MediaType BrochureGlosy"
  UIConstraints "*PageSize Card4x6 *MediaType BrochureGlosy"
  UIConstraints "*PageSize Card3x5 *MediaType BrochureGlosy"
  UIConstraints "*PageSize Card5x8 *MediaType BrochureGlosy"
  UIConstraints "*PageSize CardA4 *MediaType BrochureGlosy"
  UIConstraints "*PageSize CardLetter *MediaType BrochureGlosy"
  UIConstraints "*PageSize Letter *MediaType BrochureGlosy"
  UIConstraints "*PageSize Legal *MediaType Brochure"
  UIConstraints "*PageSize Statement *MediaType BrochureGlosy"

  UIConstraints "*PageSize 8.5x13 *MediaType Brochure"
  UIConstraints "*PageSize A4 *MediaType Brochure"
  UIConstraints "*PageSize A5 *MediaType Brochure"
  UIConstraints "*PageSize JB5 *MediaType Brochure"
  UIConstraints "*PageSize B5 *MediaType Brochure"
  UIConstraints "*PageSize EnvC6 *MediaType Brochure"
  UIConstraints "*PageSize EnvChou3 *MediaType Brochure"
  UIConstraints "*PageSize EnvChou4 *MediaType Brochure"
  UIConstraints "*PageSize EnvMonarch *MediaType Brochure"
  UIConstraints "*PageSize Env10 *MediaType Brochure"
  UIConstraints "*PageSize EnvDL *MediaType Brochure"
  UIConstraints "*PageSize EnvC5 *MediaType Brochure"
  UIConstraints "*PageSize Env6 *MediaType Brochure"
  UIConstraints "*PageSize EnvA2 *MediaType Brochure"
  UIConstraints "*PageSize Executive *MediaType Brochure"
  UIConstraints "*PageSize Card4x6 *MediaType Brochure"
  UIConstraints "*PageSize Card3x5 *MediaType Brochure"
  UIConstraints "*PageSize Card5x8 *MediaType Brochure"
  UIConstraints "*PageSize CardA4 *MediaType Brochure"
  UIConstraints "*PageSize CardLetter *MediaType Brochure"
  UIConstraints "*PageSize Letter *MediaType Brochure"
  UIConstraints "*PageSize Legal *MediaType Brochure"
  UIConstraints "*PageSize Statement *MediaType Brochure"



// 4x6 or smaller
  CustomMedia "Card4x6/Index Card 4x6in" 288 432 8.4 41.04 8.4 8.4 "<</cupsInteger0 74/PageSize [288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card3x5/Index Card 3x5in" 216 360 8.4 41.04 8.4 8.4 "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6/Photo 4x6in/Photo 10x15cm" 288 432 8.4 41.04 8.4 8.4 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "L/L 89x127mm" 252 360 8.4 41.04 8.4 8.4 "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6/A6 105x148mm" 297.36 419.76 8.4 41.04 8.4 8.4 "<</cupsInteger0 24/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 24/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki/Hagaki 100x148mm" 283.68 419.76 8.4 41.04 8.4 8.4 "<</cupsInteger0 71/PageSize[283.68 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[283.68 419.76]/ImagingBBox null>>setpagedevice"

// 5x7
  CustomMedia "Card5x8/Index Card 5x8in" 360 576 8.4 41.04 8.4 8.4 "<</cupsInteger0 75/PageSize [360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo2L/Photo 2L 127x178mm" 360 504 8.4 41.04 8.4 8.4 "<</cupsInteger0 126/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 126/PageSize[360 504]/ImagingBBox null>>setpagedevice"
      CustomMedia "Oufuku/Oufuku-Hagaki 200x148mm" 566.64 419.76 8.4 41.04 8.4 8.4 "<</cupsInteger0 72/PageSize[566.64 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[566.64 419.76]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo5x7/Photo 5x7in" 360 504 8.4 41.04 8.4 8.4 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo13x18/Photo 13x18cm" 360 504 8.4 41.04 8.4 8.4 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5/A5 148x210mm" 419.76 595.44 8.4 41.04 8.4 8.4 "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"

// Standard
  CustomMedia "Photo8x10/8x10in" 576 720 8.4 41.04 8.4 8.4 "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
  CustomMedia "8.5x13/Oficio 8.5x13in" 612 936 8.4 41.04 8.4 8.4 "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "B5/B5 176x250mm" 498.96 708.48 8.4 41.04 8.4 8.4 "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5/JB5 182x257mm" 516.24 728.64 8.4 41.04 8.4 8.4 "<</cupsInteger0 45/PageSize[516.24 728.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive/Executive 7.25x10.5in" 522 756 8.4 41.04 8.4 8.4 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal/Legal 8.5x14in" 612 1008 8.4 41.04 8.4 8.4 "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4/A4 210x297mm" 595.44 841.68 8.4 41.04 8.4 8.4 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
  CustomMedia "CardA4/Index Card A4 210x297mm" 595.44 841.68 8.4 41.04 8.4 8.4 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
  *CustomMedia "Letter/Letter 8.5x11in" 612 792 8.4 41.04 8.4 8.4 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
  CustomMedia "CardLetter/Index Card Letter 8.5x11in" 612 792 8.4 41.04 8.4 8.4 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
  CustomMedia "Statement/Statement 5.5x8.5in" 396 612 8.4 41.04 8.4 8.4 "<</cupsInteger0 15/PageSize[396 612]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 15/PageSize[396 612]/ImagingBBox null>>setpagedevice"


// Envelope
  CustomMedia "EnvDL/DL Envelope 110x220mm" 311.76 623.52 8.4 41.04 8.4 8.4 "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.28 459.36 8.4 41.04 8.4 8.4 "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC5/C5 Envelope 162x229mm" 459.36 649.44 8.4 41.04 8.4 8.4 "<</cupsInteger0 91/PageSize[459.36 649.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 91/PageSize[459.36 649.44]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 339.84 666 8.4 41.04 8.4 8.4 "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou4/#4 Japanese Envelope 90x205mm" 254.88 581.04 8.4 41.04 8.4 8.4 "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env10/#10 Envelope 4.125x9.5in" 297 684 8.4 41.04 8.4 8.4 "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvA2/A2 Envelope 4.37x5.75in" 314.64 414 8.4 41.04 8.4 8.4 "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env6/#6 Envelope 3.63x6.5in" 261.36 468 8.4 41.04 8.4 8.4 "<</cupsInteger0 83/PageSize[261.36 468]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 83/PageSize[261.36 468]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279 540 8.4 41.04 8.4 8.4 "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"

  // Custom page sizes from 3x4in to Legal
  HWMargins 8.4 41.04 8.4 8.4
  VariablePaperSize Yes
  MinSize 3in 8.5in
  MaxSize 5in 14in

   // <%PyramidRefresh15:Normal%>
   {
     ModelName "HP Deskjet 1110 Series"
     Attribute "NickName" "" "HP Deskjet 1110 Series, hpcups $Version"
     Attribute "ShortNickName" "" "HP Deskjet 1110 Series"
     Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 1110 series;DES:deskjet 1110 series;"
     PCFileName "hp-deskjet_1110_series.ppd"
     Attribute "Product" "" "(HP Deskjet 1110 Printer)"
     Attribute "Product" "" "(HP Deskjet 1111 Printer)"
     Attribute "Product" "" "(HP Deskjet 1112 Printer)"
     Attribute "Product" "" "(HP Deskjet Ink Advantage 1110 Printer)"
     Attribute "Product" "" "(HP Deskjet Ink Advantage 1115 Printer)"
     Attribute "Product" "" "(HP Deskjet Ink Advantage 1118 Printer)"
   }
   {
     ModelName "HP Deskjet 2130 Series"
     Attribute "NickName" "" "HP Deskjet 2130 Series, hpcups $Version"
     Attribute "ShortNickName" "" "HP Deskjet 2130 Series"
     Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 2130 series;DES:deskjet 2130 series;"
     PCFileName "hp-deskjet_2130_series.ppd"
     Attribute "Product" "" "(HP Deskjet 2130 All-in-one Printer Series)"
     Attribute "Product" "" "(HP Deskjet 2131 All-in-one Printer)"
     Attribute "Product" "" "(HP Deskjet 2132 All-in-one Printer)"
     Attribute "Product" "" "(HP Deskjet 2134 All-in-one Printer)"
     Attribute "Product" "" "(HP Deskjet Ink Advantage 2130 All-in One Printer)"
     Attribute "Product" "" "(HP Deskjet Ink Advantage 2135 All-in One Printer)"
     Attribute "Product" "" "(HP Deskjet Ink Advantage 2136 All-in One Printer)"
     Attribute "Product" "" "(HP Deskjet Ink Advantage 2138 All-in One Printer)"
   }
 } // End PyramidRefresh15


//////// P15_CISS
{
  Attribute "hpPrinterLanguage" "" "pcl3gui2"
  Attribute "cupsEvenDuplex" "" "True"
  Attribute "cupsBackSide" "" "Rotated"
  Attribute "cupsFlipDuplex" "" "True"
  Attribute "HPMechOffset" "" "117"
  Attribute "HPSPDClass" "" 1
  
  Group "General/General"

  Option "Duplex/Double-Sided Printing" PickOne AnySetup 10.0
     Choice "DuplexNoTumble/Long Edge (Standard)" "<</Duplex true/Tumble false>>setpagedevice"
     Choice "DuplexTumble/Short Edge (Flip)" "<</Duplex true/Tumble true>>setpagedevice"
     *Choice "None/Off" "<</Duplex false/Tumble false>>setpagedevice"

  // MediaPosition values map to MediaSource enumeration in global_types.h
  Option "InputSlot/Media Source" PickOne AnySetup 10.0
    *Choice "Main/Main Tray" "<</MediaPosition 1>>setpagedevice"

  Option "ColorModel/Output Mode" PickOne AnySetup 10.0
    Choice "CMYGray/High Quality Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 1>>setpagedevice"
    Choice "KGray/Black Only Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2>>setpagedevice"
    *Choice "RGB/Color" "<</cupsColorSpace 17/cupsBitsPerColor 8/cupsRowStep 0>>setpagedevice"

// cupsMediaType values map to MEDIATYPE from global_types.h
    Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0/cupsInteger6 1084>>setpagedevice"
    Choice "Glossy/HP Photo Papers" "<</MediaType(Glossy)/cupsMediaType 5/cupsInteger6 1069>>setpagedevice"
    Choice "CoatedBrochure/HP Matte Brochure or Professional Paper" "<</MediaType(CoatedBrochure)/cupsMediaType 2/cupsInteger6 1077>>setpagedevice"
    Choice "CoatedMatte/HP Matte Presentation Paper" "<</MediaType(CoatedMatte)/cupsMediaType 2/cupsInteger6 1005>>setpagedevice"
    Choice "BrochureGlosy/HP Glossy Brochure or Professional Paper" "<</MediaType(BrochureGlosy)/cupsMediaType 8/cupsInteger6 1076>>setpagedevice"
    Choice "FastGlossy/Other photo inkjet papers" "<</MediaType(FastGlossy)/cupsMediaType 5/cupsInteger6 1045>>setpagedevice"
    Choice "Coated/Other matte inkjet papers" "<</MediaType(Coated)/cupsMediaType 2/cupsInteger6 1077>>setpagedevice"
    Choice "Brochure/Other glossy inkjet Papers" "<</MediaType(Brochure)/cupsMediaType 8/cupsInteger6 1054>>setpagedevice"
    Choice "PlainPaperLight/Plain Paper, Light/Recycled" "<</MediaType(PlainPaperLight)/cupsMediaType 1/cupsInteger6 1121>>setpagedevice"
  
 
  Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "Normal/Normal" "<</OutputType(0)/HWResolution[600 600]>>setpagedevice"
    Choice "Best/Best" "<</OutputType(1)/HWResolution[600 600]>>setpagedevice"
    Choice "Photo/High-Resolution Photo" "<</OutputType(2)/HWResolution[1200 1200]>>setpagedevice"

    
  // Constraints

  

  //MediaType & OutputMode

//PaperSizes & MediaTypes
    
  UIConstraints "*PageSize 4x6in *MediaType Plain"
  UIConstraints "*PageSize 2L *MediaType Plain"
  UIConstraints "*PageSize 5x7in *MediaType Plain"
  UIConstraints "*PageSize 8x10 *MediaType Plain"
  UIConstraints "*PageSize L *MediaType Plain"

//PaperSizes & MediaTypes
  UIConstraints "*PageSize 8.5x13 *MediaType Glossy"
  UIConstraints "*PageSize A4 *MediaType Glossy"
  UIConstraints "*PageSize A5 *MediaType Glossy"
  UIConstraints "*PageSize JB5 *MediaType Glossy"
  UIConstraints "*PageSize B5 *MediaType Glossy"
  UIConstraints "*PageSize EnvelopeC6 *MediaType Glossy"
  UIConstraints "*PageSize JapaneseEnvelope#3 *MediaType Glossy"
  UIConstraints "*PageSize JapaneseEnvelope#4 *MediaType Glossy"
  UIConstraints "*PageSize EnvelopeMonarch *MediaType Glossy"
  UIConstraints "*PageSize Envelope#10 *MediaType Glossy"
  UIConstraints "*PageSize EnvelopeDL *MediaType Glossy"
  UIConstraints "*PageSize EnvelopeC5 *MediaType Glossy"
  UIConstraints "*PageSize EnvelopeA2 *MediaType Glossy"
  UIConstraints "*PageSize Executive *MediaType Glossy"
  UIConstraints "*PageSize IndexCard4x6 *MediaType Glossy"
  UIConstraints "*PageSize IndexCard3x5 *MediaType Glossy"
  UIConstraints "*PageSize IndexCard5x8 *MediaType Glossy"
  UIConstraints "*PageSize IndexCardA4 *MediaType Glossy"
  UIConstraints "*PageSize IndexCardLetter *MediaType Glossy"
  UIConstraints "*PageSize Letter *MediaType Glossy"
  UIConstraints "*PageSize Legal *MediaType Brochure"
  UIConstraints "*PageSize 8.5x13 *MediaType FastGlossy"
  UIConstraints "*PageSize A4 *MediaType FastGlossy"
  UIConstraints "*PageSize A5 *MediaType FastGlossy"
  UIConstraints "*PageSize JB5 *MediaType FastGlossy"
  UIConstraints "*PageSize B5 *MediaType FastGlossy"
  UIConstraints "*PageSize EnvelopeC6 *MediaType FastGlossy"
  UIConstraints "*PageSize JapaneseEnvelope#3 *MediaType FastGlossy"
  UIConstraints "*PageSize JapaneseEnvelope#4 *MediaType FastGlossy"
  UIConstraints "*PageSize EnvelopeMonarch *MediaType FastGlossy"
  UIConstraints "*PageSize Envelope#10 *MediaType FastGlossy"
  UIConstraints "*PageSize EnvelopeDL *MediaType FastGlossy"
  UIConstraints "*PageSize EnvelopeC5 *MediaType FastGlossy"
  UIConstraints "*PageSize EnvelopeA2 *MediaType FastGlossy"
  UIConstraints "*PageSize Executive *MediaType FastGlossy"
  UIConstraints "*PageSize IndexCard4x6 *MediaType FastGlossy"
  UIConstraints "*PageSize IndexCard3x5 *MediaType FastGlossy"
  UIConstraints "*PageSize IndexCard5x8 *MediaType FastGlossy"
  UIConstraints "*PageSize IndexCardA4 *MediaType FastGlossy"
  UIConstraints "*PageSize IndexCardLetter *MediaType FastGlossy"
  UIConstraints "*PageSize Letter *MediaType FastGlossy"
  UIConstraints "*PageSize Legal *MediaType Brochure"
  UIConstraints "*PageSize 8.5x13 *MediaType BrochureGlosy"
  UIConstraints "*PageSize A4 *MediaType BrochureGlosy"
  UIConstraints "*PageSize A5 *MediaType BrochureGlosy"
  UIConstraints "*PageSize JB5 *MediaType BrochureGlosy"
  UIConstraints "*PageSize B5 *MediaType BrochureGlosy"
  UIConstraints "*PageSize EnvelopeC6 *MediaType BrochureGlosy"
  UIConstraints "*PageSize JapaneseEnvelope#3 *MediaType BrochureGlosy"
  UIConstraints "*PageSize JapaneseEnvelope#4 *MediaType BrochureGlosy"
  UIConstraints "*PageSize EnvelopeMonarch *MediaType BrochureGlosy"
  UIConstraints "*PageSize Envelope#10 *MediaType BrochureGlosy"
  UIConstraints "*PageSize EnvelopeDL *MediaType BrochureGlosy"
  UIConstraints "*PageSize EnvelopeC5 *MediaType BrochureGlosy"
  UIConstraints "*PageSize EnvelopeA2 *MediaType BrochureGlosy"
  UIConstraints "*PageSize Executive *MediaType BrochureGlosy"
  UIConstraints "*PageSize IndexCard4x6 *MediaType BrochureGlosy"
  UIConstraints "*PageSize IndexCard3x5 *MediaType BrochureGlosy"
  UIConstraints "*PageSize IndexCard5x8 *MediaType BrochureGlosy"
  UIConstraints "*PageSize IndexCardA4 *MediaType BrochureGlosy"
  UIConstraints "*PageSize IndexCardLetter *MediaType BrochureGlosy"
  UIConstraints "*PageSize Letter *MediaType BrochureGlosy"
  UIConstraints "*PageSize Legal *MediaType Brochure"

  UIConstraints "*PageSize 8.5x13 *MediaType Brochure"
  UIConstraints "*PageSize A4 *MediaType Brochure"
  UIConstraints "*PageSize A5 *MediaType Brochure"
  UIConstraints "*PageSize JB5 *MediaType Brochure"
  UIConstraints "*PageSize B5 *MediaType Brochure"
  UIConstraints "*PageSize EnvelopeC6 *MediaType Brochure"
  UIConstraints "*PageSize JapaneseEnvelope#3 *MediaType Brochure"
  UIConstraints "*PageSize JapaneseEnvelope#4 *MediaType Brochure"
  UIConstraints "*PageSize EnvelopeMonarch *MediaType Brochure"
  UIConstraints "*PageSize Envelope#10 *MediaType Brochure"
  UIConstraints "*PageSize EnvelopeDL *MediaType Brochure"
  UIConstraints "*PageSize EnvelopeC5 *MediaType Brochure"
  UIConstraints "*PageSize EnvelopeA2 *MediaType Brochure"
  UIConstraints "*PageSize Executive *MediaType Brochure"
  UIConstraints "*PageSize IndexCard4x6 *MediaType Brochure"
  UIConstraints "*PageSize IndexCard3x5 *MediaType Brochure"
  UIConstraints "*PageSize IndexCard5x8 *MediaType Brochure"
  UIConstraints "*PageSize IndexCardA4 *MediaType Brochure"
  UIConstraints "*PageSize IndexCardLetter *MediaType Brochure"
  UIConstraints "*PageSize Letter *MediaType Brochure"
  UIConstraints "*PageSize Legal *MediaType Brochure"


 
 CustomMedia "2L/2L 127x178mm" 360 504 8.4 8.4 8.4 8.4 "<</cupsInteger0 126/PageSize [360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 126/PageSize[360 504]/ImagingBBox null>>setpagedevice"
      CustomMedia "L/3.5x5in, L" 252 360 8.4 8.4 8.4 8.4 "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
      CustomMedia "3x5/3x5in" 216 360 8.4 8.4 8.4 8.4 "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
      CustomMedia "4x5in/4x5in" 288 360 8.4 8.4 8.4 8.4 "<</cupsInteger0 30002/PageSize [288 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 30002/PageSize[288 360]/ImagingBBox null>>setpagedevice"
      CustomMedia "4x6in/4x6in (10x15cm) " 288 432 8.4 8.4 8.4 8.4 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
      CustomMedia "4x12in/4x12in (10x30cm) " 288 864 8.4 8.4 8.4 8.4 "<</cupsInteger0 30000/PageSize[288 864]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 30000/PageSize[288 864]/ImagingBBox null>>setpagedevice"
      CustomMedia "5x7in/5x7in" 360 504 8.4 8.4 8.4 8.4 "<</cupsInteger0 122/PageSize [360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice" 
      CustomMedia "Envelope_No_6_75/Envelope No 6_75" 260.88 468 8.4 8.4 8.4 8.4 "<</cupsInteger0 83/PageSize [260.88 468]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 83/PageSize[260.88 468]/ImagingBBox null>>setpagedevice"
      CustomMedia "8.5x13/8.5x13in" 612 936 8.4 8.4 8.4 8.4 "<</cupsInteger0 10/PageSize [612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
      CustomMedia "8x10/8x10in" 576 720 8.4 8.4 8.4 8.4 "<</cupsInteger0 7/PageSize [576 720]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
      CustomMedia "A4/A4" 595.44 841.68 8.4 8.4 8.4 8.4 "<</cupsInteger0 26/PageSize [595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
      CustomMedia "A5/A5" 419.76 595.44 8.4 8.4 8.4 8.4 "<</cupsInteger0 25/PageSize [419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
      CustomMedia "A6/A6" 297.84 419.52 8.4 8.4 8.4 8.4 "<</cupsInteger0 24/PageSize [297.84 419.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 24/PageSize[297.84 419.52]/ImagingBBox null>>setpagedevice"
      CustomMedia "B5/B5" 498.72 708.48 8.4 8.4 8.4 8.4 "<</cupsInteger0 65/PageSize [498.72 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[498.72 708.48]/ImagingBBox null>>setpagedevice"
      CustomMedia "JB5/JB5" 515.76 728.4 8.4 8.4 8.4 8.4 "<</cupsInteger0 45/PageSize [515.76 728.4]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize[515.76 728.4]/ImagingBBox null>>setpagedevice"
      CustomMedia "Envelope#10/Envelope #10" 296.88 684 8.4 8.4 8.4 8.4 "<</cupsInteger0 81/PageSize [296.88 684]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 81/PageSize[296.88 684]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvelopeA2/Envelope A2" 314.88 414 8.4 8.4 8.4 8.4 "<</cupsInteger0 109/PageSize [314.88 414]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 109/PageSize[314.88 414]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvelopeC5/Envelope C5" 459.12 648.96 8.4 8.4 8.4 8.4 "<</cupsInteger0 91/PageSize [459.12 648.96]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 91/PageSize[459.12 648.96]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvelopeC6/Envelope C6" 323.04 459.12 8.4 8.4 8.4 8.4 "<</cupsInteger0 92/PageSize [323.04 459.12]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 92/PageSize[323.04 459.12]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvelopeDL/Envelope DL" 311.76 623.52 8.4 8.4 8.4 8.4 "<</cupsInteger0 90/PageSize [311.76 623.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvelopeMonarch/Envelope Monarch" 278.88 540 8.4 8.4 8.4 8.4 "<</cupsInteger0 80/PageSize [278.88 540]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 80/PageSize[278.88 540]/ImagingBBox null>>setpagedevice"  
      CustomMedia "Executive/Executive" 522 756 8.4 8.4 8.4 8.4 "<</cupsInteger0 1/PageSize [522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
      CustomMedia "IndexCard3x5/Index Card 3x5in" 216 360 8.4 8.4 8.4 8.4 "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
      CustomMedia "IndexCard4x6/Index Card 4x6in" 288 432 8.4 8.4 8.4 8.4 "<</cupsInteger0 74/PageSize [288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
      CustomMedia "IndexCard5x8/Index Card 5x8in" 360 576 8.4 8.4 8.4 8.4 "<</cupsInteger0 75/PageSize [360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
      CustomMedia "IndexCardA4/Index Card A4" 595.44 841.68 8.4 8.4 8.4 8.4 "<</cupsInteger0 26/PageSize [595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
      CustomMedia "IndexCardLetter/Index Card Letter" 612 792 8.4 8.4 8.4 8.4 "<</cupsInteger0 2/PageSize [612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
      CustomMedia "JapaneseEnvelope#3/Japanese Envelope #3" 339.84 666 8.4 8.4 8.4 8.4 "<</cupsInteger0 110/PageSize [339.84 666]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
      CustomMedia "JapaneseEnvelope#4/Japanese Envelope #4" 254.88 581.04 8.4 8.4 8.4 8.4 "<</cupsInteger0 111/PageSize [254.88 581.04]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
      CustomMedia "Legal/Legal" 612 1008 8.4 8.4 8.4 8.4 "<</cupsInteger0 3/PageSize [612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
      CustomMedia "Letter/Letter" 612 792 8.4 8.4 8.4 8.4 "<</cupsInteger0 2/PageSize [612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
      CustomMedia "OfukuHagaki/Ofuku Hagaki" 566.64 428.16 8.4 8.4 8.4 8.4 "<</cupsInteger0 72/PageSize [566.64 428.16]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[566.64 428.16]/ImagingBBox null>>setpagedevice"
      CustomMedia "Statement/Statement" 396 612 8.4 8.4 8.4 8.4 "<</cupsInteger0 15/PageSize [396 612]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 15/PageSize[396 612]/ImagingBBox null>>setpagedevice"
      CustomMedia "2L.FB/2L Borderless 127x178mm" 360 504 0 0 0 0 "<</cupsInteger0 126/PageSize [360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 126/PageSize[360 504]/ImagingBBox null>>setpagedevice"
      CustomMedia "L.FB/3.5x5in Borderless, L" 252 360  0 0 0 0 "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/cupsReal0 0/cupsReal1 0/PageSize[252 360]/ImagingBBox null>>setpagedevice"
      CustomMedia "3x5.FB/3x5in Borderless" 216 360 0 0 0 0 "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/cupsReal0 0/cupsReal1 0/PageSize[216 360]/ImagingBBox null>>setpagedevice"
      CustomMedia "4x12in.FB/4x12in Borderless (10x30cm) " 288 864 0 0 0 0 "<</cupsInteger0 30000/PageSize[288 864]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 30000/cupsReal0 0/cupsReal1 0/PageSize[288 864]/ImagingBBox null>>setpagedevice"   
      CustomMedia "4x5in.FB/4x5in Borderless" 288 360 0 0 0 0 "<</cupsInteger0 30002/PageSize [288 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 30002/cupsReal0 0/cupsReal1 0/PageSize[288 360]/ImagingBBox null>>setpagedevice"
      CustomMedia "4x6in.FB/4x6in(10x15cm) Borderless" 288 432 0 0 0 0 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/cupsReal0 0/cupsReal1 0/PageSize[288 432]/ImagingBBox null>>setpagedevice"
      CustomMedia "5x7in.FB/5x7in Borderless" 360 504 0 0 0 0 "<</cupsInteger0 122/PageSize [360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/cupsReal0 0/cupsReal1 0/PageSize[360 504]/ImagingBBox null>>setpagedevice"
      CustomMedia "8x10.FB/8x10in Borderless" 576 720 0 0 0 0 "<</cupsInteger0 7/PageSize [576 720]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/cupsReal0 0/cupsReal1 0/PageSize[576 720]/ImagingBBox null>>setpagedevice"
      CustomMedia "A4.FB/A4 Borderless" 595.44 841.68 0 0 0 0 "<</cupsInteger0 26/PageSize [595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/cupsReal0 0/cupsReal1 0/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"   
      CustomMedia "A5.FB/A5 Borderless" 419.76 595.44 0 0 0 0 "<</cupsInteger0 25/PageSize [419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/cupsReal0 0/cupsReal1 0/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
      CustomMedia "A6.FB/A6 Borderless" 297.84 419.52 0 0 0 0 "<</cupsInteger0 24/PageSize [297.84 419.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 24/cupsReal0 0/cupsReal1 0/PageSize[297.84 419.52]/ImagingBBox null>>setpagedevice"      
      CustomMedia "JB5.FB/JB5 Borderless" 515.76 720 0 0 0 8.4 "<</cupsInteger0 45/PageSize [515.76 728.4]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/cupsReal0 0/cupsReal1 0/PageSize[515.76 728.4]/ImagingBBox null>>setpagedevice"
      CustomMedia "IndexCard3x5.FB/Index Card 3x5in Borderless" 216 360 0 0 0 0 "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/cupsReal0 0/cupsReal1 0/PageSize[216 360]/ImagingBBox null>>setpagedevice"
      CustomMedia "IndexCard4x6.FB/Index Card 4x6in Borderless" 288 432 0 0 0 0 "<</cupsInteger0 74/PageSize [288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/cupsReal0 0/cupsReal1 0/PageSize[288 432]/ImagingBBox null>>setpagedevice"
      CustomMedia "IndexCard5x8.FB/Index Card 5x8in Borderless" 360 576 0 0 0 0 "<</cupsInteger0 75/PageSize [360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/cupsReal0 0/cupsReal1 0/PageSize[360 576]/ImagingBBox null>>setpagedevice"
      CustomMedia "IndexCardA4.FB/Index Card A4 Borderless" 595.44 841.68 0 0 0 0 "<</cupsInteger0 26/PageSize [595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/cupsReal0 0/cupsReal1 0/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
      CustomMedia "IndexCardLetter.FB/Index Card Letter Borderless" 612 792 0 0 0 0 "<</cupsInteger0 2/PageSize [612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/cupsReal0 0/cupsReal1 0/PageSize[612 792]/ImagingBBox null>>setpagedevice"
      CustomMedia "JapanesePostcard.FB/Japanese Postcard Borderless" 284.16 419.52 0 0 0 0 "<</cupsInteger0 71/PageSize[284.16 419.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/cupsReal0 0/cupsReal1 0/PageSize[284.16 419.52]/ImagingBBox null>>setpagedevice"
      CustomMedia "Letter.FB/Letter Borderless" 612 792 0 0 0 0 "<</cupsInteger0 2/PageSize [612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/cupsReal0 0/cupsReal1 0/PageSize[612 792]/ImagingBBox null>>setpagedevice"
      CustomMedia "OfukuHagaki.FB/Ofuku Hagaki Borderless" 566.64 428.16 0 0 0 0 "<</cupsInteger0 72/PageSize [566.64 428.16]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/cupsReal0 0/cupsReal1 0/PageSize[566.64 428.16]/ImagingBBox null>>setpagedevice" 

  // Custom page sizes from 3x4in to Legal
  HWMargins 8.4 41.04 8.4 8.4
  VariablePaperSize Yes
  MinSize 3in 8.5in
  MaxSize 5in 14in

   // <%P15_CISS:Normal%>
   {
     ModelName "HP Ink Tank 110 Series"
     Attribute "NickName" "" "HP Ink Tank 110 Series, hpcups $Version"
     Attribute "ShortNickName" "" "HP Ink Tank 110 Series"
     Attribute "1284DeviceID" "" "MFG:HP;MDL:ink tank 110 series;DES:ink tank 110 series;"
     PCFileName "hp-ink_tank_110_series.ppd"
     Attribute "Product" "" "(HP Ink Tank 115)"
   }
   {
     ModelName "HP Ink Tank 310 Series"
     Attribute "NickName" "" "HP Ink Tank 310 Series, hpcups $Version"
     Attribute "ShortNickName" "" "HP Ink Tank 310 Series"
     Attribute "1284DeviceID" "" "MFG:HP;MDL:ink tank 310 series;DES:ink tank 310 series;"
     PCFileName "hp-ink_tank_310_series.ppd"
     Attribute "Product" "" "(HP Ink Tank 310)"
   }
   {
     ModelName "HP Smart Tank 350 Series"
     Attribute "NickName" "" "HP Smart Tank 350 Series, hpcups $Version"
     Attribute "ShortNickName" "" "HP Smart Tank 350 Series"
     Attribute "1284DeviceID" "" "MFG:HP;MDL:smart tank 350 series;DES:smart tank 350 series;"
     PCFileName "hp-smart_tank_350_series.ppd"
     Attribute "Product" "" "(HP Smart Tank 350)"
   }
   {
     ModelName "HP Ink Tank Wireless 410 Series"
     Attribute "NickName" "" "HP Ink Tank Wireless 410 Series, hpcups $Version"
     Attribute "ShortNickName" "" "HP Ink Tank Wireless 410 Series"
     Attribute "1284DeviceID" "" "MFG:HP;MDL:ink tank wireless 410 series;DES:ink tank wireless 410 series;"
     PCFileName "hp-ink_tank_wireless_410_series.ppd"
     Attribute "Product" "" "(HP Ink Tank Wireless 410)"
   }
   {
     ModelName "HP Smart Tank Wireless 450 Series"
     Attribute "NickName" "" "HP Smart Tank Wireless 450 Series, hpcups $Version"
     Attribute "ShortNickName" "" "HP Smart Tank Wireless 450 Ser."
     Attribute "1284DeviceID" "" "MFG:HP;MDL:smart tank wireless 450 series;DES:smart tank wireless 450 series;"
     PCFileName "hp-smart_tank_wireless_450_series.ppd"
     Attribute "Product" "" "(HP Smart Tank Wireless 450)"
   }
   {
     ModelName "HP Smart Tank 500 Series"
     Attribute "NickName" "" "HP Smart Tank 500 Series, hpcups $Version"
     Attribute "ShortNickName" "" "HP Smart Tank 500 Series"
     Attribute "1284DeviceID" "" "MFG:HP;MDL:smart tank 500 series;DES:smart tank 500 series;"
     PCFileName "hp-smart_tank_500_series.ppd"
     Attribute "Product" "" "(HP Smart Tank 500 Series)"
   }
   {
     ModelName "HP Smart Tank 510 Series"
     Attribute "NickName" "" "HP Smart Tank 510 Series, hpcups $Version"
     Attribute "ShortNickName" "" "HP Smart Tank 510 Series"
     Attribute "1284DeviceID" "" "MFG:HP;MDL:smart tank 510 series;DES:smart tank 510 series;"
     PCFileName "hp-smart_tank_510_series.ppd"
     Attribute "Product" "" "(HP Smart Tank 510)"
   }
   {
     ModelName "HP Smart Tank 530 Series"
     Attribute "NickName" "" "HP Smart Tank 530 Series, hpcups $Version"
     Attribute "ShortNickName" "" "HP Smart Tank 530 Series"
     Attribute "1284DeviceID" "" "MFG:HP;MDL:smart tank 530 series;DES:smart tank 530 series;"
     PCFileName "hp-smart_tank_530_series.ppd"
     Attribute "Product" "" "(HP Smart Tank 530 Series)"
   }
   {
     ModelName "HP Smart Tank Plus 550 Series"
     Attribute "NickName" "" "HP Smart Tank Plus 550 Series, hpcups $Version"
     Attribute "ShortNickName" "" "HP Smart Tank Plus 550 Series"
     Attribute "1284DeviceID" "" "MFG:HP;MDL:smart tank plus 550 series;DES:smart tank plus 550 series;"
     PCFileName "hp-smart_tank_plus_550_series.ppd"
     Attribute "Product" "" "(HP Smart Tank Plus 550)"
   }
   {
     ModelName "HP Smart Tank Plus 570 Series"
     Attribute "NickName" "" "HP Smart Tank Plus 570 Series, hpcups $Version"
     Attribute "ShortNickName" "" "HP Smart Tank Plus 570 Series"
     Attribute "1284DeviceID" "" "MFG:HP;MDL:smart tank plus 570 series;DES:smart tank plus 570 series;"
     PCFileName "hp-smart_tank_plus_570_series.ppd"
     Attribute "Product" "" "(HP Smart Tank Plus 570 Series)"
   }
   {
     ModelName "HP Smart Tank 610 Series"
     Attribute "NickName" "" "HP Smart Tank 610 Series, hpcups $Version"
     Attribute "ShortNickName" "" "HP Smart Tank 610 Series"
     Attribute "1284DeviceID" "" "MFG:HP;MDL:smart tank 610 series;DES:smart tank 610 series;"
     PCFileName "hp-smart_tank_610_series.ppd"
     Attribute "Product" "" "(HP Smart Tank 610)"
   }
   {
     ModelName "HP Smart Tank Plus 650 Series"
     Attribute "NickName" "" "HP Smart Tank Plus 650 Series, hpcups $Version"
     Attribute "ShortNickName" "" "HP Smart Tank Plus 650 Series"
     Attribute "1284DeviceID" "" "MFG:HP;MDL:smart tank plus 650 series;DES:smart tank plus 650 series;"
     PCFileName "hp-smart_tank_plus_650_series.ppd"
     Attribute "Product" "" "(HP Smart Tank Plus 650)"
   }
 } // End P15_CISS

//////// Peaks_Mod-mech
{
  Attribute "hpPrinterLanguage" "" "pcl3gui2"
  Attribute "cupsEvenDuplex" "" "True"
  Attribute "cupsBackSide" "" "Rotated"
  Attribute "cupsFlipDuplex" "" "True"
  Attribute "HPMechOffset" "" "140"
  Attribute "HPSPDClass" "" 1
  
  Group "General/General"

  Option "Duplex/Double-Sided Printing" PickOne AnySetup 10.0
     Choice "DuplexNoTumble/Long Edge (Standard)" "<</Duplex true/Tumble false>>setpagedevice"
     Choice "DuplexTumble/Short Edge (Flip)" "<</Duplex true/Tumble true>>setpagedevice"
     *Choice "None/Off" "<</Duplex false/Tumble false>>setpagedevice"

  // MediaPosition values map to MediaSource enumeration in global_types.h
  Option "InputSlot/Media Source" PickOne AnySetup 10.0
    *Choice "Main/Main Tray" "<</MediaPosition 1>>setpagedevice"

  Option "ColorModel/Output Mode" PickOne AnySetup 10.0
    Choice "CMYGray/High Quality Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 1>>setpagedevice"
    Choice "KGray/Black Only Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2>>setpagedevice"
    *Choice "RGB/Color" "<</cupsColorSpace 17/cupsBitsPerColor 8/cupsRowStep 0>>setpagedevice"

  // cupsMediaType values map to MEDIATYPE from global_types.h
    Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0/cupsInteger6 1084>>setpagedevice"
    Choice "Glossy/HP Photo Papers" "<</MediaType(Glossy)/cupsMediaType 5/cupsInteger6 1069>>setpagedevice"
    Choice "CoatedBrochure/HP Matte Brochure or Professional Paper" "<</MediaType(CoatedBrochure)/cupsMediaType 2/cupsInteger6 1077>>setpagedevice"
    Choice "CoatedMatte/HP Matte Presentation Paper" "<</MediaType(CoatedMatte)/cupsMediaType 2/cupsInteger6 1005>>setpagedevice"
    Choice "BrochureGlosy/HP Glossy Brochure or Professional Paper" "<</MediaType(BrochureGlosy)/cupsMediaType 8/cupsInteger6 1076>>setpagedevice"
    Choice "FastGlossy/Other photo inkjet papers" "<</MediaType(FastGlossy)/cupsMediaType 5/cupsInteger6 1045>>setpagedevice"
    Choice "Coated/Other matte inkjet papers" "<</MediaType(Coated)/cupsMediaType 2/cupsInteger6 1077>>setpagedevice"
    Choice "Brochure/Other glossy inkjet Papers" "<</MediaType(Brochure)/cupsMediaType 8/cupsInteger6 1054>>setpagedevice"
    Choice "PlainPaperLight/Plain Paper, Light/Recycled" "<</MediaType(PlainPaperLight)/cupsMediaType 1/cupsInteger6 1121>>setpagedevice"
  
 
  Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "Normal/Normal" "<</OutputType(0)/HWResolution[600 600]>>setpagedevice"
    Choice "Best/Best" "<</OutputType(1)/HWResolution[600 600]>>setpagedevice"
    Choice "Photo/High-Resolution Photo" "<</OutputType(2)/HWResolution[1200 1200]>>setpagedevice"

    
  // Constraints

  

  //MediaType & OutputMode

//PaperSizes & MediaTypes
    
  UIConstraints "*PageSize 4x6in *MediaType Plain"
  UIConstraints "*PageSize 2L *MediaType Plain"
  UIConstraints "*PageSize 5x7in *MediaType Plain"
  UIConstraints "*PageSize 8x10 *MediaType Plain"
  UIConstraints "*PageSize L *MediaType Plain"

//PaperSizes & MediaTypes
  UIConstraints "*PageSize 8.5x13 *MediaType Glossy"
  UIConstraints "*PageSize A4 *MediaType Glossy"
  UIConstraints "*PageSize A5 *MediaType Glossy"
  UIConstraints "*PageSize JB5 *MediaType Glossy"
  UIConstraints "*PageSize B5 *MediaType Glossy"
  UIConstraints "*PageSize EnvelopeC6 *MediaType Glossy"
  UIConstraints "*PageSize JapaneseEnvelope#3 *MediaType Glossy"
  UIConstraints "*PageSize JapaneseEnvelope#4 *MediaType Glossy"
  UIConstraints "*PageSize EnvelopeMonarch *MediaType Glossy"
  UIConstraints "*PageSize Envelope#10 *MediaType Glossy"
  UIConstraints "*PageSize EnvelopeDL *MediaType Glossy"
  UIConstraints "*PageSize EnvelopeC5 *MediaType Glossy"
  UIConstraints "*PageSize EnvelopeA2 *MediaType Glossy"
  UIConstraints "*PageSize Executive *MediaType Glossy"
  UIConstraints "*PageSize IndexCard4x6 *MediaType Glossy"
  UIConstraints "*PageSize IndexCard3x5 *MediaType Glossy"
  UIConstraints "*PageSize IndexCard5x8 *MediaType Glossy"
  UIConstraints "*PageSize IndexCardA4 *MediaType Glossy"
  UIConstraints "*PageSize IndexCardLetter *MediaType Glossy"
  UIConstraints "*PageSize Letter *MediaType Glossy"
  UIConstraints "*PageSize Legal *MediaType Brochure"
  UIConstraints "*PageSize 8.5x13 *MediaType FastGlossy"
  UIConstraints "*PageSize A4 *MediaType FastGlossy"
  UIConstraints "*PageSize A5 *MediaType FastGlossy"
  UIConstraints "*PageSize JB5 *MediaType FastGlossy"
  UIConstraints "*PageSize B5 *MediaType FastGlossy"
  UIConstraints "*PageSize EnvelopeC6 *MediaType FastGlossy"
  UIConstraints "*PageSize JapaneseEnvelope#3 *MediaType FastGlossy"
  UIConstraints "*PageSize JapaneseEnvelope#4 *MediaType FastGlossy"
  UIConstraints "*PageSize EnvelopeMonarch *MediaType FastGlossy"
  UIConstraints "*PageSize Envelope#10 *MediaType FastGlossy"
  UIConstraints "*PageSize EnvelopeDL *MediaType FastGlossy"
  UIConstraints "*PageSize EnvelopeC5 *MediaType FastGlossy"
  UIConstraints "*PageSize EnvelopeA2 *MediaType FastGlossy"
  UIConstraints "*PageSize Executive *MediaType FastGlossy"
  UIConstraints "*PageSize IndexCard4x6 *MediaType FastGlossy"
  UIConstraints "*PageSize IndexCard3x5 *MediaType FastGlossy"
  UIConstraints "*PageSize IndexCard5x8 *MediaType FastGlossy"
  UIConstraints "*PageSize IndexCardA4 *MediaType FastGlossy"
  UIConstraints "*PageSize IndexCardLetter *MediaType FastGlossy"
  UIConstraints "*PageSize Letter *MediaType FastGlossy"
  UIConstraints "*PageSize Legal *MediaType Brochure"
  UIConstraints "*PageSize 8.5x13 *MediaType BrochureGlosy"
  UIConstraints "*PageSize A4 *MediaType BrochureGlosy"
  UIConstraints "*PageSize A5 *MediaType BrochureGlosy"
  UIConstraints "*PageSize JB5 *MediaType BrochureGlosy"
  UIConstraints "*PageSize B5 *MediaType BrochureGlosy"
  UIConstraints "*PageSize EnvelopeC6 *MediaType BrochureGlosy"
  UIConstraints "*PageSize JapaneseEnvelope#3 *MediaType BrochureGlosy"
  UIConstraints "*PageSize JapaneseEnvelope#4 *MediaType BrochureGlosy"
  UIConstraints "*PageSize EnvelopeMonarch *MediaType BrochureGlosy"
  UIConstraints "*PageSize Envelope#10 *MediaType BrochureGlosy"
  UIConstraints "*PageSize EnvelopeDL *MediaType BrochureGlosy"
  UIConstraints "*PageSize EnvelopeC5 *MediaType BrochureGlosy"
  UIConstraints "*PageSize EnvelopeA2 *MediaType BrochureGlosy"
  UIConstraints "*PageSize Executive *MediaType BrochureGlosy"
  UIConstraints "*PageSize IndexCard4x6 *MediaType BrochureGlosy"
  UIConstraints "*PageSize IndexCard3x5 *MediaType BrochureGlosy"
  UIConstraints "*PageSize IndexCard5x8 *MediaType BrochureGlosy"
  UIConstraints "*PageSize IndexCardA4 *MediaType BrochureGlosy"
  UIConstraints "*PageSize IndexCardLetter *MediaType BrochureGlosy"
  UIConstraints "*PageSize Letter *MediaType BrochureGlosy"
  UIConstraints "*PageSize Legal *MediaType Brochure"

  UIConstraints "*PageSize 8.5x13 *MediaType Brochure"
  UIConstraints "*PageSize A4 *MediaType Brochure"
  UIConstraints "*PageSize A5 *MediaType Brochure"
  UIConstraints "*PageSize JB5 *MediaType Brochure"
  UIConstraints "*PageSize B5 *MediaType Brochure"
  UIConstraints "*PageSize EnvelopeC6 *MediaType Brochure"
  UIConstraints "*PageSize JapaneseEnvelope#3 *MediaType Brochure"
  UIConstraints "*PageSize JapaneseEnvelope#4 *MediaType Brochure"
  UIConstraints "*PageSize EnvelopeMonarch *MediaType Brochure"
  UIConstraints "*PageSize Envelope#10 *MediaType Brochure"
  UIConstraints "*PageSize EnvelopeDL *MediaType Brochure"
  UIConstraints "*PageSize EnvelopeC5 *MediaType Brochure"
  UIConstraints "*PageSize EnvelopeA2 *MediaType Brochure"
  UIConstraints "*PageSize Executive *MediaType Brochure"
  UIConstraints "*PageSize IndexCard4x6 *MediaType Brochure"
  UIConstraints "*PageSize IndexCard3x5 *MediaType Brochure"
  UIConstraints "*PageSize IndexCard5x8 *MediaType Brochure"
  UIConstraints "*PageSize IndexCardA4 *MediaType Brochure"
  UIConstraints "*PageSize IndexCardLetter *MediaType Brochure"
  UIConstraints "*PageSize Letter *MediaType Brochure"
  UIConstraints "*PageSize Legal *MediaType Brochure"


 
      CustomMedia "2L/2L 127x178mm" 360 504 8.4 8.4 8.4 8.4 "<</cupsInteger0 126/PageSize [360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 126/PageSize[360 504]/ImagingBBox null>>setpagedevice"
      CustomMedia "L/3.5x5in, L" 252 360 8.4 8.4 8.4 8.4 "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
      CustomMedia "4x6in/4x6in (10x15cm) " 288 432 8.4 8.4 8.4 8.4 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
      CustomMedia "5x7in/5x7in" 360 504 8.4 8.4 8.4 8.4 "<</cupsInteger0 122/PageSize [360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice" 
      CustomMedia "8.5x13/8.5x13in" 612 936 8.4 8.4 8.4 8.4 "<</cupsInteger0 10/PageSize [612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
      CustomMedia "8x10/8x10in" 576 720 8.4 8.4 8.4 8.4 "<</cupsInteger0 7/PageSize [576 720]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
      CustomMedia "A4/A4" 595.44 841.68 8.4 8.4 8.4 8.4 "<</cupsInteger0 26/PageSize [595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
      CustomMedia "A4.Duplex/A4 Autoduplex" 595.44 841.68 8.4 8.4 8.4 8.4 "<</cupsInteger0 26/PageSize [595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"   
      CustomMedia "A5/A5" 419.76 595.44 8.4 8.4 8.4 8.4 "<</cupsInteger0 25/PageSize [419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
      CustomMedia "A6/A6" 297.84 419.52 8.4 8.4 8.4 8.4 "<</cupsInteger0 24/PageSize [297.84 419.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 24/PageSize[297.84 419.52]/ImagingBBox null>>setpagedevice"
      CustomMedia "B5/B5" 498.72 708.48 8.4 8.4 8.4 8.4 "<</cupsInteger0 65/PageSize [498.72 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[498.72 708.48]/ImagingBBox null>>setpagedevice"
      CustomMedia "B5.Duplex/B5 Autoduplex" 498.72 708.48 8.4 8.4 8.4 8.4 "<</cupsInteger0 65/PageSize [498.72 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[498.72 708.48]/ImagingBBox null>>setpagedevice"   
      CustomMedia "JB5/JB5" 515.76 728.4 8.4 8.4 8.4 8.4 "<</cupsInteger0 45/PageSize [515.76 728.4]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize[515.76 728.4]/ImagingBBox null>>setpagedevice"
      CustomMedia "JB5.Duplex/JB5 Autoduplex" 515.76 728.4 8.4 8.4 8.4 8.4 "<</cupsInteger0 45/PageSize [515.76 728.4]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize[515.76 728.4]/ImagingBBox null>>setpagedevice"   
      CustomMedia "Custom1/Custom 1" 612 1008 8.4 8.4 8.4 8.4 "<</cupsInteger0 101/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
      CustomMedia "Envelope#10/Envelope #10" 296.88 684 8.4 8.4 8.4 8.4 "<</cupsInteger0 81/PageSize [296.88 684]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 81/PageSize[296.88 684]/ImagingBBox null>>setpagedevice"     
      CustomMedia "EnvelopeC6/Envelope C6" 323.04 459.12 8.4 8.4 8.4 8.4 "<</cupsInteger0 92/PageSize [323.04 459.12]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 92/PageSize[323.04 459.12]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvelopeDL/Envelope DL" 311.76 623.52 8.4 8.4 8.4 8.4 "<</cupsInteger0 90/PageSize [311.76 623.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
      CustomMedia "Executive/Executive" 522 756 8.4 8.4 8.4 8.4 "<</cupsInteger0 1/PageSize [522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
      CustomMedia "Executive.Duplex/Executive Autoduplex" 522 756 8.4 8.4 8.4 8.4 "<</cupsInteger0 1/PageSize [522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"   
      CustomMedia "IndexCard4x6/Index Card 4x6in" 288 432 8.4 8.4 8.4 8.4 "<</cupsInteger0 74/PageSize [288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
      CustomMedia "IndexCard5x8/Index Card 5x8in" 360 576 8.4 8.4 8.4 8.4 "<</cupsInteger0 75/PageSize [360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
      CustomMedia "IndexCardA4/Index Card A4" 595.44 841.68 8.4 8.4 8.4 8.4 "<</cupsInteger0 26/PageSize [595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
      CustomMedia "IndexCardLetter/Index Card Letter" 612 792 8.4 8.4 8.4 8.4 "<</cupsInteger0 2/PageSize [612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
      CustomMedia "JapaneseEnvelope#3/Japanese Envelope #3" 339.84 666 8.4 8.4 8.4 8.4 "<</cupsInteger0 110/PageSize [339.84 666]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
      CustomMedia "JapaneseEnvelope#4/Japanese Envelope #4" 254.88 581.04 8.4 8.4 8.4 8.4 "<</cupsInteger0 111/PageSize [254.88 581.04]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
      CustomMedia "JapanesePostcard/Japanese Postcard " 284.16 419.52 8.4 8.4 8.4 8.4 "<</cupsInteger0 71/PageSize[284.16 419.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[284.16 419.52]/ImagingBBox null>>setpagedevice"
      CustomMedia "Legal/Legal" 612 1008 8.4 8.4 8.4 8.4 "<</cupsInteger0 3/PageSize [612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
      CustomMedia "Letter/Letter" 612 792 8.4 8.4 8.4 8.4 "<</cupsInteger0 2/PageSize [612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
      CustomMedia "Letter.Duplex/Letter Autoduplex" 612 792 8.4 8.4 8.4 8.4 "<</cupsInteger0 2/PageSize [612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"   
      CustomMedia "OfukuHagaki/Ofuku Hagaki" 566.64 428.16 8.4 8.4 8.4 8.4 "<</cupsInteger0 72/PageSize [566.64 428.16]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[566.64 428.16]/ImagingBBox null>>setpagedevice"   
      CustomMedia "Statement/Statement" 396 612 8.4 8.4 8.4 8.4 "<</cupsInteger0 15/PageSize [396 612]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 15/PageSize[396 612]/ImagingBBox null>>setpagedevice"
      CustomMedia "2L.FB/2L Borderless 127x178mm" 360 504 0 0 0 0 "<</cupsInteger0 126/PageSize [360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 126/PageSize[360 504]/ImagingBBox null>>setpagedevice"
      CustomMedia "L.FB/3.5x5in Borderless, L" 252 360  0 0 0 0 "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/cupsReal0 0/cupsReal1 0/PageSize[252 360]/ImagingBBox null>>setpagedevice"
      CustomMedia "4x6in.FB/4x6in(10x15cm) Borderless" 288 432 0 0 0 0 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/cupsReal0 0/cupsReal1 0/PageSize[288 432]/ImagingBBox null>>setpagedevice"
      CustomMedia "5x7in.FB/5x7in Borderless" 360 504 0 0 0 0 "<</cupsInteger0 122/PageSize [360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/cupsReal0 0/cupsReal1 0/PageSize[360 504]/ImagingBBox null>>setpagedevice"
      CustomMedia "8x10.FB/8x10in Borderless" 576 720 0 0 0 0 "<</cupsInteger0 7/PageSize [576 720]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/cupsReal0 0/cupsReal1 0/PageSize[576 720]/ImagingBBox null>>setpagedevice"
      CustomMedia "A4.FB/A4 Borderless" 595.44 841.68 0 0 0 0 "<</cupsInteger0 26/PageSize [595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/cupsReal0 0/cupsReal1 0/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"   
      CustomMedia "A5.FB/A5 Borderless" 419.76 595.44 0 0 0 0 "<</cupsInteger0 25/PageSize [419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/cupsReal0 0/cupsReal1 0/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
      CustomMedia "A6.FB/A6 Borderless" 297.84 419.52 0 0 0 0 "<</cupsInteger0 24/PageSize [297.84 419.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 24/cupsReal0 0/cupsReal1 0/PageSize[297.84 419.52]/ImagingBBox null>>setpagedevice"      
      CustomMedia "JB5.FB/JB5 Borderless" 515.76 720 0 0 0 8.4 "<</cupsInteger0 45/PageSize [515.76 728.4]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/cupsReal0 0/cupsReal1 0/PageSize[515.76 728.4]/ImagingBBox null>>setpagedevice"
      CustomMedia "IndexCard4x6.FB/Index Card 4x6in Borderless" 288 432 0 0 0 0 "<</cupsInteger0 74/PageSize [288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/cupsReal0 0/cupsReal1 0/PageSize[288 432]/ImagingBBox null>>setpagedevice"
      CustomMedia "IndexCard5x8.FB/Index Card 5x8in Borderless" 360 576 0 0 0 0 "<</cupsInteger0 75/PageSize [360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/cupsReal0 0/cupsReal1 0/PageSize[360 576]/ImagingBBox null>>setpagedevice"
      CustomMedia "IndexCardA4.FB/Index Card A4 Borderless" 595.44 841.68 0 0 0 0 "<</cupsInteger0 26/PageSize [595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/cupsReal0 0/cupsReal1 0/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
      CustomMedia "IndexCardLetter.FB/Index Card Letter Borderless" 612 792 0 0 0 0 "<</cupsInteger0 2/PageSize [612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/cupsReal0 0/cupsReal1 0/PageSize[612 792]/ImagingBBox null>>setpagedevice"
      CustomMedia "JapanesePostcard.FB/Japanese Postcard Borderless" 284.16 419.52 0 0 0 0 "<</cupsInteger0 71/PageSize[284.16 419.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/cupsReal0 0/cupsReal1 0/PageSize[284.16 419.52]/ImagingBBox null>>setpagedevice"
      CustomMedia "Letter.FB/Letter Borderless" 612 792 0 0 0 0 "<</cupsInteger0 2/PageSize [612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/cupsReal0 0/cupsReal1 0/PageSize[612 792]/ImagingBBox null>>setpagedevice"
      CustomMedia "OfukuHagaki.FB/Ofuku Hagaki Borderless" 566.64 428.16 0 0 0 0 "<</cupsInteger0 72/PageSize [566.64 428.16]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/cupsReal0 0/cupsReal1 0/PageSize[566.64 428.16]/ImagingBBox null>>setpagedevice" 

  // Custom page sizes from 3.5x5in to 5x14in
  HWMargins 8.4 8.4 8.4 8.4
  VariablePaperSize Yes
  MinSize 3.5in 5in
  MaxSize 5in 14in

   // <%Peaks_mod-mech:Normal%>
   {
     ModelName "HP Smart Tank 6000 Series"
     Attribute "NickName" "" "HP Smart Tank 6000 Series, hpcups $Version"
     Attribute "ShortNickName" "" "HP Smart Tank 6000 Series"
     Attribute "1284DeviceID" "" "MFG:HP;MDL:smart tank 6000 series;DES:smart tank 6000 series;"
     PCFileName "hp-smart_tank_6000_series.ppd"
     Attribute "Product" "" "(HP Smart Tank Plus 6000)"
   }
   {
     ModelName "HP Smart Tank 660-670 Series"
     Attribute "NickName" "" "HP Smart Tank 660-670 Series, hpcups $Version"
     Attribute "ShortNickName" "" "HP Smart Tank 660-670 Series"
     Attribute "1284DeviceID" "" "MFG:HP;MDL:smart tank 660-670 series;DES:smart tank 660-670 series;"
     PCFileName "hp-smart_tank_660-670_series.ppd"
     Attribute "Product" "" "(HP Smart Tank Plus 660-670)"
   }
   {
     ModelName "HP Smart Tank 7000 Series"
     Attribute "NickName" "" "HP Smart Tank 7000 Series, hpcups $Version"
     Attribute "ShortNickName" "" "HP Smart Tank 7000 Series"
     Attribute "1284DeviceID" "" "MFG:HP;MDL:smart tank 7000 series;DES:smart tank 7000 series;"
     PCFileName "hp-smart_tank_7000_series.ppd"
     Attribute "Product" "" "(HP Smart Tank Plus 7000)"
   }
   {
     ModelName "HP Smart Tank 710-720 Series"
     Attribute "NickName" "" "HP Smart Tank 710-720 Series, hpcups $Version"
     Attribute "ShortNickName" "" "HP Smart Tank 710-720 Series"
     Attribute "1284DeviceID" "" "MFG:HP;MDL:smart tank 710-720 series;DES:smart tank 710-720 series;"
     PCFileName "hp-smart_tank_710-720_series.ppd"
     Attribute "Product" "" "(HP Smart Tank Plus 710-720)"
   }
   {
     ModelName "HP Smart Tank 7300 Series"
     Attribute "NickName" "" "HP Smart Tank 7300 Series, hpcups $Version"
     Attribute "ShortNickName" "" "HP Smart Tank 7300 Series"
     Attribute "1284DeviceID" "" "MFG:HP;MDL:smart tank 7300 series;DES:smart tank 7300 series;"
     PCFileName "hp-smart_tank_7300_series.ppd"
     Attribute "Product" "" "(HP Smart Tank 790)"
   }
   {
     ModelName "HP Smart Tank 750 Series"
     Attribute "NickName" "" "HP Smart Tank 750 Series, hpcups $Version"
     Attribute "ShortNickName" "" "HP Smart Tank 750 Series"
     Attribute "1284DeviceID" "" "MFG:HP;MDL:smart tank 750 series;DES:smart tank 750 series;"
     PCFileName "hp-smart_tank_750_series.ppd"
     Attribute "Product" "" "(HP Smart Tank 750)"
   }
   {
     ModelName "HP Smart Tank 7600 Series"
     Attribute "NickName" "" "HP Smart Tank 7600 Series, hpcups $Version"
     Attribute "ShortNickName" "" "HP Smart Tank 7600 Series"
     Attribute "1284DeviceID" "" "MFG:HP;MDL:smart tank 7600 series;DES:smart tank 7600 series;"
     PCFileName "hp-smart_tank_7600_series.ppd"
     Attribute "Product" "" "(HP Smart Tank 7600)"
   }
   {
     ModelName "HP Smart Tank 790 Series"
     Attribute "NickName" "" "HP Smart Tank 790 Series, hpcups $Version"
     Attribute "ShortNickName" "" "HP Smart Tank 790 Series"
     Attribute "1284DeviceID" "" "MFG:HP;MDL:smart tank 790 series;DES:smart tank 790 series;"
     PCFileName "hp-smart_tank_790_series.ppd"
     Attribute "Product" "" "(HP Smart Tank 790)"
   }
 } // End Peaks_Mod-mech

//////// Athena-L
{
  Attribute "hpPrinterLanguage" "" "pcl3gui2"
 
  Attribute "cupsBackSide" "" "Rotated"

  Attribute "HPMechOffset" "" "140"
  Attribute "HPSPDClass" "" 1
  
  Group "General/General"



  // MediaPosition values map to MediaSource enumeration in global_types.h
  Option "InputSlot/Media Source" PickOne AnySetup 10.0
    *Choice "Main/Main Tray" "<</MediaPosition 1>>setpagedevice"

  Option "ColorModel/Output Mode" PickOne AnySetup 10.0
    Choice "CMYGray/High Quality Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 1>>setpagedevice"
    Choice "KGray/Black Only Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2>>setpagedevice"
    *Choice "RGB/Color" "<</cupsColorSpace 17/cupsBitsPerColor 8/cupsRowStep 0>>setpagedevice"

  // cupsMediaType values map to MEDIATYPE from global_types.h
    Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0/cupsInteger6 1084>>setpagedevice"
    Choice "Glossy/HP Photo Papers" "<</MediaType(Glossy)/cupsMediaType 5/cupsInteger6 1069>>setpagedevice"
    Choice "CoatedBrochure/HP Matte Brochure or Professional Paper" "<</MediaType(CoatedBrochure)/cupsMediaType 2/cupsInteger6 1077>>setpagedevice"
    Choice "CoatedMatte/HP Matte Presentation Paper" "<</MediaType(CoatedMatte)/cupsMediaType 2/cupsInteger6 1005>>setpagedevice"
    Choice "BrochureGlosy/HP Glossy Brochure or Professional Paper" "<</MediaType(BrochureGlosy)/cupsMediaType 8/cupsInteger6 1076>>setpagedevice"
    Choice "FastGlossy/Other photo inkjet papers" "<</MediaType(FastGlossy)/cupsMediaType 5/cupsInteger6 1045>>setpagedevice"
    Choice "Coated/Other matte inkjet papers" "<</MediaType(Coated)/cupsMediaType 2/cupsInteger6 1077>>setpagedevice"
    Choice "Brochure/Other glossy inkjet Papers" "<</MediaType(Brochure)/cupsMediaType 8/cupsInteger6 1054>>setpagedevice"
    Choice "PlainPaperLight/Plain Paper, Light/Recycled" "<</MediaType(PlainPaperLight)/cupsMediaType 1/cupsInteger6 1121>>setpagedevice"
  
 
  Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "Normal/Normal" "<</OutputType(0)/HWResolution[600 600]>>setpagedevice"
    Choice "Best/Best" "<</OutputType(1)/HWResolution[600 600]>>setpagedevice"
    Choice "Photo/High-Resolution Photo" "<</OutputType(2)/HWResolution[1200 1200]>>setpagedevice"

    
  // Constraints

  

  //MediaType & OutputMode

//PaperSizes & MediaTypes
    
  UIConstraints "*PageSize 4x6in *MediaType Plain"
  UIConstraints "*PageSize 2L *MediaType Plain"
  UIConstraints "*PageSize 5x7in *MediaType Plain"
  UIConstraints "*PageSize 8x10 *MediaType Plain"
  UIConstraints "*PageSize L *MediaType Plain"

//PaperSizes & MediaTypes
  UIConstraints "*PageSize 8.5x13 *MediaType Glossy"
  UIConstraints "*PageSize A4 *MediaType Glossy"
  UIConstraints "*PageSize A5 *MediaType Glossy"
  UIConstraints "*PageSize JB5 *MediaType Glossy"
  UIConstraints "*PageSize B5 *MediaType Glossy"
  UIConstraints "*PageSize EnvelopeC6 *MediaType Glossy"
  UIConstraints "*PageSize JapaneseEnvelope#3 *MediaType Glossy"
  UIConstraints "*PageSize JapaneseEnvelope#4 *MediaType Glossy"
  UIConstraints "*PageSize EnvelopeMonarch *MediaType Glossy"
  UIConstraints "*PageSize Envelope#10 *MediaType Glossy"
  UIConstraints "*PageSize EnvelopeDL *MediaType Glossy"
  UIConstraints "*PageSize EnvelopeC5 *MediaType Glossy"
  UIConstraints "*PageSize EnvelopeA2 *MediaType Glossy"
  UIConstraints "*PageSize Executive *MediaType Glossy"
  UIConstraints "*PageSize IndexCard4x6 *MediaType Glossy"
  UIConstraints "*PageSize IndexCard3x5 *MediaType Glossy"
  UIConstraints "*PageSize IndexCard5x8 *MediaType Glossy"
  UIConstraints "*PageSize IndexCardA4 *MediaType Glossy"
  UIConstraints "*PageSize IndexCardLetter *MediaType Glossy"
  UIConstraints "*PageSize Letter *MediaType Glossy"
  UIConstraints "*PageSize Legal *MediaType Brochure"
  UIConstraints "*PageSize 8.5x13 *MediaType FastGlossy"
  UIConstraints "*PageSize A4 *MediaType FastGlossy"
  UIConstraints "*PageSize A5 *MediaType FastGlossy"
  UIConstraints "*PageSize JB5 *MediaType FastGlossy"
  UIConstraints "*PageSize B5 *MediaType FastGlossy"
  UIConstraints "*PageSize EnvelopeC6 *MediaType FastGlossy"
  UIConstraints "*PageSize JapaneseEnvelope#3 *MediaType FastGlossy"
  UIConstraints "*PageSize JapaneseEnvelope#4 *MediaType FastGlossy"
  UIConstraints "*PageSize EnvelopeMonarch *MediaType FastGlossy"
  UIConstraints "*PageSize Envelope#10 *MediaType FastGlossy"
  UIConstraints "*PageSize EnvelopeDL *MediaType FastGlossy"
  UIConstraints "*PageSize EnvelopeC5 *MediaType FastGlossy"
  UIConstraints "*PageSize EnvelopeA2 *MediaType FastGlossy"
  UIConstraints "*PageSize Executive *MediaType FastGlossy"
  UIConstraints "*PageSize IndexCard4x6 *MediaType FastGlossy"
  UIConstraints "*PageSize IndexCard3x5 *MediaType FastGlossy"
  UIConstraints "*PageSize IndexCard5x8 *MediaType FastGlossy"
  UIConstraints "*PageSize IndexCardA4 *MediaType FastGlossy"
  UIConstraints "*PageSize IndexCardLetter *MediaType FastGlossy"
  UIConstraints "*PageSize Letter *MediaType FastGlossy"
  UIConstraints "*PageSize Legal *MediaType Brochure"
  UIConstraints "*PageSize 8.5x13 *MediaType BrochureGlosy"
  UIConstraints "*PageSize A4 *MediaType BrochureGlosy"
  UIConstraints "*PageSize A5 *MediaType BrochureGlosy"
  UIConstraints "*PageSize JB5 *MediaType BrochureGlosy"
  UIConstraints "*PageSize B5 *MediaType BrochureGlosy"
  UIConstraints "*PageSize EnvelopeC6 *MediaType BrochureGlosy"
  UIConstraints "*PageSize JapaneseEnvelope#3 *MediaType BrochureGlosy"
  UIConstraints "*PageSize JapaneseEnvelope#4 *MediaType BrochureGlosy"
  UIConstraints "*PageSize EnvelopeMonarch *MediaType BrochureGlosy"
  UIConstraints "*PageSize Envelope#10 *MediaType BrochureGlosy"
  UIConstraints "*PageSize EnvelopeDL *MediaType BrochureGlosy"
  UIConstraints "*PageSize EnvelopeC5 *MediaType BrochureGlosy"
  UIConstraints "*PageSize EnvelopeA2 *MediaType BrochureGlosy"
  UIConstraints "*PageSize Executive *MediaType BrochureGlosy"
  UIConstraints "*PageSize IndexCard4x6 *MediaType BrochureGlosy"
  UIConstraints "*PageSize IndexCard3x5 *MediaType BrochureGlosy"
  UIConstraints "*PageSize IndexCard5x8 *MediaType BrochureGlosy"
  UIConstraints "*PageSize IndexCardA4 *MediaType BrochureGlosy"
  UIConstraints "*PageSize IndexCardLetter *MediaType BrochureGlosy"
  UIConstraints "*PageSize Letter *MediaType BrochureGlosy"
  UIConstraints "*PageSize Legal *MediaType Brochure"

  UIConstraints "*PageSize 8.5x13 *MediaType Brochure"
  UIConstraints "*PageSize A4 *MediaType Brochure"
  UIConstraints "*PageSize A5 *MediaType Brochure"
  UIConstraints "*PageSize JB5 *MediaType Brochure"
  UIConstraints "*PageSize B5 *MediaType Brochure"
  UIConstraints "*PageSize EnvelopeC6 *MediaType Brochure"
  UIConstraints "*PageSize JapaneseEnvelope#3 *MediaType Brochure"
  UIConstraints "*PageSize JapaneseEnvelope#4 *MediaType Brochure"
  UIConstraints "*PageSize EnvelopeMonarch *MediaType Brochure"
  UIConstraints "*PageSize Envelope#10 *MediaType Brochure"
  UIConstraints "*PageSize EnvelopeDL *MediaType Brochure"
  UIConstraints "*PageSize EnvelopeC5 *MediaType Brochure"
  UIConstraints "*PageSize EnvelopeA2 *MediaType Brochure"
  UIConstraints "*PageSize Executive *MediaType Brochure"
  UIConstraints "*PageSize IndexCard4x6 *MediaType Brochure"
  UIConstraints "*PageSize IndexCard3x5 *MediaType Brochure"
  UIConstraints "*PageSize IndexCard5x8 *MediaType Brochure"
  UIConstraints "*PageSize IndexCardA4 *MediaType Brochure"
  UIConstraints "*PageSize IndexCardLetter *MediaType Brochure"
  UIConstraints "*PageSize Letter *MediaType Brochure"
  UIConstraints "*PageSize Legal *MediaType Brochure"


      CustomMedia "Photo10x15/Photo 10x15cm" 288 432 8.4 8.4 8.4 8.4 "<</cupsInteger0 118/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 118/PageSize[288 432]/ImagingBBox null>>setpagedevice"
      CustomMedia "2L/2L 127x178mm" 360 504 8.4 8.4 8.4 8.4 "<</cupsInteger0 126/PageSize [360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 126/PageSize[360 504]/ImagingBBox null>>setpagedevice"
      CustomMedia "3.5x5in/3.5x5in, L" 252 360 8.4 8.4 8.4 8.4 "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[252 360]/ImagingBBox null>>setpagedevice"
      CustomMedia "4x6in/4x6in (10x15cm) " 288 432 8.4 8.4 8.4 8.4 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
      CustomMedia "5x7in/5x7in" 360 504 8.4 8.4 8.4 8.4 "<</cupsInteger0 122/PageSize [360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice" 
      CustomMedia "8.5x13/8.5x13in" 612 936 8.4 8.4 8.4 8.4 "<</cupsInteger0 10/PageSize [612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
      CustomMedia "8x10/8x10in" 576 720 8.4 8.4 8.4 8.4 "<</cupsInteger0 7/PageSize [576 720]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
      CustomMedia "A4/A4" 595.44 841.68 8.4 8.4 8.4 8.4 "<</cupsInteger0 26/PageSize [595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
 
      CustomMedia "A5/A5" 419.76 595.44 8.4 8.4 8.4 8.4 "<</cupsInteger0 25/PageSize [419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
      CustomMedia "A6/A6" 297.84 419.52 8.4 8.4 8.4 8.4 "<</cupsInteger0 24/PageSize [297.84 419.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 24/PageSize[297.84 419.52]/ImagingBBox null>>setpagedevice"
      CustomMedia "B5/B5" 498.72 708.48 8.4 8.4 8.4 8.4 "<</cupsInteger0 65/PageSize [498.72 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[498.72 708.48]/ImagingBBox null>>setpagedevice"

      CustomMedia "JB5/JB5" 515.76 728.4 8.4 8.4 8.4 8.4 "<</cupsInteger0 45/PageSize [515.76 728.4]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize[515.76 728.4]/ImagingBBox null>>setpagedevice"
 
      CustomMedia "Custom1/Custom 1" 612 1008 8.4 8.4 8.4 8.4 "<</cupsInteger0 101/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
      CustomMedia "Envelope#10/Envelope #10" 296.88 684 8.4 8.4 8.4 8.4 "<</cupsInteger0 81/PageSize [296.88 684]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 81/PageSize[296.88 684]/ImagingBBox null>>setpagedevice"     
      CustomMedia "EnvelopeC6/Envelope C6" 323.04 459.12 8.4 8.4 8.4 8.4 "<</cupsInteger0 92/PageSize [323.04 459.12]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 92/PageSize[323.04 459.12]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvelopeDL/Envelope DL" 311.76 623.52 8.4 8.4 8.4 8.4 "<</cupsInteger0 90/PageSize [311.76 623.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
      CustomMedia "Executive/Executive" 522 756 8.4 8.4 8.4 8.4 "<</cupsInteger0 1/PageSize [522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
 
      CustomMedia "IndexCard4x6/Index Card 4x6in" 288 432 8.4 8.4 8.4 8.4 "<</cupsInteger0 74/PageSize [288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
      CustomMedia "IndexCard5x8/Index Card 5x8in" 360 576 8.4 8.4 8.4 8.4 "<</cupsInteger0 75/PageSize [360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
      CustomMedia "IndexCardA4/Index Card A4" 595.44 841.68 8.4 8.4 8.4 8.4 "<</cupsInteger0 26/PageSize [595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
      CustomMedia "IndexCardLetter/Index Card Letter" 612 792 8.4 8.4 8.4 8.4 "<</cupsInteger0 2/PageSize [612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
      CustomMedia "JapaneseEnvelope#3/Japanese Envelope #3" 339.84 666 8.4 8.4 8.4 8.4 "<</cupsInteger0 110/PageSize [339.84 666]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
      CustomMedia "JapaneseEnvelope#4/Japanese Envelope #4" 254.88 581.04 8.4 8.4 8.4 8.4 "<</cupsInteger0 111/PageSize [254.88 581.04]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
      CustomMedia "JapanesePostcard/Japanese Postcard " 284.16 419.52 8.4 8.4 8.4 8.4 "<</cupsInteger0 71/PageSize[284.16 419.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[284.16 419.52]/ImagingBBox null>>setpagedevice"
      CustomMedia "Legal/Legal" 612 1008 8.4 8.4 8.4 8.4 "<</cupsInteger0 3/PageSize [612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
      CustomMedia "Letter/Letter" 612 792 8.4 8.4 8.4 8.4 "<</cupsInteger0 2/PageSize [612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"

      CustomMedia "OfukuHagaki/Ofuku Hagaki" 566.64 428.16 8.4 8.4 8.4 8.4 "<</cupsInteger0 72/PageSize [566.64 428.16]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[566.64 428.16]/ImagingBBox null>>setpagedevice"   
      CustomMedia "Statement/Statement" 396 612 8.4 8.4 8.4 8.4 "<</cupsInteger0 15/PageSize [396 612]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 15/PageSize[396 612]/ImagingBBox null>>setpagedevice"
      CustomMedia "Custom1/Custom 1" 612 1008 8.4 8.4 8.4 8.4 "<</cupsInteger0 101/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[612 1008]/ImagingBBox null>>setpagedevice"

      //fullbleed
      CustomMedia "2L.FB/2L Borderless 127x178mm" 360 504 0 0 0 0 "<</cupsInteger0 126/PageSize [360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 126/PageSize[360 504]/ImagingBBox null>>setpagedevice"
      CustomMedia "L.FB/3.5x5in Borderless, L" 252 360  0 0 0 0 "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/cupsReal0 0/cupsReal1 0/PageSize[252 360]/ImagingBBox null>>setpagedevice"
      CustomMedia "4x6in.FB/4x6in(10x15cm) Borderless" 288 432 0 0 0 0 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/cupsReal0 0/cupsReal1 0/PageSize[288 432]/ImagingBBox null>>setpagedevice"
      CustomMedia "5x7in.FB/5x7in Borderless" 360 504 0 0 0 0 "<</cupsInteger0 122/PageSize [360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/cupsReal0 0/cupsReal1 0/PageSize[360 504]/ImagingBBox null>>setpagedevice"
      CustomMedia "8x10.FB/8x10in Borderless" 576 720 0 0 0 0 "<</cupsInteger0 7/PageSize [576 720]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/cupsReal0 0/cupsReal1 0/PageSize[576 720]/ImagingBBox null>>setpagedevice"
      CustomMedia "A4.FB/A4 Borderless" 595.44 841.68 0 0 0 0 "<</cupsInteger0 26/PageSize [595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/cupsReal0 0/cupsReal1 0/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"   
      CustomMedia "A5.FB/A5 Borderless" 419.76 595.44 0 0 0 0 "<</cupsInteger0 25/PageSize [419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/cupsReal0 0/cupsReal1 0/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
      CustomMedia "A6.FB/A6 Borderless" 297.84 419.52 0 0 0 0 "<</cupsInteger0 24/PageSize [297.84 419.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 24/cupsReal0 0/cupsReal1 0/PageSize[297.84 419.52]/ImagingBBox null>>setpagedevice"      
      CustomMedia "JB5.FB/JB5 Borderless" 515.76 720 0 0 0 8.4 "<</cupsInteger0 45/PageSize [515.76 728.4]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/cupsReal0 0/cupsReal1 0/PageSize[515.76 728.4]/ImagingBBox null>>setpagedevice"
      CustomMedia "IndexCard4x6.FB/Index Card 4x6in Borderless" 288 432 0 0 0 0 "<</cupsInteger0 74/PageSize [288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/cupsReal0 0/cupsReal1 0/PageSize[288 432]/ImagingBBox null>>setpagedevice"
      CustomMedia "IndexCard5x8.FB/Index Card 5x8in Borderless" 360 576 0 0 0 0 "<</cupsInteger0 75/PageSize [360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/cupsReal0 0/cupsReal1 0/PageSize[360 576]/ImagingBBox null>>setpagedevice"
      CustomMedia "IndexCardA4.FB/Index Card A4 Borderless" 595.44 841.68 0 0 0 0 "<</cupsInteger0 26/PageSize [595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/cupsReal0 0/cupsReal1 0/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
      CustomMedia "IndexCardLetter.FB/Index Card Letter Borderless" 612 792 0 0 0 0 "<</cupsInteger0 2/PageSize [612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/cupsReal0 0/cupsReal1 0/PageSize[612 792]/ImagingBBox null>>setpagedevice"
      CustomMedia "JapanesePostcard.FB/Japanese Postcard Borderless" 284.16 419.52 0 0 0 0 "<</cupsInteger0 71/PageSize[284.16 419.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/cupsReal0 0/cupsReal1 0/PageSize[284.16 419.52]/ImagingBBox null>>setpagedevice"
      CustomMedia "Letter.FB/Letter Borderless" 612 792 0 0 0 0 "<</cupsInteger0 2/PageSize [612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/cupsReal0 0/cupsReal1 0/PageSize[612 792]/ImagingBBox null>>setpagedevice"
      CustomMedia "OfukuHagaki.FB/Ofuku Hagaki Borderless" 566.64 428.16 0 0 0 0 "<</cupsInteger0 72/PageSize [566.64 428.16]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/cupsReal0 0/cupsReal1 0/PageSize[566.64 428.16]/ImagingBBox null>>setpagedevice" 

  // Custom page sizes from 3.5x5in to 5x14in
  HWMargins 8.4 8.4 8.4 8.4
  VariablePaperSize Yes
  MinSize 3.5in 5in
  MaxSize 5in 14in

   // <%Athena-L:Normal%>
   {
     ModelName "HP Smart Tank 210-220 Series"
     Attribute "NickName" "" "HP Smart Tank 210-220 Series, hpcups $Version"
     Attribute "ShortNickName" "" "HP Smart Tank 210-220 Series"
     Attribute "1284DeviceID" "" "MFG:HP;MDL:smart tank 210-220 series;DES:smart tank 210-220 series;"
     PCFileName "hp-smart_tank_210-220_series.ppd"
     Attribute "Product" "" "(HP Smart Tank 210 220 Series)"
   }
   {
     ModelName "HP Smart Tank 5100 Series"
     Attribute "NickName" "" "HP Smart Tank 5100 Series, hpcups $Version"
     Attribute "ShortNickName" "" "HP Smart Tank 5100 Series"
     Attribute "1284DeviceID" "" "MFG:HP;MDL:smart tank 5100 series;DES:smart tank 5100 series;"
     PCFileName "hp-smart_tank_5100_series.ppd"
     Attribute "Product" "" "(HP Smart Tank 5100 Series)"
   }
   {
     ModelName "HP Smart Tank 520 540 Series"
     Attribute "NickName" "" "HP Smart Tank 520 540 Series, hpcups $Version"
     Attribute "ShortNickName" "" "HP Smart Tank 520 540 Series"
     Attribute "1284DeviceID" "" "MFG:HP;MDL:smart tank 520 540 series;DES:smart tank 520 540 series;"
     PCFileName "hp-smart_tank_520_540_series.ppd"
     Attribute "Product" "" "(HP Smart Tank 520 540 Series)"
   }
   {
     ModelName "HP Smart Tank 580-590 Series"
     Attribute "NickName" "" "HP Smart Tank 580-590 Series, hpcups $Version"
     Attribute "ShortNickName" "" "HP Smart Tank 580-590 Series"
     Attribute "1284DeviceID" "" "MFG:HP;MDL:smart tank 580-590 series;DES:smart tank 580-590 series;"
     PCFileName "hp-smart_tank_580-590_series.ppd"
     Attribute "Product" "" "(HP Smart Tank 580 590 Series)"
   }
 } // End Athena-L

//////// Pyramid without AutoDuplex and CD-DVD
{
  Attribute "hpPrinterLanguage" "" "pcl3gui2"
  Attribute "HPMechOffset" "" "60"

  Group "General/General"

  // MediaPosition values map to MediaSource enumeration in global_types.h
  Option "InputSlot/Media Source" PickOne AnySetup 10.0
    *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"
    Choice "Main/Main Tray" "<</MediaPosition 1>>setpagedevice"

  Option "ColorModel/Output Mode" PickOne AnySetup 10.0
    Choice "CMYGray/High Quality Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 1>>setpagedevice"
    Choice "KGray/Black Only Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2>>setpagedevice"
    *Choice "RGB/Color" "<</cupsColorSpace 17/cupsBitsPerColor 8/cupsRowStep 0>>setpagedevice"

  // cupsMediaType values map to MEDIATYPE from global_types.h
  Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0>>setpagedevice"
    Choice "Photo/Photo Paper" "<</MediaType(FastGlossy)/cupsMediaType 5>>setpagedevice"

  // Constraints
  UIConstraints "*ColorModel KGray *OutputMode Photo"
  UIConstraints "*ColorModel CMYGray *OutputMode Photo"
  UIConstraints "*MediaType Plain *OutputMode Photo"
  UIConstraints "*MediaType Photo *OutputMode Normal"


// 4x6 or smaller
  CustomMedia "Card4x6/Index Card 4x6in" 288 432 9 41.04 9 4.32 "<</cupsInteger0 74/PageSize [288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6/Photo 4x6in" 288 432 9 41.04 9 4.32 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6tab/Photo 4x6in (tab)" 288 432 9 41.04 9 4.32 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6/A6 105x148mm" 297.36 419.76 9 41.04 9 4.32 "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki/Hagaki 100x148mm" 283.68 419.76 9 41.04 9 4.32 "<</cupsInteger0 71/PageSize[283.68 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[283.68 419.76]/ImagingBBox null>>setpagedevice"

// 5x7
  CustomMedia "Card5x8/Index Card 5x8in" 360 576 9 41.04 9 4.32 "<</cupsInteger0 75/PageSize [360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo2L/Photo 2L 127x178mm" 360 504 9 41.04 9 4.32 "<</cupsInteger0 126/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 126/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku/Oufuku-Hagaki 200x148mm" 566.64 419.76 9 41.04 9 4.32 "<</cupsInteger0 72/PageSize[566.64 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[566.64 419.76]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo5x7/Photo 5x7in" 360 504 9 41.04 9 4.32 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo13x18/Photo 13x18cm" 360 504 9 41.04 9 4.32 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5/A5 148x210mm" 419.76 595.44 9 41.04 9 4.32 "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"

// Standard
  CustomMedia "6x8/6x8in" 432 576 9 41.04 9 4.32 "<</cupsInteger0 101/PageSize[432 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[432 576]/ImagingBBox null>>setpagedevice"
  CustomMedia "Mutsugiri/Mutsugiri 8x10in" 576 720 9 41.04 9 4.32 "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
  CustomMedia "8x10/8x10in" 576 720 9 41.04 9 4.32 "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
  CustomMedia "FLSA/American Foolscap 8.5x13in" 612 936 9.00 41.04 9.00 4.32 "<</cupsInteger0 101/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "B5/B5 176x250mm" 498.96 708.48 9 41.04 9 4.32 "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5/JB5 182x257mm" 516.24 728.64 9 41.04 9 4.32 "<</cupsInteger0 45/PageSize[516.24 728.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive/Executive 7.25x10.5in" 522 756 9 41.04 9 4.32 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal/Legal 8.5x14in" 612 1008 9 41.04 9 4.32 "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo10x15/Photo 10x15cm" 288 432 9 41.04 9 4.32 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo10x15tab/Photo 10x15cm (tab)" 288 432 9 41.04 9 4.32 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4/A4 210x297mm" 595.44 841.68 9 41.04 9 4.32 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
  *CustomMedia "Letter/Letter 8.5x11in" 612 792 9 41.04 9 4.32 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
  CustomMedia "Statement/Statement 5.5x8.5in" 396 612 9 41.04 9 4.32 "<</cupsInteger0 15/PageSize[396 612]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 15/PageSize[396 612]/ImagingBBox null>>setpagedevice"


// Envelope
  CustomMedia "EnvDL/DL Envelope 110x220mm" 311.76 623.52 9 41.04 9 4.32 "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.28 459.36 9 41.04 9 4.32 "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC5/C5 Envelope 162x229mm" 459.36 649.44 9 41.04 9 4.32 "<</cupsInteger0 91/PageSize[459.36 649.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 91/PageSize[459.36 649.44]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvCard/Card Envelope 4.4x6in" 315 432 9 41.04 9 4.32 "<</cupsInteger0 114/PageSize[315 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 114/PageSize[315 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 339.84 666 9 41.04 9 4.32 "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env10/#10 Envelope 4.125x9.5in" 297 684 9 41.04 9 4.32 "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"

  // Custom page sizes from 3x4in to Legal
  HWMargins 9 41.04 9 4.32
  VariablePaperSize Yes
  MinSize 3.94in 5.83in
  MaxSize 8.5in 14in

  {

  // cupsCompression values map to QUALITY_MODE from global_types.h
  Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    Choice "FastDraft/Fast Draft" "<</OutputType(-2)/HWResolution[300 300]>>setpagedevice"
    *Choice "Normal/Normal" "<</OutputType(0)/HWResolution[600 300]>>setpagedevice"
    Choice "Best/Best" "<</OutputType(1)/HWResolution[600 600]>>setpagedevice"
    Choice "Photo/High-Resolution Photo" "<</OutputType(2)/HWResolution[1200 1200]>>setpagedevice"

     UIConstraints "*MediaType Photo *OutputMode FastDraft"

  // <%Pyramid:NoAutoDuplex:NoCDDVD%>
  {
    ModelName "HP Deskjet 1000 j110 Series"
    Attribute "NickName" "" "HP Deskjet 1000 j110 Series, hpcups $Version"
    Attribute "ShortNickName" "" "HP Deskjet 1000 j110 Series"
    Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 1000 j110 series;DES:deskjet 1000 j110 series;"
    PCFileName "hp-deskjet_1000_j110_series.ppd"
    Attribute "Product" "" "(HP Deskjet 1000 j110 Series)"
  }
  {
    ModelName "HP Deskjet 1050 j410 Series"
    Attribute "NickName" "" "HP Deskjet 1050 j410 Series, hpcups $Version"
    Attribute "ShortNickName" "" "HP Deskjet 1050 j410 Series"
    Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 1050 j410 series;DES:deskjet 1050 j410 series;"
    PCFileName "hp-deskjet_1050_j410_series.ppd"
    Attribute "Product" "" "(HP Deskjet 1050 j410 All-in-one Printer)"
    Attribute "Product" "" "(HP Deskjet 1051 All-in-one Printer)"
    Attribute "Product" "" "(HP Deskjet 1055 All-in-one Printer -j410e)"
    Attribute "Product" "" "(HP Deskjet 1056 All-in-one Printer -j410a)"
  }
  {
    ModelName "HP Deskjet 2000 j210 Series"
    Attribute "NickName" "" "HP Deskjet 2000 j210 Series, hpcups $Version"
    Attribute "ShortNickName" "" "HP Deskjet 2000 j210 Series"
    Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 2000 j210 series;DES:deskjet 2000 j210 series;"
    PCFileName "hp-deskjet_2000_j210_series.ppd"
    Attribute "Product" "" "(HP Deskjet 2000 j210 Series)"
  }
  {
    ModelName "HP Deskjet Ink Adv 2010 k010"
    Attribute "NickName" "" "HP Deskjet Ink Adv 2010 k010, hpcups $Version"
    Attribute "ShortNickName" "" "HP Deskjet Ink Adv 2010 k010"
    Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet ink adv 2010 k010;DES:deskjet ink adv 2010 k010;"
    PCFileName "hp-deskjet_ink_adv_2010_k010.ppd"
    Attribute "Product" "" "(HP Deskjet Ink Adv 2010 k010)"
  }
  {
    ModelName "HP Deskjet 2050 j510 Series"
    Attribute "NickName" "" "HP Deskjet 2050 j510 Series, hpcups $Version"
    Attribute "ShortNickName" "" "HP Deskjet 2050 j510 Series"
    Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 2050 j510 series;DES:deskjet 2050 j510 series;"
    PCFileName "hp-deskjet_2050_j510_series.ppd"
    Attribute "Product" "" "(HP Deskjet 2050 j510 All-in-one Printer)"
  }
  {
    ModelName "HP Deskjet Ink Adv 2060 k110"
    Attribute "NickName" "" "HP Deskjet Ink Adv 2060 k110, hpcups $Version"
    Attribute "ShortNickName" "" "HP Deskjet Ink Adv 2060 k110"
    Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet ink adv 2060 k110;DES:deskjet ink adv 2060 k110;"
    PCFileName "hp-deskjet_ink_adv_2060_k110.ppd"
    Attribute "Product" "" "(HP Deskjet Ink Adv 2060 k110)"
  }
  {
    ModelName "HP Deskjet 3000 j310 Series"
    Attribute "NickName" "" "HP Deskjet 3000 j310 Series, hpcups $Version"
    Attribute "ShortNickName" "" "HP Deskjet 3000 j310 Series"
    Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 3000 j310 series;DES:deskjet 3000 j310 series;"
    PCFileName "hp-deskjet_3000_j310_series.ppd"
    Attribute "Product" "" "(HP Deskjet 3000 j310 Series)"
  }
  {
    ModelName "HP Deskjet 3050 j610 Series"
    Attribute "NickName" "" "HP Deskjet 3050 j610 Series, hpcups $Version"
    Attribute "ShortNickName" "" "HP Deskjet 3050 j610 Series"
    Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 3050 j610 series;DES:deskjet 3050 j610 series;"
    PCFileName "hp-deskjet_3050_j610_series.ppd"
    Attribute "Product" "" "(HP Deskjet 3050 j610 Series)"
  }
  {
    ModelName "HP Deskjet 3050a j611 Series"
    Attribute "NickName" "" "HP Deskjet 3050a j611 Series, hpcups $Version"
    Attribute "ShortNickName" "" "HP Deskjet 3050a j611 Series"
    Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 3050a j611 series;DES:deskjet 3050a j611 series;"
    PCFileName "hp-deskjet_3050a_j611_series.ppd"
    Attribute "Product" "" "(HP Deskjet 3050a j611 Series)"
    Attribute "Product" "" "(HP Deskjet 3055a E-all-in-one Printer j611n)"
    Attribute "Product" "" "(HP Deskjet 3057a E-all-in-one Printer j611n)"
    Attribute "Product" "" "(HP Deskjet 3059a E-all-in-one Printer j611n)"
    Attribute "Product" "" "(HP Deskjet 3056a E-all-in-one Printer)"
    Attribute "Product" "" "(HP Deskjet 3051a E-all-in-one Printer j611h)"
    Attribute "Product" "" "(HP Deskjet 3052a E-all-in-one Printer j611e)"
    Attribute "Product" "" "(HP Deskjet 3052a E-all-in-one Printer j611f)"
    Attribute "Product" "" "(HP Deskjet 3052a E-all-in-one Printer j611g)"
    Attribute "Product" "" "(HP Deskjet 3054a E-all-in-one Printer j611c)"
    Attribute "Product" "" "(HP Deskjet 3054a E-all-in-one Printer j611d)"
    Attribute "Product" "" "(HP Deskjet 3054a E-all-in-one Printer j611j)"
  }
  }
  {
  // cupsCompression values map to QUALITY_MODE from global_types.h
  Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    Choice "Draft/Draft" "<</OutputType(-2)/HWResolution[300 300]>>setpagedevice"
    *Choice "Normal/Normal" "<</OutputType(0)/HWResolution[600 300]>>setpagedevice"
    Choice "Best/Best" "<</OutputType(1)/HWResolution[600 600]>>setpagedevice"
    Choice "Photo/High-Resolution Photo" "<</OutputType(2)/HWResolution[1200 1200]>>setpagedevice"

   UIConstraints "*MediaType Photo *OutputMode Draft"

  // <%Pyramid:K10%>
  {
    ModelName "HP Deskjet 1010 Series"
    Attribute "NickName" "" "HP Deskjet 1010 Series, hpcups $Version"
    Attribute "ShortNickName" "" "HP Deskjet 1010 Series"
    Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 1010 series;DES:deskjet 1010 series;"
    PCFileName "hp-deskjet_1010_series.ppd"
    Attribute "Product" "" "(HP Deskjet 1010 Printer)"
    Attribute "Product" "" "(HP Deskjet 1011 Printer)"
    Attribute "Product" "" "(HP Deskjet 1012 Printer)"
    Attribute "Product" "" "(HP Deskjet Ink Advantage 1010 Printer Series)"
    Attribute "Product" "" "(HP Deskjet Ink Advantage 1015 Printer)"
    Attribute "Product" "" "(HP Deskjet Ink Advantage 1018 Printer)"
  }
  {
    ModelName "HP Deskjet 1510 Series"
    Attribute "NickName" "" "HP Deskjet 1510 Series, hpcups $Version"
    Attribute "ShortNickName" "" "HP Deskjet 1510 Series"
    Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 1510 series;DES:deskjet 1510 series;"
    PCFileName "hp-deskjet_1510_series.ppd"
    Attribute "Product" "" "(HP Deskjet 1510 All-in-one Printer)"
    Attribute "Product" "" "(HP Deskjet 1511 All-in-one Printer)"
    Attribute "Product" "" "(HP Deskjet 1512 All-in-one Printer)"
    Attribute "Product" "" "(HP Deskjet 1513 All-in-one Printer)"
    Attribute "Product" "" "(HP Deskjet 1514 All-in-one Printer)"
    Attribute "Product" "" "(HP Deskjet Ink Advantage 1510 All-in-one Printer Series)"
    Attribute "Product" "" "(HP Deskjet Ink Advantage 1515 All-in-one Printer)"
    Attribute "Product" "" "(HP Deskjet Ink Advantage 1516 All-in-one Printer)"
    Attribute "Product" "" "(HP Deskjet Ink Advantage 1518 All-in-one Printer)"
  }
  {
    ModelName "HP Deskjet 2540 Series"
    Attribute "NickName" "" "HP Deskjet 2540 Series, hpcups $Version"
    Attribute "ShortNickName" "" "HP Deskjet 2540 Series"
    Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 2540 series;DES:deskjet 2540 series;"
    PCFileName "hp-deskjet_2540_series.ppd"
    Attribute "Product" "" "(HP Deskjet 2540 All-in-one Printer)"
    Attribute "Product" "" "(HP Deskjet 2541 All-in-one Printer)"
    Attribute "Product" "" "(HP Deskjet 2542 All-in-one Printer)"
    Attribute "Product" "" "(HP Deskjet 2543 All-in-one Printer)"
    Attribute "Product" "" "(HP Deskjet 2544 All-in-one Printer)"
    Attribute "Product" "" "(HP Deskjet 2545 All-in-one Printer)"
    Attribute "Product" "" "(HP Deskjet 2549 All-in-one Printer)"
    Attribute "Product" "" "(HP Deskjet Ink Advantage 2540 All-in-one Printer Series)"
    Attribute "Product" "" "(HP Deskjet Ink Advantage 2545 All-in-one Printer)"
    Attribute "Product" "" "(HP Deskjet Ink Advantage 2546 All-in-one Printer)"
    Attribute "Product" "" "(HP Deskjet Ink Advantage 2548 All-in-one Printer)"
    Attribute "Product" "" "(HP Deskjet 2546b All-in-one Printer)"
    Attribute "Product" "" "(HP Deskjet 2546p All-in-one Printer)"
    Attribute "Product" "" "(HP Deskjet 2546r All-in-one Printer)"
  }
  {
    ModelName "HP Officejet 2620 Series"
    Attribute "NickName" "" "HP Officejet 2620 Series, hpcups $Version"
    Attribute "ShortNickName" "" "HP Officejet 2620 Series"
    Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet 2620 series;DES:officejet 2620 series;"
    PCFileName "hp-officejet_2620_series.ppd"
    Attribute "Product" "" "(HP Officejet 2620 All-in-one)"
    Attribute "Product" "" "(HP Officejet 2621 All-in-one)"
    Attribute "Product" "" "(HP Officejet 2622 All-in-one)"
  }
  {
    ModelName "HP Deskjet 2640 Series"
    Attribute "NickName" "" "HP Deskjet 2640 Series, hpcups $Version"
    Attribute "ShortNickName" "" "HP Deskjet 2640 Series"
    Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 2640 series;DES:deskjet 2640 series;"
    PCFileName "hp-deskjet_2640_series.ppd"
    Attribute "Product" "" "(HP Deskjet Ink Advantage 2645 All-in-one Printer)"
    Attribute "Product" "" "(HP Deskjet Ink Advantage 2646 All-in-one Printer)"
  }
  }


} // End Pyramid without AutoDuplex and CD-DVD


//////// Pyramid Plus
{
  Attribute "hpPrinterLanguage" "" "pcl3gui2"
  Attribute "HPMechOffset" "" "71"

  Group "General/General"

  // MediaPosition values map to MediaSource enumeration in global_types.h
  Option "InputSlot/Media Source" PickOne AnySetup 10.0
    *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"
    Choice "Main/Main Tray" "<</MediaPosition 1>>setpagedevice"

  Option "ColorModel/Output Mode" PickOne AnySetup 10.0
    Choice "CMYGray/High Quality Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 1>>setpagedevice"
    Choice "KGray/Black Only Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2>>setpagedevice"
    *Choice "RGB/Color" "<</cupsColorSpace 17/cupsBitsPerColor 8/cupsRowStep 0>>setpagedevice"

  // cupsMediaType values map to MEDIATYPE from global_types.h
  Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0>>setpagedevice"
    Choice "Photo/Photo Paper" "<</MediaType(FastGlossy)/cupsMediaType 5>>setpagedevice"

  // cupsCompression values map to QUALITY_MODE from global_types.h
  Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    Choice "FastDraft/Fast Draft" "<</OutputType(-2)/HWResolution[300 300]>>setpagedevice"
    *Choice "Normal/Normal" "<</OutputType(0)/HWResolution[600 300]>>setpagedevice"
    Choice "Best/Best" "<</OutputType(1)/HWResolution[600 600]>>setpagedevice"
    Choice "Photo/High-Resolution Photo" "<</OutputType(2)/HWResolution[1200 1200]>>setpagedevice"

  // Constraints
  UIConstraints "*ColorModel KGray *OutputMode Photo"
  UIConstraints "*ColorModel CMYGray *OutputMode Photo"
  UIConstraints "*MediaType Plain *OutputMode Photo"
  UIConstraints "*MediaType Photo *OutputMode FastDraft"
  UIConstraints "*MediaType Photo *OutputMode Normal"

  // Constraint FB against FastDraft
  UIConstraints "*PageSize Hagaki.FB *OutputMode FastDraft"
  UIConstraints "*PageSize Photo4x6.FB *OutputMode FastDraft"
  UIConstraints "*PageSize Photo4x6tab.FB *OutputMode FastDraft"
  UIConstraints "*PageSize Photo5x7.FB *OutputMode FastDraft"
  UIConstraints "*PageSize Photo13x18.FB *OutputMode FastDraft"
  UIConstraints "*PageSize Photo10x15.FB *OutputMode FastDraft"
  UIConstraints "*PageSize Photo10x15tab.FB *OutputMode FastDraft"
  UIConstraints "*PageSize Photo2L.FB *OutputMode FastDraft"
  UIConstraints "*PageSize A6.FB *OutputMode FastDraft"
  UIConstraints "*PageSize Letter.FB *OutputMode FastDraft"
  UIConstraints "*PageSize A4.FB *OutputMode FastDraft"


// Generic Sizes
    CustomMedia "Card4x6/Index Card 4x6in" 288 432 9 9 9 9 "<</cupsInteger0 74/PageSize [288 432]/ImagingBBox null>>setpagedevice"
    "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"

    CustomMedia "Card5x8/Index Card 5x8in" 360 576 9 9 9 9 "<</cupsInteger0 75/PageSize [360 576]/ImagingBBox null>>setpagedevice"
    "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"

    CustomMedia "Photo4x6/Photo 4x6in" 288 432 9 9 9 9 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
    "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"

    CustomMedia "Photo4x6tab/Photo 4x6in (tab)" 288 432 9 9 9 9 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
    "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"

    CustomMedia "Photo10x15/Photo 10x15cm" 288 432 9 9 9 9 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
    "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"

    CustomMedia "Photo10x15tab/Photo 10x15cm (tab)" 288 432 9 9 9 9 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
    "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"

    CustomMedia "A6/A6 105x148mm" 297.36 419.76 9 9 9 9 "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
    "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"

    CustomMedia "Hagaki/Hagaki 100x148mm" 283.68 419.76 9 9 9 9 "<</cupsInteger0 71/PageSize[283.68 419.76]/ImagingBBox null>>setpagedevice"
    "<</cupsInteger0 71/PageSize[283.68 419.76]/ImagingBBox null>>setpagedevice"

    CustomMedia "Photo2L/Photo 2L 127x178mm" 360 504 9 9 9 9 "<</cupsInteger0 126/PageSize[360 504]/ImagingBBox null>>setpagedevice"
    "<</cupsInteger0 126/PageSize[360 504]/ImagingBBox null>>setpagedevice"

    CustomMedia "6x8/6x8in" 432 576 9 9 9 9 "<</cupsInteger0 101/PageSize[432 576]/ImagingBBox null>>setpagedevice"
    "<</cupsInteger0 101/PageSize[432 576]/ImagingBBox null>>setpagedevice"

    CustomMedia "Oufuku/Oufuku-Hagaki 200x148mm" 566.64 419.76 9 9 9 9 "<</cupsInteger0 72/PageSize[566.64 419.76]/ImagingBBox null>>setpagedevice"
    "<</cupsInteger0 72/PageSize[566.64 419.76]/ImagingBBox null>>setpagedevice"

    CustomMedia "Mutsugiri/Mutsugiri 8x10in" 576 720 9 9 9 9 "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
    "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"

    CustomMedia "FLSA/American Foolscap 8.5x13in" 612 936 9.00 9 9.00 9 "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
    "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"

    CustomMedia "Photo5x7/Photo 5x7in" 360 504 9 9 9 9 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
    "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"

    CustomMedia "Photo13x18/Photo 13x18cm" 360 504 9 9 9 9 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
    "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"


    CustomMedia "B5/B5 176x250mm" 498.96 708.48 9 9 9 9 "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
    "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"

    CustomMedia "JB5/JB5 182x257mm" 516.24 728.64 9 9 9 9 "<</cupsInteger0 45/PageSize[516.24 728.64]/ImagingBBox null>>setpagedevice"
    "<</cupsInteger0 45/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"

    CustomMedia "Executive/Executive 7.25x10.5in" 522 756 9 9 9 9 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
    "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"

    CustomMedia "8x10/8x10in" 576 720 9 9 9 9 "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
    "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"

    CustomMedia "Legal/Legal 8.5x14in" 612 1008 9 9 9 9 "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
    "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"

    CustomMedia "A4/A4 210x297mm" 595.44 841.68 9 9 9 9 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
    "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"

    *CustomMedia "Letter/Letter 8.5x11in" 612 792 9 9 9 9 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
    "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"

    CustomMedia "Statement/Statement 5.5x8.5in" 396 612 9 9 9 9 "<</cupsInteger0 15/PageSize[396 612]/ImagingBBox null>>setpagedevice"
    "<</cupsInteger0 15/PageSize[396 612]/ImagingBBox null>>setpagedevice"


    // Envelope
    CustomMedia "EnvDL/DL Envelope 110x220mm" 311.76 623.52 9 9 9 9 "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
    "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
    CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.28 459.36 9 9 9 9 "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
    "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
    CustomMedia "EnvC5/C5 Envelope 162x229mm" 459.36 649.44 9 9 9 9 "<</cupsInteger0 91/PageSize[459.36 649.44]/ImagingBBox null>>setpagedevice"
    "<</cupsInteger0 91/PageSize[459.36 649.44]/ImagingBBox null>>setpagedevice"
    CustomMedia "EnvChou2/#2 Envelope 111x146mm" 314.64 414 9 9 9 9 "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
    "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
    CustomMedia "EnvCard/Card Envelope 4.4x6in" 315 432 9 9 9 9 "<</cupsInteger0 114/PageSize[315 432]/ImagingBBox null>>setpagedevice"
    "<</cupsInteger0 114/PageSize[315 432]/ImagingBBox null>>setpagedevice"
    CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 339.84 666 9 9 9 9 "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
    "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
    CustomMedia "Env10/#10 Envelope 4.125x9.5in" 297 684 9 9 9 9 "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
    "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"

    //Borderless
    CustomMedia "Hagaki.FB/Hagaki Borderless 100x148mm" 299.23 433.11 0 0 0 0 "<</cupsInteger0 71/PageSize[299.23 433.11]/ImagingBBox null>>setpagedevice"
    "<</cupsInteger0 71/cupsReal0 .079/cupsReal1 .098/PageSize[299.23 433.11]/ImagingBBox null>>setpagedevice"

    CustomMedia "Photo4x6.FB/Photo Borderless 4x6in" 303.552 446.112 0 0 0 0 "<</cupsInteger0 74/PageSize[303.552 446.112]/ImagingBBox null>>setpagedevice"
    "<</cupsInteger0 74/cupsReal0 .098/cupsReal1 .098/PageSize[303.552 446.112]/ImagingBBox null>>setpagedevice"

    CustomMedia "Photo4x6tab.FB/Photo Borderless 4x6in (tab)" 303.55 446.11 0 0 0 0 "<</cupsInteger0 74/PageSize[303.55 446.11]/ImagingBBox null>>setpagedevice"
    "<</cupsInteger0 74/cupsReal0 .098/cupsReal1 .098/PageSize[303.55 446.11]/ImagingBBox null>>setpagedevice"

    CustomMedia "Photo10x15.FB/Borderless Photo 10x15cm" 303.552 446.112 0 0 0 0 "<</cupsInteger0 74/cupsReal0 .098/cupsReal1 .098/PageSize[303.552 446.112]/ImagingBBox null>>setpagedevice" "<</cupsInteger0 74/cupsReal0 .098/cupsReal1 .098/PageSize[303.552 446.112]/ImagingBBox null>>setpagedevice"

    CustomMedia "Photo10x15tab.FB/Borderless Photo 10x15cm (tab)" 303.552 446.112 0 0 0 0 "<</cupsInteger0 74/cupsReal0 .098/cupsReal1 .098/PageSize[303.552 446.112]/ImagingBBox null>>setpagedevice" "<</cupsInteger0 74/cupsReal0 .098/cupsReal1 .098/PageSize[303.552 446.112]/ImagingBBox null>>setpagedevice"

    CustomMedia "A6.FB/A6 Borderless 105x148mm" 312.91 433.872 0 0 0 0 "<</cupsInteger0 73/PageSize[312.91 433.872]/ImagingBBox null>>setpagedevice"
    "<</cupsInteger0 73/cupsReal0 .079/cupsReal1 .098/PageSize[312.91 433.872]/ImagingBBox null>>setpagedevice"

    CustomMedia "Photo5x7.FB/Photo Borderless 5x7in" 375.55 518.112 0 0 0 0 "<</cupsInteger0 122/PageSize[375.55 518.112]/ImagingBBox null>>setpagedevice"
    "<</cupsInteger0 122/cupsReal0 .089/cupsReal1 .098/PageSize[375.55 518.112]/ImagingBBox null>>setpagedevice"

    CustomMedia "Photo13x18.FB/Borderless Photo 13x18cm" 375.55 518.112 0 0 0 0 "<</cupsInteger0 122/PageSize[375.55 518.112]/ImagingBBox null>>setpagedevice"
    "<</cupsInteger0 122/cupsReal0 .089/cupsReal1 .098/PageSize[375.55 518.112]/ImagingBBox null>>setpagedevice"

    CustomMedia "Photo2L.FB/Photo 2L Borderless 127x178mm" 375.55 518.328 0 0 0 0 "<</cupsInteger0 126/PageSize[375.55 518.328]/ImagingBBox null>>setpagedevice"
    "<</cupsInteger0 126/cupsReal0 .089/cupsReal1 .098/PageSize[375.55 518.328]/ImagingBBox null>>setpagedevice"

    CustomMedia "8x10.FB/Borderless 8x10in" 591.552 734.112 0 0 0 0 "<</cupsInteger0 7/PageSize[591.552 734.112]/ImagingBBox null>>setpagedevice"
    "<</cupsInteger0 7/cupsReal0 .098/cupsReal1 .098/PageSize[591.552 734.112]/ImagingBBox null>>setpagedevice"

    CustomMedia "A4.FB/A4 Borderless 210x297mm" 610.992 855.792 0 0 0 0 "<</cupsInteger0 26/PageSize[610.992 855.792]/ImagingBBox null>>setpagedevice"
    "<</cupsInteger0 26/cupsReal0 .098/cupsReal1 .098/PageSize[610.992 855.792]/ImagingBBox null>>setpagedevice"

    CustomMedia "Letter.FB/Letter Borderless 8.5x11in" 627.552 806.112 0 0 0 0 "<</cupsInteger0 2/PageSize[627.552 806.112]/ImagingBBox null>>setpagedevice"
    "<</cupsInteger0 2/cupsReal0 .098/cupsReal1 .098/PageSize[627.552 806.112]/ImagingBBox null>>setpagedevice"

    // Custom page sizes from 3x4in to Legal
    HWMargins 9 9 9 9
    VariablePaperSize Yes
    MinSize 3.94in 5.83in
    MaxSize 8.5in 14in

     // <%PyramidPlus:NoAutoDuplex%>
     {
       ModelName "HP Deskjet 2020 Series"
       Attribute "NickName" "" "HP Deskjet 2020 Series, hpcups $Version"
       Attribute "ShortNickName" "" "HP Deskjet 2020 Series"
       Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 2020 series;DES:deskjet 2020 series;"
       PCFileName "hp-deskjet_2020_series.ppd"
       Attribute "Product" "" "(HP Deskjet Ink Advantage 2020hc Printer)"
       Attribute "Product" "" "(HP Deskjet Ultra Ink Advantage 2029 Printer)"
     }
     {
       ModelName "HP Deskjet 2510 Series"
       Attribute "NickName" "" "HP Deskjet 2510 Series, hpcups $Version"
       Attribute "ShortNickName" "" "HP Deskjet 2510 Series"
       Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 2510 series;DES:deskjet 2510 series;"
       PCFileName "hp-deskjet_2510_series.ppd"
       Attribute "Product" "" "(HP Deskjet Ink Advantage 2510 All-in-one)"
       Attribute "Product" "" "(HP Deskjet Ink Advantage 2515 All-in-one Printer)"
       Attribute "Product" "" "(HP Deskjet Ink Advantage 2516 All-in-one Printer)"
       Attribute "Product" "" "(HP Deskjet 2510 All-in-one Printer)"
       Attribute "Product" "" "(HP Deskjet 2511 All-in-one Printer)"
       Attribute "Product" "" "(HP Deskjet 2512 All-in-one Printer)"
       Attribute "Product" "" "(HP Deskjet 2514 All-in-one Printer)"
     }
     {
       ModelName "HP Deskjet 2520 Series"
       Attribute "NickName" "" "HP Deskjet 2520 Series, hpcups $Version"
       Attribute "ShortNickName" "" "HP Deskjet 2520 Series"
       Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 2520 series;DES:deskjet 2520 series;"
       PCFileName "hp-deskjet_2520_series.ppd"
       Attribute "Product" "" "(HP Deskjet Ink Advantage 2520hc All-in-one)"
       Attribute "Product" "" "(HP Deskjet Ink Advantage Ultra 2529 All-in-one Printer)"
     }
     {
       ModelName "HP Deskjet 3510 Series"
       Attribute "NickName" "" "HP Deskjet 3510 Series, hpcups $Version"
       Attribute "ShortNickName" "" "HP Deskjet 3510 Series"
       Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 3510 series;DES:deskjet 3510 series;"
       PCFileName "hp-deskjet_3510_series.ppd"
       Attribute "Product" "" "(HP Deskjet Ink Advantage 3515 E-all-in-one)"
       Attribute "Product" "" "(HP Deskjet Ink Advantage 3516 E-all-in-one)"
       Attribute "Product" "" "(HP Deskjet 3510 E-all-in-one)"
       Attribute "Product" "" "(HP Deskjet 3511 E-all-in-one)"
       Attribute "Product" "" "(HP Deskjet 3512 E-all-in-one)"
     }

} // End PyramidPlus

//////// Pyramid15
{
    Attribute "hpPrinterLanguage" "" "pcl3gui2"
    Attribute "HPMechOffset" "" "117"
    Attribute "hpPrinterPlatform" "" "Pyramid15"
    Attribute "HPSPDClass" "" 1

    Group "General/General"

    Option "ColorModel/Output Mode" PickOne AnySetup 10.0
    *Choice "RGB/Color" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 0>>setpagedevice"
    Choice "CMYGray/High Quality Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 1>>setpagedevice"
    Choice "KGray/Black Only Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2>>setpagedevice"

    // cupsMediaType values map to MEDIATYPE from global_types.h
    Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Plain/Plain Paper" "<</MediaType/cupsMediaType 0>>setpagedevice"
    Choice "Glossy/HP Photo Papers" "<</MediaType/cupsMediaType 5>>setpagedevice"
    Choice "CoatedBrochure/HP Matte Brochure or Professional Paper" "<</MediaType/cupsMediaType 2>>setpagedevice"
    Choice "CoatedMatte/HP Matte Presentation Paper" "<</MediaType/cupsMediaType 2>>setpagedevice"
    Choice "BrochureGlosy/HP Glossy Brochure or Professional Paper" "<</MediaType/cupsMediaType 8>>setpagedevice"
    Choice "FastGlossy/Other photo inkjet papers" "<</MediaType/cupsMediaType 5>>setpagedevice"
    Choice "Coated/Other matte inkjet papers Paper" "<</MediaType/cupsMediaType 2>>setpagedevice"
    Choice "Brochure/Other glossy inkjet Paper" "<</MediaType/cupsMediaType 8>>setpagedevice"


     // cupsCompression values map to QUALITY_MODE from global_types.h
    Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "Normal/Normal" "<</OutputType(0)/HWResolution[600 600]>>setpagedevice"
     Choice "FastDraft/Draft" "<</OutputType(-2)/HWResolution[300 300]>>setpagedevice"
     Choice "Best/Best" "<</OutputType(1)/HWResolution[600 600]>>setpagedevice"
     Choice "Photo/High-Resolution Photo" "<</OutputType(2)/HWResolution[1200 1200]>>setpagedevice"


    Option "InputSlot/Media Source" PickOne AnySetup 10.0
       *Choice "Upper/Main Tray" "<</MediaPosition 1>>setpagedevice"

     //Constraints
     //MediaType & OutputMode
     UIConstraints "*MediaType FastGlossy *OutputMode FastDraft"
     UIConstraints "*MediaType Glossy *OutputMode FastDraft"
     UIConstraints "*MediaType CoatedBrochure *OutputMode FastDraft"
     UIConstraints "*MediaType CoatedMatte *OutputMode FastDraft"
     UIConstraints "*MediaType Coated *OutputMode FastDraft"
     UIConstraints "*MediaType BrochureGlosy *OutputMode FastDraft"
     UIConstraints "*MediaType Brochure *OutputMode FastDraft"

     //PaperSizes & MediaTypes
     UIConstraints "*PageSize Photo3x5.FB *MediaType Plain"
     UIConstraints "*PageSize Photo4x6.FB *MediaType Plain"
     UIConstraints "*PageSize Photo2L.FB *MediaType Plain"
     UIConstraints "*PageSize Photo5x7.FB *MediaType Plain"
     UIConstraints "*PageSize 8x10.FB *MediaType Plain"
     UIConstraints "*PageSize Photo3x5 *MediaType Plain"
     UIConstraints "*PageSize Photo4x6 *MediaType Plain"
     UIConstraints "*PageSize Photo2L *MediaType Plain"
     UIConstraints "*PageSize Photo5x7 *MediaType Plain"
     UIConstraints "*PageSize Photo8x10 *MediaType Plain"

     UIConstraints "*PageSize A5 *MediaType FastGlossy"
     UIConstraints "*PageSize JB5 *MediaType FastGlossy"
     UIConstraints "*PageSize B5 *MediaType FastGlossy"
     UIConstraints "*PageSize Executive *MediaType FastGlossy"
     UIConstraints "*PageSize A4 *MediaType FastGlossy"
     UIConstraints "*PageSize Letter *MediaType FastGlossy"
     UIConstraints "*PageSize Legal *MediaType FastGlossy"
     UIConstraints "*PageSize CardA4 *MediaType FastGlossy"
     UIConstraints "*PageSize CardLetter *MediaType FastGlossy"
     UIConstraints "*PageSize Card3x5 *MediaType FastGlossy"
     UIConstraints "*PageSize Card4x6 *MediaType FastGlossy"
     UIConstraints "*PageSize Card5x8 *MediaType FastGlossy"
     UIConstraints "*PageSize 8.5x13 *MediaType FastGlossy"
     UIConstraints "*PageSize Statement *MediaType FastGlossy"

     UIConstraints "*PageSize EnvChou4 *MediaType FastGlossy"
     UIConstraints "*PageSize EnvA2 *MediaType FastGlossy"
     UIConstraints "*PageSize EnvC6 *MediaType FastGlossy"
     UIConstraints "*PageSize EnvChou3 *MediaType FastGlossy"
     UIConstraints "*PageSize EnvMonarch *MediaType FastGlossy"
     UIConstraints "*PageSize Env10 *MediaType FastGlossy"
     UIConstraints "*PageSize EnvDL *MediaType FastGlossy"
     UIConstraints "*PageSize EnvC5 *MediaType FastGlossy"
     UIConstraints "*PageSize Env6 *MediaType FastGlossy"

     UIConstraints "*PageSize A5 *MediaType Glossy"
     UIConstraints "*PageSize JB5 *MediaType Glossy"
     UIConstraints "*PageSize B5 *MediaType Glossy"
     UIConstraints "*PageSize Executive *MediaType Glossy"
     UIConstraints "*PageSize A4 *MediaType Glossy"
     UIConstraints "*PageSize Letter *MediaType Glossy"
     UIConstraints "*PageSize Legal *MediaType Glossy"
     UIConstraints "*PageSize CardA4 *MediaType Glossy"
     UIConstraints "*PageSize CardLetter *MediaType Glossy"
     UIConstraints "*PageSize Card3x5 *MediaType Glossy"
     UIConstraints "*PageSize Card4x6 *MediaType Glossy"
     UIConstraints "*PageSize Card5x8 *MediaType Glossy"
     UIConstraints "*PageSize 8.5x13 *MediaType Glossy"
     UIConstraints "*PageSize Statement *MediaType Glossy"

     UIConstraints "*PageSize EnvChou4 *MediaType Glossy"
     UIConstraints "*PageSize EnvA2 *MediaType Glossy"
     UIConstraints "*PageSize EnvC6 *MediaType Glossy"
     UIConstraints "*PageSize EnvChou3 *MediaType Glossy"
     UIConstraints "*PageSize EnvMonarch *MediaType Glossy"
     UIConstraints "*PageSize Env10 *MediaType Glossy"
     UIConstraints "*PageSize EnvDL *MediaType Glossy"
     UIConstraints "*PageSize EnvC5 *MediaType Glossy"
     UIConstraints "*PageSize Env6 *MediaType Glossy"

    // 4x6 or smaller
      CustomMedia "Card3x5/Index Card 3x5in" 216 360 8.4 8.4 8.4 8.4 "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
      CustomMedia "Card4x6/Index Card 4x6in" 288 432 8.4 8.4 8.4 8.4 "<</cupsInteger0 74/PageSize [288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo3x5/Photo 3x5in" 216 360 8.4 8.4 8.4 8.4 "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo3x5.FB/Borderless Photo 3x5in" 216 360 0 0 0 0 "<</cupsInteger0 78/cupsReal0 0/cupsReal1 0/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/cupsReal0 0/cupsReal1 0/PageSize[216 360]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo4x6/Photo 4x6in" 288 432 8.4 8.4 8.4 8.4 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo4x6.FB/Borderless Photo 4x6in" 288 432 0 0 0 0 "<</cupsInteger0 74/cupsReal0 0/cupsReal1 0/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/cupsReal0 0/cupsReal1 0/PageSize[288 432]/ImagingBBox null>>setpagedevice"
      CustomMedia "A6/A6 105x148mm" 297.36 419.76 8.4 8.4 8.4 8.4 "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
      CustomMedia "A6.FB/A6 Borderless 105x148mm" 297.36 419.76 0 0 0 0 "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/cupsReal0 0/cupsReal1 0/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
      CustomMedia "Hagaki/Hagaki 100x148mm" 283.46 419.52 8.4 8.4 8.4 8.4 "<</cupsInteger0 71/PageSize[283.46 419.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/cupsReal0 0/cupsReal1 0/PageSize[283.46 419.52]/ImagingBBox null>>setpagedevice"
      CustomMedia "Hagaki.FB/Hagaki Borderless 100x148mm" 283.46 419.52 0 0 0 0 "<</cupsInteger0 71/PageSize[283.46 419.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/cupsReal0 0/cupsReal1 0/PageSize[283.46 419.52]/ImagingBBox null>>setpagedevice"

      // 5x7
      CustomMedia "Photo5x7/Photo 5x7in" 360 504 8.4 8.4 8.4 8.4 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo5x7.FB/Photo Borderless 5x7in" 360 504 0 0 0 0 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/cupsReal0 0/cupsReal1 0/PageSize[360 504]/ImagingBBox null>>setpagedevice"
      CustomMedia "Card5x8/Index Card 5x8in" 360 576 8.4 8.4 8.4 8.4 "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
      CustomMedia "Card5x8.FB/Borderless Index Card 5x8in" 360 576 0 0 0 0 "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/cupsReal0 0/cupsReal1 0/PageSize[360 576]/ImagingBBox null>>setpagedevice"
      CustomMedia "A5/A5 148x210mm" 419.76 595.44 8.4 8.4 8.4 8.4 "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
      CustomMedia "A5.FB/A5 Borderless 148x210mm" 419.76 595.44 0 0 0 0 "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/cupsReal0 0/cupsReal1 0/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
      CustomMedia "Oufuku/Oufuku-Hagaki 200x148mm" 566.64 419.76 8.4 8.4 8.4 8.4 "<</cupsInteger0 72/PageSize[566.64 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[566.64 419.76]/ImagingBBox null>>setpagedevice"
      CustomMedia "Oufuku.FB/Borderless Oufuku-Hagaki 200x148mm" 566.64 419.76 0 0 0 0 "<</cupsInteger0 72/PageSize[566.64 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/cupsReal0 0/cupsReal1 0/PageSize[566.64 419.76]/ImagingBBox null>>setpagedevice"


      // Standard
      CustomMedia "8.5x13/8.5x13in" 612 936 8.4 8.4 8.4 8.4 "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
      CustomMedia "B5/B5 176x250mm" 498.96 708.48 8.4 8.4 8.4 8.4 "<</cupsInteger0 101/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
      CustomMedia "JB5/JB5 182x257mm" 516.24 728.64 8.4 8.4 8.4 8.4 "<</cupsInteger0 45/PageSize[516.24 728.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"
      CustomMedia "JB5.FB/JB5 Borderless 182x257mm" 516.24 728.64 0 0 0 0 "<</cupsInteger0 45/PageSize[516.24 728.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/cupsReal0 0/cupsReal1 0/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"
      CustomMedia "Executive/Executive 7.25x10.5in" 522 756 8.4 8.4 8.4 8.4 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
      *CustomMedia "Letter/Letter 8.5x11in" 612 792 8.4 8.4 8.4 8.4 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
      CustomMedia "Letter.FB/Letter Borderless 8.5x11in" 612 792 0 0 0 0 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/cupsReal0 0/cupsReal1 0/PageSize[612 792]/ImagingBBox null>>setpagedevice"
      CustomMedia "CardLetter/Index Card Letter 8.5x11in" 612 792 8.4 8.4 8.4 8.4 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
      CustomMedia "CardLetter.FB/Borderless Index Card Letter 8.5x11in" 612 792 0 0 0 0 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/cupsReal0 0/cupsReal1 0/PageSize[612 792]/ImagingBBox null>>setpagedevice"
      CustomMedia "Statement/Statement 5.5x8.5in" 396 612 8.4 8.4 8.4 8.4 "<</cupsInteger0 15/PageSize[396 612]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 15/PageSize[396 612]/ImagingBBox null>>setpagedevice"

      CustomMedia "A4/A4 210x297mm" 595.44 841.68 8.4 8.4 8.4 8.4 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
      CustomMedia "A4.FB/A4 Borderless 210x297mm" 595.44 841.68 0 0 0 0 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/cupsReal0 0/cupsReal1 0/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
      CustomMedia "CardA4/Index Card A4 210x297mm" 595.44 841.68 8.4 8.4 8.4 8.4 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
      CustomMedia "CardA4.FB/Borderless Index Card A4 210x297mm" 595.44 841.68 0 0 0 0 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/cupsReal0 0/cupsReal1 0/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"

      CustomMedia "Legal/Legal 8.5x14in" 612 1008 8.4 8.4 8.4 8.4 "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo2L/Photo 2L 127x178mm" 360 504 8.4 8.4 8.4 8.4 "<</cupsInteger0 126/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 126/PageSize[360 504]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo2L.FB/Photo 2L Borderless 127x178mm" 360 504 0 0 0 0 "<</cupsInteger0 126/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 126/cupsReal0 0/cupsReal1 0/PageSize[360 504]/ImagingBBox null>>setpagedevice"

      CustomMedia "Photo8x10/Photo 8x10in" 576 720 8.4 8.4 8.4 8.4 "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
      CustomMedia "8x10.FB/Borderless 8x10in" 576 720 0 0 0 0 "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/cupsReal0 0/cupsReal1 0/PageSize[576 720]/ImagingBBox null>>setpagedevice"


    {
      // Custom page sizes from 1x4in to legal
      HWMargins 8.4 8.4 8.4 8.4
      VariablePaperSize Yes
      MinSize 3in 5in
      MaxSize 8.5in 14in


    }


         // Envelope
      CustomMedia "EnvA2/A2 Envelope 4.37x5.75in" 314.64 414 8.4 8.4 8.4 8.4 "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.28 459.36 8.4 8.4 8.4 8.4 "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvChou4/#4 Japanese Envelope 90x205mm" 254.88 581.04 8.4 8.4 8.4 8.4 "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
      CustomMedia "Env6/#6 Envelope 3.63x6.5in" 261.36 468 8.4 8.4 8.4 8.4 "<</cupsInteger0 83/PageSize[261.36 468]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 83/PageSize[261.36 468]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279 540 8.4 8.4 8.4 8.4 "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvDL/DL Envelope 110x220mm" 311.76 623.52 8.4 8.4 8.4 8.4 "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
      CustomMedia "Env10/#10 Envelope 4.125x9.5in" 297 684 8.4 8.4 8.4 8.4 "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 339.84 666 8.4 8.4 8.4 8.4 "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvC5/C5 Envelope 162x229mm" 459.36 649.44 8.4 8.4 8.4 8.4 "<</cupsInteger0 91/PageSize[459.36 649.44]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 91/PageSize[459.36 649.44]/ImagingBBox null>>setpagedevice"

          // <%Pyramid15:Normal%>
          {
            ModelName "HP Deskjet 1200 Series"
            Attribute "NickName" "" "HP Deskjet 1200 Series, hpcups $Version"
            Attribute "ShortNickName" "" "HP Deskjet 1200 Series"
            Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 1200 series;DES:deskjet 1200 series;"
            PCFileName "hp-deskjet_1200_series.ppd"
            Attribute "Product" "" "(HP Deskjet 1200)"
            Attribute "Product" "" "(HP Deskjet Ink Advantage 1200)"
          }
          {
            ModelName "HP Deskjet 2300 Series"
            Attribute "NickName" "" "HP Deskjet 2300 Series, hpcups $Version"
            Attribute "ShortNickName" "" "HP Deskjet 2300 Series"
            Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 2300 series;DES:deskjet 2300 series;"
            PCFileName "hp-deskjet_2300_series.ppd"
            Attribute "Product" "" "(HP Deskjet 2300 All-in-one)"
            Attribute "Product" "" "(HP Deskjet Ink Advantage 2300 All-in-one)"
          }
          {
            ModelName "HP Deskjet 3630 Series"
            Attribute "NickName" "" "HP Deskjet 3630 Series, hpcups $Version"
            Attribute "ShortNickName" "" "HP Deskjet 3630 Series"
            Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 3630 series;DES:deskjet 3630 series;"
            PCFileName "hp-deskjet_3630_series.ppd"
            Attribute "Product" "" "(HP Deskjet 3630 All-in-one Printer)"
            Attribute "Product" "" "(HP Deskjet 3632 All-in-one Printer)"
            Attribute "Product" "" "(HP Deskjet 3633 All-in-one Printer)"
            Attribute "Product" "" "(HP Deskjet 3634 All-in-one Printer)"
            Attribute "Product" "" "(HP Deskjet Ink Advantage 3630 All-in-one Printer)"
            Attribute "Product" "" "(HP Deskjet Ink Advantage 3635 All-in-one Printer)"
            Attribute "Product" "" "(HP Deskjet Ink Advantage 3636 All-in-one Printer)"
            Attribute "Product" "" "(HP Deskjet Ink Advantage 3638 All-in-one Printer)"
          }
          {
            ModelName "HP Officejet 3830 Series"
            Attribute "NickName" "" "HP Officejet 3830 Series, hpcups $Version"
            Attribute "ShortNickName" "" "HP Officejet 3830 Series"
            Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet 3830 series;DES:officejet 3830 series;"
            PCFileName "hp-officejet_3830_series.ppd"
            Attribute "Product" "" "(HP Officejet 3830 All-in-one Printer)"
            Attribute "Product" "" "(HP Officejet 3832 All-in-one Printer)"
            Attribute "Product" "" "(HP Officejet 3834 All-in-one Printer)"
          }
          {
            ModelName "HP Deskjet 3830 Series"
            Attribute "NickName" "" "HP Deskjet 3830 Series, hpcups $Version"
            Attribute "ShortNickName" "" "HP Deskjet 3830 Series"
            Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 3830 series;DES:deskjet 3830 series;"
            PCFileName "hp-deskjet_3830_series.ppd"
            Attribute "Product" "" "(HP Deskjet Ink Advantage 3830 All-in-one Printer)"
            Attribute "Product" "" "(HP Deskjet Ink Advantage 3835 All-in-one Printer)"
            Attribute "Product" "" "(HP Deskjet Ink Advantage 3836 All-in-one Printer)"
          }
          {
            ModelName "HP Deskjet 4720 Series"
            Attribute "NickName" "" "HP Deskjet 4720 Series, hpcups $Version"
            Attribute "ShortNickName" "" "HP Deskjet 4720 Series"
            Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 4720 series;DES:deskjet 4720 series;"
            PCFileName "hp-deskjet_4720_series.ppd"
            Attribute "Product" "" "(HP Deskjet Ink Advantage Ultra 4720 All-in-one Printer Series)"
            Attribute "Product" "" "(HP Deskjet Ink Advantage Ultra 4729 All-in-one Printer)"
          }
          {
            ModelName "HP Deskjet 5730 Series"
            Attribute "NickName" "" "HP Deskjet 5730 Series, hpcups $Version"
            Attribute "ShortNickName" "" "HP Deskjet 5730 Series"
            Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 5730 series;DES:deskjet 5730 series;"
            PCFileName "hp-deskjet_5730_series.ppd"
            Attribute "Product" "" "(HP Deskjet Ink Advantage Ultra 5738 All-in-one Printer)"
            Attribute "Product" "" "(HP Deskjet Ink Advantage Ultra 5739 All-in-one Printer)"
          }
          {
            ModelName "HP Deskjet 5810 Series"
            Attribute "NickName" "" "HP Deskjet 5810 Series, hpcups $Version"
            Attribute "ShortNickName" "" "HP Deskjet 5810 Series"
            Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 5810 series;DES:deskjet 5810 series;"
            PCFileName "hp-deskjet_5810_series.ppd"
            Attribute "Product" "" "(HP Deskjet Gt 5810 All-in-one Printer)"
          }
          {
            ModelName "HP Deskjet 5820 Series"
            Attribute "NickName" "" "HP Deskjet 5820 Series, hpcups $Version"
            Attribute "ShortNickName" "" "HP Deskjet 5820 Series"
            Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 5820 series;DES:deskjet 5820 series;"
            PCFileName "hp-deskjet_5820_series.ppd"
            Attribute "Product" "" "(HP Deskjet Gt 5820 All-in-one Printer)"
          }

}// End Pyramid15

//////// Gemstone
{
    Attribute "hpPrinterLanguage" "" "pcl3gui2"
    Attribute "HPMechOffset" "" "117"
    Attribute "hpPrinterPlatform" "" "Gemstone"
    Attribute "HPSPDClass" "" 1

    Group "General/General"

    Option "ColorModel/Output Mode" PickOne AnySetup 10.0
    *Choice "RGB/Color" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 0>>setpagedevice"
    Choice "CMYGray/High Quality Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 1>>setpagedevice"
    Choice "KGray/Black Only Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2>>setpagedevice"

    // cupsMediaType values map to MEDIATYPE from global_types.h
    Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Plain/Plain Paper" "<</cupsMediaType 0>>setpagedevice"
    Choice "Glossy/HP Photo Papers" "<</cupsMediaType 5>>setpagedevice"
    Choice "CoatedBrochure/HP Matte Brochure or Professional Paper" "<</cupsMediaType 2>>setpagedevice"
    Choice "CoatedMatte/HP Matte Presentation Paper" "<</cupsMediaType 2>>setpagedevice"
    Choice "BrochureGlosy/HP Glossy Brochure or Professional Paper" "<</cupsMediaType 8>>setpagedevice"
    Choice "FastGlossy/Other photo inkjet papers" "<</cupsMediaType 5>>setpagedevice"
    Choice "Coated/Other matte inkjet Paper" "<</cupsMediaType 2>>setpagedevice"
    Choice "Brochure/Other glossy inkjet Paper" "<</cupsMediaType 8>>setpagedevice"


     // cupsCompression values map to QUALITY_MODE from global_types.h
    Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "Normal/Normal" "<</OutputType(0)/HWResolution[600 600]>>setpagedevice"
     Choice "FastDraft/Draft" "<</OutputType(-2)/HWResolution[300 300]>>setpagedevice"
     Choice "Best/Best" "<</OutputType(1)/HWResolution[600 600]>>setpagedevice"
     Choice "Photo/High-Resolution Photo" "<</OutputType(2)/HWResolution[1200 1200]>>setpagedevice"


    Option "InputSlot/Media Source" PickOne AnySetup 10.0
       *Choice "Upper/Main Tray" "<</MediaPosition 1>>setpagedevice"

     //Constraints
     //MediaType & OutputMode
     UIConstraints "*MediaType FastGlossy *OutputMode FastDraft"
     UIConstraints "*MediaType Glossy *OutputMode FastDraft"
     UIConstraints "*MediaType CoatedBrochure *OutputMode FastDraft"
     UIConstraints "*MediaType CoatedMatte *OutputMode FastDraft"
     UIConstraints "*MediaType Coated *OutputMode FastDraft"
     UIConstraints "*MediaType BrochureGlosy *OutputMode FastDraft"
     UIConstraints "*MediaType Brochure *OutputMode FastDraft"

     //PaperSizes & MediaTypes
     UIConstraints "*PageSize A6.FB *MediaType Plain"
     UIConstraints "*PageSize Photo3x5.FB *MediaType Plain"
     UIConstraints "*PageSize Photo4x6.FB *MediaType Plain"
     UIConstraints "*PageSize Photo2L.FB *MediaType Plain"
     UIConstraints "*PageSize Photo3x5 *MediaType Plain"
     UIConstraints "*PageSize Photo4x6 *MediaType Plain"
     UIConstraints "*PageSize Photo2L *MediaType Plain"
     UIConstraints "*PageSize Photo5x7 *MediaType Plain"
     UIConstraints "*PageSize Photo8x10 *MediaType Plain"

     UIConstraints "*PageSize A5 *MediaType FastGlossy"
     UIConstraints "*PageSize JB5 *MediaType FastGlossy"
     UIConstraints "*PageSize B5 *MediaType FastGlossy"
     UIConstraints "*PageSize Executive *MediaType FastGlossy"
     UIConstraints "*PageSize A4 *MediaType FastGlossy"
     UIConstraints "*PageSize Letter *MediaType FastGlossy"
     UIConstraints "*PageSize Legal *MediaType FastGlossy"
     UIConstraints "*PageSize CardA4 *MediaType FastGlossy"
     UIConstraints "*PageSize CardLetter *MediaType FastGlossy"
     UIConstraints "*PageSize Card3x5 *MediaType FastGlossy"
     UIConstraints "*PageSize Card4x6 *MediaType FastGlossy"
     UIConstraints "*PageSize Card5x8 *MediaType FastGlossy"
     UIConstraints "*PageSize 8.5x13 *MediaType FastGlossy"
     UIConstraints "*PageSize Statement *MediaType FastGlossy"

     UIConstraints "*PageSize EnvChou4 *MediaType FastGlossy"
     UIConstraints "*PageSize EnvA2 *MediaType FastGlossy"
     UIConstraints "*PageSize EnvC6 *MediaType FastGlossy"
     UIConstraints "*PageSize EnvChou3 *MediaType FastGlossy"
     UIConstraints "*PageSize EnvMonarch *MediaType FastGlossy"
     UIConstraints "*PageSize Env10 *MediaType FastGlossy"
     UIConstraints "*PageSize EnvDL *MediaType FastGlossy"
     UIConstraints "*PageSize EnvC5 *MediaType FastGlossy"
     UIConstraints "*PageSize Env6 *MediaType FastGlossy"

     UIConstraints "*PageSize A5 *MediaType Glossy"
     UIConstraints "*PageSize JB5 *MediaType Glossy"
     UIConstraints "*PageSize B5 *MediaType Glossy"
     UIConstraints "*PageSize Executive *MediaType Glossy"
     UIConstraints "*PageSize A4 *MediaType Glossy"
     UIConstraints "*PageSize Letter *MediaType Glossy"
     UIConstraints "*PageSize Legal *MediaType Glossy"
     UIConstraints "*PageSize CardA4 *MediaType Glossy"
     UIConstraints "*PageSize CardLetter *MediaType Glossy"
     UIConstraints "*PageSize Card3x5 *MediaType Glossy"
     UIConstraints "*PageSize Card4x6 *MediaType Glossy"
     UIConstraints "*PageSize Card5x8 *MediaType Glossy"
     UIConstraints "*PageSize 8.5x13 *MediaType Glossy"
     UIConstraints "*PageSize Statement *MediaType Glossy"

     UIConstraints "*PageSize EnvChou4 *MediaType Glossy"
     UIConstraints "*PageSize EnvA2 *MediaType Glossy"
     UIConstraints "*PageSize EnvC6 *MediaType Glossy"
     UIConstraints "*PageSize EnvChou3 *MediaType Glossy"
     UIConstraints "*PageSize EnvMonarch *MediaType Glossy"
     UIConstraints "*PageSize Env10 *MediaType Glossy"
     UIConstraints "*PageSize EnvDL *MediaType Glossy"
     UIConstraints "*PageSize EnvC5 *MediaType Glossy"
     UIConstraints "*PageSize Env6 *MediaType Glossy"

    // 4x6 or smaller
      CustomMedia "Card3x5/Index Card 3x5in" 216 360 8.4 8.4 8.4 8.4 "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
      CustomMedia "Card3.5x5/Index Card 3.5x5in" 252 360 8.4 8.4 8.4 8.4 "<</cupsInteger0 121/PageSize [252 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo3.5x5.FB/Borderless Index Card 3.5x5in" 252 360 0 0 0 0 "<</cupsInteger0 121/PageSize [252 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
      CustomMedia "Card4x6/Index Card 4x6in" 288 432 8.4 8.4 8.4 8.4 "<</cupsInteger0 74/PageSize [288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo3x5/Photo 3x5in" 216 360 8.4 8.4 8.4 8.4 "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo3x5.FB/Borderless Photo 3x5in" 216 360 0 0 0 0 "<</cupsInteger0 78/cupsReal0 0/cupsReal1 0/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/cupsReal0 0/cupsReal1 0/PageSize[216 360]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo4x6/Photo 4x6in" 288 432 8.4 8.4 8.4 8.4 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo4x6.FB/Borderless Photo 4x6in" 288 432 0 0 0 0 "<</cupsInteger0 74/cupsReal0 0/cupsReal1 0/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/cupsReal0 0/cupsReal1 0/PageSize[288 432]/ImagingBBox null>>setpagedevice"
      CustomMedia "A6/A6 105x148mm" 297.36 419.76 8.4 8.4 8.4 8.4 "<</cupsInteger0 24/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 24/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
      CustomMedia "A6.FB/A6 Borderless 105x148mm" 297.36 419.76 0 0 0 0 "<</cupsInteger0 24/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 24/cupsReal0 0/cupsReal1 0/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
      CustomMedia "Hagaki/Hagaki 100x148mm" 283.46 419.52 8.4 8.4 8.4 8.4 "<</cupsInteger0 71/PageSize[283.46 419.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/cupsReal0 0/cupsReal1 0/PageSize[283.46 419.52]/ImagingBBox null>>setpagedevice"
      CustomMedia "Hagaki.FB/Hagaki Borderless 100x148mm" 283.46 419.52 0 0 0 0 "<</cupsInteger0 71/PageSize[283.46 419.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/cupsReal0 0/cupsReal1 0/PageSize[283.46 419.52]/ImagingBBox null>>setpagedevice"

      // 5x7
      CustomMedia "Photo5x7/Photo 5x7in" 360 504 8.4 8.4 8.4 8.4 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
      CustomMedia "Card5x8/Index Card 5x8in" 360 576 8.4 8.4 8.4 8.4 "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
      CustomMedia "Card5x8.FB/Borderless Index Card 5x8in" 360 576 0 0 0 0 "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/cupsReal0 0/cupsReal1 0/PageSize[360 576]/ImagingBBox null>>setpagedevice"
      CustomMedia "A5/A5 148x210mm" 419.76 595.44 8.4 8.4 8.4 8.4 "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
      CustomMedia "Oufuku/Oufuku-Hagaki 200x148mm" 566.64 419.76 8.4 8.4 8.4 8.4 "<</cupsInteger0 72/PageSize[566.64 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[566.64 419.76]/ImagingBBox null>>setpagedevice"

      // Standard
      CustomMedia "8.5x13/8.5x13in" 612 936 8.4 8.4 8.4 8.4 "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
      CustomMedia "B5/B5 176x250mm" 498.96 708.48 8.4 8.4 8.4 8.4 "<</cupsInteger0 101/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
      CustomMedia "JB5/JB5 182x257mm" 516.24 728.64 8.4 8.4 8.4 8.4 "<</cupsInteger0 45/PageSize[516.24 728.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"
      CustomMedia "JB5.FB/JB5 Borderless 182x257mm" 516.24 728.64 0 0 0 0 "<</cupsInteger0 45/PageSize[516.24 728.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/cupsReal0 0/cupsReal1 0/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"
      CustomMedia "Executive/Executive 7.25x10.5in" 522 756 8.4 8.4 8.4 8.4 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
      *CustomMedia "Letter/Letter 8.5x11in" 612 792 8.4 8.4 8.4 8.4 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
      CustomMedia "CardLetter/Index Card Letter 8.5x11in" 612 792 8.4 8.4 8.4 8.4 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
      CustomMedia "Statement/Statement 5.5x8.5in" 396 612 8.4 8.4 8.4 8.4 "<</cupsInteger0 15/PageSize[396 612]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 15/PageSize[396 612]/ImagingBBox null>>setpagedevice"

      CustomMedia "A4/A4 210x297mm" 595.44 841.68 8.4 8.4 8.4 8.4 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
      CustomMedia "CardA4/Index Card A4 210x297mm" 595.44 841.68 8.4 8.4 8.4 8.4 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"

      CustomMedia "Legal/Legal 8.5x14in" 612 1008 8.4 8.4 8.4 8.4 "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo2L/Photo 2L 127x178mm" 360 504 8.4 8.4 8.4 8.4 "<</cupsInteger0 126/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 126/PageSize[360 504]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo2L.FB/Photo 2L Borderless 127x178mm" 360 504 0 0 0 0 "<</cupsInteger0 126/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 126/cupsReal0 0/cupsReal1 0/PageSize[360 504]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo8x10/Photo 8x10in" 576 720 8.4 8.4 8.4 8.4 "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"


    {
      // Custom page sizes from 1x4in to legal
      HWMargins 8.4 8.4 8.4 8.4
      VariablePaperSize Yes
      MinSize 3in 5in
      MaxSize 8.5in 14in


    }


         // Envelope
      CustomMedia "EnvA2/A2 Envelope 4.37x5.75in" 314.64 414 8.4 8.4 8.4 8.4 "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.28 459.36 8.4 8.4 8.4 8.4 "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvChou4/#4 Japanese Envelope 90x205mm" 254.88 581.04 8.4 8.4 8.4 8.4 "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
      CustomMedia "Env6/#6 Envelope 3.63x6.5in" 261.36 468 8.4 8.4 8.4 8.4 "<</cupsInteger0 83/PageSize[261.36 468]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 83/PageSize[261.36 468]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279 540 8.4 8.4 8.4 8.4 "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvDL/DL Envelope 110x220mm" 311.76 623.52 8.4 8.4 8.4 8.4 "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
      CustomMedia "Env10/#10 Envelope 4.125x9.5in" 297 684 8.4 8.4 8.4 8.4 "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 339.84 666 8.4 8.4 8.4 8.4 "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvC5/C5 Envelope 162x229mm" 459.36 649.44 8.4 8.4 8.4 8.4 "<</cupsInteger0 91/PageSize[459.36 649.44]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 91/PageSize[459.36 649.44]/ImagingBBox null>>setpagedevice"

          // <%Gemstone:Normal%>
          {
            ModelName "HP Officejet 200 Mobile Series"
            Attribute "NickName" "" "HP Officejet 200 Mobile Series, hpcups $Version"
            Attribute "ShortNickName" "" "HP Officejet 200 Mobile Series"
            Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet 200 mobile series;DES:officejet 200 mobile series;"
            PCFileName "hp-officejet_200_mobile_series.ppd"
            Attribute "Product" "" "(HP Officejet 200 Mobile Printer)"
          }
          {
            ModelName "HP Officejet 250 Mobile Series"
            Attribute "NickName" "" "HP Officejet 250 Mobile Series, hpcups $Version"
            Attribute "ShortNickName" "" "HP Officejet 250 Mobile Series"
            Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet 250 mobile series;DES:officejet 250 mobile series;"
            PCFileName "hp-officejet_250_mobile_series.ppd"
            Attribute "Product" "" "(HP Officejet 250 Mobile All-in-one)"
            Attribute "Product" "" "(HP Officejet 250c Mobile All-in-one)"
            Attribute "Product" "" "(HP Officejet 252 Mobile All-in-one)"
            Attribute "Product" "" "(HP Officejet 252c Mobile All-in-one)"
            Attribute "Product" "" "(HP Officejet 258 Mobile All-in-one)"
          }
          {
            ModelName "HP Tango"
            Attribute "NickName" "" "HP Tango, hpcups $Version"
            Attribute "ShortNickName" "" "HP Tango"
            Attribute "1284DeviceID" "" "MFG:HP;MDL:tango;DES:tango;"
            PCFileName "hp-tango.ppd"
            Attribute "Product" "" "(HP Tango X)"
            Attribute "Product" "" "(HP Tango)"
          }

}// End Gemstone

//////// SPDOfficejetProAsize
{
    Attribute "hpPrinterLanguage" "" "pcl3gui2"
    Attribute "cupsEvenDuplex" "" "True"
    Attribute "cupsBackSide" "" "Rotated"
    Attribute "cupsFlipDuplex" "" "True"
    Attribute "HPMechOffset" "" "192"
    Attribute "hpPrinterPlatform" "" "SPDOfficejetProAsize"
    Attribute "HPSPDClass" "" 1

    Group "General/General"

    Option "ColorModel/Output Mode" PickOne AnySetup 10.0
    *Choice "RGB/Color" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 0>>setpagedevice"
    Choice "CMYGray/High Quality Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 1>>setpagedevice"
    Choice "KGray/Black Only Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2>>setpagedevice"

    // cupsMediaType values map to MEDIATYPE from global_types.h
    Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Plain/Plain Paper" "<</MediaType/cupsMediaType 0>>setpagedevice"
    Choice "Glossy/HP Photo Papers" "<</MediaType/cupsMediaType 5>>setpagedevice"
    Choice "CoatedBrochure/HP Matte Brochure or Professional Paper" "<</MediaType/cupsMediaType 2>>setpagedevice"
    Choice "CoatedMatte/HP Matte Presentation Paper" "<</MediaType/cupsMediaType 2>>setpagedevice"
    Choice "BrochureGlosy/HP Glossy Brochure or Professional Paper" "<</MediaType/cupsMediaType 8>>setpagedevice"
    Choice "FastGlossy/Other photo inkjet papers" "<</MediaType/cupsMediaType 5>>setpagedevice"
    Choice "Coated/Other matte inkjet Papers" "<</MediaType/cupsMediaType 2>>setpagedevice"
    Choice "Brochure/Other glossy inkjet Paper" "<</MediaType/cupsMediaType 8>>setpagedevice"
    Choice "BrochureHagaki/Inkjet hagaki" "<</MediaType/cupsMediaType 8>>setpagedevice"

     // cupsCompression values map to QUALITY_MODE from global_types.h
    Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "Normal/Normal" "<</OutputType(0)/HWResolution[600 600]>>setpagedevice"
     Choice "FastDraft/Draft" "<</OutputType(-2)/HWResolution[300 300]>>setpagedevice"
     Choice "Best/Best" "<</OutputType(1)/HWResolution[600 600]>>setpagedevice"
     Choice "Photo/High-Resolution Photo" "<</OutputType(2)/HWResolution[1200 1200]>>setpagedevice"


    Option "InputSlot/Media Source" PickOne AnySetup 10.0
       *Choice "Upper/Main Tray" "<</MediaPosition 1>>setpagedevice"

    Option "Duplex/Double-Sided Printing" PickOne AnySetup 10.0
       Choice "DuplexNoTumble/Long Edge (Standard)" "<</Duplex true/Tumble false>>setpagedevice"
       Choice "DuplexTumble/Short Edge (Flip)" "<</Duplex true/Tumble true>>setpagedevice"
       *Choice "None/Off" "<</Duplex false/Tumble false>>setpagedevice"


     //Constraints
     //MediaType & OutputMode
     UIConstraints "*MediaType FastGlossy *OutputMode FastDraft"
     UIConstraints "*MediaType Glossy *OutputMode FastDraft"
     UIConstraints "*MediaType CoatedBrochure *OutputMode FastDraft"
     UIConstraints "*MediaType CoatedMatte *OutputMode FastDraft"
     UIConstraints "*MediaType Coated *OutputMode FastDraft"
     UIConstraints "*MediaType BrochureGlosy *OutputMode FastDraft"
     UIConstraints "*MediaType Brochure *OutputMode FastDraft"

     //PaperSizes & MediaTypes
     UIConstraints "*PageSize Photo3x5.FB *MediaType Plain"
     UIConstraints "*PageSize Photo4x6.FB *MediaType Plain"
     UIConstraints "*PageSize Photo2L.FB *MediaType Plain"
     UIConstraints "*PageSize Photo5x7.FB *MediaType Plain"
     UIConstraints "*PageSize 8x10.FB *MediaType Plain"
     UIConstraints "*PageSize Photo3x5 *MediaType Plain"
     UIConstraints "*PageSize Photo4x6 *MediaType Plain"
     UIConstraints "*PageSize Photo2L *MediaType Plain"
     UIConstraints "*PageSize Photo5x7 *MediaType Plain"
     UIConstraints "*PageSize Photo8x10 *MediaType Plain"

     UIConstraints "*PageSize A5 *MediaType FastGlossy"
     UIConstraints "*PageSize JB5 *MediaType FastGlossy"
     UIConstraints "*PageSize B5 *MediaType FastGlossy"
     UIConstraints "*PageSize Executive *MediaType FastGlossy"
     UIConstraints "*PageSize A4 *MediaType FastGlossy"
     UIConstraints "*PageSize Letter *MediaType FastGlossy"
     UIConstraints "*PageSize Legal *MediaType FastGlossy"
     UIConstraints "*PageSize CardA4 *MediaType FastGlossy"
     UIConstraints "*PageSize CardLetter *MediaType FastGlossy"
     UIConstraints "*PageSize Card3x5 *MediaType FastGlossy"
     UIConstraints "*PageSize Card4x6 *MediaType FastGlossy"
     UIConstraints "*PageSize Card5x8 *MediaType FastGlossy"
     UIConstraints "*PageSize 8.5x13 *MediaType FastGlossy"
     UIConstraints "*PageSize Statement *MediaType FastGlossy"

     UIConstraints "*PageSize EnvChou4 *MediaType FastGlossy"
     UIConstraints "*PageSize EnvA2 *MediaType FastGlossy"
     UIConstraints "*PageSize EnvC6 *MediaType FastGlossy"
     UIConstraints "*PageSize EnvChou3 *MediaType FastGlossy"
     UIConstraints "*PageSize EnvMonarch *MediaType FastGlossy"
     UIConstraints "*PageSize Env10 *MediaType FastGlossy"
     UIConstraints "*PageSize EnvDL *MediaType FastGlossy"
     UIConstraints "*PageSize EnvC5 *MediaType FastGlossy"
     UIConstraints "*PageSize Env6 *MediaType FastGlossy"

     UIConstraints "*PageSize A5 *MediaType Glossy"
     UIConstraints "*PageSize JB5 *MediaType Glossy"
     UIConstraints "*PageSize B5 *MediaType Glossy"
     UIConstraints "*PageSize Executive *MediaType Glossy"
     UIConstraints "*PageSize A4 *MediaType Glossy"
     UIConstraints "*PageSize Letter *MediaType Glossy"
     UIConstraints "*PageSize Legal *MediaType Glossy"
     UIConstraints "*PageSize CardA4 *MediaType Glossy"
     UIConstraints "*PageSize CardLetter *MediaType Glossy"
     UIConstraints "*PageSize Card3x5 *MediaType Glossy"
     UIConstraints "*PageSize Card4x6 *MediaType Glossy"
     UIConstraints "*PageSize Card5x8 *MediaType Glossy"
     UIConstraints "*PageSize 8.5x13 *MediaType Glossy"
     UIConstraints "*PageSize Statement *MediaType Glossy"

     UIConstraints "*PageSize EnvChou4 *MediaType Glossy"
     UIConstraints "*PageSize EnvA2 *MediaType Glossy"
     UIConstraints "*PageSize EnvC6 *MediaType Glossy"
     UIConstraints "*PageSize EnvChou3 *MediaType Glossy"
     UIConstraints "*PageSize EnvMonarch *MediaType Glossy"
     UIConstraints "*PageSize Env10 *MediaType Glossy"
     UIConstraints "*PageSize EnvDL *MediaType Glossy"
     UIConstraints "*PageSize EnvC5 *MediaType Glossy"
     UIConstraints "*PageSize Env6 *MediaType Glossy"

    // 4x6 or smaller
      CustomMedia "Photo3.5x5/Photo 3.5x5in" 252 360 8.4 8.4 8.4 8.4 "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo3.5x5.FB/Borderless Photo 3.5x5in" 252 360 0 0 0 0 "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
      CustomMedia "Card3x5/Index Card 3x5in" 216 360 8.4 8.4 8.4 8.4 "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
      CustomMedia "Card4x6/Index Card 4x6in" 288 432 8.4 8.4 8.4 8.4 "<</cupsInteger0 74/PageSize [288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo3x5/Photo 3x5in" 216 360 8.4 8.4 8.4 8.4 "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo3x5.FB/Borderless Photo 3x5in" 216 360 0 0 0 0 "<</cupsInteger0 78/cupsReal0 0/cupsReal1 0/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/cupsReal0 0/cupsReal1 0/PageSize[216 360]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo4x6/Photo 4x6in" 288 432 8.4 8.4 8.4 8.4 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo4x6.FB/Borderless Photo 4x6in" 288 432 0 0 0 0 "<</cupsInteger0 74/cupsReal0 0/cupsReal1 0/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/cupsReal0 0/cupsReal1 0/PageSize[288 432]/ImagingBBox null>>setpagedevice"
      CustomMedia "A6/A6 105x148mm" 297.36 419.76 8.4 8.4 8.4 8.4 "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
      CustomMedia "A6.FB/A6 Borderless 105x148mm" 297.36 419.76 0 0 0 0 "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/cupsReal0 0/cupsReal1 0/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
      CustomMedia "Hagaki/Hagaki 100x148mm" 283.46 419.52 8.4 8.4 8.4 8.4 "<</cupsInteger0 71/PageSize[283.46 419.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/cupsReal0 0/cupsReal1 0/PageSize[283.46 419.52]/ImagingBBox null>>setpagedevice"
      CustomMedia "Hagaki.FB/Hagaki Borderless 100x148mm" 283.46 419.52 0 0 0 0 "<</cupsInteger0 71/PageSize[283.46 419.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/cupsReal0 0/cupsReal1 0/PageSize[283.46 419.52]/ImagingBBox null>>setpagedevice"

      // 5x7
      CustomMedia "Photo5x7/Photo 5x7in" 360 504 8.4 8.4 8.4 8.4 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo5x7.FB/Photo Borderless 5x7in" 360 504 0 0 0 0 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/cupsReal0 0/cupsReal1 0/PageSize[360 504]/ImagingBBox null>>setpagedevice"
      CustomMedia "Card5x8/Index Card 5x8in" 360 576 8.4 8.4 8.4 8.4 "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
      CustomMedia "Card5x8.FB/Borderless Index Card 5x8in" 360 576 0 0 0 0 "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/cupsReal0 0/cupsReal1 0/PageSize[360 576]/ImagingBBox null>>setpagedevice"
      CustomMedia "A5/A5 148x210mm" 419.76 595.44 8.4 8.4 8.4 8.4 "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
      CustomMedia "A5.FB/A5 Borderless 148x210mm" 419.76 595.44 0 0 0 0 "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/cupsReal0 0/cupsReal1 0/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
      CustomMedia "Oufuku/Oufuku-Hagaki 200x148mm" 566.64 419.76 8.4 8.4 8.4 8.4 "<</cupsInteger0 72/PageSize[566.64 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[566.64 419.76]/ImagingBBox null>>setpagedevice"
      CustomMedia "Oufuku.FB/Borderless Oufuku-Hagaki 200x148mm" 566.64 419.76 0 0 0 0 "<</cupsInteger0 72/PageSize[566.64 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/cupsReal0 0/cupsReal1 0/PageSize[566.64 419.76]/ImagingBBox null>>setpagedevice"


      // Standard
      CustomMedia "8.5x13/8.5x13in" 612 936 8.4 8.4 8.4 8.4 "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
      CustomMedia "B5/B5 176x250mm" 498.96 708.48 8.4 8.4 8.4 8.4 "<</cupsInteger0 101/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
      CustomMedia "JB5/JB5 182x257mm" 516.24 728.64 8.4 8.4 8.4 8.4 "<</cupsInteger0 45/PageSize[516.24 728.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"
      CustomMedia "JB5.FB/JB5 Borderless 182x257mm" 516.24 728.64 0 0 0 0 "<</cupsInteger0 45/PageSize[516.24 728.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/cupsReal0 0/cupsReal1 0/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"
      CustomMedia "Executive/Executive 7.25x10.5in" 522 756 8.4 8.4 8.4 8.4 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
      *CustomMedia "Letter/Letter 8.5x11in" 612 792 8.4 8.4 8.4 8.4 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
      CustomMedia "Letter.FB/Letter Borderless 8.5x11in" 612 792 0 0 0 0 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/cupsReal0 0/cupsReal1 0/PageSize[612 792]/ImagingBBox null>>setpagedevice"
      CustomMedia "CardLetter/Index Card Letter 8.5x11in" 612 792 8.4 8.4 8.4 8.4 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
      CustomMedia "CardLetter.FB/Borderless Index Card Letter 8.5x11in" 612 792 0 0 0 0 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/cupsReal0 0/cupsReal1 0/PageSize[612 792]/ImagingBBox null>>setpagedevice"
      CustomMedia "Statement/Statement 5.5x8.5in" 396 612 8.4 8.4 8.4 8.4 "<</cupsInteger0 15/PageSize[396 612]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 15/PageSize[396 612]/ImagingBBox null>>setpagedevice"

      CustomMedia "A4/A4 210x297mm" 595.44 841.68 8.4 8.4 8.4 8.4 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
      CustomMedia "A4.FB/A4 Borderless 210x297mm" 595.44 841.68 0 0 0 0 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/cupsReal0 0/cupsReal1 0/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
      CustomMedia "CardA4/Index Card A4 210x297mm" 595.44 841.68 8.4 8.4 8.4 8.4 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
      CustomMedia "CardA4.FB/Borderless Index Card A4 210x297mm" 595.44 841.68 0 0 0 0 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/cupsReal0 0/cupsReal1 0/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"

      CustomMedia "Legal/Legal 8.5x14in" 612 1008 8.4 8.4 8.4 8.4 "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo2L/Photo 2L 127x178mm" 360 504 8.4 8.4 8.4 8.4 "<</cupsInteger0 126/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 126/PageSize[360 504]/ImagingBBox null>>setpagedevice"
      CustomMedia "Photo2L.FB/Photo 2L Borderless 127x178mm" 360 504 0 0 0 0 "<</cupsInteger0 126/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 126/cupsReal0 0/cupsReal1 0/PageSize[360 504]/ImagingBBox null>>setpagedevice"

      CustomMedia "Photo8x10/Photo 8x10in" 576 720 8.4 8.4 8.4 8.4 "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
      CustomMedia "8x10.FB/Borderless 8x10in" 576 720 0 0 0 0 "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/cupsReal0 0/cupsReal1 0/PageSize[576 720]/ImagingBBox null>>setpagedevice"


    {
      // Custom page sizes from 1x4in to legal
      HWMargins 8.4 8.4 8.4 8.4
      VariablePaperSize Yes
      MinSize 3in 5in
      MaxSize 8.5in 14in


    }


         // Envelope
      CustomMedia "EnvA2/A2 Envelope 4.37x5.75in" 314.64 414 8.4 8.4 8.4 8.4 "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.28 459.36 8.4 8.4 8.4 8.4 "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvChou4/#4 Japanese Envelope 90x205mm" 254.88 581.04 8.4 8.4 8.4 8.4 "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
      CustomMedia "Env6/#6 Envelope 3.63x6.5in" 261.36 468 8.4 8.4 8.4 8.4 "<</cupsInteger0 83/PageSize[261.36 468]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 83/PageSize[261.36 468]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279 540 8.4 8.4 8.4 8.4 "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvDL/DL Envelope 110x220mm" 311.76 623.52 8.4 8.4 8.4 8.4 "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
      CustomMedia "Env10/#10 Envelope 4.125x9.5in" 297 684 8.4 8.4 8.4 8.4 "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 339.84 666 8.4 8.4 8.4 8.4 "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
      CustomMedia "EnvC5/C5 Envelope 162x229mm" 459.36 649.44 8.4 8.4 8.4 8.4 "<</cupsInteger0 91/PageSize[459.36 649.44]/ImagingBBox null>>setpagedevice"
             "<</cupsInteger0 91/PageSize[459.36 649.44]/ImagingBBox null>>setpagedevice"

          // <%SPDOfficejetProAsize:Normal%>
          {
            ModelName "HP Officejet 8010 Series"
            Attribute "NickName" "" "HP Officejet 8010 Series, hpcups $Version"
            Attribute "ShortNickName" "" "HP Officejet 8010 Series"
            Attribute "1284DeviceID" "" "MFG:HP;MDL:hp officejet 8010 series;DES:hp officejet 8010 series;"
            PCFileName "hp-officejet_8010_series.ppd"
            Attribute "Product" "" "(HP Officejet 8010 All-in-one Printer Series)"
          }
          {
            ModelName "HP Officejet 8020 Series"
            Attribute "NickName" "" "HP Officejet 8020 Series, hpcups $Version"
            Attribute "ShortNickName" "" "HP Officejet 8020 Series"
            Attribute "1284DeviceID" "" "MFG:HP;MDL:hp officejet 8020 series;DES:hp officejet 8020 series;"
            PCFileName "hp-officejet_8020_series.ppd"
            Attribute "Product" "" "(HP Officejet 8020 All-in-one Printer Series)"
          }
          {
            ModelName "HP Officejet Pro 8020 Series"
            Attribute "NickName" "" "HP Officejet Pro 8020 Series, hpcups $Version"
            Attribute "ShortNickName" "" "HP Officejet Pro 8020 Series"
            Attribute "1284DeviceID" "" "MFG:HP;MDL:hp officejet pro 8020 series;DES:hp officejet pro 8020 series;"
            PCFileName "hp-officejet_pro_8020_series.ppd"
            Attribute "Product" "" "(HP Officejet Pro 8020 All-in-one Printer Series)"
          }
          {
            ModelName "HP Officejet Pro 8020 Series"
            Attribute "NickName" "" "HP Officejet Pro 8020 Series, hpcups $Version"
            Attribute "ShortNickName" "" "HP Officejet Pro 8020 Series"
            Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet pro 8020 series;DES:officejet pro 8020 series;"
            PCFileName "hp-officejet_pro_8020_series.ppd"
            Attribute "Product" "" "(HP Officejet Pro 8020 All-in-one Printer Series)"
          }
          {
            ModelName "HP Officejet Pro 8030 Series"
            Attribute "NickName" "" "HP Officejet Pro 8030 Series, hpcups $Version"
            Attribute "ShortNickName" "" "HP Officejet Pro 8030 Series"
            Attribute "1284DeviceID" "" "MFG:HP;MDL:hp officejet pro 8030 series;DES:hp officejet pro 8030 series;"
            PCFileName "hp-officejet_pro_8030_series.ppd"
            Attribute "Product" "" "(HP Officejet Pro 8030 All-in-one Printer Series)"
          }
          {
            ModelName "HP Officejet 8700"
            Attribute "NickName" "" "HP Officejet 8700, hpcups $Version"
            Attribute "ShortNickName" "" "HP Officejet 8700"
            Attribute "1284DeviceID" "" "MFG:HP;MDL:hp officejet 8700;DES:hp officejet 8700;"
            PCFileName "hp-officejet_8700.ppd"
            Attribute "Product" "" "(HP Officejet 8702 All-in-one)"
          }
          {
            ModelName "HP Officejet Pro 8710"
            Attribute "NickName" "" "HP Officejet Pro 8710, hpcups $Version"
            Attribute "ShortNickName" "" "HP Officejet Pro 8710"
            Attribute "1284DeviceID" "" "MFG:HP;MDL:hp officejet pro 8710;DES:hp officejet pro 8710;"
            PCFileName "hp-officejet_pro_8710.ppd"
            Attribute "Product" "" "(HP Officejet Pro 8710 All-in-one Printer)"
            Attribute "Product" "" "(HP Officejet Pro 8715 All-in-one Printer)"
          }
          {
            ModelName "HP Officejet Pro 8720"
            Attribute "NickName" "" "HP Officejet Pro 8720, hpcups $Version"
            Attribute "ShortNickName" "" "HP Officejet Pro 8720"
            Attribute "1284DeviceID" "" "MFG:HP;MDL:hp officejet pro 8720;DES:hp officejet pro 8720;"
            PCFileName "hp-officejet_pro_8720.ppd"
            Attribute "Product" "" "(HP Officejet Pro 8720 All-in-one Printer)"
            Attribute "Product" "" "(HP Officejet Pro 8725 All-in-one Printer)"
          }
          {
            ModelName "HP Officejet Pro 9010 Series"
            Attribute "NickName" "" "HP Officejet Pro 9010 Series, hpcups $Version"
            Attribute "ShortNickName" "" "HP Officejet Pro 9010 Series"
            Attribute "1284DeviceID" "" "MFG:HP;MDL:hp officejet pro 9010 series;DES:hp officejet pro 9010 series;"
            PCFileName "hp-officejet_pro_9010_series.ppd"
            Attribute "Product" "" "(HP Officejet Pro All-in-one 9010)"
          }
          {
            ModelName "HP Officejet Pro 9010 Series"
            Attribute "NickName" "" "HP Officejet Pro 9010 Series, hpcups $Version"
            Attribute "ShortNickName" "" "HP Officejet Pro 9010 Series"
            Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet pro 9010 series;DES:officejet pro 9010 series;"
            PCFileName "hp-officejet_pro_9010_series.ppd"
            Attribute "Product" "" "(HP Officejet Pro All-in-one 9010)"
          }
          {
            ModelName "HP Officejet 9010 Series"
            Attribute "NickName" "" "HP Officejet 9010 Series, hpcups $Version"
            Attribute "ShortNickName" "" "HP Officejet 9010 Series"
            Attribute "1284DeviceID" "" "MFG:HP;MDL:hp officejet 9010 series;DES:hp officejet 9010 series;"
            PCFileName "hp-officejet_9010_series.ppd"
            Attribute "Product" "" "(HP Officejet All-in-one 9010)"
          }
          {
            ModelName "HP Officejet Pro 9020 Series"
            Attribute "NickName" "" "HP Officejet Pro 9020 Series, hpcups $Version"
            Attribute "ShortNickName" "" "HP Officejet Pro 9020 Series"
            Attribute "1284DeviceID" "" "MFG:HP;MDL:hp officejet pro 9020 series;DES:hp officejet pro 9020 series;"
            PCFileName "hp-officejet_pro_9020_series.ppd"
            Attribute "Product" "" "(HP Officejet Pro All-in-one 9020)"
          }
          {
            ModelName "HP Officejet Pro 9110b Series"
            Attribute "NickName" "" "HP Officejet Pro 9110b Series, hpcups $Version"
            Attribute "ShortNickName" "" "HP Officejet Pro 9110b Series"
            Attribute "1284DeviceID" "" "MFG:HP;MDL:hp officejet pro 9110b series;DES:hp officejet pro 9110b series;"
            PCFileName "hp-officejet_pro_9110b_series.ppd"
            Attribute "Product" "" "(HP Officejet Pro 9110b Series)"
          }
          {
            ModelName "HP Officejet Pro 9120b Series"
            Attribute "NickName" "" "HP Officejet Pro 9120b Series, hpcups $Version"
            Attribute "ShortNickName" "" "HP Officejet Pro 9120b Series"
            Attribute "1284DeviceID" "" "MFG:HP;MDL:hp officejet pro 9120b series;DES:hp officejet pro 9120b series;"
            PCFileName "hp-officejet_pro_9120b_series.ppd"
            Attribute "Product" "" "(HP Officejet Pro 9120b Series)"
          }
          {
            ModelName "HP Officejet Pro 9130b Series"
            Attribute "NickName" "" "HP Officejet Pro 9130b Series, hpcups $Version"
            Attribute "ShortNickName" "" "HP Officejet Pro 9130b Series"
            Attribute "1284DeviceID" "" "MFG:HP;MDL:hp officejet pro 9130b series;DES:hp officejet pro 9130b series;"
            PCFileName "hp-officejet_pro_9130b_series.ppd"
            Attribute "Product" "" "(HP Officejet Pro 9130b Series)"
          }

}// End SPDOfficejetProAsize


//////// SPDOfficejetProBsize
{
    Attribute "hpPrinterLanguage" "" "pcl3gui2"
    Attribute "cupsEvenDuplex" "" "True"
    Attribute "cupsBackSide" "" "Rotated"
    Attribute "cupsFlipDuplex" "" "True"
    Attribute "HPMechOffset" "" "117"
    Attribute "hpPrinterPlatform" "" "SPDOfficejetProBsize"
    Attribute "HPSPDClass" "" 1

    Group "General/General"

    Option "ColorModel/Output Mode" PickOne AnySetup 10.0
    *Choice "RGB/Color" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 0>>setpagedevice"
    Choice "CMYGray/High Quality Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 1>>setpagedevice"
    Choice "KGray/Black Only Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2>>setpagedevice"

    // cupsMediaType values map to MEDIATYPE from global_types.h
    Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0>>setpagedevice"
    Choice "Glossy/HP Photo Papers" "<</MediaType(Glossy)/cupsMediaType 5>>setpagedevice"
    Choice "CoatedBrochure/HP Matte Brochure or Professional Paper" "<</MediaType(CoatedBrochure)/cupsMediaType 2>>setpagedevice"
    Choice "CoatedMatte/HP Matte Presentation Paper" "<</MediaType(CoatedMatte)/cupsMediaType 2>>setpagedevice"
    Choice "BrochureGlosy/HP Glossy Brochure or Professional Paper" "<</MediaType(BrochureGlosy)/cupsMediaType 8>>setpagedevice"
    Choice "FastGlossy/Other photo inkjet papers" "<</MediaType(FastGlossy)/cupsMediaType 5>>setpagedevice"
    Choice "Coated/Other matte inkjet Papers" "<</MediaType(Coated)/cupsMediaType 2>>setpagedevice"
    Choice "Brochure/Other glossy inkjet Paper" "<</MediaType(Brochure)/cupsMediaType 8>>setpagedevice"
    Choice "BrochureHagaki/Inkjet hagaki" "<</MediaType(BrochureHagaki)/cupsMediaType 8>>setpagedevice"
    Choice "PlainThick/Plain Papaer, Thick" "<</MediaType(PlainThick)/cupsMediaType 0>>setpagedevice"
    Choice "PlainPaperLight/Plain Paper, Light/Recycled" "<</MediaType(PlainPaperLight)/cupsMediaType 1>>setpagedevice"
 

     // cupsCompression values map to QUALITY_MODE from global_types.h
    Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "Normal/Normal" "<</OutputType(0)/HWResolution[600 600]>>setpagedevice"
     Choice "FastDraft/Draft" "<</OutputType(-2)/HWResolution[300 300]>>setpagedevice"
     Choice "Best/Best" "<</OutputType(1)/HWResolution[600 600]>>setpagedevice"
     Choice "Photo/High-Resolution Photo" "<</OutputType(2)/HWResolution[1200 1200]>>setpagedevice"


     Option "InputSlot/Media Source" PickOne AnySetup 10.0
      *Choice "Upper/Tray 1" "<</MediaPosition 1>>setpagedevice"
       Choice "Lower/Tray 2" "<</MediaPosition 4>>setpagedevice"



    Option "Duplex/Double-Sided Printing" PickOne AnySetup 10.0
       Choice "DuplexNoTumble/Long Edge (Standard)" "<</Duplex true/Tumble false>>setpagedevice"
       Choice "DuplexTumble/Short Edge (Flip)" "<</Duplex true/Tumble true>>setpagedevice"
       *Choice "None/Off" "<</Duplex false/Tumble false>>setpagedevice"


     //Constraints
     //UIConstraints "*Duplex *OptionDuplex False"
     UIConstraints "*MediaType Glossy *Duplex"
     UIConstraints "*MediaType FastGlossy *Duplex"
     UIConstraints "*MediaType BrochureHagaki *Duplex"
     UIConstraints "*PageSize 2L *Duplex"
     UIConstraints "*PageSize 2L.FB *Duplex"
     UIConstraints "*PageSize L *Duplex"
     UIConstraints "*PageSize L.FB *Duplex"
     UIConstraints "*PageSize 3x5in *Duplex"
     UIConstraints "*PageSize 3x5in.FB *Duplex"
     UIConstraints "*PageSize 4x5in *Duplex"
     UIConstraints "*PageSize 4x5in.FB *Duplex"
     UIConstraints "*PageSize 4x6in *Duplex"
     UIConstraints "*PageSize 4x6in.FB *Duplex"
     UIConstraints "*PageSize 4x12in *Duplex"
     UIConstraints "*PageSize 4x12in.FB *Duplex"
     UIConstraints "*PageSize 5x7in *Duplex"
     UIConstraints "*PageSize 5x7in.FB *Duplex"
     UIConstraints "*PageSize 3.63x6.5in *Duplex"
     UIConstraints "*PageSize IndexCard3x5in *Duplex"
     UIConstraints "*PageSize IndexCard4x6in *Duplex"
     UIConstraints "*PageSize IndexCard5x8in *Duplex"
     UIConstraints "*PageSize IndexCardA4 *Duplex"
     UIConstraints "*PageSize IndexCardLetter *Duplex"
     UIConstraints "*PageSize 8x10in *Duplex"
     UIConstraints "*PageSize 8x10in.FB *Duplex"
     UIConstraints "*PageSize A6 *Duplex"
     UIConstraints "*PageSize A6.FB *Duplex"
     UIConstraints "*PageSize JapanesePostcard *Duplex"
     UIConstraints "*PageSize JapanesePostcard.FB *Duplex"
     UIConstraints "*PageSize OfukuHagaki *Duplex"
     UIConstraints "*PageSize A5 *Duplex"
     UIConstraints "*PageSize A5.FB *Duplex"
     UIConstraints "*PageSize Statement *Duplex"
     UIConstraints "*PageSize Custom1 *Duplex"
     UIConstraints "*PageSize 8.5x13in *Duplex"
     UIConstraints "*PageSize 8.5x13in.FB *Duplex"
     UIConstraints "*PageSize Envelope#10 *Duplex"
     UIConstraints "*PageSize EnvelopeA2 *Duplex"
     UIConstraints "*PageSize EnvelopeC5 *Duplex"
     UIConstraints "*PageSize EnvelopeC6 *Duplex"
     UIConstraints "*PageSize EnvelopeDL *Duplex"
     UIConstraints "*PageSize EnvelopeMonarch *Duplex"
     UIConstraints "*PageSize JapaneseEnvelopeChou#3 *Duplex"
     UIConstraints "*PageSize JapaneseEnvelopeChou#4 *Duplex"

      //Non duplex media type against duplex
      UIConstraints "*MediaType Glossy *Duplex"
      UIConstraints "*MediaType FastGlossy *Duplex"
      UIConstraints "*MediaType BrochureHagaki *Duplex"
     
      //PaperSizes & MediaTypes
      UIConstraints "*PageSize 2L.FB *MediaType Plain"
      UIConstraints "*PageSize L.FB *MediaType Plain"
      UIConstraints "*PageSize 3x5in.FB *MediaType Plain"
      UIConstraints "*PageSize 4x5in.FB *MediaType Plain"
      UIConstraints "*PageSize 4x6in.FB *MediaType Plain"
      UIConstraints "*PageSize 4x12in.FB *MediaType Plain"
      UIConstraints "*PageSize 5x7in.FB *MediaType Plain"
      UIConstraints "*PageSize 8x10in.FB *MediaType Plain"
      UIConstraints "*PageSize A6.FB *MediaType Plain"
      UIConstraints "*PageSize JapanesePostcard.FB *MediaType Plain"
      UIConstraints "*PageSize A4.FB *MediaType Plain"
      UIConstraints "*PageSize A5.FB *MediaType Plain"
      UIConstraints "*PageSize B5.FB *MediaType Plain"
      UIConstraints "*PageSize B5(JIS).FB *MediaType Plain"
      UIConstraints "*PageSize Executive.FB *MediaType Plain"
      UIConstraints "*PageSize Legal.FB *MediaType Plain"
      UIConstraints "*PageSize Letter.FB *MediaType Plain"
      UIConstraints "*PageSize Tabloid.FB *MediaType Plain"
      UIConstraints "*PageSize A3.FB *MediaType Plain"
      UIConstraints "*PageSize B4JIS.FB *MediaType Plain"
      UIConstraints "*PageSize 8.5x13in.FB *MediaType Plain"

      UIConstraints "*PageSize 2L.FB *MediaType PlainThick"
      UIConstraints "*PageSize L.FB *MediaType PlainThick"
      UIConstraints "*PageSize 3x5in.FB *MediaType PlainThick"
      UIConstraints "*PageSize 4x5in.FB *MediaType PlainThick"
      UIConstraints "*PageSize 4x6in.FB *MediaType PlainThick"
      UIConstraints "*PageSize 4x12in.FB *MediaType PlainThick"
      UIConstraints "*PageSize 5x7in.FB *MediaType PlainThick"
      UIConstraints "*PageSize 8x10in.FB *MediaType PlainThick"
      UIConstraints "*PageSize A6.FB *MediaType PlainThick"
      UIConstraints "*PageSize JapanesePostcard.FB *MediaType PlainThick"
      UIConstraints "*PageSize A4.FB *MediaType PlainThick"
      UIConstraints "*PageSize A5.FB *MediaType PlainThick"
      UIConstraints "*PageSize B5.FB *MediaType PlainThick"
      UIConstraints "*PageSize B5(JIS).FB *MediaType PlainThick"
      UIConstraints "*PageSize Executive.FB *MediaType PlainThick"
      UIConstraints "*PageSize Legal.FB *MediaType PlainThick"
      UIConstraints "*PageSize Letter.FB *MediaType PlainThick"
      UIConstraints "*PageSize Tabloid.FB *MediaType PlainThick"
      UIConstraints "*PageSize A3.FB *MediaType PlainThick"
      UIConstraints "*PageSize B4JIS.FB *MediaType PlainThick"
      UIConstraints "*PageSize 8.5x13in.FB *MediaType PlainThick" 

      UIConstraints "*PageSize 2L.FB *MediaType PlainPaperLight"
      UIConstraints "*PageSize L.FB *MediaType PlainPaperLight"
      UIConstraints "*PageSize 3x5in.FB *MediaType PlainPaperLight"
      UIConstraints "*PageSize 4x5in.FB *MediaType PlainPaperLight"
      UIConstraints "*PageSize 4x6in.FB *MediaType PlainPaperLight"
      UIConstraints "*PageSize 4x12in.FB *MediaType PlainPaperLight"
      UIConstraints "*PageSize 5x7in.FB *MediaType PlainPaperLight"
      UIConstraints "*PageSize 8x10in.FB *MediaType PlainPaperLight"
      UIConstraints "*PageSize A6.FB *MediaType PlainPaperLight"
      UIConstraints "*PageSize JapanesePostcard.FB *MediaType PlainPaperLight"
      UIConstraints "*PageSize A4.FB *MediaType PlainPaperLight"
      UIConstraints "*PageSize A5.FB *MediaType PlainPaperLight"
      UIConstraints "*PageSize B5.FB *MediaType PlainPaperLight"
      UIConstraints "*PageSize B5(JIS).FB *MediaType PlainPaperLight"
      UIConstraints "*PageSize Executive.FB *MediaType PlainPaperLight"
      UIConstraints "*PageSize Legal.FB *MediaType PlainPaperLight"
      UIConstraints "*PageSize Letter.FB *MediaType PlainPaperLight"
      UIConstraints "*PageSize Tabloid.FB *MediaType PlainPaperLight"
      UIConstraints "*PageSize A3.FB *MediaType PlainPaperLight"
      UIConstraints "*PageSize B4JIS.FB *MediaType PlainPaperLight"
      UIConstraints "*PageSize 8.5x13in.FB *MediaType PlainPaperLight" 
 


    // 4x6 or smaller
      CustomMedia "11x14in/11x14in" 792 1008 12 12 12 12 "<</cupsInteger0 4/PageSize[792 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 4/PageSize[792 1008]/ImagingBBox null>>setpagedevice"
      CustomMedia "2L/2L(127X128mm)" 360 504 8.4 8.4 8.4 8.4 "<</cupsInteger0 126/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 126/PageSize[360 504]/ImagingBBox null>>setpagedevice"
      CustomMedia "2L.FB/2L Borderless (127X128mm) " 360 504 0 0 0 0 "<</cupsInteger0 126/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 126/PageSize[360 504]/ImagingBBox null>>setpagedevice"
      CustomMedia "L/L 3.5x5in " 252 360 8.4 8.4 8.4 8.4 "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
      CustomMedia "L.FB/L Borderless 3.5x5in " 252 360 0 0 0 0 "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
      CustomMedia "3x5in/3x5in " 216 360 8.4 8.4 8.4 8.4 "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
      CustomMedia "3x5in.FB/3x5in Borderless " 216 360 0 0 0 0 "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
      CustomMedia "4x5in/4x5in " 288 360 8.4 8.4 8.4 8.4  "<</cupsInteger0 30002/PageSize[288 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 30002/PageSize[288 360]/ImagingBBox null>>setpagedevice"
      CustomMedia "4x5in.FB/4x5in Borderless " 288 360 8.4 8.4 8.4 8.4 "<</cupsInteger0 30002/PageSize[288 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 30002/PageSize[216 360]/ImagingBBox null>>setpagedevice"
      CustomMedia "4x6in/4x6in (10x15cm) " 288 432 8.4 8.4 8.4 8.4 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
      CustomMedia "4x6in.FB/4x6in Borderless (10x15cm) " 288 432 0 0 0 0  "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
      CustomMedia "4x12in/4x12in (10x30cm) " 288 864 8.4 8.4 8.4 8.4 "<</cupsInteger0 30000/PageSize[288 864]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 30000/PageSize[288 864]/ImagingBBox null>>setpagedevice"
      CustomMedia "4x12in.FB/4x12in Borderless (10x30cm) " 288 864 0 0 0 0  "<</cupsInteger0 30000/PageSize[288 864]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 30000/PageSize[288 864]/ImagingBBox null>>setpagedevice"
      CustomMedia "5x7in/5x7in (13x18cm) " 360 504 8.4 8.4 8.4 8.4 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
      CustomMedia "5x7in.FB/5x7in (13x18cm) Borderless " 360 504 0 0 0 0  "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
      CustomMedia "IndexCard3x5in/Index Card 3x5in " 216 360 8.4 8.4 8.4 8.4 "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice" 
      CustomMedia "IndexCard4x6in/Index Card 4x6in " 288 432 8.4 8.4 8.4 8.4 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice" 
      CustomMedia "IndexCard5x8in/Index Card 5x8in " 360 576 8.4 8.4 8.4 8.4 "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
      CustomMedia "IndexCardA4/Index Card A4 8.27x11.69in " 595.44 841.68 8.4 8.4 8.4 8.4  "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice" 
      CustomMedia "IndexCardLetter/Index Card Letter 8.5x11in " 612 792 8.4 8.4 8.4 8.4 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice" 
      CustomMedia "8x10in/8x10in " 576 720 8.4 8.4 8.4 8.4 "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
      CustomMedia "8x10in.FB/8x10in Borderless " 576 720 0 0 0 0 "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
      CustomMedia "A6/A6 " 297.84 428.16 8.4 8.4 8.4 8.4 "<</cupsInteger0 24/PageSize[297.84 428.16]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 24/PageSize[297.84 428.16]/ImagingBBox null>>setpagedevice"
      CustomMedia "A6.FB/A6 Borderless " 297.84 428.16 0 0 0 0 "<</cupsInteger0 24/PageSize[297.84 428.16]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 24/PageSize[297.84 428.16]/ImagingBBox null>>setpagedevice"
      CustomMedia "JapanesePostcard/Japanese Postcard " 284.16 419.52 8.4 8.4 8.4 8.4 "<</cupsInteger0 71/PageSize[284.16 419.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[284.16 419.52]/ImagingBBox null>>setpagedevice"
      CustomMedia "JapanesePostcard.FB/Japanese Postcard Borderless " 284.16 419.52 0 0 0 0 "<</cupsInteger0 71/PageSize[284.16 419.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[284.16 419.52]/ImagingBBox null>>setpagedevice"
      CustomMedia "OfukuHagaki/Ofuku Hagaki " 566.64 419.52 8.4 8.4 8.4 8.4 "<</cupsInteger0 72/PageSize[566.64 419.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[566.64 419.52]/ImagingBBox null>>setpagedevice"
      
      

        //Standard
      CustomMedia "A4/A4 " 595.44 841.68 8.4 8.4 8.4 8.4 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice" 
      CustomMedia "A4.FB/A4 Borderless" 595.44 841.68 0 0 0 0 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice" 
      CustomMedia "A5/A5 " 419.76 595.44 8.4 8.4 8.4 8.4 "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice" 
      CustomMedia "A5.FB/A5 Borderless " 419.76 595.44 0 0 0 0 "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
      CustomMedia "B5/B5 " 498.72 708.48 8.4 8.4 8.4 8.4 "<</cupsInteger0 65/PageSize[498.72 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[498.72 708.48]/ImagingBBox null>>setpagedevice" 
      CustomMedia "B5.FB/B5 Borderless " 498.72 708.48 0 0 0 0 "<</cupsInteger0 65/PageSize[498.72 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[498.72 708.48]/ImagingBBox null>>setpagedevice" 
      CustomMedia "B5(JIS)/B5 JIS " 515.76 728.4 8.4 8.4 8.4 8.4 "<</cupsInteger0 45/PageSize[515.76 728.4]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize[515.76 728.4]/ImagingBBox null>>setpagedevice" 
      CustomMedia "B5(JIS).FB/B5 JIS Borderless " 515.76 728.4 0 0 0 0 "<</cupsInteger0 45/PageSize[515.76 728.4]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize[515.76 728.4]/ImagingBBox null>>setpagedevice" 
      CustomMedia "Executive/Executive " 522 756 8.4 8.4 8.4 8.4 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"       
      CustomMedia "Executive.FB/Executive Borderless " 522 756 0 0 0 0 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"       
      CustomMedia "Legal/Legal " 612 1008 8.4 8.4 8.4 8.4 "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"       
      CustomMedia "Legal.FB/Legal Borderless " 612 1008 0 0 0 0 "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"        
      CustomMedia "Letter/Letter " 612 792 8.4 8.4 8.4 8.4 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 1008]/ImagingBBox null>>setpagedevice"       
      CustomMedia "Letter.FB/Letter Borderless " 612 792 0 0 0 0 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
      CustomMedia "Statement/Statement " 396 612 8.4 8.4 8.4 8.4 "<</cupsInteger0 15/PageSize[396 612]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 15/PageSize[396 612]/ImagingBBox null>>setpagedevice"
      CustomMedia "Tabloid/Tabloid " 792 1224 8.4 8.4 8.4 8.4 "<</cupsInteger0 6/PageSize[792 1224]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 6/PageSize[792 1224]/ImagingBBox null>>setpagedevice"  
      CustomMedia "Tabloid.FB/Tabloid Borderless " 792 1224 0 0 0 0 "<</cupsInteger0 6/PageSize[792 1224]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 6/PageSize[792 1224]/ImagingBBox null>>setpagedevice"
      CustomMedia "A3/A3 " 841.68 1190.4 12 12 12 12 "<</cupsInteger0 27/PageSize[841.68 1190.4]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 27/PageSize[841.68 1190.4]/ImagingBBox null>>setpagedevice"   
      CustomMedia "A3.FB/A3 Borderless " 841.68 1190.4 0 0 0 0 "<</cupsInteger0 27/PageSize[841.68 1190.4]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 27/PageSize[841.68 1190.4]/ImagingBBox null>>setpagedevice" 
      CustomMedia "B4JIS/B4 JIS " 728.4 1031.76 12 12 12 12 "<</cupsInteger0 46/PageSize[728.4 1031.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 46/PageSize[728.4 1031.76]/ImagingBBox null>>setpagedevice"
      CustomMedia "B4JIS.FB/B4 JIS Borderless " 728.4 1031.76 0 0 0 0 "<</cupsInteger0 46/PageSize[728.4 1031.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 46/PageSize[728.4 1031.76]/ImagingBBox null>>setpagedevice"
      CustomMedia "8.5x13in/8.5x13in " 612 936 8.4 8.4 8.4 8.4 "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"         
      CustomMedia "8.5x13in.FB/8.5x13in Borderless " 612 936 0 0 0 0 "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"         

      
    {
      // Custom page sizes from 1x4in to legal
      HWMargins 8.4 8.4 8.4 8.4
      VariablePaperSize Yes
      MinSize 3in 5in
      MaxSize 8.5in 14in


    }


         // Envelope
       CustomMedia "3.63x6.5in/Envelope (3.63x6.5in) " 260.88 468 8.4 8.4 8.4 8.4  "<</cupsInteger0 83/PageSize[260.48 468]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 83/PageSize[260.48 468]/ImagingBBox null>>setpagedevice" 
       CustomMedia "Envelope#10/Envelope#10  " 296.88 684 8.4 8.4 8.4 8.4  "<</cupsInteger0 81/PageSize[296.48 684]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 81/PageSize[296.48 684]/ImagingBBox null>>setpagedevice"
       CustomMedia "EnvelopeA2/EnvelopeA2 111x146mm  " 314.88 414 8.4 8.4 8.4 8.4  "<</cupsInteger0 109/PageSize[314.88 414]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 109/PageSize[314.88 414]/ImagingBBox null>>setpagedevice"
       CustomMedia "EnvelopeC5/EnvelopeC5  " 459.12 648.96 8.4 8.4 8.4 8.4  "<</cupsInteger0 91/PageSize[459.12 648.96]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 91/PageSize[459.12 648.96]/ImagingBBox null>>setpagedevice"
       CustomMedia "EnvelopeC6/EnvelopeC6  " 323.04 459.12 8.4 8.4 8.4 8.4  "<</cupsInteger0 92/PageSize[323.04 459.12]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 92/PageSize[323.04 459.12]/ImagingBBox null>>setpagedevice"
       CustomMedia "EnvelopeDL/EnvelopeDL  " 311.76 623.52 8.4 8.4 8.4 8.4  "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
       CustomMedia "EnvelopeMonarch/Envelope Monarch  " 278.88 540 8.4 8.4 8.4 8.4  "<</cupsInteger0 80/PageSize[278.88 540]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 80/PageSize[278.88 540]/ImagingBBox null>>setpagedevice"
       CustomMedia "JapaneseEnvelopeChou#3/Japanese Envelope Chou#3   " 339.84 666 8.4 8.4 8.4 8.4  "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
       CustomMedia "JapaneseEnvelopeChou#4/Japanese Envelope Chou#4   " 254.88 581.04 8.4 8.4 8.4 8.4  "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
       
        
       
         
          // <%SPDOfficejetProBsize:Normal%>
          {
            ModelName "HP Officejet Pro 7720 Series"
            Attribute "NickName" "" "HP Officejet Pro 7720 Series, hpcups $Version"
            Attribute "ShortNickName" "" "HP Officejet Pro 7720 Series"
            Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet pro 7720 series;DES:officejet pro 7720 series;"
            PCFileName "hp-officejet_pro_7720_series.ppd"
            Attribute "Product" "" "(HP Officejet Pro 7720 Wide Format All-in-one)"
          }
          {
            ModelName "HP Officejet Pro 7730 Series"
            Attribute "NickName" "" "HP Officejet Pro 7730 Series, hpcups $Version"
            Attribute "ShortNickName" "" "HP Officejet Pro 7730 Series"
            Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet pro 7730 series;DES:officejet pro 7730 series;"
            PCFileName "hp-officejet_pro_7730_series.ppd"
            Attribute "Product" "" "(HP Officejet Pro 7730 Wide Format All-in-one)"
          }
          {
            ModelName "HP Officejet Pro 7740 Series"
            Attribute "NickName" "" "HP Officejet Pro 7740 Series, hpcups $Version"
            Attribute "ShortNickName" "" "HP Officejet Pro 7740 Series"
            Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet pro 7740 series;DES:officejet pro 7740 series;"
            PCFileName "hp-officejet_pro_7740_series.ppd"
            Attribute "Product" "" "(HP Officejet Pro 7740 Wide Format All-in-one)"
          }

}// End SPDOfficejetProBsize


//////// OJ7000
{
  Attribute "hpPrinterLanguage" "" "pcl3gui2"
  Attribute "HPMechOffset" "" "69"

  Group "General/General"

  // MediaPosition values map to MediaSource enumeration in global_types.h
  Option "InputSlot/Media Source" PickOne AnySetup 10.0
   *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"
    Choice "PhotoTray/Photo Tray" "<</MediaPosition 6>>setpagedevice"
    Choice "Upper/Upper Tray" "<</MediaPosition 1>>setpagedevice"

  Option "ColorModel/Output Mode" PickOne AnySetup 10.0
    Choice "CMYGray/High Quality Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 1>>setpagedevice"
    Choice "KGray/Black Only Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2>>setpagedevice"
    *Choice "RGB/Color" "<</cupsColorSpace 17/cupsBitsPerColor 8/cupsRowStep 0>>setpagedevice"

  // cupsMediaType values map to MEDIATYPE from global_types.h
  Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Automatic/Automatic" "<</MediaType(Automatic)/cupsMediaType -1>>setpagedevice"
    Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0>>setpagedevice"
    Choice "Glossy/Photo Paper" "<</MediaType(Glossy)/cupsMediaType 3>>setpagedevice"
    Choice "TransparencyFilm/Transparency Film" "<</MediaType(TransparencyFilm)/cupsMediaType 4>>setpagedevice"

  // cupsCompression values map to QUALITY_MODE from global_types.h
  Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    Choice "Auto/Automatic" "<</OutputType(-3)/HWResolution[600 600]>>setpagedevice"
    Choice "FastDraft/Fast Draft" "<</OutputType(-2)/HWResolution[300 300]>>setpagedevice"
    *Choice "Normal/Normal" "<</OutputType(0)/HWResolution[600 600]>>setpagedevice"
    Choice "Best/Best" "<</OutputType(1)/HWResolution[600 600]>>setpagedevice"
    Choice "Photo/High-Resolution Photo" "<</OutputType(2)/HWResolution[1200 1200]>>setpagedevice"

  // Constraints
  UIConstraints "*ColorModel KGray *OutputMode Photo"
  UIConstraints "*ColorModel CMYGray *OutputMode Photo"
  UIConstraints "*MediaType Automatic *OutputMode FastDraft"
  UIConstraints "*MediaType Glossy *OutputMode FastDraft"
  UIConstraints "*MediaType TransparencyFilm *OutputMode FastDraft"
  UIConstraints "*MediaType TransparencyFilm *OutputMode Best"
  UIConstraints "*MediaType Plain *OutputMode Photo"
  UIConstraints "*MediaType TransparencyFilm *OutputMode Photo"

// 4x6 or smaller
  CustomMedia "Card3x5/Index Card 3x5in" 216 360 9 9 9 9 "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "L/L 89x127mm" 252 360 9 9 9 9 "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "L.FB/L Borderless 89x127mm" 264.744 374.112 0 0 0 0 "<</cupsInteger0 121/PageSize[264.744 374.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 121/cupsReal0 .079/cupsReal1 .098/PageSize[264.744 374.112]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki/Hagaki 100x148mm" 283.68 419.76 9 9 9 9 "<</cupsInteger0 71/PageSize[283.68 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[283.68 419.76]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki.FB/Hagaki Borderless 100x148mm" 296.424 433.872 0 0 0 0 "<</cupsInteger0 71/PageSize[296.424 433.872]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/cupsReal0 .079/cupsReal1 .098/PageSize[296.424 433.872]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card4x6/Index Card 4x6in" 288 432 9 9 9 9 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6/Photo 4x6in" 288 432 9 9 9 9 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6.FB/Photo Borderless 4x6in" 303.552 446.112 0 0 0 0 "<</cupsInteger0 74/PageSize[303.552 446.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/cupsReal0 .098/cupsReal1 .098/PageSize[303.552 446.112]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6/A6 105x148mm" 297.36 419.76 9 9 9 9 "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6.FB/A6 Borderless 105x148mm" 310.104 433.872 0 0 0 0 "<</cupsInteger0 73/PageSize[310.104 433.872]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/cupsReal0 .079/cupsReal1 .098/PageSize[310.104 433.872]/ImagingBBox null>>setpagedevice"

// 5x7
  CustomMedia "HV/HV 101x180mm" 286.56 510.48 9 9 9 9 "<</cupsInteger0 101/PageSize[286.56 510.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[286.56 510.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "HV.FB/HV Borderless 101x180mm" 302.112 524.592 0 0 0 0 "<</cupsInteger0 101/PageSize[302.112 524.592]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/cupsReal0 .098/cupsReal1 .098/PageSize[302.112 524.592]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo5x7/Photo 5x7in" 360 504 9 9 9 9 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo5x7.FB/Photo Borderless 5x7in" 372.816 518.112 0 0 0 0 "<</cupsInteger0 122/PageSize[372.816 518.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/cupsReal0 .089/cupsReal1 .098/PageSize[372.816 518.112]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo2L/Photo 2L 127x178mm" 360 504 9 9 9 9 "<</cupsInteger0 126/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 126/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo2L.FB/Photo 2L Borderless 127x178mm" 372.816 518.112 0 0 0 0 "<</cupsInteger0 126/PageSize[372.816 518.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 126/cupsReal0 .089/cupsReal1 .098/PageSize[372.816 518.112]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card5x8/Index Card 5x8in" 360 576 9 9 9 9 "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku/Oufuku-Hagaki 200x148mm" 566.64 419.76 9 9 9 9 "<</cupsInteger0 72/PageSize[566.64 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[566.64 419.76]/ImagingBBox null>>setpagedevice"
  CustomMedia "Cabinet/Cabinet Size 120x165" 339.84 468 9 9 9 9 "<</cupsInteger0 119/PageSize[339.84 468]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 119/PageSize[339.84 468]/ImagingBBox null>>setpagedevice"
  CustomMedia "Cabinet.FB/Cabinet Size 120x165 Borderless" 352.584 482.112 0 0 0 0 "<</cupsInteger0 119/PageSize[352.584 482.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 119/cupsReal0 .079/cupsReal1 .098/PageSize[352.584 482.112]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5/A5 148x210mm" 419.76 595.44 9 9 9 9 "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5.FB/A5 Borderless 148x210mm" 435.312 609.552 0 0 0 0 "<</cupsInteger0 25/PageSize[435.312 609.552]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/cupsReal0 .098/cupsReal1 .098/PageSize[435.312 609.552]/ImagingBBox null>>setpagedevice"

// Standard
  CustomMedia "B5/B5 176x250mm" 498.96 708.48 9 9 9 9 "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5/JB5 182x257mm" 516.24 728.64 9 9 9 9 "<</cupsInteger0 45/PageSize[516.24 728.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5.FB/JB5 Borderless 182x257mm" 531.792 742.752 0 0 0 0 "<</cupsInteger0 45/PageSize[531.792 742.752]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/cupsReal0 .098/cupsReal1 .098/PageSize [531.792 742.752]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive/Executive 7.25x10.5in" 522 756 9 9 9 9 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
  CustomMedia "8x10/8x10in" 576 720 9 9 9 9 "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/PageSize[576 720]/ImagingBBox null>>setpagedevice"
  CustomMedia "8x10.FB/Borderless 8x10in" 591.552 734.112 0 0 0 0 "<</cupsInteger0 7/PageSize[591.552 734.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/cupsReal0 .098/cupsReal1 .098/PageSize[591.552 734.112]/ImagingBBox null>>setpagedevice"
  *CustomMedia "Letter/Letter 8.5x11in" 612 792 9 9 9 9 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
  CustomMedia "Letter.FB/Letter Borderless 8.5x11in" 627.552 806.112 0 0 0 0 "<</cupsInteger0 2/PageSize[627.552 806.112]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/cupsReal0 .098/cupsReal1 .098/PageSize[627.552 806.112]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4/A4 210x297mm" 595.44 841.68 9 9 9 9 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4.FB/A4 Borderless 210x297mm" 610.992 855.792 0 0 0 0 "<</cupsInteger0 26/PageSize[610.992 855.792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/cupsReal0 .098/cupsReal1 .098/PageSize[610.992 855.792]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal/Legal 8.5x14in" 612 1008 9 9 9 9 "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"

// Envelope
  CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.28 459.36 9 42.192 9 9 "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou4/#4 Japanese Envelope 90x205mm" 254.88 581.04 9 42.192 9 9 "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env6/#6 Envelope 3.63x6.5in" 261.36 468 9 42.192 9 9 "<</cupsInteger0 83/PageSize[261.36 468]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 83/PageSize[261.36 468]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvCard/Card Envelope 4.4x6in" 315 432 9 42.192 9 9 "<</cupsInteger0 114/PageSize[315 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 114/PageSize[315 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279 540 9 42.192 9 9 "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env10/#10 Envelope 4.125x9.5in" 297 684 9 42.192 9 9 "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 339.84 666 9 42.192 9 9 "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvKaku2/#2 Envelope Kaku 240x332mm" 680.40 941.04 9 42.192 9 9 "<</cupsInteger0 101/PageSize[680.40 941.04]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[680.40 941.04]/ImagingBBox null>>setpagedevice"

  {
    // Large Media
    CustomMedia "11x14/11x14in" 792 1008 14.184 56.736 14.184 56.736 "<</cupsInteger0 4/PageSize[792 1008]/ImagingBBox null>>setpagedevice"
           "<</cupsInteger0 4/PageSize[792 1008]/ImagingBBox null>>setpagedevice"
    CustomMedia "11x14.FB/Borderless 11x14in" 807.552 1022.112 0 0 0 0 "<</cupsInteger0 4/PageSize[807.552 1022.112]/ImagingBBox null>>setpagedevice"
           "<</cupsInteger0 4/cupsReal0 .098/cupsReal1 .098/PageSize[807.552 1022.112]/ImagingBBox null>>setpagedevice"
    CustomMedia "12x12/12x12in" 864 864 14.184 56.736 14.184 56.736 "<</cupsInteger0 117/PageSize[864 864]/ImagingBBox null>>setpagedevice"
           "<</cupsInteger0 117/PageSize[864 864]/ImagingBBox null>>setpagedevice"
    CustomMedia "12x12.FB/Borderless 12x12in" 879.552 878.112 0 0 0 0 "<</cupsInteger0 117/PageSize[879.552 878.112]/ImagingBBox null>>setpagedevice"
           "<</cupsInteger0 117/cupsReal0 .098/cupsReal1 .098/PageSize[879.552 878.112]/ImagingBBox null>>setpagedevice"
    CustomMedia "JB4/JB4 257x364mm" 729.36 1031.76 14.184 56.736 14.184 56.736 "<</cupsInteger0 46/PageSize[729.36 1031.76]/ImagingBBox null>>setpagedevice"
          "<</cupsInteger0 46/PageSize[729.36 1031.76]/ImagingBBox null>>setpagedevice"
    CustomMedia "B/B 11x17in" 792 1224 14.184 56.736 14.184 56.736 "<</cupsInteger0 6/PageSize[792 1224]/ImagingBBox null>>setpagedevice"
           "<</cupsInteger0 6/PageSize[792 1224]/ImagingBBox null>>setpagedevice"
    CustomMedia "B.FB/B Borderless 11x17in" 807.552 1238.112 0 0 0 0 "<</cupsInteger0 6/PageSize[807.552 1238.112]/ImagingBBox null>>setpagedevice"
           "<</cupsInteger0 6/cupsReal0 .098/cupsReal1 .098/PageSize[807.552 1238.112]/ImagingBBox null>>setpagedevice"
    CustomMedia "SuperB/SuperB 13x19in" 936 1368 14.184 56.736 14.184 56.736 "<</cupsInteger0 16/PageSize[936 1368]/ImagingBBox null>>setpagedevice"
           "<</cupsInteger0 16/PageSize[936 1368]/ImagingBBox null>>setpagedevice"
    CustomMedia "SuperB.FB/SuperB Borderless 13x19in" 951.552 1382.112 0 0 0 0 "<</cupsInteger0 16/PageSize[951.552 1382.112]/ImagingBBox null>>setpagedevice"
           "<</cupsInteger0 16/cupsReal0 .098/cupsReal1 .098/PageSize[951.552 1382.112]/ImagingBBox null>>setpagedevice"
    CustomMedia "A3/A3 297x420mm" 841.68 1190.88 14.184 56.736 14.184 56.736 "<</cupsInteger0 27/PageSize[841.68 1190.88]/ImagingBBox null>>setpagedevice"
           "<</cupsInteger0 27/PageSize[841.68 1190.88]/ImagingBBox null>>setpagedevice"
    CustomMedia "A3.FB/A3 Borderless 297x420mm" 857.232 1204.992 0 0 0 0 "<</cupsInteger0 27/PageSize[857.232 1204.992]/ImagingBBox null>>setpagedevice"
           "<</cupsInteger0 27/cupsReal0 .098/cupsReal1 .098/PageSize[857.232 1204.992]/ImagingBBox null>>setpagedevice"
    CustomMedia "SuperA3/A3+ 330x483mm" 935.28 1369.44 14.184 56.736 14.184 56.736 "<</cupsInteger0 16/PageSize[935.28 1369.44]/ImagingBBox null>>setpagedevice"
           "<</cupsInteger0 16/PageSize[935.28 1369.44]/ImagingBBox null>>setpagedevice"
    CustomMedia "SuperA3.FB/A3+ Borderless 330x483mm" 950.832 1383.552 0 0 0 0 "<</cupsInteger0 16/PageSize[950.832 1383.552]/ImagingBBox null>>setpagedevice"
           "<</cupsInteger0 16/cupsReal0 .098/cupsReal1 .098/PageSize[950.832 1383.552]/ImagingBBox null>>setpagedevice"


    // Custom page sizes from 3x4in to 13x44in
    HWMargins 9 9 9 9
    VariablePaperSize Yes
    MinSize 3in 4in
    MaxSize 13in 44in

    // <%OJ7000:LargeFormatA3%>
    {
      ModelName "HP Officejet 7000 e809a Series"
      Attribute "NickName" "" "HP Officejet 7000 e809a Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet 7000 e809a Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet 7000 e809a series;DES:officejet 7000 e809a series;"
      PCFileName "hp-officejet_7000_e809a_series.ppd"
      Attribute "Product" "" "(HP Officejet 7000 e809 Series)"
      Attribute "Product" "" "(HP Officejet 7000 Wide Format Printer -e809a)"
      Attribute "Product" "" "(HP Officejet 7000 e809 Printer)"
    }
  } // End Large format media sizes with full bleed

  {
    // Large Media and Small Margins
    CustomMedia "11x14/11x14in" 792 1008 14.184 56.736 14.184 56.736 "<</cupsInteger0 4/PageSize[792 1008]/ImagingBBox null>>setpagedevice"
           "<</cupsInteger0 4/PageSize[792 1008]/ImagingBBox null>>setpagedevice"
    CustomMedia "11x14.FB/Borderless 11x14in" 807.552 1022.112 0 0 0 0 "<</cupsInteger0 4/PageSize[807.552 1022.112]/ImagingBBox null>>setpagedevice"
           "<</cupsInteger0 4/cupsReal0 .098/cupsReal1 .098/PageSize[807.552 1022.112]/ImagingBBox null>>setpagedevice"
    CustomMedia "11x14SM/11x14in Small Margins" 792 1008 14.184 14.184 14.184 14.184 "<</cupsInteger0 4/PageSize[792 1008]/ImagingBBox null>>setpagedevice"
           "<</cupsInteger0 4/PageSize[792 1008]/ImagingBBox null>>setpagedevice"
    CustomMedia "12x12/12x12in" 864 864 14.184 56.736 14.184 56.736 "<</cupsInteger0 117/PageSize[864 864]/ImagingBBox null>>setpagedevice"
           "<</cupsInteger0 117/PageSize[864 864]/ImagingBBox null>>setpagedevice"
    CustomMedia "12x12.FB/Borderless 12x12in" 879.552 878.112 0 0 0 0 "<</cupsInteger0 117/PageSize[879.552 878.112]/ImagingBBox null>>setpagedevice"
           "<</cupsInteger0 117/cupsReal0 .098/cupsReal1 .098/PageSize[879.552 878.112]/ImagingBBox null>>setpagedevice"
    //CustomMedia "12x12SM/12x12in SmallMargins" 864 864 14.184 14.184 14.184 14.184 "<</cupsInteger0 117/PageSize[864 864]/ImagingBBox null>>setpagedevice"
           //"<</cupsInteger0 117/PageSize[864 864]/ImagingBBox null>>setpagedevice"
    CustomMedia "12x12SM/12x12in SmallMargins" 870 870 14.184 14.184 14.184 14.184 "<</cupsInteger0 117/PageSize[870 870]/ImagingBBox null>>setpagedevice"
           "<</cupsInteger0 117/PageSize[870 870]/ImagingBBox null>>setpagedevice"
    CustomMedia "JB4/JB4 257x364mm" 729.36 1031.76 14.184 56.736 14.184 56.736 "<</cupsInteger0 46/PageSize[729.36 1031.76]/ImagingBBox null>>setpagedevice"
          "<</cupsInteger0 46/PageSize[729.36 1031.76]/ImagingBBox null>>setpagedevice"
    //CustomMedia "JB4SM/JB4 257x364mm SmallMargins" 729.36 1031.76 14.184 14.184 14.184 14.184 "<</cupsInteger0 46/PageSize[729.36 1031.76]/ImagingBBox null>>setpagedevice"
          //"<</cupsInteger0 46/PageSize[729.36 1031.76]/ImagingBBox null>>setpagedevice"
    CustomMedia "JB4SM/JB4 257x364mm SmallMargins" 735.36 1037.76 14.184 14.184 14.184 14.184 "<</cupsInteger0 46/PageSize[735.36 1037.76]/ImagingBBox null>>setpagedevice"
          "<</cupsInteger0 46/PageSize[735.36 1037.76]/ImagingBBox null>>setpagedevice"
    CustomMedia "B/B 11x17in" 792 1224 14.184 56.736 14.184 56.736 "<</cupsInteger0 6/PageSize[792 1224]/ImagingBBox null>>setpagedevice"
           "<</cupsInteger0 6/PageSize[792 1224]/ImagingBBox null>>setpagedevice"
    CustomMedia "B.FB/B Borderless 11x17in" 807.552 1238.112 0 0 0 0 "<</cupsInteger0 6/PageSize[807.552 1238.112]/ImagingBBox null>>setpagedevice"
           "<</cupsInteger0 6/cupsReal0 .098/cupsReal1 .098/PageSize[807.552 1238.112]/ImagingBBox null>>setpagedevice"
    CustomMedia "BSM/B 11x17in SmallMargins" 792 1224 14.184 14.184 14.184 14.184 "<</cupsInteger0 6/PageSize[792 1224]/ImagingBBox null>>setpagedevice"
           "<</cupsInteger0 6/PageSize[792 1224]/ImagingBBox null>>setpagedevice"
    CustomMedia "SuperB/SuperB 13x19in" 936 1368 14.184 56.736 14.184 56.736 "<</cupsInteger0 16/PageSize[936 1368]/ImagingBBox null>>setpagedevice"
           "<</cupsInteger0 16/PageSize[936 1368]/ImagingBBox null>>setpagedevice"
    CustomMedia "SuperB.FB/SuperB Borderless 13x19in" 951.552 1382.112 0 0 0 0 "<</cupsInteger0 16/PageSize[951.552 1382.112]/ImagingBBox null>>setpagedevice"
           "<</cupsInteger0 16/cupsReal0 .098/cupsReal1 .098/PageSize[951.552 1382.112]/ImagingBBox null>>setpagedevice"
    CustomMedia "SuperBSM/SuperB 13x19in SmallMargins" 936 1368 14.184 14.184 14.184 14.184 "<</cupsInteger0 16/PageSize[936 1368]/ImagingBBox null>>setpagedevice"
           "<</cupsInteger0 16/PageSize[936 1368]/ImagingBBox null>>setpagedevice"
    CustomMedia "A3/A3 297x420mm" 841.68 1190.88 14.184 56.736 14.184 56.736 "<</cupsInteger0 27/PageSize[841.68 1190.88]/ImagingBBox null>>setpagedevice"
           "<</cupsInteger0 27/PageSize[841.68 1190.88]/ImagingBBox null>>setpagedevice"
    CustomMedia "A3.FB/A3 Borderless 297x420mm" 857.232 1204.992 0 0 0 0 "<</cupsInteger0 27/PageSize[857.232 1204.992]/ImagingBBox null>>setpagedevice"
           "<</cupsInteger0 27/cupsReal0 .098/cupsReal1 .098/PageSize[857.232 1204.992]/ImagingBBox null>>setpagedevice"
    CustomMedia "A3SM/A3 297x420mm SmallMargins" 847.68 1196.88 14.184 14.184 14.184 14.184 "<</cupsInteger0 27/PageSize[847.68 1196.88]/ImagingBBox null>>setpagedevice"
           "<</cupsInteger0 27/PageSize[847.68 1196.88]/ImagingBBox null>>setpagedevice"
    CustomMedia "SuperA3/A3+ 330x483mm" 935.28 1369.44 14.184 56.736 14.184 56.736 "<</cupsInteger0 16/PageSize[935.28 1369.44]/ImagingBBox null>>setpagedevice"
           "<</cupsInteger0 16/PageSize[935.28 1369.44]/ImagingBBox null>>setpagedevice"
    CustomMedia "SuperA3.FB/A3+ Borderless 330x483mm" 950.832 1383.552 0 0 0 0 "<</cupsInteger0 16/PageSize[950.832 1383.552]/ImagingBBox null>>setpagedevice"
           "<</cupsInteger0 16/cupsReal0 .098/cupsReal1 .098/PageSize[950.832 1383.552]/ImagingBBox null>>setpagedevice"
    CustomMedia "SuperA3SM/A3+ 330x483mm SmallMargins" 935.28 1369.44 14.184 14.184 14.184 14.184 "<</cupsInteger0 16/PageSize[935.28 1369.44]/ImagingBBox null>>setpagedevice"
           "<</cupsInteger0 16/PageSize[935.28 1369.44]/ImagingBBox null>>setpagedevice"

    // Custom page sizes from 3x4in to 13x44in
    HWMargins 9 9 9 9
    VariablePaperSize Yes
    MinSize 3in 5in
    MaxSize 13in 44in

    // <%OJ7000:LargeFormatA3:SmallMargins%>
    {
      ModelName "HP Officejet 7500 e910"
      Attribute "NickName" "" "HP Officejet 7500 e910, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet 7500 e910"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet 7500 e910;DES:officejet 7500 e910;"
      PCFileName "hp-officejet_7500_e910.ppd"
      Attribute "Product" "" "(HP Officejet 7500 e910)"
    }
  } // End Large Media and Small Margins

} // End OJ7000

//////// OJProKx50 and DJGenericVIP with no fullbleed
{
  Attribute "cupsEvenDuplex" "" "True"
  Attribute "cupsBackSide" "" "Rotated"
  Attribute "cupsFlipDuplex" "" "True"
  Attribute "hpPrinterLanguage" "" "pcl3gui2"
  Attribute "HPMechOffset" "" "70"

  Group "General/General"

  Option "Duplex/Double-Sided Printing" PickOne AnySetup 10.0
    Choice "DuplexNoTumble/Long Edge (Standard)" "<</Duplex true/Tumble false>>setpagedevice"
    Choice "DuplexTumble/Short Edge (Flip)" "<</Duplex true/Tumble true>>setpagedevice"
    *Choice "None/Off" "<</Duplex false/Tumble false>>setpagedevice"

  // MediaPosition values map to MediaSource enumeration in global_types.h
  Option "InputSlot/Media Source" PickOne AnySetup 10.0
    *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"
    Choice "PhotoTray/Photo Tray" "<</MediaPosition 6>>setpagedevice"
    Choice "Upper/Upper Tray" "<</MediaPosition 1>>setpagedevice"
    Choice "Lower/Lower Tray" "<</MediaPosition 4>>setpagedevice"
    Choice "Envelope/Envelope Feeder" "<</MediaPosition 3>>setpagedevice"
    Choice "LargeCapacity/Large Capacity Tray" "<</MediaPosition 5>>setpagedevice"
    Choice "Manual/Manual Feeder" "<</MediaPosition 2>>setpagedevice"
    Choice "MPTray/Multi Purpose Tray" "<</MediaPosition 1>>setpagedevice"
    Choice "CDDVDTray/CD or DVD Tray" "<</MediaPosition 14>>setpagedevice"

  Option "ColorModel/Output Mode" PickOne AnySetup 10.0
    Choice "CMYGray/High Quality Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 1>>setpagedevice"
    Choice "KGray/Black Only Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2>>setpagedevice"
    *Choice "RGB/Color" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 0>>setpagedevice"

  // cupsMediaType values map to MEDIATYPE from global_types.h
  Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Automatic/Automatic" "<</MediaType(Automatic)/cupsMediaType -1>>setpagedevice"
    Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0>>setpagedevice"
    Choice "Glossy/Photo Paper" "<</MediaType(Glossy)/cupsMediaType 3>>setpagedevice"
    Choice "TransparencyFilm/Transparency Film" "<</MediaType(TransparencyFilm)/cupsMediaType 4>>setpagedevice"
    Choice "CDDVDMedia/CD or DVD Media" "<</MediaType(CDDVDMedia)/cupsMediaType 7>>setpagedevice"

  // cupsCompression values map to QUALITY_MODE from global_types.h
  Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "Normal/Normal" "<</OutputType(0)/HWResolution[600 600]>>setpagedevice"
    Choice "Draft/Draft" "<</OutputType(-1)/HWResolution[300 300]>>setpagedevice"
    Choice "Best/Best" "<</OutputType(1)/HWResolution[600 600]>>setpagedevice"
    Choice "Photo/High-Resolution Photo" "<</OutputType(2)/HWResolution[1200 1200]>>setpagedevice"
    Choice "FastDraft/Fast Draft" "<</OutputType(-2)/HWResolution[300 300]>>setpagedevice"

  // Duplexer is optional...
  Installable "OptionDuplex/Duplexer Installed"

  // Constraints
  //UIConstraints "*Duplex *OptionDuplex False"
  UIConstraints "*ColorModel KGray *OutputMode Photo"
  UIConstraints "*ColorModel CMYGray *OutputMode Photo"
  UIConstraints "*MediaType Automatic *OutputMode FastDraft"
  UIConstraints "*MediaType Glossy *OutputMode FastDraft"
  UIConstraints "*MediaType Glossy *OutputMode Draft"
  UIConstraints "*MediaType TransparencyFilm *OutputMode FastDraft"
  UIConstraints "*MediaType Plain *OutputMode Photo"
  UIConstraints "*InputSlot CDDVDTray *MediaType Automatic"
  UIConstraints "*InputSlot CDDVDTray *MediaType Plain"
  UIConstraints "*InputSlot CDDVDTray *MediaType Glossy"
  UIConstraints "*InputSlot CDDVDTray *MediaType TransparencyFilm"
  UIConstraints "*PageSize Photo4x6 *Duplex"
  UIConstraints "*PageSize Photo5x7 *Duplex"
  UIConstraints "*PageSize 16k *Duplex"
  UIConstraints "*PageSize Card3x5 *Duplex"
  UIConstraints "*PageSize Card5x8 *Duplex"
  UIConstraints "*PageSize Env10 *Duplex"
  UIConstraints "*PageSize EnvA2 *Duplex"
  UIConstraints "*PageSize EnvC6 *Duplex"
  UIConstraints "*PageSize EnvDL *Duplex"
  UIConstraints "*PageSize EnvC5 *Duplex"
  UIConstraints "*PageSize EnvB5 *Duplex"
  UIConstraints "*PageSize EnvChou3 *Duplex"
  UIConstraints "*PageSize EnvChou4 *Duplex"
  UIConstraints "*PageSize EnvMonarch *Duplex"

  Attribute "cupsModelName" "" "Officejet Pro K5400"     // APDK device class

    // Supported media sizes with no full bleed
// 4x6 or smaller
  CustomMedia "Card3x5/Index Card 3x5in" 216 360 9 9 9 9 "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki/Hagaki 100x148mm" 284 420 9 9 9 9 "<</cupsInteger0 71/PageSize[284 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[284 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki.Duplex/Hagaki AutoDuplex 100x148mm" 284 411 9 27 9 36 "<</cupsInteger0 71/PageSize[284 411]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[284 411]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6/Photo 4x6in" 288 432 9 9 9 9 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6/A6 105x148mm" 297.36 419.76 9 9 9 9 "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6.Duplex/A6 AutoDuplex 105x148mm)" 297 411 9 27 9 36 "<</cupsInteger0 73/PageSize[297 411]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[297 411]/ImagingBBox null>>setpagedevice"

// 5x7
  CustomMedia "Photo5x7/Photo 5x7in" 360 504 9 9 9 9 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card5x8/Index Card 5x8in" 360 576 9 9 9 9 "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card5x8.Duplex/Index Card AutoDuplex 5x8in" 360 567 9 27 9 36 "<</cupsInteger0 75/PageSize[360 567]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 567]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku/Oufuku-Hagaki 148x200mm" 567 420 9 9 9 9 "<</cupsInteger0 72/PageSize[567 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[567 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku.Duplex/Oufuku-Hagaki AutoDuplex 148x200mm" 567 411 9 27 9 36 "<</cupsInteger0 72/PageSize[567 411]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[567 411]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5/A5 148x210mm" 419.76 595.44 9 9 9 9 "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5.Duplex/A5 AutoDuplex 148x210mm" 420 586 9 27 9 36 "<</cupsInteger0 25/PageSize[420 586]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[420 586]/ImagingBBox null>>setpagedevice"

// Standard
  CustomMedia "B5/B5 176x250mm" 498.96 708.48 9 9 9 9 "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "B5.Duplex/B5 AutoDuplex 176x250mm" 499 699 9 27 9 36 "<</cupsInteger0 65/PageSize[499 699]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[499 699]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5/JB5 182x257mm" 516.24 728.64 9 9 9 9 "<</cupsInteger0 45/PageSize[516.24 728.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5.Duplex/JB5 AutoDuplex 182x257mm" 516 720 9 27 9 36 "<</cupsInteger0 45/PageSize[516 720]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [516 720]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive/Executive 7.25x10.5in" 522 756 9 9 9 9 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive.Duplex/Executive AutoDuplex 7.25x10.5in" 522 747 9 27 9 36 "<</cupsInteger0 1/PageSize[522 747]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 747]/ImagingBBox null>>setpagedevice"
  CustomMedia "16k/16k 7.75x10.75in" 558 774 9 9 9 9 "<</cupsInteger0 101/PageSize[558 774]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[558 774]/ImagingBBox null>>setpagedevice"   // custom
  *CustomMedia "Letter/Letter 8.5x11in" 612 792 9 9 9 9 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
  CustomMedia "Letter.Duplex/Letter AutoDuplex 8.5x11in" 612 783 9 27 9 36 "<</cupsInteger0 2/PageSize[612 783]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 783]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4/A4 210x297mm" 595.44 841.68 9 9 9 9 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4.Duplex/A4 AutoDuplex 210x297mm" 595 833 9 27 9 36 "<</cupsInteger0 26/PageSize[595 833]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595 833]/ImagingBBox null>>setpagedevice"
  CustomMedia "ExecutiveJIS/Executive (JIS) 8.5x12.986in" 612 936 9 9 9 9 "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "FLSA/American Foolscap 8.5x13in" 612 936 9 9 9 9 "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal/Legal 8.5x14in" 612 1008 9 9 9 9 "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal.Duplex/Legal AutoDuplex 8.5x14in" 612 999 9 27 9 36 "<</cupsInteger0 3/PageSize[612 999]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 999]/ImagingBBox null>>setpagedevice"

// CDDVD
  CustomMedia "CDDVD80/CD DVD 80mm" 238 238 4 4 4 4 "<</cupsInteger0 98/PageSize[238 238]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 98/PageSize[238 238]/ImagingBBox null>>setpagedevice"
  CustomMedia "CDDVD120/CD DVD 120mm" 360 360 4 4 4 4 "<</cupsInteger0 99/PageSize[360 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 99/PageSize[360 360]/ImagingBBox null>>setpagedevice"

// Envelope
  CustomMedia "EnvA2/A2 Envelope 4.37x5.75in" 314.64 414 9 42 9 9 "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.28 459.36 9 39 9 9 "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou4/#4 Japanese Envelope 90x205mm" 254.88 581.04 9 41 9 9 "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279 540 9 41 9 9 "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvDL/DL Envelope 110x220mm" 311.76 623.52 9 41 9 9 "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env10/#10 Envelope 4.12x9.5in" 297 684 9 41 9 9 "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 339.84 666  9 41 9 9 "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC5/C5 Envelope 162x229mm" 459 649 9 41 9 9 "<</cupsInteger0 91/PageSize[459 649]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 91/PageSize[459 649]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvB5/B5 Envelope 176x250mm" 499 709 9 41 9 9 "<</cupsInteger0 100/PageSize[499 709]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 100/PageSize[499 709]/ImagingBBox null>>setpagedevice"

  {
    // Custom page sizes from 1x4in to Legal
    HWMargins 9 36 9 36
    VariablePaperSize Yes
    MinSize 1in 4in
    MaxSize 8.5in 14in

    // <%DJGenericVIP:NoFullBleed%>
    {
      ModelName "HP Business Inkjet 1100"
      Attribute "NickName" "" "HP Business Inkjet 1100, hpcups $Version"
      Attribute "ShortNickName" "" "HP Business Inkjet 1100"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:hp business inkjet 1100;DES:hp business inkjet 1100;"
      PCFileName "hp-business_inkjet_1100.ppd"
      Attribute "Product" "" "(HP Business Inkjet 1100d Printer)"
      Attribute "Product" "" "(HP Business Inkjet 1100dtn Printer)"
      Attribute "Product" "" "(HP Business Inkjet 1100 Printer)"
    }
    {
      ModelName "HP Business Inkjet 1200"
      Attribute "NickName" "" "HP Business Inkjet 1200, hpcups $Version"
      Attribute "ShortNickName" "" "HP Business Inkjet 1200"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:business inkjet 1200;DES:business inkjet 1200;"
      PCFileName "hp-business_inkjet_1200.ppd"
      Attribute "Product" "" "(HP Business Inkjet 1200dtn Printer)"
      Attribute "Product" "" "(HP Business Inkjet 1200dn Printer)"
      Attribute "Product" "" "(HP Business Inkjet 1200dtwn Printer)"
      Attribute "Product" "" "(HP Business Inkjet 1200d Printer)"
      Attribute "Product" "" "(HP Business Inkjet 1200 Printer)"
    }
    {
      ModelName "HP Officejet Pro k5300"
      Attribute "NickName" "" "HP Officejet Pro k5300, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet Pro k5300"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet pro k5300;DES:officejet pro k5300;"
      PCFileName "hp-officejet_pro_k5300.ppd"
      Attribute "Product" "" "(HP Officejet Pro k5300 Printer)"
    }
    {
      ModelName "HP Officejet Pro k5400"
      Attribute "NickName" "" "HP Officejet Pro k5400, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet Pro k5400"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet pro k5400;DES:officejet pro k5400;"
      PCFileName "hp-officejet_pro_k5400.ppd"
      Attribute "Product" "" "(HP Officejet Pro k5400dn Printer)"
      Attribute "Product" "" "(HP Officejet Pro k5400dtn Printer)"
      Attribute "Product" "" "(HP Officejet Pro k5400n Printer)"
      Attribute "Product" "" "(HP Officejet Pro k5400 Printer)"
      Attribute "Product" "" "(HP Officejet Pro k5400z Printer)"
    }
    // <%OJProKx50:NoFullBleed%>
    {
      ModelName "HP Officejet Pro l7300"
      Attribute "NickName" "" "HP Officejet Pro l7300, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet Pro l7300"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet pro l7300;DES:officejet pro l7300;"
      PCFileName "hp-officejet_pro_l7300.ppd"
      Attribute "Product" "" "(HP Officejet Pro l7300 Series All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet Pro l7380 All-in-one Printer)"
    }
    {
      ModelName "HP Officejet Pro l7400"
      Attribute "NickName" "" "HP Officejet Pro l7400, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet Pro l7400"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet pro l7400;DES:officejet pro l7400;"
      PCFileName "hp-officejet_pro_l7400.ppd"
      Attribute "Product" "" "(HP Officejet Pro l7480 All-in-one Printer)"
    }
    {
      ModelName "HP Officejet Pro l7500"
      Attribute "NickName" "" "HP Officejet Pro l7500, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet Pro l7500"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet pro l7500;DES:officejet pro l7500;"
      PCFileName "hp-officejet_pro_l7500.ppd"
      Attribute "Product" "" "(HP Officejet Pro l7500 Series All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet Pro l7550 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet Pro l7555 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet Pro l7580 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet Pro l7590 All-in-one Printer)"
    }
    {
      ModelName "HP Officejet Pro l7600"
      Attribute "NickName" "" "HP Officejet Pro l7600, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet Pro l7600"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet pro l7600;DES:officejet pro l7600;"
      PCFileName "hp-officejet_pro_l7600.ppd"
      Attribute "Product" "" "(HP Officejet Pro l7600 Series All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet Pro l7650 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet Pro l7680 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet Pro l7681 All-in-one Printer)"
    }
    {
      ModelName "HP Officejet Pro l7700"
      Attribute "NickName" "" "HP Officejet Pro l7700, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet Pro l7700"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet pro l7700;DES:officejet pro l7700;"
      PCFileName "hp-officejet_pro_l7700.ppd"
      Attribute "Product" "" "(HP Officejet Pro l7700 Series All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet Pro l7710 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet Pro l7750 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet Pro l7780 All-in-one Printer)"
    }

  } // End Supported media sizes with no full bleed.

  {
  // Large format
  UIConstraints "*PageSize A3 *Duplex"
  UIConstraints "*PageSize B4 *Duplex"
  UIConstraints "*PageSize Ledger *Duplex"
  UIConstraints "*PageSize SuperB *Duplex"
  UIConstraints "*PageSize 8k *Duplex"

    // Large format media sizes with no full bleed.
// Large
  CustomMedia "SuperB/SuperB 13x19in" 936 1368 18 36 18 9 "<</cupsInteger0 16/PageSize[936 1368]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 16/PageSize[936 1368]/ImagingBBox null>>setpagedevice"
  CustomMedia "B4/B4 257x364mm" 729 1033 18 36 18 9 "<</cupsInteger0 46/PageSize[729 1033]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 46/PageSize[729 1033]/ImagingBBox null>>setpagedevice"
  CustomMedia "B4.Duplex/B4 AutoDuplex 257x364mm" 729 1024 18 27 18 36 "<</cupsInteger0 1/PageSize[729 1024]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[729 1024]/ImagingBBox null>>setpagedevice"
  CustomMedia "8k/8k 10.75x15.5in" 774 1116 18 36 18 9 "<</cupsInteger0 101/PageSize[774 1116]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[774 1116]/ImagingBBox null>>setpagedevice"          // custom
  CustomMedia "Ledger/Ledger 11x17in" 792 1224 18 36 18 9 "<</cupsInteger0 6/PageSize[792 1224]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 6/PageSize[792 1224]/ImagingBBox null>>setpagedevice"
  CustomMedia "A3/A3 297x420mm" 842 1190 18 36 18 9 "<</cupsInteger0 27/PageSize[842 1190]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 27/PageSize[842 1190]/ImagingBBox null>>setpagedevice"
  CustomMedia "A3.Duplex/A3 AutoDuplex 297x420mm" 842 1181 18 27 18 36 "<</cupsInteger0 1/PageSize[842 1181]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[842 1181]/ImagingBBox null>>setpagedevice"

    // Custom page sizes from 1x4in to SuperB
    HWMargins 9 36 9 36
    VariablePaperSize Yes
    MinSize 1in 4in
    MaxSize 936 1368

    // <%DJGenericVIP:LargeFormatSuperB:NoFullBleed%>
    {
      ModelName "HP Officejet Pro k8600"
      Attribute "NickName" "" "HP Officejet Pro k8600, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet Pro k8600"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet pro k8600;DES:officejet pro k8600;"
      PCFileName "hp-officejet_pro_k8600.ppd"
      Attribute "Product" "" "(HP Officejet Pro k8600 Color Printer)"
      Attribute "Product" "" "(HP Officejet Pro k8600dn Color Printer)"
    }
    // <%OJProKx50:LargeFormatSuperB:NoFullBleed%>
    {
      ModelName "HP Officejet Pro k850"
      Attribute "NickName" "" "HP Officejet Pro k850, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet Pro k850"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet pro k850;DES:officejet pro k850;"
      PCFileName "hp-officejet_pro_k850.ppd"
      Attribute "Product" "" "(HP Officejet Pro k850 Printer)"
      Attribute "Product" "" "(HP Officejet Pro k850dn Printer)"
    }

  }  // End Large format media sizes no full bleed.

} // End OJProKx50 and DJGenericVIP with no fullbleed

///////////////// DJ3320
{
  Attribute "hpPrinterLanguage" "" "lidil"
  Attribute "hpPrinterPlatform" "" "dj3320"
  Attribute "HPMechOffset" "" "70"

  Group "General/General"

  Option "Duplex/Double-Sided Printing" PickOne AnySetup 10.0
    Choice "DuplexNoTumble/Long Edge (Standard)" "<</Duplex true/Tumble false>>setpagedevice"
    Choice "DuplexTumble/Short Edge (Flip)" "<</Duplex true/Tumble true>>setpagedevice"
    *Choice "None/Off" "<</Duplex false/Tumble false>>setpagedevice"

  // MediaPosition values map to MediaSource enumeration in global_types.h
  Option "InputSlot/Media Source" PickOne AnySetup 10.0
    *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"
    Choice "PhotoTray/Photo Tray" "<</MediaPosition 6>>setpagedevice"
    Choice "Upper/Upper Tray" "<</MediaPosition 1>>setpagedevice"
    Choice "Lower/Lower Tray" "<</MediaPosition 4>>setpagedevice"
    Choice "Envelope/Envelope Feeder" "<</MediaPosition 3>>setpagedevice"
    Choice "LargeCapacity/Large Capacity Tray" "<</MediaPosition 5>>setpagedevice"
    Choice "Manual/Manual Feeder" "<</MediaPosition 2>>setpagedevice"
    Choice "MPTray/Multi Purpose Tray" "<</MediaPosition 1>>setpagedevice"

  // cupsMediaType values map to MEDIATYPE from global_types.h
  Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0>>setpagedevice"
    Choice "Glossy/Photo Paper" "<</MediaType(Glossy)/cupsMediaType 3>>setpagedevice"

// cupsCompression values map to QUALITY_MODE from global_types.h
  Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "NormalRGB/Normal Color" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 1/OutputType(0)/cupsInteger2 0/HWResolution[600 600]>>setpagedevice"
    Choice "NormalGray/Normal Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2/OutputType(0)/cupsInteger2 1/HWResolution[600 600]>>setpagedevice"
    Choice "DraftRGB/Draft Color" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 0/OutputType(-1)/cupsInteger2 2/HWResolution[300 300]>>setpagedevice"
    Choice "DraftGray/Draft Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2/OutputType(-1)/cupsInteger2 3/HWResolution[300 300]>>setpagedevice"
    Choice "Photo/High-Resolution Photo" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 0/OutputType(2)/cupsInteger2 4/HWResolution[600 600]>>setpagedevice"


  // Installed Cartridge: Only For Lidil Devices.
  Option "InstalledCartridge/Installed Cartridges" PickOne AnySetup 10.0
    Choice "BlackColorOnly/Black Only" "<</cupsInteger1 0>>setpagedevice"
    Choice "TriColorOnly/TriColor Only" "<</cupsInteger1 1>>setpagedevice"
    Choice "PhotoColorOnly/Photo Only" "<</cupsInteger1 2>>setpagedevice"
    *Choice "BlackAndTriColor/Black and TriColor" "<</cupsInteger1 3>>setpagedevice"
    Choice "PhotoAndColor/Photo and TriColor" "<</cupsInteger1 4>>setpagedevice"


  // Duplexer is optional...
  Installable "OptionDuplex/Duplexer Installed"

  // Constraints
  //UIConstraints "*Duplex *OptionDuplex False"
  UIConstraints "*MediaType Glossy *OutputMode DraftRGB"
  UIConstraints "*MediaType Glossy *OutputMode DraftGray"
  UIConstraints "*MediaType Plain *OutputMode Photo"

  Attribute "cupsModelName" "" "deskjet 3320"     // APDK device class

  {
// 4x6 or smaller
  CustomMedia "Card3x5/Index Card 3x5in" 216 360 18.00 36.00 18.00 9.00 "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki/Hagaki 100x148mm" 284 420 9.00 36.00 9.00 9.00 "<</cupsInteger0 71/PageSize[284 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[284 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6/Photo 4x6in" 288 432 9.00 36.00 9.00 9.00 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6/A6 105x148mm" 297.36 419.76 9.00 36.00 9.00 9.00 "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"

// 5x7
  CustomMedia "Photo5x7/Photo 5x7in" 360 504 9.00 36.00 9.00 9.00 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card5x8/Index Card 5x8in" 360 576 18.00 36.00 18.00 9.00 "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku/Oufuku-Hagaki 148x200mm" 567 420 18.00 36.00 18.00 9.00 "<</cupsInteger0 72/PageSize[567 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[567 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5/A5 148x210mm" 419.76 595.44 9.00 36.00 9.00 9.00 "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"

// Standard
  CustomMedia "B5/B5 176x250mm" 498.96 708.48 18 36 18 9 "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5/JB5 182x257mm" 516.24 728.64 18 36 18 9 "<</cupsInteger0 45/PageSize[516.24 728.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive/Executive 7.25x10.5in" 522 756 18.00 36.00 18.00 9.00 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
  CustomMedia "16k/16k 7.75x10.75in" 558 774 18 36 18 9 "<</cupsInteger0 101/PageSize[558 774]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[558 774]/ImagingBBox null>>setpagedevice"   // custom
  *CustomMedia "Letter/Letter 8.5x11in" 612 792 18 36 18 9 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4/A4 210x297mm" 595.44 841.68 9.72 36.00 9.72 9.00 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
  CustomMedia "ExecutiveJIS/Executive (JIS) 8.5x12.986in" 612 936 18 36 18 9 "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "FLSA/American Foolscap 8.5x13in" 612 936 18.00 36.00 18.00 9.00 "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal/Legal 8.5x14in" 612 1008 18.00 36.00 18.00 9.00 "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"

// Envelope
  CustomMedia "EnvA2/A2 Envelope 4.37x5.75in" 314.64 414 18.00 36.00 18.00 9.00 "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.28 459.36 18.00 36.00 18.00 9.00 "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou4/#4 Japanese Envelope 90x205mm" 254.88 581.04 18.00 36.00 18.00 9.00 "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279 540 18.00 36.00 18.00 9.00 "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvDL/DL Envelope 110x220mm" 311.76 623.52 18.00 36.00 18.00 9.00 "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env10/#10 Envelope 4.12x9.5in" 297 684 18.00 36.00 18.00 9.00 "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 339.84 666  18.00 36.00 18.00 9.00 "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC5/C5 Envelope 162x229mm" 459 649 18.00 36.00 18.00 9.00 "<</cupsInteger0 91/PageSize[459 649]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 91/PageSize[459 649]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvB5/B5 Envelope 176x250mm" 499 709 18.00 36.00 18.00 9.00 "<</cupsInteger0 100/PageSize[499 709]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 100/PageSize[499 709]/ImagingBBox null>>setpagedevice"

    // Custom page sizes from 1x4in to Legal
    HWMargins 18 36 18 36
    VariablePaperSize Yes
    MinSize 1in 4in
    MaxSize 8.5in 14in

    // <%DJ3320:Normal%>
    {
      ModelName "HP PSC 1000 Series"
      Attribute "NickName" "" "HP PSC 1000 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP PSC 1000 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:psc 1000 series;DES:psc 1000 series;"
      PCFileName "hp-psc_1000_series.ppd"
      Attribute "Product" "" "(HP PSC 1000 Series)"
    }
    {
      ModelName "HP PSC 1100 Series"
      Attribute "NickName" "" "HP PSC 1100 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP PSC 1100 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:psc 1100 series;DES:psc 1100 series;"
      PCFileName "hp-psc_1100_series.ppd"
      Attribute "Product" "" "(HP PSC 1110 All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 1110v All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 1118 All-in-one Printer)"
    }
    {
      ModelName "HP PSC 1200 Series"
      Attribute "NickName" "" "HP PSC 1200 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP PSC 1200 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:psc 1200 series;DES:psc 1200 series;"
      PCFileName "hp-psc_1200_series.ppd"
      Attribute "Product" "" "(HP PSC 1200 All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 1205 All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 1209 All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 1210 All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 1210xi All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 1210v All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 1213 All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 1215 All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 1216 All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 1217 All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 1218 All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 1219 All-in-one Printer)"
    }
    {
      ModelName "HP Deskjet d1300 Series"
      Attribute "NickName" "" "HP Deskjet d1300 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet d1300 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet d1300 series;DES:deskjet d1300 series;"
      PCFileName "hp-deskjet_d1300_series.ppd"
      Attribute "Product" "" "(HP Deskjet d1311 Printer)"
      Attribute "Product" "" "(HP Deskjet d1320 Printer)"
      Attribute "Product" "" "(HP Deskjet d1330 Printer)"
      Attribute "Product" "" "(HP Deskjet d1341 Printer)"
      Attribute "Product" "" "(HP Deskjet d1360 Printer)"
      Attribute "Product" "" "(HP Deskjet d1368 Printer)"
    }
    {
      ModelName "HP Deskjet d1400 Series"
      Attribute "NickName" "" "HP Deskjet d1400 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet d1400 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet d1400 series;DES:deskjet d1400 series;"
      PCFileName "hp-deskjet_d1400_series.ppd"
      Attribute "Product" "" "(HP Deskjet d1415 Printer)"
      Attribute "Product" "" "(HP Deskjet d1420 Printer)"
      Attribute "Product" "" "(HP Deskjet d1430 Printer)"
      Attribute "Product" "" "(HP Deskjet d1445 Printer)"
      Attribute "Product" "" "(HP Deskjet d1455 Printer)"
      Attribute "Product" "" "(HP Deskjet d1460 Printer)"
      Attribute "Product" "" "(HP Deskjet d1468 Printer)"
      Attribute "Product" "" "(HP Deskjet d1470 Printer)"
    }
    {
      ModelName "HP Deskjet d1500 Series"
      Attribute "NickName" "" "HP Deskjet d1500 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet d1500 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet d1500 series;DES:deskjet d1500 series;"
      PCFileName "hp-deskjet_d1500_series.ppd"
      Attribute "Product" "" "(HP Deskjet d1520 Printer)"
      Attribute "Product" "" "(HP Deskjet d1530 Printer)"
      Attribute "Product" "" "(HP Deskjet d1550 Printer)"
      Attribute "Product" "" "(HP Deskjet d1555 Printer)"
      Attribute "Product" "" "(HP Deskjet d1558 Printer)"
      Attribute "Product" "" "(HP Deskjet d1560 Printer)"
      Attribute "Product" "" "(HP Deskjet d1568 Printer)"
    }
    {
      ModelName "HP Deskjet f2100 Series"
      Attribute "NickName" "" "HP Deskjet f2100 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet f2100 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet f2100 series;DES:deskjet f2100 series;"
      PCFileName "hp-deskjet_f2100_series.ppd"
      Attribute "Product" "" "(HP Deskjet f2110 All-in-one Printer)"
      Attribute "Product" "" "(HP Deskjet f2120 All-in-one Printer)"
      Attribute "Product" "" "(HP Deskjet f2128 All-in-one Printer)"
      Attribute "Product" "" "(HP Deskjet f2140 All-in-one Printer)"
      Attribute "Product" "" "(HP Deskjet f2179 All-in-one Printer)"
      Attribute "Product" "" "(HP Deskjet f2180 All-in-one Printer)"
      Attribute "Product" "" "(HP Deskjet f2185 All-in-one Printer)"
      Attribute "Product" "" "(HP Deskjet f2187 All-in-one Printer)"
      Attribute "Product" "" "(HP Deskjet f2188 All-in-one Printer)"
    }
    {
      ModelName "HP Deskjet f2200 Series"
      Attribute "NickName" "" "HP Deskjet f2200 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet f2200 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet f2200 series;DES:deskjet f2200 series;"
      PCFileName "hp-deskjet_f2200_series.ppd"
      Attribute "Product" "" "(HP Deskjet f2210 All-in-one Printer)"
      Attribute "Product" "" "(HP Deskjet f2212 All-in-one Printer)"
      Attribute "Product" "" "(HP Deskjet f2214 All-in-one Printer)"
      Attribute "Product" "" "(HP Deskjet f2224 All-in-one Printer)"
      Attribute "Product" "" "(HP Deskjet f2235 All-in-one Printer)"
      Attribute "Product" "" "(HP Deskjet f2238 All-in-one Printer)"
      Attribute "Product" "" "(HP Deskjet f2240 All-in-one Printer)"
      Attribute "Product" "" "(HP Deskjet f2250 All-in-one Printer)"
      Attribute "Product" "" "(HP Deskjet f2275 All-in-one Printer)"
      Attribute "Product" "" "(HP Deskjet f2276 All-in-one Printer)"
      Attribute "Product" "" "(HP Deskjet f2280 All-in-one Printer)"
      Attribute "Product" "" "(HP Deskjet f2288 All-in-one Printer)"
      Attribute "Product" "" "(HP Deskjet f2290 All-in-one Printer)"
    }
    {
      ModelName "HP Deskjet 3320"
      Attribute "NickName" "" "HP Deskjet 3320, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 3320"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 3320;DES:deskjet 3320;"
      PCFileName "hp-deskjet_3320.ppd"
      Attribute "Product" "" "(HP Deskjet 3320v Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 3320 Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 3322 Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 3323 Color Inkjet Printer)"
    }
    {
      ModelName "HP Deskjet 3325"
      Attribute "NickName" "" "HP Deskjet 3325, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 3325"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 3325;DES:deskjet 3325;"
      PCFileName "hp-deskjet_3325.ppd"
      Attribute "Product" "" "(HP Deskjet 3325 Printer/scanjet 3530c)"
    }
    {
      ModelName "HP Deskjet 3500"
      Attribute "NickName" "" "HP Deskjet 3500, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 3500"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 3500;DES:deskjet 3500;"
      PCFileName "hp-deskjet_3500.ppd"
      Attribute "Product" "" "(HP Deskjet 3500 Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 3520w Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 3520 Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 3520v Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 3535 Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 3538 Color Inkjet Printer)"
    }
    {
      ModelName "HP Deskjet 3550"
      Attribute "NickName" "" "HP Deskjet 3550, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 3550"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 3550;DES:deskjet 3550;"
      PCFileName "hp-deskjet_3550.ppd"
      Attribute "Product" "" "(HP Deskjet 3550 Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 3550v Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 3550w Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 3558 Color Inkjet Printer)"
    }
    {
      ModelName "HP Deskjet 3740"
      Attribute "NickName" "" "HP Deskjet 3740, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 3740"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 3740;DES:deskjet 3740;"
      PCFileName "hp-deskjet_3740.ppd"
      Attribute "Product" "" "(HP Deskjet 3740 Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 3743 Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 3744 Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 3745 Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 3745v Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 3747 Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 3748 Color Inkjet Printer)"
    }
    {
      ModelName "HP Deskjet 3900"
      Attribute "NickName" "" "HP Deskjet 3900, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 3900"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 3900;DES:deskjet 3900;"
      PCFileName "hp-deskjet_3900.ppd"
      Attribute "Product" "" "(HP Deskjet 3900 Color Inkjet Printer)"
    }
    {
      ModelName "HP Deskjet 3910"
      Attribute "NickName" "" "HP Deskjet 3910, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 3910"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 3910;DES:deskjet 3910;"
      PCFileName "hp-deskjet_3910.ppd"
      Attribute "Product" "" "(HP Deskjet 3910 Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 3915 Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 3918 Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 3930v Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 3930 Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 3938 Color Inkjet Printer)"
    }
    {
      ModelName "HP Deskjet 3920"
      Attribute "NickName" "" "HP Deskjet 3920, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 3920"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 3920;DES:deskjet 3920;"
      PCFileName "hp-deskjet_3920.ppd"
      Attribute "Product" "" "(HP Deskjet 3920 Color Inkjet Printer)"
    }
    {
      ModelName "HP Deskjet 3940"
      Attribute "NickName" "" "HP Deskjet 3940, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 3940"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 3940;DES:deskjet 3940;"
      PCFileName "hp-deskjet_3940.ppd"
      Attribute "Product" "" "(HP Deskjet 3940 Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 3940v Color Inkjet Printer)"
    }
    {
      ModelName "HP Officejet 4100 Series"
      Attribute "NickName" "" "HP Officejet 4100 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet 4100 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet 4100 series;DES:officejet 4100 series;"
      PCFileName "hp-officejet_4100_series.ppd"
      Attribute "Product" "" "(HP Officejet 4100 Series All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 4110xi All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 4110 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 4110v All-in-one Printer)"
    }
    {
      ModelName "HP Officejet 4105"
      Attribute "NickName" "" "HP Officejet 4105, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet 4105"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet 4105;DES:officejet 4105;"
      PCFileName "hp-officejet_4105.ppd"
      Attribute "Product" "" "(HP Officejet 4105 All-in-one Printer)"
    }
    {
      ModelName "HP Officejet 4115 Series"
      Attribute "NickName" "" "HP Officejet 4115 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet 4115 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet 4115 series;DES:officejet 4115 series;"
      PCFileName "hp-officejet_4115_series.ppd"
      Attribute "Product" "" "(HP Officejet 4115 All-in-one Printer)"
    }
    {
      ModelName "HP Officejet 4300 Series"
      Attribute "NickName" "" "HP Officejet 4300 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet 4300 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet 4300 series;DES:officejet 4300 series;"
      PCFileName "hp-officejet_4300_series.ppd"
      Attribute "Product" "" "(HP Officejet 4308 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 4311 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 4312 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 4314 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 4315 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 4315v All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 4315xi All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 4317 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 4319 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 4338 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 4352 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 4353 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 4355 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 4357 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 4359 All-in-one Printer)"
    }

    {
      CustomMedia "3425-Cover/Cover for HP DeskJet 3425 8.5x15.5in" 612 1116 18 36 18 9 "<</cupsInteger0 78/PageSize[612 1116]/ImagingBBox null>>setpagedevice"
                                                    "<</cupsInteger0 78/PageSize[612 1116]/ImagingBBox null>>setpagedevice"
      // <%DJ3320:CoverMedia%>
      {
        ModelName "HP Deskjet 3420"
        Attribute "NickName" "" "HP Deskjet 3420, hpcups $Version"
        Attribute "ShortNickName" "" "HP Deskjet 3420"
        Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 3420;DES:deskjet 3420;"
        PCFileName "hp-deskjet_3420.ppd"
        Attribute "Product" "" "(HP Deskjet 3420 Color Inkjet Printer)"
        Attribute "Product" "" "(HP Deskjet 3420v Color Inkjet Printer)"
      }
      {
        ModelName "HP Deskjet 3425"
        Attribute "NickName" "" "HP Deskjet 3425, hpcups $Version"
        Attribute "ShortNickName" "" "HP Deskjet 3425"
        Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 3425;DES:deskjet 3425;"
        PCFileName "hp-deskjet_3425.ppd"
        Attribute "Product" "" "(HP Deskjet 3425 Printer)"
      }
      {
        ModelName "HP Deskjet 3450"
        Attribute "NickName" "" "HP Deskjet 3450, hpcups $Version"
        Attribute "ShortNickName" "" "HP Deskjet 3450"
        Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 3450;DES:deskjet 3450;"
        PCFileName "hp-deskjet_3450.ppd"
        Attribute "Product" "" "(HP Deskjet 3450 Color Inkjet Printer)"
      }
    }
  } // End Supported media sizes.
} // End DJ3320

//////////////////////// DJ3600
{
  Attribute "hpPrinterLanguage" "" "lidil"
  Attribute "hpPrinterPlatform" "" "dj3600"
  Attribute "HPMechOffset" "" "70"

  Group "General/General"

  Option "Duplex/Double-Sided Printing" PickOne AnySetup 10.0
    Choice "DuplexNoTumble/Long Edge (Standard)" "<</Duplex true/Tumble false>>setpagedevice"
    Choice "DuplexTumble/Short Edge (Flip)" "<</Duplex true/Tumble true>>setpagedevice"
    *Choice "None/Off" "<</Duplex false/Tumble false>>setpagedevice"

  // MediaPosition values map to MediaSource enumeration in global_types.h
  Option "InputSlot/Media Source" PickOne AnySetup 10.0
    *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"
    Choice "PhotoTray/Photo Tray" "<</MediaPosition 6>>setpagedevice"
    Choice "Upper/Upper Tray" "<</MediaPosition 1>>setpagedevice"
    Choice "Lower/Lower Tray" "<</MediaPosition 4>>setpagedevice"
    Choice "Envelope/Envelope Feeder" "<</MediaPosition 3>>setpagedevice"
    Choice "LargeCapacity/Large Capacity Tray" "<</MediaPosition 5>>setpagedevice"
    Choice "Manual/Manual Feeder" "<</MediaPosition 2>>setpagedevice"
    Choice "MPTray/Multi Purpose Tray" "<</MediaPosition 1>>setpagedevice"

  // cupsMediaType values map to MEDIATYPE from global_types.h
  Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0>>setpagedevice"
    Choice "Glossy/Photo Paper" "<</MediaType(Glossy)/cupsMediaType 3>>setpagedevice"

// cupsCompression values map to QUALITY_MODE from global_types.h
  Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "NormalRGB/Normal Color" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 1/OutputType(0)/cupsInteger2 0/HWResolution[600 600]>>setpagedevice"
    Choice "NormalGray/Normal Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2/OutputType(0)/cupsInteger2 1/HWResolution[600 600]>>setpagedevice"
    Choice "DraftRGB/Draft Color" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 0/OutputType(-1)/cupsInteger2 2/HWResolution[300 300]>>setpagedevice"
    Choice "DraftGray/Draft Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2/OutputType(-1)/cupsInteger2 3/HWResolution[300 300]>>setpagedevice"
    Choice "Photo/High-Resolution Photo" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 0/OutputType(2)/cupsInteger2 4/HWResolution[600 600]>>setpagedevice"


  // Installed Cartridge: Only For Lidil Devices.
  Option "InstalledCartridge/Installed Cartridges" PickOne AnySetup 10.0
    Choice "BlackColorOnly/Black Only" "<</cupsInteger1 0>>setpagedevice"
    Choice "TriColorOnly/TriColor Only" "<</cupsInteger1 1>>setpagedevice"
    Choice "PhotoColorOnly/Photo Only" "<</cupsInteger1 2>>setpagedevice"
    *Choice "BlackAndTriColor/Black and TriColor" "<</cupsInteger1 3>>setpagedevice"
    Choice "PhotoAndColor/Photo and TriColor" "<</cupsInteger1 4>>setpagedevice"


  // Duplexer is optional...
  Installable "OptionDuplex/Duplexer Installed"

  // Constraints
  //UIConstraints "*Duplex *OptionDuplex False"
  UIConstraints "*MediaType Glossy *OutputMode DraftRGB"
  UIConstraints "*MediaType Glossy *OutputMode DraftGray"
  UIConstraints "*MediaType Plain *OutputMode Photo"

  Attribute "cupsModelName" "" "deskjet 3600"     // APDK device class

  {
// 4x6 or smaller
  CustomMedia "Card3x5/Index Card 3x5in" 216 360 18.00 36.00 18.00 9.00 "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki/Hagaki 100x148mm" 284 420 9.00 36.00 9.00 9.00 "<</cupsInteger0 71/PageSize[284 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[284 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki.FB/Hagaki Borderless 100x148mm" 294 430 0 0 0 0 "<</cupsInteger0 71/PageSize[294 430]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[294 430]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6/Photo 4x6in" 288 432 9.00 36.00 9.00 9.00 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6.FB/Photo Borderless 4x6 in" 298 442 0 0 0 0 "<</cupsInteger0 74/PageSize[298 442]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[298 442]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6/A6 105x148mm" 297.36 419.76 9.00 36.00 9.00 9.00 "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"

// 5x7
  CustomMedia "Photo5x7/Photo 5x7in" 360 504 9.00 36.00 9.00 9.00 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card5x8/Index Card 5x8in" 360 576 18.00 36.00 18.00 9.00 "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku/Oufuku-Hagaki 148x200mm" 567 420 18.00 36.00 18.00 9.00 "<</cupsInteger0 72/PageSize[567 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[567 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5/A5 148x210mm" 419.76 595.44 9.00 36.00 9.00 9.00 "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"

// Standard
  CustomMedia "B5/B5 176x250mm" 498.96 708.48 18.00 36.00 18.00 9.00 "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5/JB5 182x257mm" 516.24 728.64 18 36 18 9 "<</cupsInteger0 45/PageSize[516.24 728.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive/Executive 7.25x10.5in" 522 756 18 36 18 9 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
  CustomMedia "16k/16k 7.75x10.75in" 558 774 18 36 18 9 "<</cupsInteger0 101/PageSize[558 774]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[558 774]/ImagingBBox null>>setpagedevice"   // custom
  *CustomMedia "Letter/Letter 8.5x11in" 612 792 18 36 18 9 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4/A4 210x297mm" 595.44 841.68 9.72 36.00 9.72 9.00 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
  CustomMedia "ExecutiveJIS/Executive (JIS) 8.5x12.986in" 612 936 18 36 18 9 "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "FLSA/American Foolscap 8.5x13in" 612 936 18 36 18 9 "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal/Legal 8.5x14in" 612 1008 18 36 18 9 "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"

// Envelope
  CustomMedia "EnvA2/A2 Envelope 4.37x5.75in" 314.64 414 9 42 9 9 "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.28 459.36 18.00 36.00 18.00 9.00 "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou4/#4 Japanese Envelope 90x205mm" 254.88 581.04 9 41 9 9 "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279 540 18.00 36.00 18.00 9.00 "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvDL/DL Envelope 110x220mm" 311.76 623.52 18.00 36.00 18.00 9.00 "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env10/#10 Envelope 4.12x9.5in" 297 684 18.00 36.00 18.00 9.00 "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 339.84 666  9 41 9 9 "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC5/C5 Envelope 162x229mm" 459 649 18.00 36.00 18.00 9.00 "<</cupsInteger0 91/PageSize[459 649]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 91/PageSize[459 649]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvB5/B5 Envelope 176x250mm" 499 709 18.00 36.00 18.00 9.00 "<</cupsInteger0 100/PageSize[499 709]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 100/PageSize[499 709]/ImagingBBox null>>setpagedevice"

    // Custom page sizes from 1x4in to Legal
    HWMargins 9 36 9 36
    VariablePaperSize Yes
    MinSize 1in 4in
    MaxSize 8.5in 14in

    // <%DJ3600:Normal%>
    {
      ModelName "HP PSC 1300 Series"
      Attribute "NickName" "" "HP PSC 1300 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP PSC 1300 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:psc 1300 series;DES:psc 1300 series;"
      PCFileName "hp-psc_1300_series.ppd"
      Attribute "Product" "" "(HP PSC 1300 All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 1340 All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 1350v All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 1350xi All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 1350 All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 1355 All-in-one Printer)"
    }
    {
      ModelName "HP PSC 1310 Series"
      Attribute "NickName" "" "HP PSC 1310 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP PSC 1310 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:psc 1310 series;DES:psc 1310 series;"
      PCFileName "hp-psc_1310_series.ppd"
      Attribute "Product" "" "(HP PSC 1310 All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 1311 All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 1312 All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 1315 All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 1315xi All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 1315v All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 1315s All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 1317 All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 1318 All-in-one Printer)"
    }
    {
      ModelName "HP PSC 1358 Series"
      Attribute "NickName" "" "HP PSC 1358 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP PSC 1358 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:psc 1358 series;DES:psc 1358 series;"
      PCFileName "hp-psc_1358_series.ppd"
      Attribute "Product" "" "(HP PSC 1358 Series)"
    }
    {
      ModelName "HP PSC 1400 Series"
      Attribute "NickName" "" "HP PSC 1400 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP PSC 1400 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:psc 1400 series;DES:psc 1400 series;"
      PCFileName "hp-psc_1400_series.ppd"
      Attribute "Product" "" "(HP PSC 1401 All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 1402 All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 1403 All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 1406 All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 1408 All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 1410 All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 1410v All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 1410xi All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 1415 All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 1417 All-in-one Printer)"
    }
    {
      ModelName "HP Deskjet d2300 Series"
      Attribute "NickName" "" "HP Deskjet d2300 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet d2300 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet d2300 series;DES:deskjet d2300 series;"
      PCFileName "hp-deskjet_d2300_series.ppd"
      Attribute "Product" "" "(HP Deskjet d2320 Printer)"
      Attribute "Product" "" "(HP Deskjet d2330 Printer)"
      Attribute "Product" "" "(HP Deskjet d2345 Printer)"
      Attribute "Product" "" "(HP Deskjet d2360 Printer)"
      Attribute "Product" "" "(HP Deskjet d2368 Printer)"
    }
    {
      ModelName "HP Deskjet d2400 Series"
      Attribute "NickName" "" "HP Deskjet d2400 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet d2400 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet d2400 series;DES:deskjet d2400 series;"
      PCFileName "hp-deskjet_d2400_series.ppd"
      Attribute "Product" "" "(HP Deskjet d2430 Printer)"
      Attribute "Product" "" "(HP Deskjet d2445 Printer)"
      Attribute "Product" "" "(HP Deskjet d2460 Printer)"
      Attribute "Product" "" "(HP Deskjet d2466 Printer)"
      Attribute "Product" "" "(HP Deskjet d2468 Printer)"
      Attribute "Product" "" "(HP Deskjet d4263 Printer)"
    }
    {
      ModelName "HP Deskjet f300 Series"
      Attribute "NickName" "" "HP Deskjet f300 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet f300 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet f300 series;DES:deskjet f300 series;"
      PCFileName "hp-deskjet_f300_series.ppd"
      Attribute "Product" "" "(HP Deskjet f310 All-in-one Printer)"
      Attribute "Product" "" "(HP Deskjet f325 All-in-one Printer)"
      Attribute "Product" "" "(HP Deskjet f335 All-in-one Printer)"
      Attribute "Product" "" "(HP Deskjet f340 All-in-one Printer)"
      Attribute "Product" "" "(HP Deskjet f350 All-in-one Printer)"
      Attribute "Product" "" "(HP Deskjet f370 All-in-one Printer)"
      Attribute "Product" "" "(HP Deskjet f375 All-in-one Printer)"
      Attribute "Product" "" "(HP Deskjet f378 All-in-one Printer)"
      Attribute "Product" "" "(HP Deskjet f379 All-in-one Printer)"
      Attribute "Product" "" "(HP Deskjet f380 All-in-one Printer)"
      Attribute "Product" "" "(HP Deskjet f385 All-in-one Printer)"
      Attribute "Product" "" "(HP Deskjet f388 All-in-one Printer)"
      Attribute "Product" "" "(HP Deskjet f390 All-in-one Printer)"
      Attribute "Product" "" "(HP Deskjet f394 All-in-one Printer)"
    }
    {
      ModelName "HP Officejet j3500 Series"
      Attribute "NickName" "" "HP Officejet j3500 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet j3500 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet j3500 series;DES:officejet j3500 series;"
      PCFileName "hp-officejet_j3500_series.ppd"
      Attribute "Product" "" "(HP Officejet j3508 All-in-one Printer)"
    }
    {
      ModelName "HP Officejet j3600 Series"
      Attribute "NickName" "" "HP Officejet j3600 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet j3600 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet j3600 series;DES:officejet j3600 series;"
      PCFileName "hp-officejet_j3600_series.ppd"
      Attribute "Product" "" "(HP Officejet j3608 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet j3625 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet j3635 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet j3640 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet j3650 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet j3680 All-in-one Printer)"
    }
    {
      ModelName "HP Deskjet 3600"
      Attribute "NickName" "" "HP Deskjet 3600, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 3600"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 3600;DES:deskjet 3600;"
      PCFileName "hp-deskjet_3600.ppd"
      Attribute "Product" "" "(HP Deskjet 3600 Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 3620 Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 3645 Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 3647 Color Inkjet Printer)"
    }
    {
      ModelName "HP Deskjet 3650"
      Attribute "NickName" "" "HP Deskjet 3650, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 3650"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 3650;DES:deskjet 3650;"
      PCFileName "hp-deskjet_3650.ppd"
      Attribute "Product" "" "(HP Deskjet 3650 Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 3651 Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 3652 Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 3653 Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 3658 Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 3668 Color Inkjet Printer)"
    }
    {
      ModelName "HP Deskjet 3840"
      Attribute "NickName" "" "HP Deskjet 3840, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 3840"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 3840;DES:deskjet 3840;"
      PCFileName "hp-deskjet_3840.ppd"
      Attribute "Product" "" "(HP Deskjet 3843 Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 3844 Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 3845xi Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 3845 Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 3847 Color Inkjet Printer)"
      Attribute "Product" "" "(HP Deskjet 3848 Color Inkjet Printer)"
    }
    {
      ModelName "HP Deskjet f4100 Series"
      Attribute "NickName" "" "HP Deskjet f4100 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet f4100 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet f4100 series;DES:deskjet f4100 series;"
      PCFileName "hp-deskjet_f4100_series.ppd"
      Attribute "Product" "" "(HP Deskjet f4135 All-in-one Printer)"
      Attribute "Product" "" "(HP Deskjet f4140 All-in-one Printer)"
      Attribute "Product" "" "(HP Deskjet f4150 All-in-one Printer)"
      Attribute "Product" "" "(HP Deskjet f4172 All-in-one Printer)"
      Attribute "Product" "" "(HP Deskjet f4172 All-in-one Printer)"
      Attribute "Product" "" "(HP Deskjet f4175 All-in-one Printer)"
      Attribute "Product" "" "(HP Deskjet f4180 All-in-one Printer)"
      Attribute "Product" "" "(HP Deskjet f4185 All-in-one Printer)"
      Attribute "Product" "" "(HP Deskjet f4188 All-in-one Printer)"
      Attribute "Product" "" "(HP Deskjet f4190 All-in-one Printer)"
      Attribute "Product" "" "(HP Deskjet f4194 All-in-one Printer)"
    }
    {
      ModelName "HP Officejet 4200 Series"
      Attribute "NickName" "" "HP Officejet 4200 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet 4200 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet 4200 series;DES:officejet 4200 series;"
      PCFileName "hp-officejet_4200_series.ppd"
      Attribute "Product" "" "(HP Officejet 4200 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 4211 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 4212 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 4215 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 4215xi All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 4215v All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 4219 All-in-one Printer)"
    }
    {
      ModelName "HP Officejet 4255"
      Attribute "NickName" "" "HP Officejet 4255, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet 4255"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet 4255;DES:officejet 4255;"
      PCFileName "hp-officejet_4255.ppd"
      Attribute "Product" "" "(HP Officejet 4251 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 4252 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 4255 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 4256 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 4259 All-in-one Printer)"
    }
    {
      ModelName "HP Officejet 5500 Series"
      Attribute "NickName" "" "HP Officejet 5500 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet 5500 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet 5500 series;DES:officejet 5500 series;"
      PCFileName "hp-officejet_5500_series.ppd"
      Attribute "Product" "" "(HP Officejet 5505 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 5508 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 5510v All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 5510 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 5510xi All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 5515 All-in-one Printer)"
    }
    {
      ModelName "HP Officejet j5500 Series"
      Attribute "NickName" "" "HP Officejet j5500 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet j5500 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet j5500 series;DES:officejet j5500 series;"
      PCFileName "hp-officejet_j5500_series.ppd"
      Attribute "Product" "" "(HP Officejet j5505 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet j5508 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet j5510xi All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet j5510 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet j5510v All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet j5515 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet j5520 All-in-one Printer)"
    }
    {
      ModelName "HP Officejet 5600 Series"
      Attribute "NickName" "" "HP Officejet 5600 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet 5600 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet 5600 series;DES:officejet 5600 series;"
      PCFileName "hp-officejet_5600_series.ppd"
      Attribute "Product" "" "(HP Officejet 5600 Series All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 5605 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 5607 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 5608 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 5609 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 5610 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 5610xi All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 5610v All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 5615 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 5679 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet 5680 All-in-one Printer)"
    }
    {
      ModelName "HP 910"
      Attribute "NickName" "" "HP 910, hpcups $Version"
      Attribute "ShortNickName" "" "HP 910"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:hp 910;DES:hp 910;"
      PCFileName "hp-910.ppd"
      Attribute "Product" "" "(HP 910 Printer)"
    }
    {
      ModelName "HP 915"
      Attribute "NickName" "" "HP 915, hpcups $Version"
      Attribute "ShortNickName" "" "HP 915"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:hp 915;DES:hp 915;"
      PCFileName "hp-915.ppd"
      Attribute "Product" "" "(HP 915 Inkjet All-in-one Printer)"
    }

  } // End Supported media sizes.
} // End DJ3600

////////////////// DJ4100 & DJ2600
{
  Attribute "hpPrinterLanguage" "" "lidil"
  Attribute "HPMechOffset" "" "70"

  Group "General/General"

  Option "Duplex/Double-Sided Printing" PickOne AnySetup 10.0
    Choice "DuplexNoTumble/Long Edge (Standard)" "<</Duplex true/Tumble false>>setpagedevice"
    Choice "DuplexTumble/Short Edge (Flip)" "<</Duplex true/Tumble true>>setpagedevice"
    *Choice "None/Off" "<</Duplex false/Tumble false>>setpagedevice"

  // MediaPosition values map to MediaSource enumeration in global_types.h
  Option "InputSlot/Media Source" PickOne AnySetup 10.0
    *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"
    Choice "PhotoTray/Photo Tray" "<</MediaPosition 6>>setpagedevice"
    Choice "Upper/Upper Tray" "<</MediaPosition 1>>setpagedevice"
    Choice "Lower/Lower Tray" "<</MediaPosition 4>>setpagedevice"
    Choice "Envelope/Envelope Feeder" "<</MediaPosition 3>>setpagedevice"
    Choice "LargeCapacity/Large Capacity Tray" "<</MediaPosition 5>>setpagedevice"
    Choice "Manual/Manual Feeder" "<</MediaPosition 2>>setpagedevice"
    Choice "MPTray/Multi Purpose Tray" "<</MediaPosition 1>>setpagedevice"

  // cupsMediaType values map to MEDIATYPE from global_types.h
  Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0>>setpagedevice"
    Choice "Glossy/Photo Paper" "<</MediaType(Glossy)/cupsMediaType 3>>setpagedevice"

// cupsCompression values map to QUALITY_MODE from global_types.h
  Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "NormalRGB/Normal Color" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 1/OutputType(0)/cupsInteger2 0/HWResolution[600 600]>>setpagedevice"
    Choice "NormalGray/Normal Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2/OutputType(0)/cupsInteger2 1/HWResolution[600 600]>>setpagedevice"
    Choice "DraftRGB/Draft Color" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 0/OutputType(-1)/cupsInteger2 2/HWResolution[300 300]>>setpagedevice"
    Choice "DraftGray/Draft Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2/OutputType(-1)/cupsInteger2 3/HWResolution[300 300]>>setpagedevice"
    Choice "Photo/High-Resolution Photo" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 0/OutputType(2)/cupsInteger2 4/HWResolution[600 600]>>setpagedevice"


  // Installed Cartridge: Only For Lidil Devices.
  Option "InstalledCartridge/Installed Cartridges" PickOne AnySetup 10.0
    Choice "BlackColorOnly/Black Only" "<</cupsInteger1 0>>setpagedevice"
    Choice "TriColorOnly/TriColor Only" "<</cupsInteger1 1>>setpagedevice"
    Choice "PhotoColorOnly/Photo Only" "<</cupsInteger1 2>>setpagedevice"
    *Choice "BlackAndTriColor/Black and TriColor" "<</cupsInteger1 3>>setpagedevice"
    Choice "PhotoAndColor/Photo and TriColor" "<</cupsInteger1 4>>setpagedevice"


  // Duplexer is optional...
  Installable "OptionDuplex/Duplexer Installed"

  // Constraints
  //UIConstraints "*Duplex *OptionDuplex False"
  UIConstraints "*MediaType Glossy *OutputMode DraftRGB"
  UIConstraints "*MediaType Glossy *OutputMode DraftGray"
  UIConstraints "*MediaType Plain *OutputMode Photo"

  {
// 4x6 or smaller
  CustomMedia "Card3x5/Index Card 3x5in" 216 360 18.00 36.00 18.00 9.00 "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card3x5.FB/Index Card Borderless 3x5in" 226 370 0 0 0 0 "<</cupsInteger0 78/PageSize [226 370]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[226 370]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki/Hagaki 100x148mm" 284 420 9.00 36.00 9.00 9.00 "<</cupsInteger0 71/PageSize[284 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[284 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki.FB/Hagaki Borderless 100x148mm" 294 430 0 0 0 0 "<</cupsInteger0 71/PageSize[294 430]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[294 430]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6/Photo 4x6in" 288 432 9.00 36.00 9.00 9.00 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6.FB/Photo Borderless 4x6 in" 298 442 0 0 0 0 "<</cupsInteger0 74/PageSize[298 442]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[298 442]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6/A6 105x148mm" 297.36 419.76 9.00 36.00 9.00 9.00 "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6.FB/A6 Borderless 105x148mm" 307 430 0 0 0 0 "<</cupsInteger0 73/PageSize[307 430]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[307 430]/ImagingBBox null>>setpagedevice"

// 5x7
  CustomMedia "Photo5x7/Photo 5x7in" 360 504 9.00 36.00 9.00 9.00 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo5x7.FB/Photo Borderless 5x7in" 370 514 0 0 0 0 "<</cupsInteger0 122/PageSize[370 514]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[370 514]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card5x8/Index Card 5x8in" 360 576 18.00 36.00 18.00 9.00 "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku/Oufuku-Hagaki 148x200mm" 567 420 18.00 36.00 18.00 9.00 "<</cupsInteger0 72/PageSize[567 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[567 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku.FB/Oufuku-Hagaki Borderless 148x200mm" 577 430 0 0 0 0 "<</cupsInteger0 72/PageSize[577 430]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[577 430]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5/A5 148x210mm" 419.76 595.44 9.00 36.00 9.00 9.00 "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5.FB/A5 Borderless 148x210mm" 430 605 0 0 0 0 "<</cupsInteger0 25/PageSize[430 605]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[430 605]/ImagingBBox null>>setpagedevice"

// Standard
  CustomMedia "B5/B5 176x250mm" 498.96 708.48 18 36 18 9 "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5/JB5 182x257mm" 516.24 728.64 18 36 18 9 "<</cupsInteger0 45/PageSize[516.24 728.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5.FB/JB5 Borderless 182x257mm" 526 739 0 0 0 0 "<</cupsInteger0 45/PageSize[526 739]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [526 739]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive/Executive 7.25x10.5in" 522 756 18.00 36.00 18.00 9.00 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
  CustomMedia "16k/16k 7.75x10.75in" 558 774 18.00 36.00 18.00 9.00 "<</cupsInteger0 101/PageSize[558 774]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[558 774]/ImagingBBox null>>setpagedevice"   // custom
  *CustomMedia "Letter/Letter 8.5x11in" 612 792 18.00 36.00 18.00 9.00 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
  CustomMedia "Letter.FB/Letter Borderless 8.5x11in" 622 802 0 0 0 0 "<</cupsInteger0 2/PageSize[622 802]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[622 802]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4/A4 210x297mm" 595.44 841.68 9.72 36.00 9.72 9.00 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4.FB/A4 Borderless 210x297mm" 605 852 0 0 0 0 "<</cupsInteger0 26/PageSize[605 852]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[605 852]/ImagingBBox null>>setpagedevice"
  CustomMedia "ExecutiveJIS/Executive (JIS) 8.5x12.986in" 612 936 18.00 36.00 18.00 9.00 "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "FLSA/American Foolscap 8.5x13in" 612 936 18.00 36.00 18.00 9.00 "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal/Legal 8.5x14in" 612 1008 18.00 36.00 18.00 9.00 "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"

// Envelope
  CustomMedia "EnvA2/A2 Envelope 4.37x5.75in" 314.64 414 9 42 9 9 "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.28 459.36 18.00 36.00 18.00 9.00 "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou4/#4 Japanese Envelope 90x205mm" 254.88 581.04 9 41 9 9 "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279 540 18.00 36.00 18.00 9.00 "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvDL/DL Envelope 110x220mm" 311.76 623.52 18.00 36.00 18.00 9.00 "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env10/#10 Envelope 4.12x9.5in" 297 684 18.00 36.00 18.00 9.00 "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 339.84 666  9 41 9 9 "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC5/C5 Envelope 162x229mm" 459 649 18.00 36.00 18.00 9.00 "<</cupsInteger0 91/PageSize[459 649]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 91/PageSize[459 649]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvB5/B5 Envelope 176x250mm" 499 709 18.00 36.00 18.00 9.00 "<</cupsInteger0 100/PageSize[499 709]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 100/PageSize[499 709]/ImagingBBox null>>setpagedevice"

    // Custom page sizes from 1x4in to Legal
    HWMargins 9 36 9 36
    VariablePaperSize Yes
    MinSize 1in 4in
    MaxSize 8.5in 14in
    {
      Attribute "cupsModelName" "" "Deskjet D4100"     // APDK device class
      Attribute "hpPrinterPlatform" "" "dj4100"
      // <%DJ4100:Normal%>
      {
        ModelName "HP Deskjet d4100 Series"
        Attribute "NickName" "" "HP Deskjet d4100 Series, hpcups $Version"
        Attribute "ShortNickName" "" "HP Deskjet d4100 Series"
        Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet d4100 series;DES:deskjet d4100 series;"
        PCFileName "hp-deskjet_d4100_series.ppd"
        Attribute "Product" "" "(HP Deskjet d4145 Printer)"
        Attribute "Product" "" "(HP Deskjet d4145 Printer)"
        Attribute "Product" "" "(HP Deskjet d4155 Printer)"
        Attribute "Product" "" "(HP Deskjet d4155 Printer)"
        Attribute "Product" "" "(HP Deskjet d4160 Printer)"
        Attribute "Product" "" "(HP Deskjet d4163 Printer)"
        Attribute "Product" "" "(HP Deskjet d4168 Printer)"
      }
      {
        ModelName "HP Deskjet d4200 Series"
        Attribute "NickName" "" "HP Deskjet d4200 Series, hpcups $Version"
        Attribute "ShortNickName" "" "HP Deskjet d4200 Series"
        Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet d4200 series;DES:deskjet d4200 series;"
        PCFileName "hp-deskjet_d4200_series.ppd"
        Attribute "Product" "" "(HP Deskjet d4245 Printer)"
        Attribute "Product" "" "(HP Deskjet d4260 Printer)"
        Attribute "Product" "" "(HP Deskjet d4266 Printer)"
        Attribute "Product" "" "(HP Deskjet d4268 Printer)"
      }
      {
        ModelName "HP Deskjet d4300 Series"
        Attribute "NickName" "" "HP Deskjet d4300 Series, hpcups $Version"
        Attribute "ShortNickName" "" "HP Deskjet d4300 Series"
        Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet d4300 series;DES:deskjet d4300 series;"
        PCFileName "hp-deskjet_d4300_series.ppd"
        Attribute "Product" "" "(HP Deskjet d4360 Printer)"
        Attribute "Product" "" "(HP Deskjet d4363 Printer)"
        Attribute "Product" "" "(HP Deskjet d4368 Printer)"
      }
    }

  } // End Supported media sizes.
} // End DJ4100 & DJ2600

//////////////////// PSP100 4x6, three-sided fullbleed
{
  Attribute "hpPrinterLanguage" "" "pcl3gui2"
  Attribute "HPMechOffset" "" "70"

  Group "General/General"

  // MediaPosition values map to MediaSource enumeration in global_types.h
  Option "InputSlot/Media Source" PickOne AnySetup 10.0
    *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"
    Choice "PhotoTray/Photo Tray" "<</MediaPosition 6>>setpagedevice"
    Choice "Upper/Upper Tray" "<</MediaPosition 1>>setpagedevice"
    Choice "Lower/Lower Tray" "<</MediaPosition 4>>setpagedevice"
    Choice "Envelope/Envelope Feeder" "<</MediaPosition 3>>setpagedevice"
    Choice "LargeCapacity/Large Capacity Tray" "<</MediaPosition 5>>setpagedevice"
    Choice "Manual/Manual Feeder" "<</MediaPosition 2>>setpagedevice"
    Choice "MPTray/Multi Purpose Tray" "<</MediaPosition 1>>setpagedevice"

  Option "ColorModel/Output Mode" PickOne AnySetup 10.0
    *Choice "RGB/Color" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 0>>setpagedevice"

  // cupsMediaType values map to MEDIATYPE from global_types.h
  Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Automatic/Automatic" "<</MediaType(Automatic)/cupsMediaType -1>>setpagedevice"
    Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0>>setpagedevice"
    Choice "Glossy/Photo Paper" "<</MediaType(Glossy)/cupsMediaType 3>>setpagedevice"
    Choice "TransparencyFilm/Transparency Film" "<</MediaType(TransparencyFilm)/cupsMediaType 4>>setpagedevice"

  // cupsCompression values map to QUALITY_MODE from global_types.h
  Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    Choice "Normal/Normal" "<</OutputType(0)/HWResolution[600 600]>>setpagedevice"
    Choice "Best/Best" "<</OutputType(1)/HWResolution[600 600]>>setpagedevice"
    Choice "Photo/High-Resolution Photo" "<</OutputType(2)/HWResolution[1200 1200]>>setpagedevice"
    *Choice "Auto/Automatic" "<</OutputType(-3)/HWResolution[600 600]>>setpagedevice"

  // Duplexer is optional...

  // Constraints
  UIConstraints "*MediaType Plain *OutputMode Photo"

  Attribute "cupsModelName" "" "PHOTOSMART 100"     // APDK device class

  {
// 4x6 or smaller
  CustomMedia "Hagaki/Hagaki 100x148mm" 284 420 9 36 9 9 "<</cupsInteger0 71/PageSize[284 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[284 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki.FB/Hagaki Borderless 100x148mm" 294 430 0 0 0 46 "<</cupsInteger0 71/PageSize[294 430]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[294 430]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6/Photo 4x6in with tear-off tab" 288 432 9 36 9 9 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  *CustomMedia "Photo4x6.FB/Photo Borderless 4x6 in" 298 442 0 0 0 46 "<</cupsInteger0 74/PageSize[298 442]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[298 442]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6/A6 105x148mm" 297.36 419.76 9 36 9 9 "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6.FB/A6 Borderless 105x148mm" 307 430 0 0 0 46.24 "<</cupsInteger0 73/PageSize[307 430]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[307 430]/ImagingBBox null>>setpagedevice"

    // Custom page sizes from 1x4in to A6
    HWMargins 9 36 9 36
    VariablePaperSize Yes
    MinSize 1in 4in
    MaxSize 297 420

    // <%PSP100:Normal%>
    {
      ModelName "HP Photosmart 100"
      Attribute "NickName" "" "HP Photosmart 100, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart 100"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart 100;DES:photosmart 100;"
      PCFileName "hp-photosmart_100.ppd"
      Attribute "Product" "" "(HP Photosmart 100 Printer)"
    }
    {
      ModelName "HP Photosmart 130"
      Attribute "NickName" "" "HP Photosmart 130, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart 130"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart 130;DES:photosmart 130;"
      PCFileName "hp-photosmart_130.ppd"
      Attribute "Product" "" "(HP Photosmart 130 Printer)"
      Attribute "Product" "" "(HP Photosmart 130v Printer)"
      Attribute "Product" "" "(HP Photosmart 130xi Printer)"
    }
    {
      ModelName "HP Photosmart 140 Series"
      Attribute "NickName" "" "HP Photosmart 140 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart 140 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart 140 series;DES:photosmart 140 series;"
      PCFileName "hp-photosmart_140_series.ppd"
      Attribute "Product" "" "(HP Photosmart 140 Compact Photo Printer)"
      Attribute "Product" "" "(HP Photosmart 145v Compact Photo Printer)"
      Attribute "Product" "" "(HP Photosmart 145xi Compact Photo Printer)"
      Attribute "Product" "" "(HP Photosmart 145 Compact Photo Printer)"
      Attribute "Product" "" "(HP Photosmart 148 Compact Photo Printer)"
    }
    {
      ModelName "HP Photosmart 230"
      Attribute "NickName" "" "HP Photosmart 230, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart 230"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart 230;DES:photosmart 230;"
      PCFileName "hp-photosmart_230.ppd"
      Attribute "Product" "" "(HP Photosmart 230 Printer)"
      Attribute "Product" "" "(HP Photosmart 230v Printer)"
      Attribute "Product" "" "(HP Photosmart 230xi Printer)"
    }
    {
      ModelName "HP Photosmart 240 Series"
      Attribute "NickName" "" "HP Photosmart 240 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart 240 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart 240 series;DES:photosmart 240 series;"
      PCFileName "hp-photosmart_240_series.ppd"
      Attribute "Product" "" "(HP Photosmart 240 Compact Photo Printer)"
      Attribute "Product" "" "(HP Photosmart 245v Compact Photo Printer)"
      Attribute "Product" "" "(HP Photosmart 245xi Compact Photo Printer)"
      Attribute "Product" "" "(HP Photosmart 245 Compact Photo Printer)"
    }

  } // End Supported media sizes with full bleed.
} // End PSP100 4x6, three-sided fullbleed

//////////////// DJGenericVIP 4x6, 4-sided fullbleed
{
  Attribute "hpPrinterLanguage" "" "pcl3gui2"
  Attribute "HPMechOffset" "" "70"

  Group "General/General"

  // MediaPosition values map to MediaSource enumeration in global_types.h
  Option "InputSlot/Media Source" PickOne AnySetup 10.0
    *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"
    Choice "PhotoTray/Photo Tray" "<</MediaPosition 6>>setpagedevice"
    Choice "Upper/Upper Tray" "<</MediaPosition 1>>setpagedevice"
    Choice "Lower/Lower Tray" "<</MediaPosition 4>>setpagedevice"
    Choice "Envelope/Envelope Feeder" "<</MediaPosition 3>>setpagedevice"
    Choice "LargeCapacity/Large Capacity Tray" "<</MediaPosition 5>>setpagedevice"
    Choice "Manual/Manual Feeder" "<</MediaPosition 2>>setpagedevice"
    Choice "MPTray/Multi Purpose Tray" "<</MediaPosition 1>>setpagedevice"

  Option "ColorModel/Output Mode" PickOne AnySetup 10.0
    *Choice "RGB/Color" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 0>>setpagedevice"

  // cupsMediaType values map to MEDIATYPE from global_types.h
  Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Automatic/Automatic" "<</MediaType(Automatic)/cupsMediaType -1>>setpagedevice"
    Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0>>setpagedevice"
    Choice "Glossy/Photo Paper" "<</MediaType(Glossy)/cupsMediaType 3>>setpagedevice"
    Choice "TransparencyFilm/Transparency Film" "<</MediaType(TransparencyFilm)/cupsMediaType 4>>setpagedevice"

  // cupsCompression values map to QUALITY_MODE from global_types.h
  Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    Choice "Normal/Normal" "<</OutputType(0)/HWResolution[600 600]>>setpagedevice"
    Choice "FastNormal/FastNormal" "<</OutputType(3)/HWResolution[600 600]>>setpagedevice"
    Choice "Best/Best" "<</OutputType(1)/HWResolution[600 600]>>setpagedevice"
    Choice "Photo/High-Resolution Photo" "<</OutputType(2)/HWResolution[1200 1200]>>setpagedevice"
    *Choice "Auto/Automatic" "<</OutputType(-3)/HWResolution[600 600]>>setpagedevice"

  // Duplexer is optional...

  // Constraints
  UIConstraints "*MediaType Plain *OutputMode Photo"

  Attribute "cupsModelName" "" "deskjet 5600"     // APDK device class

  {
// 4x6 or smaller
  CustomMedia "Hagaki/Hagaki 100x148mm" 284 420 9 9 9 9 "<</cupsInteger0 71/PageSize[284 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[284 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki.FB/Hagaki Borderless 100x148mm" 294 430 0 0 0 0 "<</cupsInteger0 71/PageSize[294 430]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[294 430]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6/Photo 4x6in" 288 432 9 9 9 9 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  *CustomMedia "Photo4x6.FB/Photo Borderless 4x6 in" 298 442 0 0 0 0 "<</cupsInteger0 74/PageSize[298 442]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[298 442]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6/A6 105x148mm" 297.36 419.76 9 9 9 9 "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6.FB/A6 Borderless 105x148mm" 307 430 0 0 0 0 "<</cupsInteger0 73/PageSize[307 430]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[307 430]/ImagingBBox null>>setpagedevice"

// Envelope
  CustomMedia "EnvChou4/#4 Japanese Envelope 90x205mm" 254.88 581.04 9 41 9 9 "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"

    // Custom page sizes from 1x4in to A6
    HWMargins 9 9 9 9
    VariablePaperSize Yes
    MinSize 1in 4in
    MaxSize 297 420

    // <%DJGenericVIP:4x6FullBleed%>
    {
      ModelName "HP Photosmart a310 Series"
      Attribute "NickName" "" "HP Photosmart a310 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart a310 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart a310 series;DES:photosmart a310 series;"
      PCFileName "hp-photosmart_a310_series.ppd"
      Attribute "Product" "" "(HP Photosmart a310 Compact Photo Printer)"
      Attribute "Product" "" "(HP Photosmart a311 Compact Photo Printer)"
      Attribute "Product" "" "(HP Photosmart a314 Compact Photo Printer)"
      Attribute "Product" "" "(HP Photosmart a316 Compact Photo Printer)"
    }
    {
      ModelName "HP Photosmart 320 Series"
      Attribute "NickName" "" "HP Photosmart 320 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart 320 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart 320 series;DES:photosmart 320 series;"
      PCFileName "hp-photosmart_320_series.ppd"
      Attribute "Product" "" "(HP Photosmart 320 Compact Photo Printer)"
      Attribute "Product" "" "(HP Photosmart 325xi Compact Photo Printer)"
      Attribute "Product" "" "(HP Photosmart 325v Compact Photo Printer)"
      Attribute "Product" "" "(HP Photosmart 325 Compact Photo Printer)"
      Attribute "Product" "" "(HP Photosmart 329 Compact Photo Printer)"
    }
    {
      ModelName "HP Photosmart a320 Series"
      Attribute "NickName" "" "HP Photosmart a320 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart a320 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart a320 series;DES:photosmart a320 series;"
      PCFileName "hp-photosmart_a320_series.ppd"
      Attribute "Product" "" "(HP Photosmart a320 Compact Photo Printer)"
      Attribute "Product" "" "(HP Photosmart a321 Compact Photo Printer)"
    }
    {
      ModelName "HP Photosmart 330 Series"
      Attribute "NickName" "" "HP Photosmart 330 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart 330 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart 330 series;DES:photosmart 330 series;"
      PCFileName "hp-photosmart_330_series.ppd"
      Attribute "Product" "" "(HP Photosmart 330 Series Compact Photo Printer)"
      Attribute "Product" "" "(HP Photosmart 335 Compact Photo Printer)"
      Attribute "Product" "" "(HP Photosmart 335xi Compact Photo Printer)"
      Attribute "Product" "" "(HP Photosmart 335v Compact Photo Printer)"
      Attribute "Product" "" "(HP Photosmart 337 Compact Photo Printer)"
      Attribute "Product" "" "(HP Photosmart 338 Compact Photo Printer)"
    }
    {
      ModelName "HP Photosmart 370 Series"
      Attribute "NickName" "" "HP Photosmart 370 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart 370 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart 370 series;DES:photosmart 370 series;"
      PCFileName "hp-photosmart_370_series.ppd"
      Attribute "Product" "" "(HP Photosmart 370 Compact Photo Printer)"
      Attribute "Product" "" "(HP Photosmart 375xi Compact Photo Printer)"
      Attribute "Product" "" "(HP Photosmart 375v Compact Photo Printer)"
      Attribute "Product" "" "(HP Photosmart 375 Compact Photo Printer)"
      Attribute "Product" "" "(HP Photosmart 375bxi Compact Photo Printer With Battery)"
      Attribute "Product" "" "(HP Photosmart 375b Compact Photo Printer With Battery)"
    }
    {
      ModelName "HP Photosmart 380 Series"
      Attribute "NickName" "" "HP Photosmart 380 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart 380 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart 380 series;DES:photosmart 380 series;"
      PCFileName "hp-photosmart_380_series.ppd"
      Attribute "Product" "" "(HP Photosmart 385 Compact Photo Printer)"
      Attribute "Product" "" "(HP Photosmart 385xi Compact Photo Printer)"
      Attribute "Product" "" "(HP Photosmart 385v Compact Photo Printer)"
    }
    {
      ModelName "HP Photosmart 420 Series"
      Attribute "NickName" "" "HP Photosmart 420 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart 420 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart 420 series;DES:photosmart 420 series;"
      PCFileName "hp-photosmart_420_series.ppd"
      Attribute "Product" "" "(HP Photosmart 420 Compact Photo Printer)"
      Attribute "Product" "" "(HP Photosmart 422 Compact Photo Printer)"
      Attribute "Product" "" "(HP Photosmart 422v Compact Photo Printer)"
      Attribute "Product" "" "(HP Photosmart 422xi Compact Photo Printer)"
      Attribute "Product" "" "(HP Photosmart 425 Compact Photo Printer)"
      Attribute "Product" "" "(HP Photosmart 425v Compact Photo Printer)"
      Attribute "Product" "" "(HP Photosmart 428 Compact Photo Printer)"
      Attribute "Product" "" "(HP Photosmart 428v Compact Photo Printer)"
      Attribute "Product" "" "(HP Photosmart 428xi Compact Photo Printer)"
    }
    {
      ModelName "HP Photosmart a430 Series"
      Attribute "NickName" "" "HP Photosmart a430 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart a430 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart a430 series;DES:photosmart a430 series;"
      PCFileName "hp-photosmart_a430_series.ppd"
      Attribute "Product" "" "(HP Photosmart a430 Compact Photo Printer)"
      Attribute "Product" "" "(HP Photosmart a432 Compact Photo Printer)"
      Attribute "Product" "" "(HP Photosmart a433 Compact Photo Printer)"
      Attribute "Product" "" "(HP Photosmart a434 Compact Photo Printer)"
      Attribute "Product" "" "(HP Photosmart a436 Compact Photo Printer)"
    }
    {
      ModelName "HP Photosmart a440 Series"
      Attribute "NickName" "" "HP Photosmart a440 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart a440 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart a440 series;DES:photosmart a440 series;"
      PCFileName "hp-photosmart_a440_series.ppd"
      Attribute "Product" "" "(HP Photosmart a440 Compact Photo Printer)"
      Attribute "Product" "" "(HP Photosmart a442 Compact Photo Printer)"
      Attribute "Product" "" "(HP Photosmart a446 Compact Photo Printer)"
    }
    {
      ModelName "HP Photosmart a510 Series"
      Attribute "NickName" "" "HP Photosmart a510 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart a510 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart a510 series;DES:photosmart a510 series;"
      PCFileName "hp-photosmart_a510_series.ppd"
      Attribute "Product" "" "(HP Photosmart a510 Compact Photo Printer)"
      Attribute "Product" "" "(HP Photosmart a512 Compact Photo Printer)"
      Attribute "Product" "" "(HP Photosmart a516 Compact Photo Printer)"
    }
    {
      ModelName "HP Photosmart a520 Series"
      Attribute "NickName" "" "HP Photosmart a520 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart a520 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart a520 series;DES:photosmart a520 series;"
      PCFileName "hp-photosmart_a520_series.ppd"
      Attribute "Product" "" "(HP Photosmart a522xi Compact Photo Printer)"
      Attribute "Product" "" "(HP Photosmart a522 Compact Photo Printer)"
      Attribute "Product" "" "(HP Photosmart a525 Compact Photo Printer)"
      Attribute "Product" "" "(HP Photosmart a526 Compact Photo Printer)"
      Attribute "Product" "" "(HP Photosmart a528 Compact Photo Printer)"
    }
  } // End Supported media sizes with full bleed.
} // End DJGenericVIP 4x6, 4-sided fullbleed

//////////////// PSP470 5x7, 4-sided fullbleed
{
  Attribute "hpPrinterLanguage" "" "pcl3gui2"
  Attribute "HPMechOffset" "" "70"

  Group "General/General"

  // MediaPosition values map to MediaSource enumeration in global_types.h
  Option "InputSlot/Media Source" PickOne AnySetup 10.0
    *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"
    Choice "PhotoTray/Photo Tray" "<</MediaPosition 6>>setpagedevice"
    Choice "Upper/Upper Tray" "<</MediaPosition 1>>setpagedevice"
    Choice "Lower/Lower Tray" "<</MediaPosition 4>>setpagedevice"
    Choice "Envelope/Envelope Feeder" "<</MediaPosition 3>>setpagedevice"
    Choice "LargeCapacity/Large Capacity Tray" "<</MediaPosition 5>>setpagedevice"
    Choice "Manual/Manual Feeder" "<</MediaPosition 2>>setpagedevice"
    Choice "MPTray/Multi Purpose Tray" "<</MediaPosition 1>>setpagedevice"

  Option "ColorModel/Output Mode" PickOne AnySetup 10.0
    *Choice "RGB/Color" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 0>>setpagedevice"

  // cupsMediaType values map to MEDIATYPE from global_types.h
  Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Automatic/Automatic" "<</MediaType(Automatic)/cupsMediaType -1>>setpagedevice"
    Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0>>setpagedevice"
    Choice "Glossy/Photo Paper" "<</MediaType(Glossy)/cupsMediaType 3>>setpagedevice"
    Choice "TransparencyFilm/Transparency Film" "<</MediaType(TransparencyFilm)/cupsMediaType 4>>setpagedevice"

  // cupsCompression values map to QUALITY_MODE from global_types.h
  Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    Choice "Normal/Normal" "<</OutputType(0)/HWResolution[600 600]>>setpagedevice"
    Choice "Draft/Draft" "<</OutputType(-1)/HWResolution[300 300]>>setpagedevice"
    Choice "Best/Best" "<</OutputType(1)/HWResolution[600 600]>>setpagedevice"
    *Choice "Photo/High-Resolution Photo" "<</OutputType(2)/HWResolution[1200 1200]>>setpagedevice"

  // Duplexer is optional...

  // Constraints
  UIConstraints "*MediaType Glossy *OutputMode Draft"
  UIConstraints "*MediaType Plain *OutputMode Photo"

  Attribute "cupsModelName" "" "Photosmart 470"     // APDK device class

  {
// 4x6 or smaller
  CustomMedia "Hagaki/Hagaki 100x148mm" 284 420 9 9 9 9 "<</cupsInteger0 71/PageSize[284 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[284 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki.FB/Hagaki Borderless 100x148mm" 294 430 0 0 0 0 "<</cupsInteger0 71/PageSize[294 430]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[294 430]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6/Photo 4x6in" 288 432 9 9 9 9 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6.FB/Photo Borderless 4x6 in" 298 442 0 0 0 0 "<</cupsInteger0 74/PageSize[298 442]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[298 442]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6/A6 105x148mm" 297.36 419.76 9 9 9 9 "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6.FB/A6 Borderless 105x148mm" 307 430 0 0 0 0 "<</cupsInteger0 73/PageSize[307 430]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[307 430]/ImagingBBox null>>setpagedevice"

// 5x7
  CustomMedia "Photo5x7/Photo 5x7in" 360 504 9 9 9 9 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  *CustomMedia "Photo5x7.FB/Photo Borderless 5x7in" 370 514 0 0 0 0 "<</cupsInteger0 122/PageSize[370 514]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[370 514]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card5x8/Index Card 5x8in" 360 576 9 9 9 9 "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"

// Envelope
  CustomMedia "EnvA2/A2 Envelope 4.37x5.75in" 314.64 414 9 42 9 9 "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.28 459.36 9 39 9 9 "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou4/#4 Japanese Envelope 90x205mm" 254.88 581.04 9 41 9 9 "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvDL/DL Envelope 110x220mm" 311.76 623.52 9 41 9 9 "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env10/#10 Envelope 4.12x9.5in" 297 684 9 41 9 9 "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 339.84 666  9 41 9 9 "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"

    // Custom page sizes from 1x4in to 5x7
    HWMargins 9 9 9 9
    VariablePaperSize Yes
    MinSize 1in 4in
    MaxSize 5in 7in

    // <%PSP470:FullBleed%>
    {
      ModelName "HP Photosmart 470 Series"
      Attribute "NickName" "" "HP Photosmart 470 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart 470 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart 470 series;DES:photosmart 470 series;"
      PCFileName "hp-photosmart_470_series.ppd"
      Attribute "Product" "" "(HP Photosmart 470 Series Compact Photo Printer)"
      Attribute "Product" "" "(HP Photosmart 475xi Compact Photo Printer)"
      Attribute "Product" "" "(HP Photosmart 475v Compact Photo Printer)"
      Attribute "Product" "" "(HP Photosmart 475 Compact Photo Printer)"
    }
    {
      ModelName "HP Photosmart a610 Series"
      Attribute "NickName" "" "HP Photosmart a610 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart a610 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart a610 series;DES:photosmart a610 series;"
      PCFileName "hp-photosmart_a610_series.ppd"
      Attribute "Product" "" "(HP Photosmart a610 Compact Photo Printer)"
      Attribute "Product" "" "(HP Photosmart a612 Compact Photo Printer)"
      Attribute "Product" "" "(HP Photosmart a616 Compact Photo Printer)"
      Attribute "Product" "" "(HP Photosmart a617 Compact Photo Printer)"
      Attribute "Product" "" "(HP Photosmart a618 Compact Photo Printer)"
    }
    {
      ModelName "HP Photosmart a620 Series"
      Attribute "NickName" "" "HP Photosmart a620 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart a620 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart a620 series;DES:photosmart a620 series;"
      PCFileName "hp-photosmart_a620_series.ppd"
      Attribute "Product" "" "(HP Photosmart a620 Compact Photo Printer)"
      Attribute "Product" "" "(HP Photosmart a622 Compact Photo Printer)"
      Attribute "Product" "" "(HP Photosmart a626 Compact Photo Printer)"
      Attribute "Product" "" "(HP Photosmart a627 Compact Photo Printer)"
      Attribute "Product" "" "(HP Photosmart a628 Compact Photo Printer)"
    }
    {
      ModelName "HP Photosmart a710 Series"
      Attribute "NickName" "" "HP Photosmart a710 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart a710 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart a710 series;DES:photosmart a710 series;"
      PCFileName "hp-photosmart_a710_series.ppd"
      Attribute "Product" "" "(HP Photosmart a712 Compact Photo Printer)"
      Attribute "Product" "" "(HP Photosmart a716 Compact Photo Printer)"
      Attribute "Product" "" "(HP Photosmart a717 Compact Photo Printer)"
    }
    {
      ModelName "HP Photosmart a820 Series"
      Attribute "NickName" "" "HP Photosmart a820 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart a820 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart a820 series;DES:photosmart a820 series;"
      PCFileName "hp-photosmart_a820_series.ppd"
      Attribute "Product" "" "(HP Photosmart a826 Home Photo Center)"
      Attribute "Product" "" "(HP Photosmart a827 Home Photo Center)"
      Attribute "Product" "" "(HP Photosmart a828 Home Photo Center)"
    }

  } // End Supported media sizes with full bleed.
} // End PSP470 4x6, 4-sided fullbleed

//////////////// QuickConnect 5x7, 4-sided fullbleed
{
  Attribute "hpPrinterLanguage" "" "quickconnect"

  Group "General/General"

  // MediaPosition values map to MediaSource enumeration in global_types.h
  Option "InputSlot/Media Source" PickOne AnySetup 10.0
    *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"

  // cupsMediaType values map to MEDIATYPE from global_types.h
  Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Automatic/Automatic" "<</cupsMediaType -1>>setpagedevice"
    Choice "APhoto/HP Advanced Photo" "<</cupsMediaType 1>>setpagedevice"
    Choice "PPhoto/HP Premium Photo" "<</cupsMediaType 3>>setpagedevice"
    Choice "Plain/Plain" "<</cupsMediaType 3>>setpagedevice"
    Choice "OPhoto/Other Photo" "<</cupsMediaType 4>>setpagedevice"

  // cupsCompression values map to QUALITY_MODE from global_types.h
  Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "Auto/Automatic" "<</OutputType(0)>>setpagedevice"
    Choice "Normal/Normal" "<</OutputType(1)>>setpagedevice"
    Choice "Best/Best" "<</OutputType(2)>>setpagedevice"
    Choice "FastNormal/Fast Normal" "<</OutputType(3)>>setpagedevice"

  Option "Borderless/Borderless Printing" Boolean AnySetup 10.0
      *Choice "On/Print Borderless" "<</cupsInteger1 2091572/HWResolution[300 300]/cupsColorSpace 1/cupsBitsPerColor 8/cupsInteger2 1>>setpagedevice"
      Choice "Off/Print with Border" "<</cupsInteger1 2091572/HWResolution[300 300]/cupsColorSpace 1/cupsBitsPerColor 8/cupsInteger2 0>>setpagedevice"

Group "RLT/HP Real Life Technologies"
  Option "PhotoFix/Photo Fix" Boolean AnySetup 10.0
      Choice "On/Enabled" "<</cupsInteger3 1>>setpagedevice"
      *Choice "Off/Disabled" "<</cupsInteger3 0>>setpagedevice"
  Option "RedEye/Red Eye Removal" Boolean AnySetup 10.0
      Choice "On/Enabled" "<</cupsInteger4 1>>setpagedevice"
      *Choice "Off/Disabled" "<</cupsInteger4 0>>setpagedevice"

  // Constraints

  Attribute "cupsModelName" "" "Photosmart A530"     // APDK device class

  {
  *CustomMedia "0_Automatic/Automatic" 288 432 0 0 0 0 "<</cupsInteger0 0/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 0/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "1_4x6/4x6in, 10x15cm, A6, Hagaki" 288 432 0 0 0 0 "<</cupsInteger0 1/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "2_5x7/5x7in, 13x18cm, 2L" 360 504 0 0 0 0 "<</cupsInteger0 2/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "3_L/3.5x5in, L" 252 360 0 0 0 0 "<</cupsInteger0 121/PageSize[252 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[252 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "4_4x8/4x8in, 10x20cm" 288 576 0 0 0 0 "<</cupsInteger0 4/PageSize[288 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 4/PageSize[288 576]/ImagingBBox null>>setpagedevice"
  CustomMedia "5_4x12/4x12in, 10x30cm" 288 864 0 0 0 0 "<</cupsInteger0 30000/PageSize[288 864]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 30000/PageSize[288 864]/ImagingBBox null>>setpagedevice"

    // <%QuickConnect:Normal%>
    {
      ModelName "HP Photosmart a530 Series"
      Attribute "NickName" "" "HP Photosmart a530 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart a530 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart a530 series;DES:photosmart a530 series;"
      PCFileName "hp-photosmart_a530_series.ppd"
      Attribute "Product" "" "(HP Photosmart a532 Compact Photo Printer)"
      Attribute "Product" "" "(HP Photosmart a536 Compact Photo Printer)"
      Attribute "Product" "" "(HP Photosmart a538 Compact Photo Printer)"
    }
    {
      ModelName "HP Photosmart a630 Series"
      Attribute "NickName" "" "HP Photosmart a630 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart a630 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart a630 series;DES:photosmart a630 series;"
      PCFileName "hp-photosmart_a630_series.ppd"
      Attribute "Product" "" "(HP Photosmart a636 Compact Photo Printer)"
      Attribute "Product" "" "(HP Photosmart a637 Compact Photo Printer)"
    }
    {
      ModelName "HP Photosmart a640 Series"
      Attribute "NickName" "" "HP Photosmart a640 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Photosmart a640 Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart a640 series;DES:photosmart a640 series;"
      PCFileName "hp-photosmart_a640_series.ppd"
      Attribute "Product" "" "(HP Photosmart a640 Printer Series)"
    }

  } // End Supported media sizes with full bleed.
} // End QuickConnect 5x7, 4-sided fullbleed

///////////////// LJMono
{
  Attribute "cupsEvenDuplex" "" "True"
  Attribute "hpPrinterLanguage" "" "ljmono"
  ColorDevice No
  

  Group "General/General"

  Option "Duplex/Double-Sided Printing" PickOne AnySetup 10.0
    Choice "DuplexNoTumble/Long Edge (Standard)" "<</Duplex true/Tumble false>>setpagedevice"
    Choice "DuplexTumble/Short Edge (Flip)" "<</Duplex true/Tumble true>>setpagedevice"
    *Choice "None/Off" "<</Duplex false/Tumble false>>setpagedevice"

  // MediaPosition values map to MediaSource enumeration in global_types.h
  Option "InputSlot/Media Source" PickOne AnySetup 10.0
    *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"
    Choice "PhotoTray/Photo Tray" "<</MediaPosition 1>>setpagedevice"
    Choice "Upper/Upper Tray" "<</MediaPosition 1>>setpagedevice"
    Choice "Lower/Lower Tray" "<</MediaPosition 4>>setpagedevice"
    Choice "Envelope/Envelope Feeder" "<</MediaPosition 3>>setpagedevice"
    Choice "LargeCapacity/Large Capacity Tray" "<</MediaPosition 5>>setpagedevice"
    Choice "Manual/Manual Feeder" "<</MediaPosition 2>>setpagedevice"
    Choice "MPTray/Multi Purpose Tray" "<</MediaPosition 1>>setpagedevice"

  // cupsRowCount values map to PEN_TYPE + 1 from global_types.h
  Option "ColorModel/Output Mode" PickOne AnySetup 10.0
	*Choice "Gray/Grayscale" "<</cupsColorSpace 3/cupsBitsPerColor 1/cupsRowCount 1/cupsRowStep 2>>setpagedevice"

  // cupsMediaType values map to MEDIATYPE from global_types.h
  Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0>>setpagedevice"

  // cupsCompression values map to QUALITY_MODE from global_types.h
  Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "Normal/Normal" "<</OutputType(0)/HWResolution[600 600]>>setpagedevice"
    Choice "Draft/Draft (Economy)" "<</OutputType(-1)/HWResolution[300 300]>>setpagedevice"
    Choice "Best/Best" "<</OutputType(0)/HWResolution[600 600]>>setpagedevice"

  // Duplexer is optional...
  Installable "OptionDuplex/Duplexer Installed"

  // Constraints
  //UIConstraints "*Duplex *OptionDuplex False"

  Attribute "cupsModelName" "" "HP LaserJet"     // APDK device class

// 4x6 or smaller
  CustomMedia "Card3x5/Index Card 3x5in" 216 360 18 14 18 14 "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki/Hagaki 100x148mm" 284 420 18 14 18 14 "<</cupsInteger0 71/PageSize[284 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[284 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6/Photo 4x6in" 288 432 18 14 18 14 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6/A6 105x148mm" 297.36 419.76 18 14 18 14 "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"

// 5x7
  CustomMedia "Photo5x7/Photo 5x7in" 360 504 18 14 18 14 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card5x8/Index Card 5x8in" 360 576 18 14 18 14 "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku/Oufuku-Hagaki 148x200mm" 567 420 18 14 18 14 "<</cupsInteger0 72/PageSize[567 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[567 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5/A5 148x210mm" 419.76 595.44 18 14 18 14 "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"

// Standard
  CustomMedia "B5/B5 176x250mm" 498.96 708.48 18 14 18 14 "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5/JB5 182x257mm" 516.24 728.64 18 14 18 14 "<</cupsInteger0 45/PageSize[516.24 728.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive/Executive 7.25x10.5in" 522 756 18 14 18 14 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
  CustomMedia "16k/16k 7.75x10.75in" 558 774 18 14 18 14 "<</cupsInteger0 101/PageSize[558 774]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[558 774]/ImagingBBox null>>setpagedevice"   // custom
   *CustomMedia "Letter/Letter 8.5x11in" 612 792 18 14 18 14 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4/A4 210x297mm" 595.44 841.68 18 14 18 14 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
  CustomMedia "ExecutiveJIS/Executive (JIS) 8.5x12.986in" 612 936 18 14 18 14 "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "FLSA/American Foolscap 8.5x13in" 612 936 18 14 18 14 "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal/Legal 8.5x14in" 612 1008 18 14 18 14 "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"

// Envelope
  CustomMedia "EnvA2/A2 Envelope 4.37x5.75in" 314.64 414 18 14 18 14 "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.28 459.36 18 14 18 14 "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou4/#4 Japanese Envelope 90x205mm" 254.88 581.04 18 14 18 14 "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279 540 18 14 18 14 "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvDL/DL Envelope 110x220mm" 311.76 623.52 18 14 18 14 "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env10/#10 Envelope 4.12x9.5in" 297 684 18 14 18 14 "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 339.84 666 18 14 18 14 "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC5/C5 Envelope 162x229mm" 459 649 18 14 18 14 "<</cupsInteger0 91/PageSize[459 649]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 91/PageSize[459 649]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvB5/B5 Envelope 176x250mm" 499 709 18 14 18 14 "<</cupsInteger0 100/PageSize[499 709]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 100/PageSize[499 709]/ImagingBBox null>>setpagedevice"

 {
    // Custom page sizes from 1x4in to Legal
    HWMargins 18 14 18 14
    VariablePaperSize Yes
    MinSize 1in 4in
    MaxSize 8.5in 14in

    // <%LJMono:Normal%>
    {
      ModelName "HP LaserJet 1015"
      Attribute "NickName" "" "HP LaserJet 1015, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 1015"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 1015;DES:hp laserjet 1015;"
      PCFileName "hp-laserjet_1015.ppd"
      Attribute "Product" "" "(HP LaserJet 1015 Printer)"
    }
    {
      ModelName "HP LaserJet 1022nw"
      Attribute "NickName" "" "HP LaserJet 1022nw pcl3, hpcups $Version, requires proprietary plugin"
      Attribute "ShortNickName" "" "HP LaserJet 1022nw"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 1022nw;DES:hp laserjet 1022nw;"
      PCFileName "hp-laserjet_1022nw-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet 1022nw Printer)"
    }
    {
      ModelName "HP LaserJet 1022n"
      Attribute "NickName" "" "HP LaserJet 1022n pcl3, hpcups $Version, requires proprietary plugin"
      Attribute "ShortNickName" "" "HP LaserJet 1022n"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 1022n;DES:hp laserjet 1022n;"
      PCFileName "hp-laserjet_1022n-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet 1022n Printer)"
      Attribute "Product" "" "(HP LaserJet 1022nxi Printer)"
    }
    {
      ModelName "HP LaserJet 1022"
      Attribute "NickName" "" "HP LaserJet 1022 pcl3, hpcups $Version, requires proprietary plugin"
      Attribute "ShortNickName" "" "HP LaserJet 1022"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 1022;DES:hp laserjet 1022;"
      PCFileName "hp-laserjet_1022-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet 1022 Printer)"
    }
    {
      ModelName "HP LaserJet 1100a"
      Attribute "NickName" "" "HP LaserJet 1100a, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 1100a"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 1100a;DES:hp laserjet 1100a;"
      PCFileName "hp-laserjet_1100a.ppd"
      Attribute "Product" "" "(HP LaserJet 1100a All-in-one Printer)"
      Attribute "Product" "" "(HP LaserJet 1100a Se All-in-one Printer)"
    }
    {
      ModelName "HP LaserJet 1100xi"
      Attribute "NickName" "" "HP LaserJet 1100xi, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 1100xi"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 1100xi;DES:hp laserjet 1100xi;"
      PCFileName "hp-laserjet_1100xi.ppd"
      Attribute "Product" "" "(HP LaserJet 1100a Xi All-in-one Printer)"
    }
    {
      ModelName "HP LaserJet 1100"
      Attribute "NickName" "" "HP LaserJet 1100, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 1100"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 1100;DES:hp laserjet 1100;"
      PCFileName "hp-laserjet_1100.ppd"
      Attribute "Product" "" "(HP LaserJet 1100 Printer)"
      Attribute "Product" "" "(HP LaserJet 1100se Printer)"
    }
    {
      ModelName "HP LaserJet 1150"
      Attribute "NickName" "" "HP LaserJet 1150, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 1150"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 1150;DES:hp laserjet 1150;"
      PCFileName "hp-laserjet_1150.ppd"
      Attribute "Product" "" "(HP LaserJet 1150 Printer)"
    }
    {
      ModelName "HP LaserJet 1160 Series"
      Attribute "NickName" "" "HP LaserJet 1160 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 1160 Series"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 1160 series;DES:hp laserjet 1160 series;"
      PCFileName "hp-laserjet_1160_series.ppd"
      Attribute "Product" "" "(HP LaserJet 1160 Series Printer)"
      Attribute "Product" "" "(HP LaserJet 1160 Printer)"
      Attribute "Product" "" "(HP LaserJet 1160le Printer)"
    }
    {
      ModelName "HP LaserJet 1200"
      Attribute "NickName" "" "HP LaserJet 1200 pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 1200"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 1200;DES:hp laserjet 1200;"
      PCFileName "hp-laserjet_1200-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet 1200 Printer)"
      Attribute "Product" "" "(HP LaserJet 1200se Printer)"
    }
    {
      ModelName "HP LaserJet 1200n"
      Attribute "NickName" "" "HP LaserJet 1200n, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 1200n"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 1200n;DES:hp laserjet 1200n;"
      PCFileName "hp-laserjet_1200n.ppd"
      Attribute "Product" "" "(HP LaserJet 1200n Printer)"
    }
    {
      ModelName "HP LaserJet 1220se"
      Attribute "NickName" "" "HP LaserJet 1220se, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 1220se"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 1220se;DES:hp laserjet 1220se;"
      PCFileName "hp-laserjet_1220se.ppd"
      Attribute "Product" "" "(HP LaserJet 1220se All-in-one Printer)"
    }
    {
      ModelName "HP LaserJet 1220"
      Attribute "NickName" "" "HP LaserJet 1220 pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 1220"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 1220;DES:hp laserjet 1220;"
      PCFileName "hp-laserjet_1220-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet 1220 All-in-one Printer)"
    }
    {
      ModelName "HP LaserJet 1300"
      Attribute "NickName" "" "HP LaserJet 1300 pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 1300"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 1300;DES:hp laserjet 1300;"
      PCFileName "hp-laserjet_1300-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet 1300 Printer)"
      Attribute "Product" "" "(HP LaserJet 1300t Printer)"
    }
    {
      ModelName "HP LaserJet 1300n"
      Attribute "NickName" "" "HP LaserJet 1300n pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 1300n"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 1300n;DES:hp laserjet 1300n;"
      PCFileName "hp-laserjet_1300n-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet 1300n Printer)"
    }
    {
      ModelName "HP LaserJet 1300xi"
      Attribute "NickName" "" "HP LaserJet 1300xi pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 1300xi"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 1300xi;DES:hp laserjet 1300xi;"
      PCFileName "hp-laserjet_1300xi-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet 1300xi Printer)"
    }
    {
      ModelName "HP LaserJet 1320 Series"
      Attribute "NickName" "" "HP LaserJet 1320 Series pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 1320 Series"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 1320 series;DES:hp laserjet 1320 series;"
      PCFileName "hp-laserjet_1320_series-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet 1320 Series Printer)"
    }
    {
      ModelName "HP LaserJet 1320n"
      Attribute "NickName" "" "HP LaserJet 1320n, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 1320n"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 1320n;DES:hp laserjet 1320n;"
      PCFileName "hp-laserjet_1320n.ppd"
      Attribute "Product" "" "(HP LaserJet 1320n Printer)"
    }
    {
      ModelName "HP LaserJet 1320tn"
      Attribute "NickName" "" "HP LaserJet 1320tn, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 1320tn"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 1320tn;DES:hp laserjet 1320tn;"
      PCFileName "hp-laserjet_1320tn.ppd"
      Attribute "Product" "" "(HP LaserJet 1320tn Printer)"
    }
    {
      ModelName "HP LaserJet 1320"
      Attribute "NickName" "" "HP LaserJet 1320, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 1320"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 1320;DES:hp laserjet 1320;"
      PCFileName "hp-laserjet_1320.ppd"
      Attribute "Product" "" "(HP LaserJet 1320 Printer)"
      Attribute "Product" "" "(HP LaserJet 1320t Printer)"
    }
    {
      ModelName "HP LaserJet 1320nw"
      Attribute "NickName" "" "HP LaserJet 1320nw, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 1320nw"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 1320nw;DES:hp laserjet 1320nw;"
      PCFileName "hp-laserjet_1320nw.ppd"
      Attribute "Product" "" "(HP LaserJet 1320nw Printer)"
    }
    {
      ModelName "HP LaserJet p1505n"
      Attribute "NickName" "" "HP LaserJet p1505n pcl3, hpcups $Version, requires proprietary plugin"
      Attribute "ShortNickName" "" "HP LaserJet p1505n"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet p1505n;DES:hp laserjet p1505n;"
      PCFileName "hp-laserjet_p1505n-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet p1505n Printer)"
    }
    {
      ModelName "HP LaserJet m1522nf MFP"
      Attribute "NickName" "" "HP LaserJet m1522nf MFP pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet m1522nf MFP"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet m1522nf mfp;DES:hp laserjet m1522nf mfp;"
      PCFileName "hp-laserjet_m1522nf_mfp-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet m1522nf Multifunction Printer)"
    }
    {
      ModelName "HP LaserJet m1537dnf MFP"
      Attribute "NickName" "" "HP LaserJet m1537dnf MFP pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet m1537dnf MFP"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet m1537dnf mfp;DES:hp laserjet m1537dnf mfp;"
      PCFileName "hp-laserjet_m1537dnf_mfp-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet m1537dnf MFP)"
    }
    {
      ModelName "HP LaserJet m1538dnf MFP"
      Attribute "NickName" "" "HP LaserJet m1538dnf MFP pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet m1538dnf MFP"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet m1538dnf mfp;DES:hp laserjet m1538dnf mfp;"
      PCFileName "hp-laserjet_m1538dnf_mfp-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet m1538dnf MFP)"
    }
    {
      ModelName "HP LaserJet m1539dnf MFP"
      Attribute "NickName" "" "HP LaserJet m1539dnf MFP pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet m1539dnf MFP"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet m1539dnf mfp;DES:hp laserjet m1539dnf mfp;"
      PCFileName "hp-laserjet_m1539dnf_mfp-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet m1539dnf MFP)"
    }
    {
      ModelName "HP LaserJet p2014"
      Attribute "NickName" "" "HP LaserJet p2014 pcl3, hpcups $Version, requires proprietary plugin"
      Attribute "ShortNickName" "" "HP LaserJet p2014"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet p2014;DES:hp laserjet p2014;"
      PCFileName "hp-laserjet_p2014-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet p2014 Printer)"
    }
    {
      ModelName "HP LaserJet p2014n"
      Attribute "NickName" "" "HP LaserJet p2014n pcl3, hpcups $Version, requires proprietary plugin"
      Attribute "ShortNickName" "" "HP LaserJet p2014n"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet p2014n;DES:hp laserjet p2014n;"
      PCFileName "hp-laserjet_p2014n-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet p2014n Printer)"
    }
    {
      ModelName "HP LaserJet p2015dn Series"
      Attribute "NickName" "" "HP LaserJet p2015dn Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet p2015dn Series"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet p2015dn series;DES:hp laserjet p2015dn series;"
      PCFileName "hp-laserjet_p2015dn_series.ppd"
      Attribute "Product" "" "(HP LaserJet p2015dn Printer)"
    }
    {
      ModelName "HP LaserJet p2015x Series"
      Attribute "NickName" "" "HP LaserJet p2015x Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet p2015x Series"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet p2015x series;DES:hp laserjet p2015x series;"
      PCFileName "hp-laserjet_p2015x_series.ppd"
      Attribute "Product" "" "(HP LaserJet p2015x Printer)"
    }
    {
      ModelName "HP LaserJet p2015d Series"
      Attribute "NickName" "" "HP LaserJet p2015d Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet p2015d Series"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet p2015d series;DES:hp laserjet p2015d series;"
      PCFileName "hp-laserjet_p2015d_series.ppd"
      Attribute "Product" "" "(HP LaserJet p2015d Printer)"
    }
    {
      ModelName "HP LaserJet p2015 Series"
      Attribute "NickName" "" "HP LaserJet p2015 Series pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet p2015 Series"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet p2015 series;DES:hp laserjet p2015 series;"
      PCFileName "hp-laserjet_p2015_series-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet p2015 Printer)"
    }
    {
      ModelName "HP LaserJet p2015n Series"
      Attribute "NickName" "" "HP LaserJet p2015n Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet p2015n Series"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet p2015n series;DES:hp laserjet p2015n series;"
      PCFileName "hp-laserjet_p2015n_series.ppd"
      Attribute "Product" "" "(HP LaserJet p2015n Printer)"
    }
    {
      ModelName "HP LaserJet p2035n"
      Attribute "NickName" "" "HP LaserJet p2035n pcl3, hpcups $Version, requires proprietary plugin"
      Attribute "ShortNickName" "" "HP LaserJet p2035n"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet p2035n;DES:hp laserjet p2035n;"
      PCFileName "hp-laserjet_p2035n-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet p2035n Printer)"
    }
    {
      ModelName "HP LaserJet p2035"
      Attribute "NickName" "" "HP LaserJet p2035 pcl3, hpcups $Version, requires proprietary plugin"
      Attribute "ShortNickName" "" "HP LaserJet p2035"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet p2035;DES:hp laserjet p2035;"
      PCFileName "hp-laserjet_p2035-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet p2035 Printer)"
    }
    {
      ModelName "HP LaserJet p2055dn"
      Attribute "NickName" "" "HP LaserJet p2055dn pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet p2055dn"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet p2055dn;DES:hp laserjet p2055dn;"
      PCFileName "hp-laserjet_p2055dn-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet p2055dn Printer)"
    }
    {
      ModelName "HP LaserJet p2055"
      Attribute "NickName" "" "HP LaserJet p2055 pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet p2055"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet p2055;DES:hp laserjet p2055;"
      PCFileName "hp-laserjet_p2055-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet p2055 Printer)"
    }
    {
      ModelName "HP LaserJet p2055d"
      Attribute "NickName" "" "HP LaserJet p2055d pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet p2055d"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet p2055d;DES:hp laserjet p2055d;"
      PCFileName "hp-laserjet_p2055d-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet p2055d Printer)"
    }
    {
      ModelName "HP LaserJet p2055x"
      Attribute "NickName" "" "HP LaserJet p2055x pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet p2055x"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet p2055x;DES:hp laserjet p2055x;"
      PCFileName "hp-laserjet_p2055x-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet p2055x Printer)"
    }
    {
      ModelName "HP LaserJet 2100 Series"
      Attribute "NickName" "" "HP LaserJet 2100 Series pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 2100 Series"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 2100 series;DES:hp laserjet 2100 series;"
      PCFileName "hp-laserjet_2100_series-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet 2100 Series Printer)"
    }
    {
      ModelName "HP LaserJet 2200 Series"
      Attribute "NickName" "" "HP LaserJet 2200 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 2200 Series"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 2200 series;DES:hp laserjet 2200 series;"
      PCFileName "hp-laserjet_2200_series.ppd"
      Attribute "Product" "" "(HP LaserJet 2200 Series Printer)"
      Attribute "Product" "" "(HP LaserJet 2200 Printer)"
      Attribute "Product" "" "(HP LaserJet 2200dn Printer)"
      Attribute "Product" "" "(HP LaserJet 2200dt Printer)"
      Attribute "Product" "" "(HP LaserJet 2200dse Printer)"
      Attribute "Product" "" "(HP LaserJet 2200tn Printer)"
      Attribute "Product" "" "(HP LaserJet 2200d Printer)"
    }
    {
      ModelName "HP LaserJet 2300 Series"
      Attribute "NickName" "" "HP LaserJet 2300 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 2300 Series"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 2300 series;DES:hp laserjet 2300 series;"
      PCFileName "hp-laserjet_2300_series.ppd"
      Attribute "Product" "" "(HP LaserJet 2300 Series Printer)"
      Attribute "Product" "" "(HP LaserJet 2300 Printer)"
      Attribute "Product" "" "(HP LaserJet 2300n Printer)"
      Attribute "Product" "" "(HP LaserJet 2300d Printer)"
      Attribute "Product" "" "(HP LaserJet 2300dn Printer)"
      Attribute "Product" "" "(HP LaserJet 2300dtn Printer)"
      Attribute "Product" "" "(HP LaserJet 2300l Printer)"
    }
    {
      ModelName "HP LaserJet 2410"
      Attribute "NickName" "" "HP LaserJet 2410 pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 2410"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 2410;DES:hp laserjet 2410;"
      PCFileName "hp-laserjet_2410-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet 2410 Printer)"
    }
    {
      ModelName "HP LaserJet 2420"
      Attribute "NickName" "" "HP LaserJet 2420 pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 2420"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 2420;DES:hp laserjet 2420;"
      PCFileName "hp-laserjet_2420-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet 2420 Printer)"
      Attribute "Product" "" "(HP LaserJet 2420d Printer)"
      Attribute "Product" "" "(HP LaserJet 2420dn Printer)"
      Attribute "Product" "" "(HP LaserJet 2420n Printer)"
    }
    {
      ModelName "HP LaserJet 2430"
      Attribute "NickName" "" "HP LaserJet 2430 pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 2430"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 2430;DES:hp laserjet 2430;"
      PCFileName "hp-laserjet_2430-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet 2430t Printer)"
      Attribute "Product" "" "(HP LaserJet 2430 Printer)"
      Attribute "Product" "" "(HP LaserJet 2430dtn Printer)"
      Attribute "Product" "" "(HP LaserJet 2430n Printer)"
      Attribute "Product" "" "(HP LaserJet 2430tn Printer)"
    }
    {
      ModelName "HP LaserJet m2727 MFP"
      Attribute "NickName" "" "HP LaserJet m2727 MFP pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet m2727 MFP"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet m2727 mfp;DES:hp laserjet m2727 mfp;"
      PCFileName "hp-laserjet_m2727_mfp-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet m2727 Multifunction Printer)"
    }
    {
      ModelName "HP LaserJet p3004"
      Attribute "NickName" "" "HP LaserJet p3004 pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet p3004"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet p3004;DES:hp laserjet p3004;"
      PCFileName "hp-laserjet_p3004-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet p3004 Printer)"
    }
    {
      ModelName "HP LaserJet p3005"
      Attribute "NickName" "" "HP LaserJet p3005 pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet p3005"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet p3005;DES:hp laserjet p3005;"
      PCFileName "hp-laserjet_p3005-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet p3005 Printer)"
      Attribute "Product" "" "(HP LaserJet p3005d Printer)"
      Attribute "Product" "" "(HP LaserJet p3005dn Printer)"
      Attribute "Product" "" "(HP LaserJet p3005n Printer)"
      Attribute "Product" "" "(HP LaserJet p3005x Printer)"
      Attribute "Product" "" "(HP LaserJet p3005dtn Printer)"
    }
    {
      ModelName "HP LaserJet p3010 Series"
      Attribute "NickName" "" "HP LaserJet p3010 Series pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet p3010 Series"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet p3010 series;DES:hp laserjet p3010 series;"
      PCFileName "hp-laserjet_p3010_series-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet p3015 Printer)"
      Attribute "Product" "" "(HP LaserJet p3011 Printer)"
    }
    {
      ModelName "HP LaserJet 3015"
      Attribute "NickName" "" "HP LaserJet 3015 pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 3015"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 3015;DES:hp laserjet 3015;"
      PCFileName "hp-laserjet_3015-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet 3015 All-in-one Printer)"
    }
    {
      ModelName "HP LaserJet 3020"
      Attribute "NickName" "" "HP LaserJet 3020 pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 3020"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 3020;DES:hp laserjet 3020;"
      PCFileName "hp-laserjet_3020-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet 3020 All-in-one Printer)"
    }
    {
      ModelName "HP LaserJet m3027 MFP"
      Attribute "NickName" "" "HP LaserJet m3027 MFP pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet m3027 MFP"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet m3027 mfp;DES:hp laserjet m3027 mfp;"
      PCFileName "hp-laserjet_m3027_mfp-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet m3027 Multifunction Printer)"
      Attribute "Product" "" "(HP LaserJet m3027x Multifunction Printer)"
    }
    {
      ModelName "HP LaserJet 3030"
      Attribute "NickName" "" "HP LaserJet 3030 pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 3030"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 3030;DES:hp laserjet 3030;"
      PCFileName "hp-laserjet_3030-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet 3030 All-in-one Printer)"
    }
    {
      ModelName "HP LaserJet 3050"
      Attribute "NickName" "" "HP LaserJet 3050 pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 3050"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 3050;DES:hp laserjet 3050;"
      PCFileName "hp-laserjet_3050-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet 3050 All-in-one Printer)"
      Attribute "Product" "" "(HP LaserJet 3050z All-in-one Printer)"
    }
    {
      ModelName "HP LaserJet 3052"
      Attribute "NickName" "" "HP LaserJet 3052 pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 3052"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 3052;DES:hp laserjet 3052;"
      PCFileName "hp-laserjet_3052-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet 3052 All-in-one Printer)"
    }
    {
      ModelName "HP LaserJet 3055"
      Attribute "NickName" "" "HP LaserJet 3055, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 3055"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 3055;DES:hp laserjet 3055;"
      PCFileName "hp-laserjet_3055.ppd"
      Attribute "Product" "" "(HP LaserJet 3055 All-in-one Printer)"
    }
    {
      ModelName "HP LaserJet 3100"
      Attribute "NickName" "" "HP LaserJet 3100, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 3100"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 3100;DES:hp laserjet 3100;"
      PCFileName "hp-laserjet_3100.ppd"
      Attribute "Product" "" "(HP LaserJet 3100 All-in-one Printer)"
      Attribute "Product" "" "(HP LaserJet 3100se All-in-one Printer)"
      Attribute "Product" "" "(HP LaserJet 3100xi All-in-one Printer)"
    }
    {
      ModelName "HP LaserJet 3150"
      Attribute "NickName" "" "HP LaserJet 3150, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 3150"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 3150;DES:hp laserjet 3150;"
      PCFileName "hp-laserjet_3150.ppd"
      Attribute "Product" "" "(HP LaserJet 3150xi All-in-one Printer)"
      Attribute "Product" "" "(HP LaserJet 3150se All-in-one Printer)"
      Attribute "Product" "" "(HP LaserJet 3150 All-in-one Printer)"
    }
    {
      ModelName "HP LaserJet 3200"
      Attribute "NickName" "" "HP LaserJet 3200, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 3200"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 3200;DES:hp laserjet 3200;"
      PCFileName "hp-laserjet_3200.ppd"
      Attribute "Product" "" "(HP LaserJet 3200 All-in-one Printer)"
      Attribute "Product" "" "(HP LaserJet 3200se All-in-one Printer)"
    }
    {
      ModelName "HP LaserJet 3300 3310 3320"
      Attribute "NickName" "" "HP LaserJet 3300 3310 3320 pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 3300 3310 3320"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 3300 3310 3320;DES:hp laserjet 3300 3310 3320;"
      PCFileName "hp-laserjet_3300_3310_3320-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet 3300 Multifunction Printer)"
      Attribute "Product" "" "(HP LaserJet 3310 Digital Printer Copier)"
      Attribute "Product" "" "(HP LaserJet 3320n Multifunction Printer)"
      Attribute "Product" "" "(HP LaserJet 3320 Multifunction Printer)"
    }
    {
      ModelName "HP LaserJet 3330"
      Attribute "NickName" "" "HP LaserJet 3330, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 3330"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 3330;DES:hp laserjet 3330;"
      PCFileName "hp-laserjet_3330.ppd"
      Attribute "Product" "" "(HP LaserJet 3330 Multifunction Printer)"
    }
    {
      ModelName "HP LaserJet 3380"
      Attribute "NickName" "" "HP LaserJet 3380 pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 3380"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 3380;DES:hp laserjet 3380;"
      PCFileName "hp-laserjet_3380-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet 3380 All-in-one Printer)"
    }
    {
      ModelName "HP LaserJet 3390"
      Attribute "NickName" "" "HP LaserJet 3390 pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 3390"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 3390;DES:hp laserjet 3390;"
      PCFileName "hp-laserjet_3390-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet 3390 All-in-one Printer)"
    }
    {
      ModelName "HP LaserJet 3392"
      Attribute "NickName" "" "HP LaserJet 3392, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 3392"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 3392;DES:hp laserjet 3392;"
      PCFileName "hp-laserjet_3392.ppd"
      Attribute "Product" "" "(HP LaserJet 3392 All-in-one Printer)"
    }
    {
      ModelName "HP LaserJet 4mp"
      Attribute "NickName" "" "HP LaserJet 4mp pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 4mp"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 4mp;DES:hp laserjet 4mp;"
      PCFileName "hp-laserjet_4mp-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet 4mp Printer)"
    }
    {
      ModelName "HP LaserJet 4 Plus"
      Attribute "NickName" "" "HP LaserJet 4 Plus pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 4 Plus"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 4 plus;DES:hp laserjet 4 plus;"
      PCFileName "hp-laserjet_4_plus-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet 4 Plus Printer)"
      Attribute "Product" "" "(HP LaserJet 4m Plus Printer)"
    }
    {
      ModelName "HP LaserJet 4v"
      Attribute "NickName" "" "HP LaserJet 4v pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 4v"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 4v;DES:hp laserjet 4v;"
      PCFileName "hp-laserjet_4v-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet 4v Printer)"
    }
    {
      ModelName "HP LaserJet 4si"
      Attribute "NickName" "" "HP LaserJet 4si pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 4si"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 4si;DES:hp laserjet 4si;"
      PCFileName "hp-laserjet_4si-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet 4si Printer)"
      Attribute "Product" "" "(HP LaserJet 4si Mx Printer)"
    }
    {
      ModelName "HP LaserJet 4000 Series"
      Attribute "NickName" "" "HP LaserJet 4000 Series pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 4000 Series"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 4000 series;DES:hp laserjet 4000 series;"
      PCFileName "hp-laserjet_4000_series-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet 4000 Printer)"
      Attribute "Product" "" "(HP LaserJet 4000n Printer)"
      Attribute "Product" "" "(HP LaserJet 4000se Printer)"
      Attribute "Product" "" "(HP LaserJet 4000t Printer)"
      Attribute "Product" "" "(HP LaserJet 4000tn Printer)"
    }
    {
      ModelName "HP LaserJet p4014dn"
      Attribute "NickName" "" "HP LaserJet p4014dn, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet p4014dn"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet p4014dn;DES:hp laserjet p4014dn;"
      PCFileName "hp-laserjet_p4014dn.ppd"
      Attribute "Product" "" "(HP LaserJet p4014dn Printer)"
    }
    {
      ModelName "HP LaserJet p4014"
      Attribute "NickName" "" "HP LaserJet p4014, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet p4014"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet p4014;DES:hp laserjet p4014;"
      PCFileName "hp-laserjet_p4014.ppd"
      Attribute "Product" "" "(HP LaserJet p4014 Printer)"
    }
    {
      ModelName "HP LaserJet p4014n"
      Attribute "NickName" "" "HP LaserJet p4014n, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet p4014n"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet p4014n;DES:hp laserjet p4014n;"
      PCFileName "hp-laserjet_p4014n.ppd"
      Attribute "Product" "" "(HP LaserJet p4014n Printer)"
    }
    {
      ModelName "HP LaserJet p4015tn"
      Attribute "NickName" "" "HP LaserJet p4015tn, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet p4015tn"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet p4015tn;DES:hp laserjet p4015tn;"
      PCFileName "hp-laserjet_p4015tn.ppd"
      Attribute "Product" "" "(HP LaserJet p4015tn Printer)"
    }
    {
      ModelName "HP LaserJet p4015"
      Attribute "NickName" "" "HP LaserJet p4015, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet p4015"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet p4015;DES:hp laserjet p4015;"
      PCFileName "hp-laserjet_p4015.ppd"
      Attribute "Product" "" "(HP LaserJet p4015 Printer)"
    }
    {
      ModelName "HP LaserJet p4015x"
      Attribute "NickName" "" "HP LaserJet p4015x, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet p4015x"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet p4015x;DES:hp laserjet p4015x;"
      PCFileName "hp-laserjet_p4015x.ppd"
      Attribute "Product" "" "(HP LaserJet p4015x Printer)"
    }
    {
      ModelName "HP LaserJet p4015n"
      Attribute "NickName" "" "HP LaserJet p4015n, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet p4015n"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet p4015n;DES:hp laserjet p4015n;"
      PCFileName "hp-laserjet_p4015n.ppd"
      Attribute "Product" "" "(HP LaserJet p4015n Printer)"
    }
    {
      ModelName "HP LaserJet p4015dn"
      Attribute "NickName" "" "HP LaserJet p4015dn, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet p4015dn"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet p4015dn;DES:hp laserjet p4015dn;"
      PCFileName "hp-laserjet_p4015dn.ppd"
      Attribute "Product" "" "(HP LaserJet p4015dn Printer)"
    }
    {
      ModelName "HP LaserJet 4050 Series"
      Attribute "NickName" "" "HP LaserJet 4050 Series pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 4050 Series"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 4050 series;DES:hp laserjet 4050 series;"
      PCFileName "hp-laserjet_4050_series-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet 4050 Printer)"
      Attribute "Product" "" "(HP LaserJet 4050n Printer)"
      Attribute "Product" "" "(HP LaserJet 4050se Printer)"
      Attribute "Product" "" "(HP LaserJet 4050t Printer)"
      Attribute "Product" "" "(HP LaserJet 4050tn Printer)"
    }
    {
      ModelName "HP LaserJet 4100 MFP"
      Attribute "NickName" "" "HP LaserJet 4100 MFP pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 4100 MFP"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 4100 mfp;DES:hp laserjet 4100 mfp;"
      PCFileName "hp-laserjet_4100_mfp-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet 4100 Multifunction Printer)"
      Attribute "Product" "" "(HP LaserJet 4101 Multifunction Printer)"
    }
    {
      ModelName "HP LaserJet 4100 Series"
      Attribute "NickName" "" "HP LaserJet 4100 Series pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 4100 Series"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 4100 series;DES:hp laserjet 4100 series;"
      PCFileName "hp-laserjet_4100_series-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet 410dtn Printer)"
      Attribute "Product" "" "(HP LaserJet 4100tn Printer)"
      Attribute "Product" "" "(HP LaserJet 4100n Printer)"
      Attribute "Product" "" "(HP LaserJet 4100 Printer)"
    }
    {
      ModelName "HP LaserJet 4150 Series"
      Attribute "NickName" "" "HP LaserJet 4150 Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 4150 Series"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 4150 series;DES:hp laserjet 4150 series;"
      PCFileName "hp-laserjet_4150_series.ppd"
      Attribute "Product" "" "(HP LaserJet 4150 Printer)"
    }
    {
      ModelName "HP LaserJet 4200"
      Attribute "NickName" "" "HP LaserJet 4200 pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 4200"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 4200;DES:hp laserjet 4200;"
      PCFileName "hp-laserjet_4200-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet 4200 Printer)"
      Attribute "Product" "" "(HP LaserJet 4200l Printer)"
      Attribute "Product" "" "(HP LaserJet 4200ln Printer)"
      Attribute "Product" "" "(HP LaserJet 4200lvn Printer)"
      Attribute "Product" "" "(HP LaserJet 4200dtn Printer)"
      Attribute "Product" "" "(HP LaserJet 4200dtns Printer)"
      Attribute "Product" "" "(HP LaserJet 4200dtnsl Printer)"
      Attribute "Product" "" "(HP LaserJet 4200n Printer)"
      Attribute "Product" "" "(HP LaserJet 4200tn Printer)"
    }
    {
      ModelName "HP LaserJet 4240"
      Attribute "NickName" "" "HP LaserJet 4240 pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 4240"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 4240;DES:hp laserjet 4240;"
      PCFileName "hp-laserjet_4240-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet 4240n Printer)"
      Attribute "Product" "" "(HP LaserJet 4240 Printer)"
    }
    {
      ModelName "HP LaserJet 4250"
      Attribute "NickName" "" "HP LaserJet 4250 pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 4250"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 4250;DES:hp laserjet 4250;"
      PCFileName "hp-laserjet_4250-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet 4250 Printer)"
      Attribute "Product" "" "(HP LaserJet 4250dtn Printer)"
      Attribute "Product" "" "(HP LaserJet 4250dtnsl Printer)"
      Attribute "Product" "" "(HP LaserJet 4250n Printer)"
      Attribute "Product" "" "(HP LaserJet 4250tn Printer)"
    }
    {
      ModelName "HP LaserJet 4300"
      Attribute "NickName" "" "HP LaserJet 4300 pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 4300"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 4300;DES:hp laserjet 4300;"
      PCFileName "hp-laserjet_4300-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet 4300 Printer)"
      Attribute "Product" "" "(HP LaserJet 4300dtn Printer)"
      Attribute "Product" "" "(HP LaserJet 4300dtns Printer)"
      Attribute "Product" "" "(HP LaserJet 4300dtnsl Printer)"
      Attribute "Product" "" "(HP LaserJet 4300n Printer)"
      Attribute "Product" "" "(HP LaserJet 4300tn Printer)"
    }
    {
      ModelName "HP LaserJet 4345 MFP"
      Attribute "NickName" "" "HP LaserJet 4345 MFP pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 4345 MFP"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 4345 mfp;DES:hp laserjet 4345 mfp;"
      PCFileName "hp-laserjet_4345_mfp-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet 4345 Multifunction Printer)"
      Attribute "Product" "" "(HP LaserJet 4345x Multifunction Printer)"
      Attribute "Product" "" "(HP LaserJet 4345xs Multifunction Printer)"
      Attribute "Product" "" "(HP LaserJet 4345xm Multifunction Printer)"
    }
    {
      ModelName "HP LaserJet m4345 MFP"
      Attribute "NickName" "" "HP LaserJet m4345 MFP pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet m4345 MFP"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet m4345 mfp;DES:hp laserjet m4345 mfp;"
      PCFileName "hp-laserjet_m4345_mfp-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet m4345 Multifunction Printer)"
      Attribute "Product" "" "(HP LaserJet m4345x Multifunction Printer)"
      Attribute "Product" "" "(HP LaserJet m4345xs Multifunction Printer)"
      Attribute "Product" "" "(HP LaserJet m4345xm Multifunction Printer)"
    }
    {
      ModelName "HP LaserJet m4349 MFP"
      Attribute "NickName" "" "HP LaserJet m4349 MFP pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet m4349 MFP"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet m4349 mfp;DES:hp laserjet m4349 mfp;"
      PCFileName "hp-laserjet_m4349_mfp-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet m4349 MFP)"
    }
    {
      ModelName "HP LaserJet 4350"
      Attribute "NickName" "" "HP LaserJet 4350 pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 4350"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 4350;DES:hp laserjet 4350;"
      PCFileName "hp-laserjet_4350-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet 4350 Printer)"
      Attribute "Product" "" "(HP LaserJet 4350dtn Printer)"
      Attribute "Product" "" "(HP LaserJet 4350dtnsl Printer)"
      Attribute "Product" "" "(HP LaserJet 4350n Printer)"
      Attribute "Product" "" "(HP LaserJet 4350tn Printer)"
    }
    {
      ModelName "HP LaserJet p4515tn"
      Attribute "NickName" "" "HP LaserJet p4515tn, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet p4515tn"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet p4515tn;DES:hp laserjet p4515tn;"
      PCFileName "hp-laserjet_p4515tn.ppd"
      Attribute "Product" "" "(HP LaserJet p4515tn Printer)"
    }
    {
      ModelName "HP LaserJet p4515n"
      Attribute "NickName" "" "HP LaserJet p4515n, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet p4515n"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet p4515n;DES:hp laserjet p4515n;"
      PCFileName "hp-laserjet_p4515n.ppd"
      Attribute "Product" "" "(HP LaserJet p4515n Printer)"
    }
    {
      ModelName "HP LaserJet p4515xm"
      Attribute "NickName" "" "HP LaserJet p4515xm, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet p4515xm"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet p4515xm;DES:hp laserjet p4515xm;"
      PCFileName "hp-laserjet_p4515xm.ppd"
      Attribute "Product" "" "(HP LaserJet p4515xm Printer)"
    }
    {
      ModelName "HP LaserJet p4515"
      Attribute "NickName" "" "HP LaserJet p4515, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet p4515"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet p4515;DES:hp laserjet p4515;"
      PCFileName "hp-laserjet_p4515.ppd"
      Attribute "Product" "" "(HP LaserJet p4515 Printer)"
    }
    {
      ModelName "HP LaserJet p4515x"
      Attribute "NickName" "" "HP LaserJet p4515x, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet p4515x"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet p4515x;DES:hp laserjet p4515x;"
      PCFileName "hp-laserjet_p4515x.ppd"
      Attribute "Product" "" "(HP LaserJet p4515x Printer)"
    }
    {
      ModelName "HP LaserJet 5l"
      Attribute "NickName" "" "HP LaserJet 5l, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 5l"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 5l;DES:hp laserjet 5l;"
      PCFileName "hp-laserjet_5l.ppd"
      Attribute "Product" "" "(HP LaserJet 5l Printer)"
      Attribute "Product" "" "(HP LaserJet 5l-fs Printer)"
      Attribute "Product" "" "(HP LaserJet 5l Xtra Printer)"
    }
    {
      ModelName "HP LaserJet 5mp"
      Attribute "NickName" "" "HP LaserJet 5mp pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 5mp"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 5mp;DES:hp laserjet 5mp;"
      PCFileName "hp-laserjet_5mp-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet 5mp Printer)"
    }
    {
      ModelName "HP LaserJet 5p"
      Attribute "NickName" "" "HP LaserJet 5p, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 5p"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 5p;DES:hp laserjet 5p;"
      PCFileName "hp-laserjet_5p.ppd"
      Attribute "Product" "" "(HP LaserJet 5p Printer)"
    }
    {
      ModelName "HP LaserJet 5000 Series"
      Attribute "NickName" "" "HP LaserJet 5000 Series pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 5000 Series"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 5000 series;DES:hp laserjet 5000 series;"
      PCFileName "hp-laserjet_5000_series-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet 5000 Series Printer)"
      Attribute "Product" "" "(HP LaserJet 5000 Printer)"
      Attribute "Product" "" "(HP LaserJet 5000le Printer)"
      Attribute "Product" "" "(HP LaserJet 5000dn Printer)"
      Attribute "Product" "" "(HP LaserJet 5000gn Printer)"
      Attribute "Product" "" "(HP LaserJet 5000n Printer)"
    }
    {
      ModelName "HP LaserJet 5200lx"
      Attribute "NickName" "" "HP LaserJet 5200lx, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 5200lx"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 5200lx;DES:hp laserjet 5200lx;"
      PCFileName "hp-laserjet_5200lx.ppd"
      Attribute "Product" "" "(HP LaserJet 5200lx Printer)"
    }
    {
      ModelName "HP LaserJet 6l"
      Attribute "NickName" "" "HP LaserJet 6l, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 6l"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 6l;DES:hp laserjet 6l;"
      PCFileName "hp-laserjet_6l.ppd"
      Attribute "Product" "" "(HP LaserJet 6l Printer)"
      Attribute "Product" "" "(HP LaserJet 6lse Printer)"
      Attribute "Product" "" "(HP LaserJet 6lxi Printer)"
      Attribute "Product" "" "(HP LaserJet 6l Gold Printer)"
      Attribute "Product" "" "(HP LaserJet 6l Pro Printer)"
    }
    {
      ModelName "HP LaserJet 6p"
      Attribute "NickName" "" "HP LaserJet 6p, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 6p"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 6p;DES:hp laserjet 6p;"
      PCFileName "hp-laserjet_6p.ppd"
      Attribute "Product" "" "(HP LaserJet 6p Printer)"
    }
    {
      ModelName "HP LaserJet 6mp"
      Attribute "NickName" "" "HP LaserJet 6mp pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 6mp"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 6mp;DES:hp laserjet 6mp;"
      PCFileName "hp-laserjet_6mp-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet 6mp Printer)"
      Attribute "Product" "" "(HP LaserJet 6mp Se Printer)"
      Attribute "Product" "" "(HP LaserJet 6mp Xi Printer)"
    }
    {
      ModelName "HP LaserJet 8000 Series"
      Attribute "NickName" "" "HP LaserJet 8000 Series pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 8000 Series"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 8000 series;DES:hp laserjet 8000 series;"
      PCFileName "hp-laserjet_8000_series-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet 8000 Series Printer)"
      Attribute "Product" "" "(HP LaserJet 8000 Printer)"
      Attribute "Product" "" "(HP LaserJet 8000dn Printer)"
      Attribute "Product" "" "(HP LaserJet 8000n Printer)"
    }
    {
      ModelName "HP LaserJet 8100 MFP"
      Attribute "NickName" "" "HP LaserJet 8100 MFP, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 8100 MFP"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 8100 mfp;DES:hp laserjet 8100 mfp;"
      PCFileName "hp-laserjet_8100_mfp.ppd"
      Attribute "Product" "" "(HP LaserJet 8100 Multifunction Printer)"
    }
    {
      ModelName "HP LaserJet 8150 MFP"
      Attribute "NickName" "" "HP LaserJet 8150 MFP, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 8150 MFP"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 8150 mfp;DES:hp laserjet 8150 mfp;"
      PCFileName "hp-laserjet_8150_mfp.ppd"
      Attribute "Product" "" "(HP LaserJet 8150 Multifunction Printer)"
    }
    {
      ModelName "HP LaserJet m9040 MFP"
      Attribute "NickName" "" "HP LaserJet m9040 MFP pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet m9040 MFP"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet m9040 mfp;DES:hp laserjet m9040 mfp;"
      PCFileName "hp-laserjet_m9040_mfp-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet m9040 Multifunction Printer)"
    }
    {
      ModelName "HP LaserJet m9050 MFP"
      Attribute "NickName" "" "HP LaserJet m9050 MFP pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet m9050 MFP"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet m9050 mfp;DES:hp laserjet m9050 mfp;"
      PCFileName "hp-laserjet_m9050_mfp-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet m9050 Multifunction Printer)"
    }
    {
      ModelName "HP LaserJet m9059 MFP"
      Attribute "NickName" "" "HP LaserJet m9059 MFP pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet m9059 MFP"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet m9059 mfp;DES:hp laserjet m9059 mfp;"
      PCFileName "hp-laserjet_m9059_mfp-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet m9059 MFP)"
    }
    {
      UIConstraints "*OutputMode Best *MediaType"
      // <%LJMono:300dpiOnly%>
      {
        ModelName "HP LaserJet 4ml"
        Attribute "NickName" "" "HP LaserJet 4ml, hpcups $Version"
        Attribute "ShortNickName" "" "HP LaserJet 4ml"
        Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 4ml;DES:hp laserjet 4ml;"
        PCFileName "hp-laserjet_4ml.ppd"
        Attribute "Product" "" "(HP LaserJet 4ml Printer)"
      }
      {
        ModelName "HP LaserJet 4l"
        Attribute "NickName" "" "HP LaserJet 4l, hpcups $Version"
        Attribute "ShortNickName" "" "HP LaserJet 4l"
        Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 4l;DES:hp laserjet 4l;"
        PCFileName "hp-laserjet_4l.ppd"
        Attribute "Product" "" "(HP LaserJet 4l Printer)"
        Attribute "Product" "" "(HP LaserJet 4l Pro Printer)"
        Attribute "Product" "" "(HP LaserJet 4lc Printer)"
      }
    }
  } // End Supported media sizes.

  {
// Large
  CustomMedia "SuperB/SuperB 13x19in" 936 1368 18 14 18 14 "<</cupsInteger0 16/PageSize[936 1368]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 16/PageSize[936 1368]/ImagingBBox null>>setpagedevice"
  CustomMedia "B4/B4 257x364mm" 729 1033 18 14 18 14 "<</cupsInteger0 46/PageSize[729 1033]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 46/PageSize[729 1033]/ImagingBBox null>>setpagedevice"
  CustomMedia "8k/8k 10.75x15.5in" 774 1116 18 14 18 14 "<</cupsInteger0 101/PageSize[774 1116]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[774 1116]/ImagingBBox null>>setpagedevice"          // custom
  CustomMedia "Ledger/Ledger 11x17in" 792 1224 18 14 18 14 "<</cupsInteger0 6/PageSize[792 1224]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 6/PageSize[792 1224]/ImagingBBox null>>setpagedevice"
  CustomMedia "A3/A3 297x420mm" 842 1190 18 14 18 14 "<</cupsInteger0 27/PageSize[842 1190]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 27/PageSize[842 1190]/ImagingBBox null>>setpagedevice"

    // Custom page sizes from 1x4in to SuperB
    HWMargins 18 14 18 14
    VariablePaperSize Yes
    MinSize 1in 4in
    MaxSize 936 1368

    // <%LJMono:LargeFormatA3%>
    {
      ModelName "HP Mopier 240"
      Attribute "NickName" "" "HP Mopier 240 pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP Mopier 240"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:hp mopier 240;DES:hp mopier 240;"
      PCFileName "hp-mopier_240-pcl3.ppd"
      Attribute "Product" "" "(HP Mopier 240 Printer)"
    }
    {
      ModelName "HP LaserJet m3035 MFP"
      Attribute "NickName" "" "HP LaserJet m3035 MFP pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet m3035 MFP"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet m3035 mfp;DES:hp laserjet m3035 mfp;"
      PCFileName "hp-laserjet_m3035_mfp-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet m3035 Multifunction Printer)"
      Attribute "Product" "" "(HP LaserJet m3035xs Multifunction Printer)"
    }
    {
      ModelName "HP Mopier 320"
      Attribute "NickName" "" "HP Mopier 320 pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP Mopier 320"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:hp mopier 320;DES:hp mopier 320;"
      PCFileName "hp-mopier_320-pcl3.ppd"
      Attribute "Product" "" "(HP Mopier 320 Printer)"
    }
    {
      ModelName "HP LaserJet 5si"
      Attribute "NickName" "" "HP LaserJet 5si pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 5si"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 5si;DES:hp laserjet 5si;"
      PCFileName "hp-laserjet_5si-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet 5si Printer)"
      Attribute "Product" "" "(HP LaserJet 5si Hm Printer)"
      Attribute "Product" "" "(HP LaserJet 5si Mx Printer)"
      Attribute "Product" "" "(HP LaserJet 5si Nx Printer)"
    }
    {
      ModelName "HP LaserJet 5si Mopier"
      Attribute "NickName" "" "HP LaserJet 5si Mopier pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 5si Mopier"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 5si mopier;DES:hp laserjet 5si mopier;"
      PCFileName "hp-laserjet_5si_mopier-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet 5si Mopier)"
      Attribute "Product" "" "(HP LaserJet 5si Mopier Engine)"
    }
    {
      ModelName "HP LaserJet m5025 MFP"
      Attribute "NickName" "" "HP LaserJet m5025 MFP pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet m5025 MFP"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet m5025 mfp;DES:hp laserjet m5025 mfp;"
      PCFileName "hp-laserjet_m5025_mfp-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet m5025 Multifunction Printer)"
    }
    {
      ModelName "HP LaserJet m5035 MFP"
      Attribute "NickName" "" "HP LaserJet m5035 MFP pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet m5035 MFP"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet m5035 mfp;DES:hp laserjet m5035 mfp;"
      PCFileName "hp-laserjet_m5035_mfp-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet m5035 Multifunction Printer)"
      Attribute "Product" "" "(HP LaserJet m5035x Multifunction Printer)"
      Attribute "Product" "" "(HP LaserJet m5035xs Multifunction Printer)"
    }
    {
      ModelName "HP LaserJet m5039 MFP"
      Attribute "NickName" "" "HP LaserJet m5039 MFP pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet m5039 MFP"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet m5039 mfp;DES:hp laserjet m5039 mfp;"
      PCFileName "hp-laserjet_m5039_mfp-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet m5039 Multifunction Printer)"
    }
    {
      ModelName "HP LaserJet 5100 Series"
      Attribute "NickName" "" "HP LaserJet 5100 Series pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 5100 Series"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 5100 series;DES:hp laserjet 5100 series;"
      PCFileName "hp-laserjet_5100_series-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet 5100 Printer)"
      Attribute "Product" "" "(HP LaserJet 5100le Printer)"
      Attribute "Product" "" "(HP LaserJet 5100dtn Printer)"
      Attribute "Product" "" "(HP LaserJet 5100se Printer)"
      Attribute "Product" "" "(HP LaserJet 5100tn Printer)"
    }
    {
      ModelName "HP LaserJet 5200"
      Attribute "NickName" "" "HP LaserJet 5200 pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 5200"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 5200;DES:hp laserjet 5200;"
      PCFileName "hp-laserjet_5200-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet 5200 Printer)"
      Attribute "Product" "" "(HP LaserJet 5200n Printer)"
      Attribute "Product" "" "(HP LaserJet 5200tn Printer)"
      Attribute "Product" "" "(HP LaserJet 5200dtn Printer)"
    }
    {
      ModelName "HP LaserJet 5200l"
      Attribute "NickName" "" "HP LaserJet 5200l pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 5200l"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 5200l;DES:hp laserjet 5200l;"
      PCFileName "hp-laserjet_5200l-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet 5200l Printer)"
    }
    {
      ModelName "HP LaserJet 8100 Series"
      Attribute "NickName" "" "HP LaserJet 8100 Series pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 8100 Series"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 8100 series;DES:hp laserjet 8100 series;"
      PCFileName "hp-laserjet_8100_series-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet 8100 Printer)"
      Attribute "Product" "" "(HP LaserJet 8100dn Printer)"
      Attribute "Product" "" "(HP LaserJet 8100n Printer)"
    }
    {
      ModelName "HP LaserJet 8150 Series"
      Attribute "NickName" "" "HP LaserJet 8150 Series pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 8150 Series"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 8150 series;DES:hp laserjet 8150 series;"
      PCFileName "hp-laserjet_8150_series-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet 8150 Printer)"
      Attribute "Product" "" "(HP LaserJet 8150n Printer)"
      Attribute "Product" "" "(HP LaserJet 8150hn Printer)"
      Attribute "Product" "" "(HP LaserJet 8150dn Printer)"
    }
    {
      ModelName "HP LaserJet 9000 Series"
      Attribute "NickName" "" "HP LaserJet 9000 Series pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 9000 Series"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 9000 series;DES:hp laserjet 9000 series;"
      PCFileName "hp-laserjet_9000_series-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet 9000 Printer)"
      Attribute "Product" "" "(HP LaserJet 9000n Printer)"
      Attribute "Product" "" "(HP LaserJet 9000dn Printer)"
      Attribute "Product" "" "(HP LaserJet 9000hns Printer)"
      Attribute "Product" "" "(HP LaserJet 9000hnf Printer)"
    }
    {
      ModelName "HP LaserJet 9000 MFP"
      Attribute "NickName" "" "HP LaserJet 9000 MFP pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 9000 MFP"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 9000 mfp;DES:hp laserjet 9000 mfp;"
      PCFileName "hp-laserjet_9000_mfp-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet 9000 Multifunction Printer)"
      Attribute "Product" "" "(HP LaserJet 9000l Multifunction Printer)"
    }
    {
      ModelName "HP LaserJet 9040 MFP"
      Attribute "NickName" "" "HP LaserJet 9040 MFP pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 9040 MFP"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 9040 mfp;DES:hp laserjet 9040 mfp;"
      PCFileName "hp-laserjet_9040_mfp-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet 9040 Multifunction Printer)"
    }
    {
      ModelName "HP LaserJet 9040"
      Attribute "NickName" "" "HP LaserJet 9040 pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 9040"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 9040;DES:hp laserjet 9040;"
      PCFileName "hp-laserjet_9040-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet 9040 Printer)"
      Attribute "Product" "" "(HP LaserJet 9040n Printer)"
      Attribute "Product" "" "(HP LaserJet 9040dn Printer)"
    }
    {
      ModelName "HP LaserJet 9050"
      Attribute "NickName" "" "HP LaserJet 9050 pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 9050"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 9050;DES:hp laserjet 9050;"
      PCFileName "hp-laserjet_9050-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet 9050 Printer)"
      Attribute "Product" "" "(HP LaserJet 9050n Printer)"
      Attribute "Product" "" "(HP LaserJet 9050dn Printer)"
    }
    {
      ModelName "HP LaserJet 9050 MFP"
      Attribute "NickName" "" "HP LaserJet 9050 MFP pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 9050 MFP"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 9050 mfp;DES:hp laserjet 9050 mfp;"
      PCFileName "hp-laserjet_9050_mfp-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet 9050 Multifunction Printer)"
    }
    {
      ModelName "HP LaserJet 9055mfp"
      Attribute "NickName" "" "HP LaserJet 9055mfp pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 9055mfp"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 9055mfp;DES:hp laserjet 9055mfp;"
      PCFileName "hp-laserjet_9055mfp-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet 9055 Multifunction Printer)"
    }
    {
      ModelName "HP LaserJet 9065mfp"
      Attribute "NickName" "" "HP LaserJet 9065mfp pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 9065mfp"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 9065mfp;DES:hp laserjet 9065mfp;"
      PCFileName "hp-laserjet_9065mfp-pcl3.ppd"
      Attribute "Product" "" "(HP LaserJet 9065 Multifunction Printer)"
    }

  }  // End Large format media sizes.
} // End LJMono

////////////// LJColor
{
  Attribute "cupsEvenDuplex" "" "True"
  Attribute "hpPrinterLanguage" "" "ljcolor"

  Group "General/General"

  Option "Duplex/Double-Sided Printing" PickOne AnySetup 10.0
    Choice "DuplexNoTumble/Long Edge (Standard)" "<</Duplex true/Tumble false>>setpagedevice"
    Choice "DuplexTumble/Short Edge (Flip)" "<</Duplex true/Tumble true>>setpagedevice"
    *Choice "None/Off" "<</Duplex false/Tumble false>>setpagedevice"

  // cupsRowCount values map to PEN_TYPE + 1 from global_types.h
  Option "ColorModel/Output Mode" PickOne AnySetup 10.0
    Choice "Gray/Grayscale" "<</cupsColorSpace 3/cupsBitsPerColor 1/cupsRowCount 3/cupsRowStep 2>>setpagedevice"
    *Choice "RGB/Color" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowCount 3/cupsRowStep 0>>setpagedevice"

  // cupsMediaType values map to MEDIATYPE from global_types.h
  Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0>>setpagedevice"
    Choice "Glossy/Photo Paper" "<</MediaType(Glossy)/cupsMediaType 3>>setpagedevice"

  // cupsCompression values map to QUALITY_MODE from global_types.h
  Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "Normal/Normal" "<</OutputType(0)/HWResolution[300 300]>>setpagedevice"
    Choice "Draft/Draft" "<</OutputType(-1)/HWResolution[150 150]>>setpagedevice"
    Choice "Best/Best" "<</OutputType(1)/HWResolution[600 600]>>setpagedevice"

  // Duplexer is optional...
  Installable "OptionDuplex/Duplexer Installed"

  // Constraints
  //UIConstraints "*Duplex *OptionDuplex False"

  Attribute "cupsModelName" "" "hp color LaserJet"     // APDK device class

// 4x6 or smaller
  CustomMedia "Card3x5/Index Card 3x5in" 216 360 18.00 14.40 18.00 14.40 "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki/Hagaki 100x148mm" 284 420 18.00 14.40 18.00 14.40 "<</cupsInteger0 71/PageSize[284 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[284 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6/Photo 4x6in" 288 432 18.00 14.40 18.00 14.40 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6/A6 105x148mm" 297.36 419.76 18.00 14.40 18.00 14.40 "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"

// 5x7
  CustomMedia "Photo5x7/Photo 5x7in" 360 504 18.00 14.40 18.00 14.40 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card5x8/Index Card 5x8in" 360 576 18.00 14.40 18.00 14.40 "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku/Oufuku-Hagaki 148x200mm" 567 420 18.00 14.40 18.00 14.40 "<</cupsInteger0 72/PageSize[567 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[567 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5/A5 148x210mm" 419.76 595.44 18.00 14.40 18.00 14.40 "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"

// Standard
  CustomMedia "B5/B5 176x250mm" 498.96 708.48 18 14 18 14 "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5/JB5 182x257mm" 516.24 728.64 18 14 18 14 "<</cupsInteger0 45/PageSize[516.24 728.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive/Executive 7.25x10.5in" 522 756 18.00 14.40 18.00 14.40 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
  CustomMedia "16k/16k 7.75x10.75in" 558 774 18.00 14.40 18.00 14.40 "<</cupsInteger0 101/PageSize[558 774]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[558 774]/ImagingBBox null>>setpagedevice"   // custom
  *CustomMedia "Letter/Letter 8.5x11in" 612 792 18.00 14.40 18.00 14.40 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4/A4 210x297mm" 595.44 841.68 18.00 14.40 18.00 14.40 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
  CustomMedia "ExecutiveJIS/Executive (JIS) 8.5x12.986in" 612 936 18.00 14.40 18.00 14.40 "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "FLSA/American Foolscap 8.5x13in" 612 936 18.00 14.40 18.00 14.40 "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal/Legal 8.5x14in" 612 1008 18.00 14.40 18.00 14.40 "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"

// Envelope
  CustomMedia "EnvA2/A2 Envelope 4.37x5.75in" 314.64 414 18 14 18 14 "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.28 459.36 18.00 14.40 18.00 14.40 "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou4/#4 Japanese Envelope 90x205mm" 254.88 581.04 18 14 18 14 "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279 540 18.00 14.40 18.00 14.40 "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvDL/DL Envelope 110x220mm" 311.76 623.52 18.00 14.40 18.00 14.40 "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env10/#10 Envelope 4.12x9.5in" 297 684 18.00 14.40 18.00 14.40 "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 339.84 666 18 14 18 14 "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC5/C5 Envelope 162x229mm" 459 649 18.00 14.40 18.00 14.40 "<</cupsInteger0 91/PageSize[459 649]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 91/PageSize[459 649]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvB5/B5 Envelope 176x250mm" 499 709 18.00 14.40 18.00 14.40 "<</cupsInteger0 100/PageSize[499 709]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 100/PageSize[499 709]/ImagingBBox null>>setpagedevice"

  {
    // Custom page sizes from 1x4in to Legal
    HWMargins 18 14 18 14
    VariablePaperSize Yes
    MinSize 1in 4in
    MaxSize 8.5in 14in
    {
      // MediaPosition values map to MediaSource enumeration in global_types.h
      Option "InputSlot/Media Source" PickOne AnySetup 10.0
        *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"
        Choice "PhotoTray/Photo Tray" "<</MediaPosition 1>>setpagedevice"
        Choice "Upper/Upper Tray" "<</MediaPosition 1>>setpagedevice"
        Choice "Lower/Lower Tray" "<</MediaPosition 4>>setpagedevice"
        Choice "Envelope/Envelope Feeder" "<</MediaPosition 3>>setpagedevice"
        Choice "LargeCapacity/Large Capacity Tray" "<</MediaPosition 5>>setpagedevice"
        Choice "Manual/Manual Feeder" "<</MediaPosition 2>>setpagedevice"
        Choice "MPTray/Multi Purpose Tray" "<</MediaPosition 1>>setpagedevice"
        // <%LJColor:Normal%>
        {
          ModelName "HP Color LaserJet cm1312nfi MFP"
          Attribute "NickName" "" "HP Color LaserJet cm1312nfi MFP pcl3, hpcups $Version"
          Attribute "ShortNickName" "" "HP Color LaserJet cm1312nfi MFP"
          Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp color laserjet cm1312nfi mfp;DES:hp color laserjet cm1312nfi mfp;"
          PCFileName "hp-color_laserjet_cm1312nfi_mfp-pcl3.ppd"
          Attribute "Product" "" "(HP Color LaserJet cm1312nfi Multifunction Printer)"
        }
        {
          ModelName "HP Color LaserJet cm1312 MFP"
          Attribute "NickName" "" "HP Color LaserJet cm1312 MFP pcl3, hpcups $Version"
          Attribute "ShortNickName" "" "HP Color LaserJet cm1312 MFP"
          Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp color laserjet cm1312 mfp;DES:hp color laserjet cm1312 mfp;"
          PCFileName "hp-color_laserjet_cm1312_mfp-pcl3.ppd"
          Attribute "Product" "" "(HP Color LaserJet cm1312 Multifunction Printer)"
        }
        {
          ModelName "HP LaserJet cm1411fn"
          Attribute "NickName" "" "HP LaserJet cm1411fn pcl3, hpcups $Version"
          Attribute "ShortNickName" "" "HP LaserJet cm1411fn"
          Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet cm1411fn;DES:hp laserjet cm1411fn;"
          PCFileName "hp-laserjet_cm1411fn-pcl3.ppd"
          Attribute "Product" "" "(HP LaserJet Professional cm1411fn)"
        }
        {
          ModelName "HP LaserJet cm1412fn"
          Attribute "NickName" "" "HP LaserJet cm1412fn pcl3, hpcups $Version"
          Attribute "ShortNickName" "" "HP LaserJet cm1412fn"
          Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet cm1412fn;DES:hp laserjet cm1412fn;"
          PCFileName "hp-laserjet_cm1412fn-pcl3.ppd"
          Attribute "Product" "" "(HP LaserJet Professional cm1412fn)"
        }
        {
          ModelName "HP LaserJet cm1413fn"
          Attribute "NickName" "" "HP LaserJet cm1413fn pcl3, hpcups $Version"
          Attribute "ShortNickName" "" "HP LaserJet cm1413fn"
          Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet cm1413fn;DES:hp laserjet cm1413fn;"
          PCFileName "hp-laserjet_cm1413fn-pcl3.ppd"
          Attribute "Product" "" "(HP LaserJet Professional cm1413fn)"
        }
        {
          ModelName "HP LaserJet cm1415fn"
          Attribute "NickName" "" "HP LaserJet cm1415fn pcl3, hpcups $Version"
          Attribute "ShortNickName" "" "HP LaserJet cm1415fn"
          Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet cm1415fn;DES:hp laserjet cm1415fn;"
          PCFileName "hp-laserjet_cm1415fn-pcl3.ppd"
          Attribute "Product" "" "(HP LaserJet Professional cm1415fn)"
        }
        {
          ModelName "HP LaserJet cm1415fnw"
          Attribute "NickName" "" "HP LaserJet cm1415fnw pcl3, hpcups $Version"
          Attribute "ShortNickName" "" "HP LaserJet cm1415fnw"
          Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet cm1415fnw;DES:hp laserjet cm1415fnw;"
          PCFileName "hp-laserjet_cm1415fnw-pcl3.ppd"
          Attribute "Product" "" "(HP LaserJet Professional cm1415fnw)"
        }
        {
          ModelName "HP LaserJet cm1416fnw"
          Attribute "NickName" "" "HP LaserJet cm1416fnw pcl3, hpcups $Version"
          Attribute "ShortNickName" "" "HP LaserJet cm1416fnw"
          Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet cm1416fnw;DES:hp laserjet cm1416fnw;"
          PCFileName "hp-laserjet_cm1416fnw-pcl3.ppd"
          Attribute "Product" "" "(HP LaserJet Professional cm1416fnw)"
        }
        {
          ModelName "HP LaserJet cm1417fnw"
          Attribute "NickName" "" "HP LaserJet cm1417fnw pcl3, hpcups $Version"
          Attribute "ShortNickName" "" "HP LaserJet cm1417fnw"
          Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet cm1417fnw;DES:hp laserjet cm1417fnw;"
          PCFileName "hp-laserjet_cm1417fnw-pcl3.ppd"
          Attribute "Product" "" "(HP LaserJet Professional cm1417fnw)"
        }
        {
          ModelName "HP LaserJet cm1418fnw"
          Attribute "NickName" "" "HP LaserJet cm1418fnw pcl3, hpcups $Version"
          Attribute "ShortNickName" "" "HP LaserJet cm1418fnw"
          Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet cm1418fnw;DES:hp laserjet cm1418fnw;"
          PCFileName "hp-laserjet_cm1418fnw-pcl3.ppd"
          Attribute "Product" "" "(HP LaserJet Professional cm1418fnw)"
        }
        {
          ModelName "HP Color LaserJet cp1514n"
          Attribute "NickName" "" "HP Color LaserJet cp1514n pcl3, hpcups $Version"
          Attribute "ShortNickName" "" "HP Color LaserJet cp1514n"
          Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp color laserjet cp1514n;DES:hp color laserjet cp1514n;"
          PCFileName "hp-color_laserjet_cp1514n-pcl3.ppd"
          Attribute "Product" "" "(HP Color LaserJet cp1514n Printer)"
        }
        {
          ModelName "HP Color LaserJet cp1515n"
          Attribute "NickName" "" "HP Color LaserJet cp1515n pcl3, hpcups $Version"
          Attribute "ShortNickName" "" "HP Color LaserJet cp1515n"
          Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp color laserjet cp1515n;DES:hp color laserjet cp1515n;"
          PCFileName "hp-color_laserjet_cp1515n-pcl3.ppd"
          Attribute "Product" "" "(HP Color LaserJet cp1515n Printer)"
        }
        {
          ModelName "HP Color LaserJet cp1518ni"
          Attribute "NickName" "" "HP Color LaserJet cp1518ni pcl3, hpcups $Version"
          Attribute "ShortNickName" "" "HP Color LaserJet cp1518ni"
          Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp color laserjet cp1518ni;DES:hp color laserjet cp1518ni;"
          PCFileName "hp-color_laserjet_cp1518ni-pcl3.ppd"
          Attribute "Product" "" "(HP Color LaserJet cp1518ni Printer)"
        }
        {
          ModelName "HP Color LaserJet cp2025dn"
          Attribute "NickName" "" "HP Color LaserJet cp2025dn pcl3, hpcups $Version"
          Attribute "ShortNickName" "" "HP Color LaserJet cp2025dn"
          Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp color laserjet cp2025dn;DES:hp color laserjet cp2025dn;"
          PCFileName "hp-color_laserjet_cp2025dn-pcl3.ppd"
          Attribute "Product" "" "(HP Color LaserJet cp2025dn Printer)"
        }
        {
          ModelName "HP Color LaserJet cp2025"
          Attribute "NickName" "" "HP Color LaserJet cp2025 pcl3, hpcups $Version"
          Attribute "ShortNickName" "" "HP Color LaserJet cp2025"
          Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp color laserjet cp2025;DES:hp color laserjet cp2025;"
          PCFileName "hp-color_laserjet_cp2025-pcl3.ppd"
          Attribute "Product" "" "(HP Color LaserJet cp2025 Printer)"
        }
        {
          ModelName "HP Color LaserJet cp2025n"
          Attribute "NickName" "" "HP Color LaserJet cp2025n pcl3, hpcups $Version"
          Attribute "ShortNickName" "" "HP Color LaserJet cp2025n"
          Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp color laserjet cp2025n;DES:hp color laserjet cp2025n;"
          PCFileName "hp-color_laserjet_cp2025n-pcl3.ppd"
          Attribute "Product" "" "(HP Color LaserJet cp2025n Printer)"
        }
        {
          ModelName "HP Color LaserJet cp2025x"
          Attribute "NickName" "" "HP Color LaserJet cp2025x pcl3, hpcups $Version"
          Attribute "ShortNickName" "" "HP Color LaserJet cp2025x"
          Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp color laserjet cp2025x;DES:hp color laserjet cp2025x;"
          PCFileName "hp-color_laserjet_cp2025x-pcl3.ppd"
          Attribute "Product" "" "(HP Color LaserJet cp2025x Printer)"
        }
        {
          ModelName "HP Business Inkjet 2300"
          Attribute "NickName" "" "HP Business Inkjet 2300 pcl3, hpcups $Version"
          Attribute "ShortNickName" "" "HP Business Inkjet 2300"
          Attribute "1284DeviceID" "" "MFG:HP;MDL:hp business inkjet 2300;DES:hp business inkjet 2300;"
          PCFileName "hp-business_inkjet_2300-pcl3.ppd"
          Attribute "Product" "" "(HP Business Inkjet 2300 Printer)"
          Attribute "Product" "" "(HP Business Inkjet 2300n Printer)"
          Attribute "Product" "" "(HP Business Inkjet 2300dtn Printer)"
        }
        {
          ModelName "HP Color LaserJet 2500 Series"
          Attribute "NickName" "" "HP Color LaserJet 2500 Series, hpcups $Version"
          Attribute "ShortNickName" "" "HP Color LaserJet 2500 Series"
          Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp color laserjet 2500 series;DES:hp color laserjet 2500 series;"
          PCFileName "hp-color_laserjet_2500_series.ppd"
          Attribute "Product" "" "(HP Color LaserJet 2500 Printer)"
          Attribute "Product" "" "(HP Color LaserJet 2500lse Printer)"
          Attribute "Product" "" "(HP Color LaserJet 2500n Printer)"
          Attribute "Product" "" "(HP Color LaserJet 2500tn Printer)"
        }
        {
          ModelName "HP Color LaserJet 3000"
          Attribute "NickName" "" "HP Color LaserJet 3000 pcl3, hpcups $Version"
          Attribute "ShortNickName" "" "HP Color LaserJet 3000"
          Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp color laserjet 3000;DES:hp color laserjet 3000;"
          PCFileName "hp-color_laserjet_3000-pcl3.ppd"
          Attribute "Product" "" "(HP Color LaserJet 3000 Printer)"
          Attribute "Product" "" "(HP Color LaserJet 3000n Printer)"
          Attribute "Product" "" "(HP Color LaserJet 3000dn Printer)"
          Attribute "Product" "" "(HP Color LaserJet 3000dtn Printer)"
        }
        {
          ModelName "HP Color LaserJet cp3505"
          Attribute "NickName" "" "HP Color LaserJet cp3505 pcl3, hpcups $Version"
          Attribute "ShortNickName" "" "HP Color LaserJet cp3505"
          Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp color laserjet cp3505;DES:hp color laserjet cp3505;"
          PCFileName "hp-color_laserjet_cp3505-pcl3.ppd"
          Attribute "Product" "" "(HP Color LaserJet cp3505n Printer)"
          Attribute "Product" "" "(HP Color LaserJet cp3505dn Printer)"
          Attribute "Product" "" "(HP Color LaserJet cp3505x Printer)"
          Attribute "Product" "" "(HP Color LaserJet cp3505 Printer)"
        }
        {
          ModelName "HP Color LaserJet cp3525"
          Attribute "NickName" "" "HP Color LaserJet cp3525 pcl3, hpcups $Version"
          Attribute "ShortNickName" "" "HP Color LaserJet cp3525"
          Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp color laserjet cp3525;DES:hp color laserjet cp3525;"
          PCFileName "hp-color_laserjet_cp3525-pcl3.ppd"
          Attribute "Product" "" "(HP Color LaserJet cp3525 Printer)"
          Attribute "Product" "" "(HP Color LaserJet cp3525n Printer)"
          Attribute "Product" "" "(HP Color LaserJet cp3525dn Printer)"
          Attribute "Product" "" "(HP Color LaserJet cp3525x Printer)"
        }
        {
          ModelName "HP Color LaserJet cm3530 MFP"
          Attribute "NickName" "" "HP Color LaserJet cm3530 MFP pcl3, hpcups $Version"
          Attribute "ShortNickName" "" "HP Color LaserJet cm3530 MFP"
          Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp color laserjet cm3530 mfp;DES:hp color laserjet cm3530 mfp;"
          PCFileName "hp-color_laserjet_cm3530_mfp-pcl3.ppd"
          Attribute "Product" "" "(HP Color LaserJet cm3530 Multifunction Printer)"
          Attribute "Product" "" "(HP Color LaserJet cm3530fs Multifunction Printer)"
        }
        {
          ModelName "HP Color LaserJet 3700"
          Attribute "NickName" "" "HP Color LaserJet 3700 pcl3, hpcups $Version"
          Attribute "ShortNickName" "" "HP Color LaserJet 3700"
          Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp color laserjet 3700;DES:hp color laserjet 3700;"
          PCFileName "hp-color_laserjet_3700-pcl3.ppd"
          Attribute "Product" "" "(HP Color LaserJet 3700 Printer)"
        }
        {
          ModelName "HP Color LaserJet 3700n"
          Attribute "NickName" "" "HP Color LaserJet 3700n, hpcups $Version"
          Attribute "ShortNickName" "" "HP Color LaserJet 3700n"
          Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp color laserjet 3700n;DES:hp color laserjet 3700n;"
          PCFileName "hp-color_laserjet_3700n.ppd"
          Attribute "Product" "" "(HP Color LaserJet 3700n Printer)"
          Attribute "Product" "" "(HP Color LaserJet 3700dtn Printer)"
          Attribute "Product" "" "(HP Color LaserJet 3700dn Printer)"
          Attribute "Product" "" "(HP Color LaserJet 3700d Printer)"
        }
        {
          ModelName "HP Color LaserJet 3800"
          Attribute "NickName" "" "HP Color LaserJet 3800 pcl3, hpcups $Version"
          Attribute "ShortNickName" "" "HP Color LaserJet 3800"
          Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp color laserjet 3800;DES:hp color laserjet 3800;"
          PCFileName "hp-color_laserjet_3800-pcl3.ppd"
          Attribute "Product" "" "(HP Color LaserJet 3800 Printer)"
          Attribute "Product" "" "(HP Color LaserJet 3800n Printer)"
          Attribute "Product" "" "(HP Color LaserJet 3800dn Printer)"
          Attribute "Product" "" "(HP Color LaserJet 3800dtn Printer)"
        }
        {
          ModelName "HP Color LaserJet cp4005"
          Attribute "NickName" "" "HP Color LaserJet cp4005 pcl3, hpcups $Version"
          Attribute "ShortNickName" "" "HP Color LaserJet cp4005"
          Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp color laserjet cp4005;DES:hp color laserjet cp4005;"
          PCFileName "hp-color_laserjet_cp4005-pcl3.ppd"
          Attribute "Product" "" "(HP Color LaserJet cp4005n Printer)"
          Attribute "Product" "" "(HP Color LaserJet cp4005dn Printer)"
          Attribute "Product" "" "(HP Color LaserJet cp4005 Series Printer)"
        }
        {
          ModelName "HP Color LaserJet cp4020 Series"
          Attribute "NickName" "" "HP Color LaserJet cp4020 Series pcl3, hpcups $Version"
          Attribute "ShortNickName" "" "HP Color LaserJet cp4020 Series"
          Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp color laserjet cp4020 series;DES:hp color laserjet cp4020 series;"
          PCFileName "hp-color_laserjet_cp4020_series-pcl3.ppd"
          Attribute "Product" "" "(HP Color LaserJet cp4020 Series Printer)"
        }
        {
          ModelName "HP Color LaserJet 4500"
          Attribute "NickName" "" "HP Color LaserJet 4500 pcl3, hpcups $Version"
          Attribute "ShortNickName" "" "HP Color LaserJet 4500"
          Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp color laserjet 4500;DES:hp color laserjet 4500;"
          PCFileName "hp-color_laserjet_4500-pcl3.ppd"
          Attribute "Product" "" "(HP Color LaserJet 4500 Printer)"
          Attribute "Product" "" "(HP Color LaserJet 4500dn Printer)"
          Attribute "Product" "" "(HP Color LaserJet 4500n Printer)"
        }
        {
          ModelName "HP Color LaserJet cp4520 Series"
          Attribute "NickName" "" "HP Color LaserJet cp4520 Series pcl3, hpcups $Version"
          Attribute "ShortNickName" "" "HP Color LaserJet cp4520 Series"
          Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp color laserjet cp4520 series;DES:hp color laserjet cp4520 series;"
          PCFileName "hp-color_laserjet_cp4520_series-pcl3.ppd"
          Attribute "Product" "" "(HP Color LaserJet cp4520 Series Printer)"
        }
        {
          ModelName "HP Color LaserJet cm4540 MFP"
          Attribute "NickName" "" "HP Color LaserJet cm4540 MFP pcl3, hpcups $Version"
          Attribute "ShortNickName" "" "HP Color LaserJet cm4540 MFP"
          Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp color laserjet cm4540 mfp;DES:hp color laserjet cm4540 mfp;"
          PCFileName "hp-color_laserjet_cm4540_mfp-pcl3.ppd"
          Attribute "Product" "" "(HP Color LaserJet cm4540 Multifunction Printer)"
        }
        {
          ModelName "HP Color LaserJet 4550"
          Attribute "NickName" "" "HP Color LaserJet 4550 pcl3, hpcups $Version"
          Attribute "ShortNickName" "" "HP Color LaserJet 4550"
          Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp color laserjet 4550;DES:hp color laserjet 4550;"
          PCFileName "hp-color_laserjet_4550-pcl3.ppd"
          Attribute "Product" "" "(HP Color LaserJet 4550 Printer)"
          Attribute "Product" "" "(HP Color LaserJet 4550n Printer)"
          Attribute "Product" "" "(HP Color LaserJet 4550dn Printer)"
          Attribute "Product" "" "(HP Color LaserJet 4550hdn Printer)"
          Attribute "Product" "" "(HP Color LaserJet 4550n Plus Printer)"
          Attribute "Product" "" "(HP Color LaserJet 4550hdn Plus Printer)"
        }
        {
          ModelName "HP Color LaserJet 4600"
          Attribute "NickName" "" "HP Color LaserJet 4600 pcl3, hpcups $Version"
          Attribute "ShortNickName" "" "HP Color LaserJet 4600"
          Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp color laserjet 4600;DES:hp color laserjet 4600;"
          PCFileName "hp-color_laserjet_4600-pcl3.ppd"
          Attribute "Product" "" "(HP Color LaserJet 4600 Series Printer)"
        }
        {
          ModelName "HP Color LaserJet 4610"
          Attribute "NickName" "" "HP Color LaserJet 4610 pcl3, hpcups $Version"
          Attribute "ShortNickName" "" "HP Color LaserJet 4610"
          Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp color laserjet 4610;DES:hp color laserjet 4610;"
          PCFileName "hp-color_laserjet_4610-pcl3.ppd"
          Attribute "Product" "" "(HP Color LaserJet 4610n Printer)"
        }
        {
          ModelName "HP Color LaserJet 4650"
          Attribute "NickName" "" "HP Color LaserJet 4650 pcl3, hpcups $Version"
          Attribute "ShortNickName" "" "HP Color LaserJet 4650"
          Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp color laserjet 4650;DES:hp color laserjet 4650;"
          PCFileName "hp-color_laserjet_4650-pcl3.ppd"
          Attribute "Product" "" "(HP Color LaserJet 4650 Printer)"
          Attribute "Product" "" "(HP Color LaserJet 4650n Printer)"
          Attribute "Product" "" "(HP Color LaserJet 4650dn Printer)"
          Attribute "Product" "" "(HP Color LaserJet 4650dtn Printer)"
          Attribute "Product" "" "(HP Color LaserJet 4650hdn Printer)"
        }
        {
          ModelName "HP Color LaserJet 4700"
          Attribute "NickName" "" "HP Color LaserJet 4700 pcl3, hpcups $Version"
          Attribute "ShortNickName" "" "HP Color LaserJet 4700"
          Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp color laserjet 4700;DES:hp color laserjet 4700;"
          PCFileName "hp-color_laserjet_4700-pcl3.ppd"
          Attribute "Product" "" "(HP Color LaserJet 4700 Printer)"
          Attribute "Product" "" "(HP Color LaserJet 4700dn Printer)"
          Attribute "Product" "" "(HP Color LaserJet 4700dtn Printer)"
          Attribute "Product" "" "(HP Color LaserJet 4700n Printer)"
          Attribute "Product" "" "(HP Color LaserJet 4700ph+ Printer)"
        }
        {
          ModelName "HP Color LaserJet cm4730 MFP"
          Attribute "NickName" "" "HP Color LaserJet cm4730 MFP pcl3, hpcups $Version"
          Attribute "ShortNickName" "" "HP Color LaserJet cm4730 MFP"
          Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp color laserjet cm4730 mfp;DES:hp color laserjet cm4730 mfp;"
          PCFileName "hp-color_laserjet_cm4730_mfp-pcl3.ppd"
          Attribute "Product" "" "(HP Color LaserJet cm4730 Multifunction Printer)"
          Attribute "Product" "" "(HP Color LaserJet cm4730f Multifunction Printer)"
          Attribute "Product" "" "(HP Color LaserJet cm4730fm Multifunction Printer)"
          Attribute "Product" "" "(HP Color LaserJet cm4730fsk Multifunction Printer)"
        }
        {
          ModelName "HP Color LaserJet 4730mfp"
          Attribute "NickName" "" "HP Color LaserJet 4730mfp pcl3, hpcups $Version"
          Attribute "ShortNickName" "" "HP Color LaserJet 4730mfp"
          Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp color laserjet 4730mfp;DES:hp color laserjet 4730mfp;"
          PCFileName "hp-color_laserjet_4730mfp-pcl3.ppd"
          Attribute "Product" "" "(HP Color LaserJet 4730xs Multifunction Printer)"
          Attribute "Product" "" "(HP Color LaserJet 4730xm Multifunction Printer)"
          Attribute "Product" "" "(HP Color LaserJet 4730x Multifunction Printer)"
          Attribute "Product" "" "(HP Color LaserJet 4730 Multifunction Printer)"
        }
        {
          ModelName "HP Color LaserJet cp5225"
          Attribute "NickName" "" "HP Color LaserJet cp5225 pcl3, hpcups $Version"
          Attribute "ShortNickName" "" "HP Color LaserJet cp5225"
          Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp color laserjet cp5225;DES:hp color laserjet cp5225;"
          PCFileName "hp-color_laserjet_cp5225-pcl3.ppd"
          Attribute "Product" "" "(HP Color LaserJet cp5225)"
        }
        {
          ModelName "HP Color LaserJet cp5225n"
          Attribute "NickName" "" "HP Color LaserJet cp5225n pcl3, hpcups $Version"
          Attribute "ShortNickName" "" "HP Color LaserJet cp5225n"
          Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp color laserjet cp5225n;DES:hp color laserjet cp5225n;"
          PCFileName "hp-color_laserjet_cp5225n-pcl3.ppd"
          Attribute "Product" "" "(HP Color LaserJet cp5225n)"
        }
        {
          ModelName "HP Color LaserJet cp5225dn"
          Attribute "NickName" "" "HP Color LaserJet cp5225dn pcl3, hpcups $Version"
          Attribute "ShortNickName" "" "HP Color LaserJet cp5225dn"
          Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp color laserjet cp5225dn;DES:hp color laserjet cp5225dn;"
          PCFileName "hp-color_laserjet_cp5225dn-pcl3.ppd"
          Attribute "Product" "" "(HP Color LaserJet cp5225dn)"
        }
        {
          ModelName "HP Color LaserJet cp5520 Series"
          Attribute "NickName" "" "HP Color LaserJet cp5520 Series pcl3, hpcups $Version"
          Attribute "ShortNickName" "" "HP Color LaserJet cp5520 Series"
          Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp color laserjet cp5520 series;DES:hp color laserjet cp5520 series;"
          PCFileName "hp-color_laserjet_cp5520_series-pcl3.ppd"
          Attribute "Product" "" "(HP Color LaserJet cp5520 Series Printer)"
        }
        {
          ModelName "HP Officejet 9100 Series"
          Attribute "NickName" "" "HP Officejet 9100 Series pcl3, hpcups $Version"
          Attribute "ShortNickName" "" "HP Officejet 9100 Series"
          Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet 9100 series;DES:officejet 9100 series;"
          PCFileName "hp-officejet_9100_series-pcl3.ppd"
          Attribute "Product" "" "(HP Officejet 9110 All-in-one Printer)"
          Attribute "Product" "" "(HP Officejet 9120 All-in-one Printer)"
          Attribute "Product" "" "(HP Officejet 9130 All-in-one Printer)"
        }
    }

    {
      // MediaPosition values map to MediaSource enumeration in global_types.h
      Option "InputSlot/Media Source" PickOne AnySetup 10.0
        *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"
        Choice "Tray1_Man/Tray 1 (Manual)" "<</MediaPosition 3>>setpagedevice"
        Choice "Tray2/Tray 2" "<</MediaPosition 0>>setpagedevice"
        Choice "Tray3/Tray 3" "<</MediaPosition 1>>setpagedevice"
        // <%LJColor:Normal:Advanced%>
        {
          ModelName "HP Color LaserJet cm2320 MFP"
          Attribute "NickName" "" "HP Color LaserJet cm2320 MFP pcl3, hpcups $Version"
          Attribute "ShortNickName" "" "HP Color LaserJet cm2320 MFP"
          Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp color laserjet cm2320 mfp;DES:hp color laserjet cm2320 mfp;"
          PCFileName "hp-color_laserjet_cm2320_mfp-pcl3.ppd"
          Attribute "Product" "" "(HP Color LaserJet cm2320 Multifunction Printer)"
        }
        {
          ModelName "HP Color LaserJet cm2320nf MFP"
          Attribute "NickName" "" "HP Color LaserJet cm2320nf MFP pcl3, hpcups $Version"
          Attribute "ShortNickName" "" "HP Color LaserJet cm2320nf MFP"
          Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp color laserjet cm2320nf mfp;DES:hp color laserjet cm2320nf mfp;"
          PCFileName "hp-color_laserjet_cm2320nf_mfp-pcl3.ppd"
          Attribute "Product" "" "(HP Color LaserJet cm2320nf Multifunction Printer)"
        }
        {
          ModelName "HP Color LaserJet cm2320fxi MFP"
          Attribute "NickName" "" "HP Color LaserJet cm2320fxi MFP pcl3, hpcups $Version"
          Attribute "ShortNickName" "" "HP Color LaserJet cm2320fxi MFP"
          Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp color laserjet cm2320fxi mfp;DES:hp color laserjet cm2320fxi mfp;"
          PCFileName "hp-color_laserjet_cm2320fxi_mfp-pcl3.ppd"
          Attribute "Product" "" "(HP Color LaserJet cm2320fxi Multifunction Printer)"
        }
        {
          ModelName "HP Color LaserJet cm2320n MFP"
          Attribute "NickName" "" "HP Color LaserJet cm2320n MFP pcl3, hpcups $Version"
          Attribute "ShortNickName" "" "HP Color LaserJet cm2320n MFP"
          Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp color laserjet cm2320n mfp;DES:hp color laserjet cm2320n mfp;"
          PCFileName "hp-color_laserjet_cm2320n_mfp-pcl3.ppd"
          Attribute "Product" "" "(HP Color LaserJet cm2320n Multifunction Printer)"
        }
    }
  } // End supported media sizes.

  {
// Large
  CustomMedia "SuperB/SuperB 13x19in" 936 1368 18 14 18 14 "<</cupsInteger0 16/PageSize[936 1368]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 16/PageSize[936 1368]/ImagingBBox null>>setpagedevice"
  CustomMedia "B4/B4 257x364mm" 729 1033 18 14 18 14 "<</cupsInteger0 46/PageSize[729 1033]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 46/PageSize[729 1033]/ImagingBBox null>>setpagedevice"
  CustomMedia "8k/8k 10.75x15.5in" 774 1116 18 14 18 14 "<</cupsInteger0 101/PageSize[774 1116]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[774 1116]/ImagingBBox null>>setpagedevice"          // custom
  CustomMedia "Ledger/Ledger 11x17in" 792 1224 18 14 18 14 "<</cupsInteger0 6/PageSize[792 1224]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 6/PageSize[792 1224]/ImagingBBox null>>setpagedevice"
  CustomMedia "A3/A3 297x420mm" 842 1190 18 14 18 14 "<</cupsInteger0 27/PageSize[842 1190]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 27/PageSize[842 1190]/ImagingBBox null>>setpagedevice"

    // Custom page sizes from 1x4in to SuperB
    HWMargins 18 14 18 14
    VariablePaperSize Yes
    MinSize 1in 4in
    MaxSize 936 1368

    // <%LJColor:LargeFormatSuperB%>
    {
      ModelName "HP Business Inkjet 2600"
      Attribute "NickName" "" "HP Business Inkjet 2600 pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP Business Inkjet 2600"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:hp business inkjet 2600;DES:hp business inkjet 2600;"
      PCFileName "hp-business_inkjet_2600-pcl3.ppd"
      Attribute "Product" "" "(HP Business Inkjet 2600 Printer)"
      Attribute "Product" "" "(HP Business Inkjet 2600dn Printer)"
    }
    {
      ModelName "HP Business Inkjet 2800"
      Attribute "NickName" "" "HP Business Inkjet 2800 pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP Business Inkjet 2800"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:hp business inkjet 2800;DES:hp business inkjet 2800;"
      PCFileName "hp-business_inkjet_2800-pcl3.ppd"
      Attribute "Product" "" "(HP Business Inkjet 2800 Printer)"
      Attribute "Product" "" "(HP Business Inkjet 2800dt Printer)"
      Attribute "Product" "" "(HP Business Inkjet 2800dtn Printer)"
    }
    {
      ModelName "HP Business Inkjet 3000"
      Attribute "NickName" "" "HP Business Inkjet 3000 pcl3, hpcups $Version"
      Attribute "ShortNickName" "" "HP Business Inkjet 3000"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:hp business inkjet 3000;DES:hp business inkjet 3000;"
      PCFileName "hp-business_inkjet_3000-pcl3.ppd"
      Attribute "Product" "" "(HP Business Inkjet 3000 Printer)"
      Attribute "Product" "" "(HP Business Inkjet 3000dtn Printer)"
      Attribute "Product" "" "(HP Business Inkjet 3000n Printer)"
    }
    {
      UIConstraints "*PageSize SuperB *MediaType"
      // <%LJColor:LargeFormatA3%>
      {
        ModelName "HP Color LaserJet 5500"
        Attribute "NickName" "" "HP Color LaserJet 5500 pcl3, hpcups $Version"
        Attribute "ShortNickName" "" "HP Color LaserJet 5500"
        Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp color laserjet 5500;DES:hp color laserjet 5500;"
        PCFileName "hp-color_laserjet_5500-pcl3.ppd"
        Attribute "Product" "" "(HP Color LaserJet 5500 Printer)"
        Attribute "Product" "" "(HP Color LaserJet 5500n Printer)"
        Attribute "Product" "" "(HP Color LaserJet 5500dn Printer)"
        Attribute "Product" "" "(HP Color LaserJet 5500dtn Printer)"
        Attribute "Product" "" "(HP Color LaserJet 5500hdn Printer)"
      }
      {
        ModelName "HP Color LaserJet 5550"
        Attribute "NickName" "" "HP Color LaserJet 5550 pcl3, hpcups $Version"
        Attribute "ShortNickName" "" "HP Color LaserJet 5550"
        Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp color laserjet 5550;DES:hp color laserjet 5550;"
        PCFileName "hp-color_laserjet_5550-pcl3.ppd"
        Attribute "Product" "" "(HP Color LaserJet 5550n Printer)"
        Attribute "Product" "" "(HP Color LaserJet 5550 Printer)"
        Attribute "Product" "" "(HP Color LaserJet 5550dn Printer)"
        Attribute "Product" "" "(HP Color LaserJet 5550dtn Printer)"
        Attribute "Product" "" "(HP Color LaserJet 5550hdn Printer)"
      }
      {
        ModelName "HP Color LaserJet cp6015"
        Attribute "NickName" "" "HP Color LaserJet cp6015 pcl3, hpcups $Version"
        Attribute "ShortNickName" "" "HP Color LaserJet cp6015"
        Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp color laserjet cp6015;DES:hp color laserjet cp6015;"
        PCFileName "hp-color_laserjet_cp6015-pcl3.ppd"
        Attribute "Product" "" "(HP Color LaserJet cp6015dn Printer)"
        Attribute "Product" "" "(HP Color LaserJet cp6015x Printer)"
        Attribute "Product" "" "(HP Color LaserJet cp6015xh Printer)"
        Attribute "Product" "" "(HP Color LaserJet cp6015de Printer)"
        Attribute "Product" "" "(HP Color LaserJet cp6015n Printer)"
      }
      {
        ModelName "HP Color LaserJet cm6030 MFP"
        Attribute "NickName" "" "HP Color LaserJet cm6030 MFP pcl3, hpcups $Version"
        Attribute "ShortNickName" "" "HP Color LaserJet cm6030 MFP"
        Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp color laserjet cm6030 mfp;DES:hp color laserjet cm6030 mfp;"
        PCFileName "hp-color_laserjet_cm6030_mfp-pcl3.ppd"
        Attribute "Product" "" "(HP Color LaserJet cm6030 Multifunction Printer)"
        Attribute "Product" "" "(HP Color LaserJet cm6030f Multifunction Printer)"
      }
      {
        ModelName "HP Color LaserJet cm6040 MFP"
        Attribute "NickName" "" "HP Color LaserJet cm6040 MFP, hpcups $Version"
        Attribute "ShortNickName" "" "HP Color LaserJet cm6040 MFP"
        Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp color laserjet cm6040 mfp;DES:hp color laserjet cm6040 mfp;"
        PCFileName "hp-color_laserjet_cm6040_mfp.ppd"
        Attribute "Product" "" "(HP Color LaserJet cm6040 Multifunction Printer)"
        Attribute "Product" "" "(HP Color LaserJet cm6040f Multifunction Printer)"
        Attribute "Product" "" "(HP Color LaserJet cm6049f Multifunction Printer)"
      }
      {
        ModelName "HP Color LaserJet cm6049 MFP"
        Attribute "NickName" "" "HP Color LaserJet cm6049 MFP, hpcups $Version"
        Attribute "ShortNickName" "" "HP Color LaserJet cm6049 MFP"
        Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp color laserjet cm6049 mfp;DES:hp color laserjet cm6049 mfp;"
        PCFileName "hp-color_laserjet_cm6049_mfp.ppd"
        Attribute "Product" "" "(HP Color LaserJet cm6049 MFP)"
      }
      {
        ModelName "HP Color LaserJet 8500"
        Attribute "NickName" "" "HP Color LaserJet 8500 pcl3, hpcups $Version"
        Attribute "ShortNickName" "" "HP Color LaserJet 8500"
        Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp color laserjet 8500;DES:hp color laserjet 8500;"
        PCFileName "hp-color_laserjet_8500-pcl3.ppd"
        Attribute "Product" "" "(HP Color LaserJet 8500 Printer)"
        Attribute "Product" "" "(HP Color LaserJet 8500n Printer)"
        Attribute "Product" "" "(HP Color LaserJet 8500dn Printer)"
      }
      {
        ModelName "HP Color LaserJet 8550"
        Attribute "NickName" "" "HP Color LaserJet 8550 pcl3, hpcups $Version"
        Attribute "ShortNickName" "" "HP Color LaserJet 8550"
        Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp color laserjet 8550;DES:hp color laserjet 8550;"
        PCFileName "hp-color_laserjet_8550-pcl3.ppd"
        Attribute "Product" "" "(HP Color LaserJet 8550dn Printer)"
        Attribute "Product" "" "(HP Color LaserJet 8550gn Printer)"
        Attribute "Product" "" "(HP Color LaserJet 8550mn Printer)"
        Attribute "Product" "" "(HP Color LaserJet 8550 Multifunction Printer)"
        Attribute "Product" "" "(HP Color LaserJet 8550mfp-dlvry/unpkging)"
        Attribute "Product" "" "(HP Color LaserJet 8550 Printer)"
      }
      {
        ModelName "HP Color LaserJet 9500"
        Attribute "NickName" "" "HP Color LaserJet 9500 pcl3, hpcups $Version"
        Attribute "ShortNickName" "" "HP Color LaserJet 9500"
        Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp color laserjet 9500;DES:hp color laserjet 9500;"
        PCFileName "hp-color_laserjet_9500-pcl3.ppd"
        Attribute "Product" "" "(HP Color LaserJet 9500n Printer)"
        Attribute "Product" "" "(HP Color LaserJet 9500hdn Printer)"
        Attribute "Product" "" "(HP Color LaserJet 9500gp Printer)"
        Attribute "Product" "" "(HP Color LaserJet 9500 Printer)"
        Attribute "Product" "" "(HP Color LaserJet 9500 Multifunction Printer)"
      }
    }
    {
      UIConstraints "*OutputMode Best *MediaType"
      // <%LJColor:300dpiOnly:LargeFormatA3%>
      {
        ModelName "HP Deskjet 1200c"
        Attribute "NickName" "" "HP Deskjet 1200c, hpcups $Version"
        Attribute "ShortNickName" "" "HP Deskjet 1200c"
        Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 1200c;DES:deskjet 1200c;"
        PCFileName "hp-deskjet_1200c.ppd"
        Attribute "Product" "" "(HP Deskjet 1200c/ps Printer)"
      }
      {
        ModelName "HP Deskjet 1600c"
        Attribute "NickName" "" "HP Deskjet 1600c, hpcups $Version"
        Attribute "ShortNickName" "" "HP Deskjet 1600c"
        Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 1600c;DES:deskjet 1600c;"
        PCFileName "hp-deskjet_1600c.ppd"
        Attribute "Product" "" "(HP Deskjet 1600c Printer)"
      }
      {
        ModelName "HP Deskjet 1600cn"
        Attribute "NickName" "" "HP Deskjet 1600cn, hpcups $Version"
        Attribute "ShortNickName" "" "HP Deskjet 1600cn"
        Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 1600cn;DES:deskjet 1600cn;"
        PCFileName "hp-deskjet_1600cn.ppd"
        Attribute "Product" "" "(HP Deskjet 1600cn Printer)"
      }
      {
        ModelName "HP Deskjet 1600cm"
        Attribute "NickName" "" "HP Deskjet 1600cm, hpcups $Version"
        Attribute "ShortNickName" "" "HP Deskjet 1600cm"
        Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 1600cm;DES:deskjet 1600cm;"
        PCFileName "hp-deskjet_1600cm.ppd"
        Attribute "Product" "" "(HP Deskjet 1600cm Printer)"
      }
      {
        ModelName "HP Color LaserJet 5"
        Attribute "NickName" "" "HP Color LaserJet 5, hpcups $Version"
        Attribute "ShortNickName" "" "HP Color LaserJet 5"
        Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp color laserjet 5;DES:hp color laserjet 5;"
        PCFileName "hp-color_laserjet_5.ppd"
        Attribute "Product" "" "(HP Color LaserJet 5 Printer)"
      }
      {
        ModelName "HP Color LaserJet 5m"
        Attribute "NickName" "" "HP Color LaserJet 5m pcl3, hpcups $Version"
        Attribute "ShortNickName" "" "HP Color LaserJet 5m"
        Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp color laserjet 5m;DES:hp color laserjet 5m;"
        PCFileName "hp-color_laserjet_5m-pcl3.ppd"
        Attribute "Product" "" "(HP Color LaserJet 5m Printer)"
      }
    }
  }  // End Large format media sizes.
} // End LJColor

//////////////// LJFastRaster (monochrome)
{
  Attribute "cupsEvenDuplex" "" "True"
  Attribute "hpPrinterLanguage" "" "ljfastraster"

  Group "General/General"

  Option "Duplex/Double-Sided Printing" PickOne AnySetup 10.0
    Choice "DuplexNoTumble/Long Edge (Standard)" "<</Duplex true/Tumble false>>setpagedevice"
    Choice "DuplexTumble/Short Edge (Flip)" "<</Duplex true/Tumble true>>setpagedevice"
    *Choice "None/Off" "<</Duplex false/Tumble false>>setpagedevice"

  // MediaPosition values map to MediaSource enumeration in global_types.h
  Option "InputSlot/Media Source" PickOne AnySetup 10.0
    *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"
    Choice "PhotoTray/Photo Tray" "<</MediaPosition 1>>setpagedevice"
    Choice "Upper/Upper Tray" "<</MediaPosition 1>>setpagedevice"
    Choice "Lower/Lower Tray" "<</MediaPosition 4>>setpagedevice"
    Choice "Envelope/Envelope Feeder" "<</MediaPosition 3>>setpagedevice"
    Choice "LargeCapacity/Large Capacity Tray" "<</MediaPosition 5>>setpagedevice"
    Choice "Manual/Manual Feeder" "<</MediaPosition 2>>setpagedevice"
    Choice "MPTray/Multi Purpose Tray" "<</MediaPosition 1>>setpagedevice"

  // cupsRowCount values map to PEN_TYPE + 1 from global_types.h
  Option "ColorModel/Output Mode" PickOne AnySetup 10.0
    *Choice "Gray/Grayscale" "<</cupsColorSpace 3/cupsBitsPerColor 1/cupsRowCount 1/cupsRowStep 2>>setpagedevice"

  // cupsMediaType values map to MEDIATYPE from global_types.h
  Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0>>setpagedevice"

  // cupsCompression values map to QUALITY_MODE from global_types.h
  Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "Normal/Normal" "<</OutputType(0)/HWResolution[600 600]>>setpagedevice"
    Choice "Draft/Draft" "<</OutputType(-1)/HWResolution[600 600]>>setpagedevice"

  // Duplexer is optional...
  Installable "OptionDuplex/Duplexer Installed"

  // Constraints
  //UIConstraints "*Duplex *OptionDuplex False"

  Attribute "cupsModelName" "" "hp LaserJet 1010"     // APDK device class

  {
// 4x6 or smaller
  CustomMedia "Card3x5/Index Card 3x5in" 216 360 12 12 12 12 "<</cupsInteger0 96/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[216 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki/Hagaki 100x148mm" 284 420 12 12 12 12 "<</cupsInteger0 14/PageSize[284 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 14/PageSize[284 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6/A6 105x148mm" 297.36 419.76 12 12 12 12 "<</cupsInteger0 96/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"

// 5x7
  CustomMedia "Card5x8/Index Card 5x8in" 360 576 12 12 12 12 "<</cupsInteger0 96/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[360 576]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku/Oufuku-Hagaki 148x200mm" 420 567 12 12 12 12 "<</cupsInteger0 15/PageSize[420 567]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 15/PageSize[420 567]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5/A5 148x210mm" 419.76 595.44 12 12 12 12 "<</cupsInteger0 16/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 16/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"

// Standard
  CustomMedia "B5/B5 176x250mm" 498.96 708.48 12 12 12 12 "<</cupsInteger0 11/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 11/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5/JB5 182x257mm" 516.24 728.64 12 12 12 12 "<</cupsInteger0 96/PageSize[516.24 728.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive/Executive 7.25x10.5in" 522 756 12 12 12 12 "<</cupsInteger0 3/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[522 756]/ImagingBBox null>>setpagedevice"
  CustomMedia "16k/16k 7.75x10.75in" 558 774 12 12 12 12 "<</cupsInteger0 96/PageSize[558 774]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[558 774]/ImagingBBox null>>setpagedevice"   // custom
  *CustomMedia "Letter/Letter 8.5x11in" 612 792 12 12 12 12 "<</cupsInteger0 0/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 0/PageSize[612 792]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4/A4 210x297mm" 595.44 841.68 12 12 12 12 "<</cupsInteger0 2/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
  CustomMedia "ExecutiveJIS/Executive (JIS) 8.5x12.986in" 612 936 12 12 12 12 "<</cupsInteger0 96/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "FLSA/American Foolscap 8.5x13in" 612 936 12 12 12 12 "<</cupsInteger0 96/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal/Legal 8.5x14in" 612 1008 12 12 12 12 "<</cupsInteger0 1/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[612 1008]/ImagingBBox null>>setpagedevice"

// Envelope
  CustomMedia "EnvA2/A2 Envelope 4.37x5.75in" 314.64 414 12 12 12 12 "<</cupsInteger0 6/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 6/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.28 459.36 12 12 12 12 "<</cupsInteger0 96/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou4/#4 Japanese Envelope 90x205mm" 254.88 581.04 12 12 12 12 "<</cupsInteger0 96/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279 540 12 12 12 12 "<</cupsInteger0 96/PageSize[279 540]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[279 540]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvDL/DL Envelope 110x220mm" 311.76 623.52 12 12 12 12 "<</cupsInteger0 9/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 9/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env10/#10 Envelope 4.12x9.5in" 297 684 12 12 12 12 "<</cupsInteger0 6/PageSize[297 684]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 6/PageSize[297 684]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 339.84 666 12 12 12 12 "<</cupsInteger0 96/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC5/C5 Envelope 162x229mm" 459 649 12 12 12 12 "<</cupsInteger0 8/PageSize[459 649]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 8/PageSize[459 649]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvB5/B5 Envelope 176x250mm" 499 709 12 12 12 12 "<</cupsInteger0 96/PageSize[499 709]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[499 709]/ImagingBBox null>>setpagedevice"

    // Custom page sizes from 1x4in to Legal
    HWMargins 12 12 12 12
    VariablePaperSize Yes
    MinSize 1in 4in
    MaxSize 8.5in 14in

    // <%LJFastRaster:Normal%>
    {
      ModelName "HP LaserJet 1010"
      Attribute "NickName" "" "HP LaserJet 1010, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 1010"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 1010;DES:hp laserjet 1010;"
      PCFileName "hp-laserjet_1010.ppd"
      Attribute "Product" "" "(HP LaserJet 1010 Printer)"
    }
    {
      ModelName "HP LaserJet 1012"
      Attribute "NickName" "" "HP LaserJet 1012, hpcups $Version"
      Attribute "ShortNickName" "" "HP LaserJet 1012"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 1012;DES:hp laserjet 1012;"
      PCFileName "hp-laserjet_1012.ppd"
      Attribute "Product" "" "(HP LaserJet 1012 Printer)"
    }
  } // End Supported media sizes.
} // End LJFastRaster

/////////////// DJ350
{
  Attribute "hpPrinterLanguage" "" "pcl3"
  Attribute "hpPrinterPlatform" "" "dj600"
  Attribute "HPMechOffset" "" "40"

  Group "General/General"

  // MediaPosition values map to MediaSource enumeration in global_types.h
  Option "InputSlot/Media Source" PickOne AnySetup 10.0
    *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"
    Choice "PhotoTray/Photo Tray" "<</MediaPosition 6>>setpagedevice"
    Choice "Upper/Upper Tray" "<</MediaPosition 1>>setpagedevice"
    Choice "Lower/Lower Tray" "<</MediaPosition 4>>setpagedevice"
    Choice "Envelope/Envelope Feeder" "<</MediaPosition 3>>setpagedevice"
    Choice "LargeCapacity/Large Capacity Tray" "<</MediaPosition 5>>setpagedevice"
    Choice "Manual/Manual Feeder" "<</MediaPosition 2>>setpagedevice"
    Choice "MPTray/Multi Purpose Tray" "<</MediaPosition 1>>setpagedevice"

  // cupsMediaType values map to MEDIATYPE from global_types.h
  Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0>>setpagedevice"

  // cupsCompression values map to QUALITY_MODE from global_types.h
  Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "NormalRGB/Normal Color" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 0/OutputType(0)/cupsString0(PlainNormalColor)/HWResolution[300 300]>>setpagedevice"
    Choice "NormalGray/Normal Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2/OutputType(0)/cupsString0(PlainNormalGrayK)/HWResolution[300 300]>>setpagedevice"
    Choice "DraftRGB/Draft Color" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 0/OutputType(-1)/cupsString0(PlainDraftColor)/HWResolution[300 300]>>setpagedevice"
    Choice "DraftGray/Draft Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2/OutputType(-1)/cupsString0(PlainDraftGrayK)/HWResolution[300 300]>>setpagedevice"
    Choice "Best/Best" "<</cupsColorSpace 3/cupsBitsPerColor 1/cupsRowStep 1/OutputType(1)/cupsString0(PlainBestGrayK)/HWResolution[600 300]>>setpagedevice"    // black only


  // Constraints

  Attribute "cupsModelName" "" "DESKJET 350"     // APDK device class

  {
// 5x7
  CustomMedia "Oufuku/Oufuku-Hagaki 148x200mm" 567 420 18 48 18 9 "<</cupsInteger0 101/PageSize[567 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[567 420]/ImagingBBox null>>setpagedevice"

// Standard
  CustomMedia "JB5/JB5 182x257mm" 516.24 728.64 18 48 18 9 "<</cupsInteger0 45/PageSize[516.24 728.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive/Executive 7.25x10.5in" 522 756 18 48 18 9 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
  CustomMedia "16k/16k 7.75x10.75in" 558 774 18 48 18 9 "<</cupsInteger0 101/PageSize[558 774]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[558 774]/ImagingBBox null>>setpagedevice"   // custom
  *CustomMedia "Letter/Letter 8.5x11in" 612 792 18 48 18 9 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4/A4 210x297mm" 595.44 841.68 18 48 18 9 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
  CustomMedia "ExecutiveJIS/Executive (JIS) 8.5x12.986in" 612 936 18 48 18 9 "<</cupsInteger0 101/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "FLSA/American Foolscap 8.5x13in" 612 936 18 48 18 9 "<</cupsInteger0 101/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal/Legal 8.5x14in" 612 1008 18 48 18 9 "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"

    // Custom page sizes from 1x4in to Legal
    HWMargins 18 48 18 9
    VariablePaperSize Yes
    MinSize 1in 4in
    MaxSize 8.5in 14in

    // <%DJ350:Normal%>
    {
      ModelName "HP Deskjet 350"
      Attribute "NickName" "" "HP Deskjet 350, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 350"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:hp deskjet 350;DES:hp deskjet 350;"
      PCFileName "hp-deskjet_350.ppd"
      Attribute "Product" "" "(HP Deskjet 350c Printer)"
      Attribute "Product" "" "(HP Deskjet 350cbi Printer)"
      Attribute "Product" "" "(HP dj350)"
    }
    {
      ModelName "HP Deskjet 400l"
      Attribute "NickName" "" "HP Deskjet 400l, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 400l"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:hp deskjet 400l;DES:hp deskjet 400l;"
      PCFileName "hp-deskjet_400l.ppd"
      Attribute "Product" "" "(HP Deskjet 400l Printer)"
    }
  } // End Supported media sizes.
} // End DJ350

//////////// DJ540 grayscale only
{
  Attribute "hpPrinterLanguage" "" "pcl3"
  Attribute "hpPrinterPlatform" "" "dj540"
  Attribute "HPMechOffset" "" "40"

  Group "General/General"

  // MediaPosition values map to MediaSource enumeration in global_types.h
  Option "InputSlot/Media Source" PickOne AnySetup 10.0
    *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"
    Choice "PhotoTray/Photo Tray" "<</MediaPosition 6>>setpagedevice"
    Choice "Upper/Upper Tray" "<</MediaPosition 1>>setpagedevice"
    Choice "Lower/Lower Tray" "<</MediaPosition 4>>setpagedevice"
    Choice "Envelope/Envelope Feeder" "<</MediaPosition 3>>setpagedevice"
    Choice "LargeCapacity/Large Capacity Tray" "<</MediaPosition 5>>setpagedevice"
    Choice "Manual/Manual Feeder" "<</MediaPosition 2>>setpagedevice"
    Choice "MPTray/Multi Purpose Tray" "<</MediaPosition 1>>setpagedevice"

  Option "ColorModel/Output Mode" PickOne AnySetup 10.0
    *Choice "Gray/Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2>>setpagedevice"

  // cupsMediaType values map to MEDIATYPE from global_types.h
  Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0>>setpagedevice"

  // cupsCompression values map to QUALITY_MODE from global_types.h
  Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "Normal/Normal" "<</OutputType(0)/cupsString0(PlainNormalGrayK)/HWResolution[300 300]>>setpagedevice"
    Choice "Draft/Draft" "<</OutputType(-1)/cupsString0(PlainDraftGrayK)/HWResolution[300 300]>>setpagedevice"

  // Constraints

  Attribute "cupsModelName" "" "DESKJET 540"     // APDK device class

  {
// 4x6 or smaller
  CustomMedia "Card3x5/Index Card 3x5in" 216 360 18 48 18 9 "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki/Hagaki 100x148mm" 284 420 18 48 18 9 "<</cupsInteger0 71/PageSize[284 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[284 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6/Photo 4x6in" 288 432 18 48 18 9 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6/A6 105x148mm" 297.36 419.76 18 48 18 9 "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"

// 5x7
  CustomMedia "Photo5x7/Photo 5x7in" 360 504 18 48 18 9 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card5x8/Index Card 5x8in" 360 576 18 48 18 9 "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku/Oufuku-Hagaki 148x200mm" 567 420 18 48 18 9 "<</cupsInteger0 72/PageSize[567 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[567 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5/A5 148x210mm" 419.76 595.44 18 48 18 9 "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"

// Standard
  CustomMedia "B5/B5 176x250mm" 498.96 708.48 18 48 18 9 "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5/JB5 182x257mm" 516.24 728.64 18 48 18 9 "<</cupsInteger0 45/PageSize[516.24 728.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive/Executive 7.25x10.5in" 522 756 18 48 18 9 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
  CustomMedia "16k/16k 7.75x10.75in" 558 774 18 48 18 9 "<</cupsInteger0 101/PageSize[558 774]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[558 774]/ImagingBBox null>>setpagedevice"   // custom
  *CustomMedia "Letter/Letter 8.5x11in" 612 792 18 48 18 9 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4/A4 210x297mm" 595.44 841.68 18 48 18 9 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
  CustomMedia "ExecutiveJIS/Executive (JIS) 8.5x12.986in" 612 936 18 48 18 9 "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "FLSA/American Foolscap 8.5x13in" 612 936 18 48 18 9 "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal/Legal 8.5x14in" 612 1008 18 48 18 9 "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"

// Envelope
  CustomMedia "EnvA2/A2 Envelope 4.37x5.75in" 314.64 414 18 48 18 9 "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.28 459.36 18 48 18 9 "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou4/#4 Japanese Envelope 90x205mm" 254.88 581.04 18 48 18 9 "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279 540 18 48 18 9 "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvDL/DL Envelope 110x220mm" 311.76 623.52 18 48 18 9 "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env10/#10 Envelope 4.12x9.5in" 297 684 18 48 18 9 "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 339.84 666 18 48 18 9 "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC5/C5 Envelope 162x229mm" 459 649 18 48 18 9 "<</cupsInteger0 91/PageSize[459 649]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 91/PageSize[459 649]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvB5/B5 Envelope 176x250mm" 499 709 18 48 18 9 "<</cupsInteger0 100/PageSize[499 709]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 100/PageSize[499 709]/ImagingBBox null>>setpagedevice"

    // Custom page sizes from 1x4in to Legal
    HWMargins 18 48 18 9
    VariablePaperSize Yes
    MinSize 1in 4in
    MaxSize 8.5in 14in

    // <%DJ540:GrayscaleOnly%>
    {
      ModelName "HP Deskjet 500"
      Attribute "NickName" "" "HP Deskjet 500, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 500"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 500;DES:deskjet 500;"
      PCFileName "hp-deskjet_500.ppd"
      Attribute "Product" "" "(HP Deskjet 500 Printer)"
      Attribute "Product" "" "(HP Deskjet 500j Printer)"
      Attribute "Product" "" "(HP Deskjet 500q Printer)"
      Attribute "Product" "" "(HP Deskjet 500k Printer)"
    }
    {
      ModelName "HP Deskjet 505j"
      Attribute "NickName" "" "HP Deskjet 505j, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 505j"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 505j;DES:deskjet 505j;"
      PCFileName "hp-deskjet_505j.ppd"
      Attribute "Product" "" "(HP Deskjet 505j Printer)"
    }
    {
      ModelName "HP Deskjet 510"
      Attribute "NickName" "" "HP Deskjet 510, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 510"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 510;DES:deskjet 510;"
      PCFileName "hp-deskjet_510.ppd"
      Attribute "Product" "" "(HP Deskjet 510 Printer)"
    }
    {
      ModelName "HP Deskjet 520"
      Attribute "NickName" "" "HP Deskjet 520, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 520"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 520;DES:deskjet 520;"
      PCFileName "hp-deskjet_520.ppd"
      Attribute "Product" "" "(HP Deskjet 520 Printer)"
    }
    {
      ModelName "HP Officejet"
      Attribute "NickName" "" "HP Officejet, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet;DES:officejet;"
      PCFileName "hp-officejet.ppd"
      Attribute "Product" "" "(HP Officejet All-in-one Printer)"
    }
    {
      ModelName "HP Officejet Lx"
      Attribute "NickName" "" "HP Officejet Lx, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet Lx"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet lx;DES:officejet lx;"
      PCFileName "hp-officejet_lx.ppd"
      Attribute "Product" "" "(HP Officejet Lx All-in-one Printer)"
    }
    {
      ModelName "HP Officejet Series 330"
      Attribute "NickName" "" "HP Officejet Series 330, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet Series 330"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet series 330;DES:officejet series 330;"
      PCFileName "hp-officejet_series_330.ppd"
      Attribute "Product" "" "(HP Officejet 330 All-in-one Printer)"
    }
    {
      ModelName "HP Officejet Series 350"
      Attribute "NickName" "" "HP Officejet Series 350, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet Series 350"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet series 350;DES:officejet series 350;"
      PCFileName "hp-officejet_series_350.ppd"
      Attribute "Product" "" "(HP Officejet 350 All-in-one Printer)"
    }
  } // End Supported media sizes.
} // End DJ540 Grayscale only

/////////////// DJ540
{
  Attribute "hpPrinterLanguage" "" "pcl3"
  Attribute "hpPrinterPlatform" "" "dj540"
  Attribute "HPMechOffset" "" "40"

  Group "General/General"

  // MediaPosition values map to MediaSource enumeration in global_types.h
  Option "InputSlot/Media Source" PickOne AnySetup 10.0
    *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"
    Choice "PhotoTray/Photo Tray" "<</MediaPosition 6>>setpagedevice"
    Choice "Upper/Upper Tray" "<</MediaPosition 1>>setpagedevice"
    Choice "Lower/Lower Tray" "<</MediaPosition 4>>setpagedevice"
    Choice "Envelope/Envelope Feeder" "<</MediaPosition 3>>setpagedevice"
    Choice "LargeCapacity/Large Capacity Tray" "<</MediaPosition 5>>setpagedevice"
    Choice "Manual/Manual Feeder" "<</MediaPosition 2>>setpagedevice"
    Choice "MPTray/Multi Purpose Tray" "<</MediaPosition 1>>setpagedevice"

  // cupsMediaType values map to MEDIATYPE from global_types.h
  Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0>>setpagedevice"

  // cupsCompression values map to QUALITY_MODE from global_types.h
  Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "NormalRGB/Normal Color" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 0/OutputType(0)/cupsString0(PlainNormalColor)/HWResolution[300 300]>>setpagedevice"
    Choice "NormalGray/Normal Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2/OutputType(0)/cupsString0(PlainNormalGrayK)/HWResolution[300 300]>>setpagedevice"
    Choice "DraftRGB/Draft Color" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 0/OutputType(-1)/cupsString0(PlainDraftColor)/HWResolution[300 300]>>setpagedevice"
    Choice "DraftGray/Draft Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2/OutputType(-1)/cupsString0(PlainDraftGrayK)/HWResolution[300 300]>>setpagedevice"

  // Constraints

  Attribute "cupsModelName" "" "DESKJET 540"     // APDK device class

  {
// 4x6 or smaller
  CustomMedia "Card3x5/Index Card 3x5in" 216 360 18 48 18 9 "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki/Hagaki 100x148mm" 284 420 18 48 18 9 "<</cupsInteger0 71/PageSize[284 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[284 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6/Photo 4x6in" 288 432 18 48 18 9 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6/A6 105x148mm" 297.36 419.76 18 48 18 9 "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"

// 5x7
  CustomMedia "Photo5x7/Photo 5x7in" 360 504 18 48 18 9 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card5x8/Index Card 5x8in" 360 576 18 48 18 9 "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku/Oufuku-Hagaki 148x200mm" 567 420 18 48 18 9 "<</cupsInteger0 72/PageSize[567 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[567 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5/A5 148x210mm" 419.76 595.44 18 48 18 9 "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"

// Standard
  CustomMedia "B5/B5 176x250mm" 498.96 708.48 18 48 18 9 "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5/JB5 182x257mm" 516.24 728.64 18 48 18 9 "<</cupsInteger0 45/PageSize[516.24 728.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive/Executive 7.25x10.5in" 522 756 18 48 18 9 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
  CustomMedia "16k/16k 7.75x10.75in" 558 774 18 48 18 9 "<</cupsInteger0 101/PageSize[558 774]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[558 774]/ImagingBBox null>>setpagedevice"   // custom
  *CustomMedia "Letter/Letter 8.5x11in" 612 792 18 48 18 9 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4/A4 210x297mm" 595.44 841.68 18 48 18 9 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
  CustomMedia "ExecutiveJIS/Executive (JIS) 8.5x12.986in" 612 936 18 48 18 9 "<</cupsInteger0 101/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "FLSA/American Foolscap 8.5x13in" 612 936 18 48 18 9 "<</cupsInteger0 101/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal/Legal 8.5x14in" 612 1008 18 48 18 9 "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"

// Envelope
  CustomMedia "EnvA2/A2 Envelope 4.37x5.75in" 314.64 414 18 48 18 9 "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.28 459.36 18 48 18 9 "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou4/#4 Japanese Envelope 90x205mm" 254.88 581.04 18 48 18 9 "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279 540 18 48 18 9 "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvDL/DL Envelope 110x220mm" 311.76 623.52 18 48 18 9 "<</cupsInteger0 101/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env10/#10 Envelope 4.12x9.5in" 297 684 18 48 18 9 "<</cupsInteger0 101/PageSize[297 684]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[297 684]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 339.84 666 18 48 18 9 "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC5/C5 Envelope 162x229mm" 459 649 18 48 18 9 "<</cupsInteger0 91/PageSize[459 649]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 91/PageSize[459 649]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvB5/B5 Envelope 176x250mm" 499 709 18 48 18 9 "<</cupsInteger0 100/PageSize[499 709]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 100/PageSize[499 709]/ImagingBBox null>>setpagedevice"

    // Custom page sizes from 1x4in to Legal
    HWMargins 18 48 18 9
    VariablePaperSize Yes
    MinSize 1in 4in
    MaxSize 8.5in 14in

    // <%DJ540:Normal%>
    {
      ModelName "HP Officejet Series 300"
      Attribute "NickName" "" "HP Officejet Series 300, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet Series 300"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet series 300;DES:officejet series 300;"
      PCFileName "hp-officejet_series_300.ppd"
      Attribute "Product" "" "(HP Officejet 300 All-in-one Printer)"
    }
    {
      ModelName "HP Officejet Series 310"
      Attribute "NickName" "" "HP Officejet Series 310, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet Series 310"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet series 310;DES:officejet series 310;"
      PCFileName "hp-officejet_series_310.ppd"
      Attribute "Product" "" "(HP Officejet 310 All-in-one Series Printer)"
    }
    {
      ModelName "HP Officejet Series 320"
      Attribute "NickName" "" "HP Officejet Series 320, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet Series 320"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet series 320;DES:officejet series 320;"
      PCFileName "hp-officejet_series_320.ppd"
      Attribute "Product" "" "(HP Officejet 320 All-in-one Series Printer)"
    }
    {
      ModelName "HP Deskjet 400"
      Attribute "NickName" "" "HP Deskjet 400, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 400"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:hp deskjet 400;DES:hp deskjet 400;"
      PCFileName "hp-deskjet_400.ppd"
      Attribute "Product" "" "(HP Deskjet 400 Printer)"
      Attribute "Product" "" "(HP Deskjet 400 Color Capable Printer)"
    }
    {
      ModelName "HP Deskjet 500c"
      Attribute "NickName" "" "HP Deskjet 500c, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 500c"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 500c;DES:deskjet 500c;"
      PCFileName "hp-deskjet_500c.ppd"
      Attribute "Product" "" "(HP Deskjet 500c Printer)"
    }
    {
      ModelName "HP Deskjet 540"
      Attribute "NickName" "" "HP Deskjet 540, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 540"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 540;DES:deskjet 540;"
      PCFileName "hp-deskjet_540.ppd"
      Attribute "Product" "" "(HP Deskjet 540 Printer)"
    }
    {
      ModelName "HP Deskjet 550c"
      Attribute "NickName" "" "HP Deskjet 550c, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 550c"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:hp deskjet 550c;DES:hp deskjet 550c;"
      PCFileName "hp-deskjet_550c.ppd"
      Attribute "Product" "" "(HP Deskjet 550c Printer)"
    }
  } // End Supported media sizes.
} // End DJ540

/////////////// DJ630
{
  Attribute "hpPrinterLanguage" "" "pcl3"
  Attribute "hpPrinterPlatform" "" "dj630"
  Attribute "HPMechOffset" "" "40"

  Group "General/General"

  // MediaPosition values map to MediaSource enumeration in global_types.h
  Option "InputSlot/Media Source" PickOne AnySetup 10.0
    *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"
    Choice "PhotoTray/Photo Tray" "<</MediaPosition 6>>setpagedevice"
    Choice "Upper/Upper Tray" "<</MediaPosition 1>>setpagedevice"
    Choice "Lower/Lower Tray" "<</MediaPosition 4>>setpagedevice"
    Choice "Envelope/Envelope Feeder" "<</MediaPosition 3>>setpagedevice"
    Choice "LargeCapacity/Large Capacity Tray" "<</MediaPosition 5>>setpagedevice"
    Choice "Manual/Manual Feeder" "<</MediaPosition 2>>setpagedevice"
    Choice "MPTray/Multi Purpose Tray" "<</MediaPosition 1>>setpagedevice"

  // cupsMediaType values map to MEDIATYPE from global_types.h
  Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0>>setpagedevice"
    Choice "Glossy/Photo Paper" "<</MediaType(Glossy)/cupsMediaType 3>>setpagedevice"

  // cupsCompression values map to QUALITY_MODE from global_types.h
  Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "NormalRGB/Normal Color" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 0/OutputType(0)/cupsString0(PlainNormalColor)/HWResolution[300 300]>>setpagedevice"
    Choice "NormalGray/Normal Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2/OutputType(0)/cupsString0(PlainNormalGrayK)/HWResolution[300 300]>>setpagedevice"
    Choice "DraftRGB/Draft Color" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 0/OutputType(-1)/cupsString0(PlainDraftColor)/HWResolution[300 300]>>setpagedevice"
    Choice "DraftGray/Draft Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2/OutputType(-1)/cupsString0(PlainDraftGrayK)/HWResolution[300 300]>>setpagedevice"
    Choice "Best/Best" "<</cupsColorSpace 3/cupsBitsPerColor 1/cupsRowStep 1/OutputType(1)/cupsString0(PlainBestGrayK)/HWResolution[600 300]>>setpagedevice"    // black only
    Choice "Photo/Photo" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 0/OutputType(2)/cupsString0(PhotoBestColor)/HWResolution[300 300]>>setpagedevice"

  // Constraints
  UIConstraints "*MediaType Glossy *OutputMode DraftRGB"
  UIConstraints "*MediaType Glossy *OutputMode DraftGray"
  UIConstraints "*MediaType Plain *OutputMode Photo"

  Attribute "cupsModelName" "" "DESKJET 630"     // APDK device class

  {
// 4x6 or smaller
  CustomMedia "Hagaki/Hagaki 100x148mm" 284 420 18.00 48.24 18.00 9.00 "<</cupsInteger0 71/PageSize[284 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[284 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6/Photo 4x6in" 288 432 18.00 48.24 18.00 9.00 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6/A6 105x148mm" 297.36 419.76 18.00 48.24 18.00 9.00 "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"

// 5x7
  CustomMedia "Photo5x7/Photo 5x7in" 360 504 18.00 48.24 18.00 9.00 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card5x8/Index Card 5x8in" 360 576 18.00 48.24 18.00 9.00 "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku/Oufuku-Hagaki 148x200mm" 567 420 18.00 48.24 18.00 9.00 "<</cupsInteger0 101/PageSize[567 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[567 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5/A5 148x210mm" 419.76 595.44 18.00 48.24 18.00 9.00 "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"

// Standard
  CustomMedia "B5/B5 176x250mm" 498.96 708.48 18.00 48.24 18.00 9.00 "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5/JB5 182x257mm" 516.24 728.64 18.00 48.24 18.00 9.00 "<</cupsInteger0 45/PageSize[516.24 728.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive/Executive 7.25x10.5in" 522 756 18.00 48.24 18.00 9.00 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
  CustomMedia "16k/16k 7.75x10.75in" 558 774 18.00 48.24 18.00 9.00 "<</cupsInteger0 101/PageSize[558 774]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[558 774]/ImagingBBox null>>setpagedevice"   // custom
  *CustomMedia "Letter/Letter 8.5x11in" 612 792 18.00 48.24 18.00 9.00 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4/A4 210x297mm" 595.44 841.68 9.72 48.24 9.72 9.00 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
  CustomMedia "ExecutiveJIS/Executive (JIS) 8.5x12.986in" 612 936 18.00 48.24 18.00 9.00 "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "FLSA/American Foolscap 8.5x13in" 612 936 18.00 48.24 18.00 9.00 "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal/Legal 8.5x14in" 612 1008 18.00 48.24 18.00 9.00 "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"

// Envelope
  CustomMedia "EnvA2/A2 Envelope 4.37x5.75in" 314.64 414 18.00 48.24 18.00 9.00 "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.28 459.36 18.00 48.24 18.00 9.00 "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou4/#4 Japanese Envelope 90x205mm" 254.88 581.04 18.00 48.24 18.00 9.00 "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279 540 18.00 48.24 18.00 9.00 "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvDL/DL Envelope 110x220mm" 311.76 623.52 18.00 48.24 18.00 9.00 "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env10/#10 Envelope 4.12x9.5in" 297 684 18.00 48.24 18.00 9.00 "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 339.84 666 18.00 48.24 18.00 9.00 "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC5/C5 Envelope 162x229mm" 459 649 18.00 48.24 18.00 9.00 "<</cupsInteger0 91/PageSize[459 649]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 91/PageSize[459 649]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvB5/B5 Envelope 176x250mm" 499 709 18.00 48.24 18.00 9.00 "<</cupsInteger0 100/PageSize[499 709]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 100/PageSize[499 709]/ImagingBBox null>>setpagedevice"

    // Custom page sizes from 1x4in to Legal
    HWMargins 18 48 18 9
    VariablePaperSize Yes
    MinSize 1in 4in
    MaxSize 8.5in 14in

    // <%DJ630:Normal%>
    {
      ModelName "HP Deskjet 630c"
      Attribute "NickName" "" "HP Deskjet 630c, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 630c"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 630c;DES:deskjet 630c;"
      PCFileName "hp-deskjet_630c.ppd"
      Attribute "Product" "" "(HP Deskjet 630c Printer)"
    }
    {
      ModelName "HP Deskjet 632c"
      Attribute "NickName" "" "HP Deskjet 632c, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 632c"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 632c;DES:deskjet 632c;"
      PCFileName "hp-deskjet_632c.ppd"
      Attribute "Product" "" "(HP Deskjet 632c Printer)"
    }
    {
      ModelName "HP Deskjet 656c"
      Attribute "NickName" "" "HP Deskjet 656c, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 656c"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 656c;DES:deskjet 656c;"
      PCFileName "hp-deskjet_656c.ppd"
      Attribute "Product" "" "(HP Deskjet 656c Printer)"
      Attribute "Product" "" "(HP Deskjet 656cvr Printer)"
    }
  } // End Supported media sizes.
} // End DJ630

/////////////// DJ600 and DJ6xx
{
  Attribute "hpPrinterLanguage" "" "pcl3"
  Attribute "hpPrinterPlatform" "" "dj600"
  Attribute "HPMechOffset" "" "40"

  Group "General/General"

  // MediaPosition values map to MediaSource enumeration in global_types.h
  Option "InputSlot/Media Source" PickOne AnySetup 10.0
    *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"
    Choice "PhotoTray/Photo Tray" "<</MediaPosition 6>>setpagedevice"
    Choice "Upper/Upper Tray" "<</MediaPosition 1>>setpagedevice"
    Choice "Lower/Lower Tray" "<</MediaPosition 4>>setpagedevice"
    Choice "Envelope/Envelope Feeder" "<</MediaPosition 3>>setpagedevice"
    Choice "LargeCapacity/Large Capacity Tray" "<</MediaPosition 5>>setpagedevice"
    Choice "Manual/Manual Feeder" "<</MediaPosition 2>>setpagedevice"
    Choice "MPTray/Multi Purpose Tray" "<</MediaPosition 1>>setpagedevice"

  // cupsMediaType values map to MEDIATYPE from global_types.h
  Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0>>setpagedevice"

  // cupsCompression values map to QUALITY_MODE from global_types.h
  Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "NormalRGB/Normal Color" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 0/OutputType(0)/cupsString0(PlainNormalColor)/HWResolution[300 300]>>setpagedevice"
    Choice "NormalGray/Normal Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2/OutputType(0)/cupsString0(PlainNormalGrayK)/HWResolution[300 300]>>setpagedevice"
    Choice "DraftRGB/Draft Color" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 0/OutputType(-1)/cupsString0(PlainDraftColor)/HWResolution[300 300]>>setpagedevice"
    Choice "DraftGray/Draft Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2/OutputType(-1)/cupsString0(PlainDraftGrayK)/HWResolution[300 300]>>setpagedevice"
    Choice "Best/Best" "<</cupsColorSpace 3/cupsBitsPerColor 1/cupsRowStep 1/OutputType(1)/cupsString0(PlainBestGrayK)/HWResolution[600 300]>>setpagedevice"   // black only

  {
// 4x6 or smaller
  CustomMedia "Card3x5/Index Card 3x5in" 216 360 18 48 18 9 "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki/Hagaki 100x148mm" 284 420 18 48 18 9 "<</cupsInteger0 101/PageSize[284 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[284 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6/Photo 4x6in" 288 432 18 48 18 9 "<</cupsInteger0 101/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6/A6 105x148mm" 297.36 419.76 18 48 18 9 "<</cupsInteger0 101/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"

// 5x7
  CustomMedia "Photo5x7/Photo 5x7in" 360 504 18 48 18 9 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card5x8/Index Card 5x8in" 360 576 18 48 18 9 "<</cupsInteger0 101/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[360 576]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku/Oufuku-Hagaki 148x200mm" 567 420 18 48 18 9 "<</cupsInteger0 101/PageSize[567 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[567 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5/A5 148x210mm" 419.76 595.44 18 48 18 9 "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"

// Standard
  CustomMedia "B5/B5 176x250mm" 498.96 708.48 18 48 18 9 "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5/JB5 182x257mm" 516.24 728.64 18 48 18 9 "<</cupsInteger0 45/PageSize[516.24 728.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive/Executive 7.25x10.5in" 522 756 18 48 18 9 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
  CustomMedia "16k/16k 7.75x10.75in" 558 774 18 48 18 9 "<</cupsInteger0 101/PageSize[558 774]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[558 774]/ImagingBBox null>>setpagedevice"   // custom
  *CustomMedia "Letter/Letter 8.5x11in" 612 792 18 48 18 9 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4/A4 210x297mm" 595.44 841.68 18 48 18 9 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
  CustomMedia "ExecutiveJIS/Executive (JIS) 8.5x12.986in" 612 936 18 48 18 9 "<</cupsInteger0 101/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "FLSA/American Foolscap 8.5x13in" 612 936 18 48 18 9 "<</cupsInteger0 101/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal/Legal 8.5x14in" 612 1008 18 48 18 9 "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"

// Envelope
  CustomMedia "EnvA2/A2 Envelope 4.37x5.75in" 314.64 414 18 48 18 9 "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.28 459.36 18 48 18 9 "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou4/#4 Japanese Envelope 90x205mm" 254.88 581.04 18 48 18 9 "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279 540 18 48 18 9 "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvDL/DL Envelope 110x220mm" 311.76 623.52 18 48 18 9 "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env10/#10 Envelope 4.12x9.5in" 297 684 18 48 18 9 "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 339.84 666 18 48 18 9 "<</cupsInteger0 101/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC5/C5 Envelope 162x229mm" 459 649 18 48 18 9 "<</cupsInteger0 91/PageSize[459 649]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 91/PageSize[459 649]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvB5/B5 Envelope 176x250mm" 499 709 18 48 18 9 "<</cupsInteger0 100/PageSize[499 709]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 100/PageSize[499 709]/ImagingBBox null>>setpagedevice"

    // Custom page sizes from 1x4in to Legal
    HWMargins 18 48 18 9
    VariablePaperSize Yes
    MinSize 1in 4in
    MaxSize 8.5in 14in

    {
      Attribute "cupsModelName" "" "DESKJET 600"     // APDK device class
      // <%DJ600:Normal%>
      {
        ModelName "HP Deskjet 600"
        Attribute "NickName" "" "HP Deskjet 600, hpcups $Version"
        Attribute "ShortNickName" "" "HP Deskjet 600"
        Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 600;DES:deskjet 600;"
        PCFileName "hp-deskjet_600.ppd"
        Attribute "Product" "" "(HP Deskjet 600c Printer)"
        Attribute "Product" "" "(HP Deskjet 600 Printer)"
        Attribute "Product" "" "(HP Deskjet 600k Printer)"
      }
    }
    {
      Attribute "cupsModelName" "" "DESKJET 660"     // APDK device class
      // <%DJ6xx:Normal%>
      {
        ModelName "HP Deskjet 1100"
        Attribute "NickName" "" "HP Deskjet 1100, hpcups $Version"
        Attribute "ShortNickName" "" "HP Deskjet 1100"
        Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 1100;DES:deskjet 1100;"
        PCFileName "hp-deskjet_1100.ppd"
        Attribute "Product" "" "(HP Deskjet 1100c Printer)"
      }
      {
        ModelName "HP Printer Scanner Copier 300"
        Attribute "NickName" "" "HP Printer Scanner Copier 300, hpcups $Version"
        Attribute "ShortNickName" "" "HP Printer Scanner Copier 300"
        Attribute "1284DeviceID" "" "MFG:HP;MDL:printer scanner copier 300;DES:printer scanner copier 300;"
        PCFileName "hp-printer_scanner_copier_300.ppd"
        Attribute "Product" "" "(HP Printer Scanner Copier 300)"
      }
      {
        ModelName "HP Officejet Series 520"
        Attribute "NickName" "" "HP Officejet Series 520, hpcups $Version"
        Attribute "ShortNickName" "" "HP Officejet Series 520"
        Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet series 520;DES:officejet series 520;"
        PCFileName "hp-officejet_series_520.ppd"
        Attribute "Product" "" "(HP Officejet 520 All-in-one Printer)"
      }
      {
        ModelName "HP Officejet Series 570"
        Attribute "NickName" "" "HP Officejet Series 570, hpcups $Version"
        Attribute "ShortNickName" "" "HP Officejet Series 570"
        Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet series 570;DES:officejet series 570;"
        PCFileName "hp-officejet_series_570.ppd"
        Attribute "Product" "" "(HP Officejet 570 All-in-one Printer)"
      }
      {
        ModelName "HP Officejet Series 580"
        Attribute "NickName" "" "HP Officejet Series 580, hpcups $Version"
        Attribute "ShortNickName" "" "HP Officejet Series 580"
        Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet series 580;DES:officejet series 580;"
        PCFileName "hp-officejet_series_580.ppd"
        Attribute "Product" "" "(HP Officejet 580 All-in-one Printer)"
      }
      {
        ModelName "HP Officejet Series 590"
        Attribute "NickName" "" "HP Officejet Series 590, hpcups $Version"
        Attribute "ShortNickName" "" "HP Officejet Series 590"
        Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet series 590;DES:officejet series 590;"
        PCFileName "hp-officejet_series_590.ppd"
        Attribute "Product" "" "(HP Officejet 590 All-in-one Printer)"
      }
      {
        ModelName "HP Officejet Series 600"
        Attribute "NickName" "" "HP Officejet Series 600, hpcups $Version"
        Attribute "ShortNickName" "" "HP Officejet Series 600"
        Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet series 600;DES:officejet series 600;"
        PCFileName "hp-officejet_series_600.ppd"
        Attribute "Product" "" "(HP Officejet 600 All-in-one Printer)"
      }
      {
        ModelName "HP Officejet Series 610"
        Attribute "NickName" "" "HP Officejet Series 610, hpcups $Version"
        Attribute "ShortNickName" "" "HP Officejet Series 610"
        Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet series 610;DES:officejet series 610;"
        PCFileName "hp-officejet_series_610.ppd"
        Attribute "Product" "" "(HP Officejet 610 All-in-one Printer)"
      }
      {
        ModelName "HP Officejet Series 630"
        Attribute "NickName" "" "HP Officejet Series 630, hpcups $Version"
        Attribute "ShortNickName" "" "HP Officejet Series 630"
        Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet series 630;DES:officejet series 630;"
        PCFileName "hp-officejet_series_630.ppd"
        Attribute "Product" "" "(HP Officejet 630 All-in-one Printer)"
        Attribute "Product" "" "(HP Officejet 635 All-in-one Printer)"
      }
      {
        ModelName "HP Deskjet 660"
        Attribute "NickName" "" "HP Deskjet 660, hpcups $Version"
        Attribute "ShortNickName" "" "HP Deskjet 660"
        Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 660;DES:deskjet 660;"
        PCFileName "hp-deskjet_660.ppd"
        Attribute "Product" "" "(HP Deskjet 660k Printer)"
        Attribute "Product" "" "(HP Deskjet 660c Printer)"
        Attribute "Product" "" "(HP Deskjet 660cse Printer)"
      }
      {
        ModelName "HP Deskjet 670"
        Attribute "NickName" "" "HP Deskjet 670, hpcups $Version"
        Attribute "ShortNickName" "" "HP Deskjet 670"
        Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 670;DES:deskjet 670;"
        PCFileName "hp-deskjet_670.ppd"
        Attribute "Product" "" "(HP Deskjet 670k Printer)"
      }
      {
        ModelName "HP Deskjet 670tv"
        Attribute "NickName" "" "HP Deskjet 670tv, hpcups $Version"
        Attribute "ShortNickName" "" "HP Deskjet 670tv"
        Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 670tv;DES:deskjet 670tv;"
        PCFileName "hp-deskjet_670tv.ppd"
        Attribute "Product" "" "(HP Deskjet 670tv Printer)"
      }
      {
        ModelName "HP Deskjet 670c"
        Attribute "NickName" "" "HP Deskjet 670c, hpcups $Version"
        Attribute "ShortNickName" "" "HP Deskjet 670c"
        Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 670c;DES:deskjet 670c;"
        PCFileName "hp-deskjet_670c.ppd"
        Attribute "Product" "" "(HP Deskjet 670c)"
      }
      {
        ModelName "HP Deskjet 672c"
        Attribute "NickName" "" "HP Deskjet 672c, hpcups $Version"
        Attribute "ShortNickName" "" "HP Deskjet 672c"
        Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 672c;DES:deskjet 672c;"
        PCFileName "hp-deskjet_672c.ppd"
        Attribute "Product" "" "(HP Deskjet 672c Printer)"
      }
      {
        ModelName "HP Deskjet 680"
        Attribute "NickName" "" "HP Deskjet 680, hpcups $Version"
        Attribute "ShortNickName" "" "HP Deskjet 680"
        Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 680;DES:deskjet 680;"
        PCFileName "hp-deskjet_680.ppd"
        Attribute "Product" "" "(HP Deskjet 680c Printer)"
      }
      {
        ModelName "HP Deskjet 682"
        Attribute "NickName" "" "HP Deskjet 682, hpcups $Version"
        Attribute "ShortNickName" "" "HP Deskjet 682"
        Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 682;DES:deskjet 682;"
        PCFileName "hp-deskjet_682.ppd"
        Attribute "Product" "" "(HP Deskjet 682c Printer)"
      }
    }
  } // End Supported media sizes.
} // End DJ600 and DJ6xx

///////////// DJ6xxPhoto
{
  Attribute "hpPrinterLanguage" "" "pcl3"
  Attribute "hpPrinterPlatform" "" "dj690"
  Attribute "HPMechOffset" "" "40"

  Group "General/General"

  // MediaPosition values map to MediaSource enumeration in global_types.h
  Option "InputSlot/Media Source" PickOne AnySetup 10.0
    *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"
    Choice "PhotoTray/Photo Tray" "<</MediaPosition 6>>setpagedevice"
    Choice "Upper/Upper Tray" "<</MediaPosition 1>>setpagedevice"
    Choice "Lower/Lower Tray" "<</MediaPosition 4>>setpagedevice"
    Choice "Envelope/Envelope Feeder" "<</MediaPosition 3>>setpagedevice"
    Choice "LargeCapacity/Large Capacity Tray" "<</MediaPosition 5>>setpagedevice"
    Choice "Manual/Manual Feeder" "<</MediaPosition 2>>setpagedevice"
    Choice "MPTray/Multi Purpose Tray" "<</MediaPosition 1>>setpagedevice"

  // cupsMediaType values map to MEDIATYPE from global_types.h
  Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0>>setpagedevice"
    Choice "Glossy/Photo Paper" "<</MediaType(Glossy)/cupsMediaType 3>>setpagedevice"

  // cupsCompression values map to QUALITY_MODE from global_types.h
  Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "NormalRGB/Normal Color" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 0/OutputType(0)/cupsString0(PlainNormalColor)/HWResolution[300 300]>>setpagedevice"
    Choice "NormalGray/Normal Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2/OutputType(0)/cupsString0(PlainNormalGrayK)/HWResolution[300 300]>>setpagedevice"
    Choice "DraftRGB/Draft Color" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 0/OutputType(-1)/cupsString0(PlainDraftColor)/HWResolution[300 300]>>setpagedevice"
    Choice "DraftGray/Draft Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2/OutputType(-1)/cupsString0(PlainDraftGrayK)/HWResolution[300 300]>>setpagedevice"
    Choice "Best/Best" "<</cupsColorSpace 3/cupsBitsPerColor 1/cupsRowStep 1/OutputType(1)/cupsString0(PlainBestGrayK)/HWResolution[600 300]>>setpagedevice"
    Choice "Photo/Photo" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 0/OutputType(2)/cupsString0(PhotoBestColor)/HWResolution[300 300]>>setpagedevice"

  // Constraints
  UIConstraints "*MediaType Glossy *OutputMode DraftRGB"
  UIConstraints "*MediaType Glossy *OutputMode DraftGray"
  UIConstraints "*MediaType Plain *OutputMode Photo"

  Attribute "cupsModelName" "" "DESKJET 610"     // APDK device class

  {
// 4x6 or smaller
  CustomMedia "Card3x5/Index Card 3x5in" 216 360 18.00 48.24 18.00 9.00 "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki/Hagaki 100x148mm" 284 420 18.00 48.24 18.00 9.00 "<</cupsInteger0 101/PageSize[284 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[284 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6/Photo 4x6in" 288 432 18.00 48.24 18.00 9.00 "<</cupsInteger0 101/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6/A6 105x148mm" 297.36 419.76 18.00 48.24 18.00 9.00 "<</cupsInteger0 101/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"

// 5x7
  CustomMedia "Photo5x7/Photo 5x7in" 360 504 18.00 48.24 18.00 9.00 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card5x8/Index Card 5x8in" 360 576 18.00 48.24 18.00 9.00 "<</cupsInteger0 101/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[360 576]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku/Oufuku-Hagaki 148x200mm" 567 420 18.00 48.24 18.00 9.00 "<</cupsInteger0 101/PageSize[567 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[567 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5/A5 148x210mm" 419.76 595.44 18.00 48.24 18.00 9.00 "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"

// Standard
  CustomMedia "B5/B5 176x250mm" 498.96 708.48 18.00 48.24 18.00 9.00 "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5/JB5 182x257mm" 516.24 728.64 18.00 48.24 18.00 9.00 "<</cupsInteger0 45/PageSize[516.24 728.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive/Executive 7.25x10.5in" 522 756 18.00 48.24 18.00 9.00 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
  CustomMedia "16k/16k 7.75x10.75in" 558 774 18.00 48.24 18.00 9.00 "<</cupsInteger0 101/PageSize[558 774]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[558 774]/ImagingBBox null>>setpagedevice"   // custom
  *CustomMedia "Letter/Letter 8.5x11in" 612 792 18.00 48.24 18.00 9.00 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4/A4 210x297mm" 595.44 841.68 9.72 48.24 9.72 9.00 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
  CustomMedia "ExecutiveJIS/Executive (JIS) 8.5x12.986in" 612 936 18.00 48.24 18.00 9.00 "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "FLSA/American Foolscap 8.5x13in" 612 936 18.00 48.24 18.00 9.00 "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal/Legal 8.5x14in" 612 1008 18.00 48.24 18.00 9.00 "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"

// Envelope
  CustomMedia "EnvA2/A2 Envelope 4.37x5.75in" 314.64 414 18.00 48.24 18.00 9.00 "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.28 459.36 18.00 48.24 18.00 9.00 "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou4/#4 Japanese Envelope 90x205mm" 254.88 581.04 18.00 48.24 18.00 9.00 "<</cupsInteger0 101/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279 540 18.00 48.24 18.00 9.00 "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvDL/DL Envelope 110x220mm" 311.76 623.52 18.00 48.24 18.00 9.00 "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env10/#10 Envelope 4.12x9.5in" 297 684 18.00 48.24 18.00 9.00 "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 339.84 666 18.00 48.24 18.00 9.00 "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC5/C5 Envelope 162x229mm" 459 649 18.00 48.24 18.00 9.00 "<</cupsInteger0 91/PageSize[459 649]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 91/PageSize[459 649]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvB5/B5 Envelope 176x250mm" 499 709 18.00 48.24 18.00 9.00 "<</cupsInteger0 100/PageSize[499 709]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 100/PageSize[499 709]/ImagingBBox null>>setpagedevice"

    // Custom page sizes from 1x4in to Legal
    HWMargins 18 48 18 9
    VariablePaperSize Yes
    MinSize 1in 4in
    MaxSize 8.5in 14in

    // <%DJ6xxPhoto:Normal%>
    {
      ModelName "HP Deskjet 610c"
      Attribute "NickName" "" "HP Deskjet 610c, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 610c"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 610c;DES:deskjet 610c;"
      PCFileName "hp-deskjet_610c.ppd"
      Attribute "Product" "" "(HP Deskjet 610c Printer)"
    }
    {
      ModelName "HP Deskjet 610cl"
      Attribute "NickName" "" "HP Deskjet 610cl, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 610cl"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 610cl;DES:deskjet 610cl;"
      PCFileName "hp-deskjet_610cl.ppd"
      Attribute "Product" "" "(HP Deskjet 610cl Printer)"
    }
    {
      ModelName "HP Deskjet 612c"
      Attribute "NickName" "" "HP Deskjet 612c, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 612c"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 612c;DES:deskjet 612c;"
      PCFileName "hp-deskjet_612c.ppd"
      Attribute "Product" "" "(HP Deskjet 612c Printer)"
    }
    {
      ModelName "HP Deskjet 640c"
      Attribute "NickName" "" "HP Deskjet 640c, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 640c"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 640c;DES:deskjet 640c;"
      PCFileName "hp-deskjet_640c.ppd"
      Attribute "Product" "" "(HP Deskjet 640c Lite Printer)"
      Attribute "Product" "" "(HP Deskjet 640c Printer)"
      Attribute "Product" "" "(HP Deskjet 640u Printer)"
      Attribute "Product" "" "(HP Deskjet 640c Pavilion Turbo Printer)"
      Attribute "Product" "" "(HP Deskjet 642c Printer)"
    }
    {
      ModelName "HP Deskjet 648c"
      Attribute "NickName" "" "HP Deskjet 648c, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 648c"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 648c;DES:deskjet 648c;"
      PCFileName "hp-deskjet_648c.ppd"
      Attribute "Product" "" "(HP Deskjet 648c Printer)"
    }
    {
      ModelName "HP Deskjet 690c"
      Attribute "NickName" "" "HP Deskjet 690c, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 690c"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 690c;DES:deskjet 690c;"
      PCFileName "hp-deskjet_690c.ppd"
      Attribute "Product" "" "(HP Deskjet 690 Printer)"
      Attribute "Product" "" "(HP Deskjet 690c Plus Printer)"
      Attribute "Product" "" "(HP Deskjet 690c Printer)"
    }
    {
      ModelName "HP Deskjet 692"
      Attribute "NickName" "" "HP Deskjet 692, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 692"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 692;DES:deskjet 692;"
      PCFileName "hp-deskjet_692.ppd"
      Attribute "Product" "" "(HP Deskjet 692k Printer)"
      Attribute "Product" "" "(HP Deskjet 692c Printer)"
    }
    {
      ModelName "HP Deskjet 693"
      Attribute "NickName" "" "HP Deskjet 693, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 693"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 693;DES:deskjet 693;"
      PCFileName "hp-deskjet_693.ppd"
      Attribute "Product" "" "(HP Deskjet 693c Printer)"
    }
    {
      ModelName "HP Deskjet 694"
      Attribute "NickName" "" "HP Deskjet 694, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 694"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 694;DES:deskjet 694;"
      PCFileName "hp-deskjet_694.ppd"
      Attribute "Product" "" "(HP Deskjet 694c Printer)"
    }
    {
      ModelName "HP Deskjet 695"
      Attribute "NickName" "" "HP Deskjet 695, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 695"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 695;DES:deskjet 695;"
      PCFileName "hp-deskjet_695.ppd"
      Attribute "Product" "" "(HP Deskjet 695cci Printer)"
      Attribute "Product" "" "(HP Deskjet 695c Printer)"
    }
    {
      ModelName "HP Deskjet 697"
      Attribute "NickName" "" "HP Deskjet 697, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 697"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 697;DES:deskjet 697;"
      PCFileName "hp-deskjet_697.ppd"
      Attribute "Product" "" "(HP Deskjet 697c Printer)"
    }
    {
      ModelName "HP Officejet Series 700"
      Attribute "NickName" "" "HP Officejet Series 700, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet Series 700"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet series 700;DES:officejet series 700;"
      PCFileName "hp-officejet_series_700.ppd"
      Attribute "Product" "" "(HP Officejet 700 All-in-one Printer)"
    }
    {
      ModelName "HP Officejet Series 710"
      Attribute "NickName" "" "HP Officejet Series 710, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet Series 710"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet series 710;DES:officejet series 710;"
      PCFileName "hp-officejet_series_710.ppd"
      Attribute "Product" "" "(HP Officejet 710 All-in-one Printer)"
    }
    {
      ModelName "HP Officejet Series 720"
      Attribute "NickName" "" "HP Officejet Series 720, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet Series 720"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet series 720;DES:officejet series 720;"
      PCFileName "hp-officejet_series_720.ppd"
      Attribute "Product" "" "(HP Officejet 720 All-in-one Printer)"
    }
    {
      ModelName "HP Officejet Series 725"
      Attribute "NickName" "" "HP Officejet Series 725, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet Series 725"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet series 725;DES:officejet series 725;"
      PCFileName "hp-officejet_series_725.ppd"
      Attribute "Product" "" "(HP Officejet 725 All-in-one Printer)"
    }
  } // End Supported media sizes.
} // End DJ6xxPhoto

///////////////// DJ8xx
{
  Attribute "hpPrinterLanguage" "" "pcl3gui"
  Attribute "hpPrinterPlatform" "" "dj895"
  Attribute "HPMechOffset" "" "40"

  Group "General/General"

  // MediaPosition values map to MediaSource enumeration in global_types.h
  Option "InputSlot/Media Source" PickOne AnySetup 10.0
    *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"
    Choice "PhotoTray/Photo Tray" "<</MediaPosition 6>>setpagedevice"
    Choice "Upper/Upper Tray" "<</MediaPosition 1>>setpagedevice"
    Choice "Lower/Lower Tray" "<</MediaPosition 4>>setpagedevice"
    Choice "Envelope/Envelope Feeder" "<</MediaPosition 3>>setpagedevice"
    Choice "LargeCapacity/Large Capacity Tray" "<</MediaPosition 5>>setpagedevice"
    Choice "Manual/Manual Feeder" "<</MediaPosition 2>>setpagedevice"
    Choice "MPTray/Multi Purpose Tray" "<</MediaPosition 1>>setpagedevice"

  // cupsMediaType values map to MEDIATYPE from global_types.h
  Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0>>setpagedevice"
    Choice "Glossy/Photo Paper" "<</MediaType(Glossy)/cupsMediaType 3>>setpagedevice"

  // cupsCompression values map to QUALITY_MODE from global_types.h
  Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "NormalRGB/Normal Color" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 0/OutputType(0)/cupsString0(PlainNormalColor)/HWResolution[300 300]>>setpagedevice"
    Choice "NormalGray/Normal Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2/OutputType(0)/cupsString0(PlainNormalGrayK)/HWResolution[600 600]>>setpagedevice"
    Choice "DraftRGB/Draft Color" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 0/OutputType(-1)/cupsString0(PlainDraftColor)/HWResolution[300 300]>>setpagedevice"
    Choice "DraftGray/Draft Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2/OutputType(-1)/cupsString0(PlainDraftGrayK)/HWResolution[300 300]>>setpagedevice"
    //Choice "BestGray/Best Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2/cupsCompression 2/HWResolution[600 600]>>setpagedevice"  // black only
    Choice "Photo/High-Resolution Photo" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 0/OutputType(2)/cupsString0(PhotoBestColor)/HWResolution[600 600]>>setpagedevice"

  // Constraints
  UIConstraints "*MediaType Glossy *OutputMode DraftGray"
  UIConstraints "*MediaType Glossy *OutputMode DraftRGB"
  UIConstraints "*MediaType Plain *OutputMode Photo"

  Attribute "cupsModelName" "" "DESKJET 810"     // APDK device class

  {
// 4x6 or smaller
  CustomMedia "Card3x5/Index Card 3x5in" 216 360 18.00 36.00 18.00 9.00 "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki/Hagaki 100x148mm" 284 420 9.00 36.00 9.00 9.00 "<</cupsInteger0 71/PageSize[284 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[284 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6/Photo 4x6in" 288 432 9.00 36.00 9.00 9.00 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6/A6 105x148mm" 297.36 419.76 9 36 9 9 "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"

// 5x7
  CustomMedia "Photo5x7/Photo 5x7in" 360 504 9.00 36.00 9.00 9.00 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card5x8/Index Card 5x8in" 360 576 18.00 36.00 18.00 9.00 "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku/Oufuku-Hagaki 148x200mm" 567 420 18.00 36.00 18.00 9.00 "<</cupsInteger0 72/PageSize[567 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[567 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5/A5 148x210mm" 419.76 595.44 9.00 36.00 9.00 9.00 "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"

// Standard
  CustomMedia "B5/B5 176x250mm" 498.96 708.48 9 36 9 9 "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5/JB5 182x257mm" 516.24 728.64 9 36 9 9 "<</cupsInteger0 45/PageSize[516.24 728.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive/Executive 7.25x10.5in" 522 756 18.00 36.00 18.00 9.00 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
  CustomMedia "16k/16k 7.75x10.75in" 558 774 18.00 36.00 18.00 9.00 "<</cupsInteger0 101/PageSize[558 774]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[558 774]/ImagingBBox null>>setpagedevice"   // custom
  *CustomMedia "Letter/Letter 8.5x11in" 612 792 18.00 36.00 18.00 9.00 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4/A4 210x297mm" 595.44 841.68 9.72 36.00 9.72 9.00 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
  CustomMedia "ExecutiveJIS/Executive (JIS) 8.5x12.986in" 612 936 18.00 36.00 18.00 9.00 "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "FLSA/American Foolscap 8.5x13in" 612 936 18.00 36.00 18.00 9.00 "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal/Legal 8.5x14in" 612 1008 18.00 36.00 18.00 9.00 "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"

// Envelope
  CustomMedia "EnvA2/A2 Envelope 4.37x5.75in" 314.64 414 9.00 36.00 9.00 9.00 "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.28 459.36 18.00 36.00 18.00 9.00 "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou4/#4 Japanese Envelope 90x205mm" 254.88 581.04 18.00 36.00 18.00 9.00 "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279 540 18.00 36.00 18.00 9.00 "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvDL/DL Envelope 110x220mm" 311.76 623.52 18.00 36.00 18.00 9.00 "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env10/#10 Envelope 4.12x9.5in" 297 684 18.00 36.00 18.00 9.00 "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 339.84 666 18.00 36.00 18.00 9.00 "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC5/C5 Envelope 162x229mm" 459 649 18.00 36.00 18.00 9.00 "<</cupsInteger0 91/PageSize[459 649]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 91/PageSize[459 649]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvB5/B5 Envelope 176x250mm" 499 709 18.00 36.00 18.00 9.00 "<</cupsInteger0 100/PageSize[499 709]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 100/PageSize[499 709]/ImagingBBox null>>setpagedevice"

    // Custom page sizes from 1x4in to Legal
    HWMargins 9 36 9 9
    VariablePaperSize Yes
    MinSize 1in 4in
    MaxSize 8.5in 14in

    // <%DJ8xx:Normal%>
    {
      ModelName "HP Deskjet 810c"
      Attribute "NickName" "" "HP Deskjet 810c, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 810c"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 810c;DES:deskjet 810c;"
      PCFileName "hp-deskjet_810c.ppd"
      Attribute "Product" "" "(HP Deskjet 810c Printer)"
    }
    {
      ModelName "HP Deskjet 812c"
      Attribute "NickName" "" "HP Deskjet 812c, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 812c"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 812c;DES:deskjet 812c;"
      PCFileName "hp-deskjet_812c.ppd"
      Attribute "Product" "" "(HP Deskjet 812c Printer)"
    }
    {
      ModelName "HP Deskjet 815c"
      Attribute "NickName" "" "HP Deskjet 815c, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 815c"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 815c;DES:deskjet 815c;"
      PCFileName "hp-deskjet_815c.ppd"
      Attribute "Product" "" "(HP Deskjet 815c Printer)"
    }
    {
      ModelName "HP Deskjet 816c"
      Attribute "NickName" "" "HP Deskjet 816c, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 816c"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 816c;DES:deskjet 816c;"
      PCFileName "hp-deskjet_816c.ppd"
      Attribute "Product" "" "(HP Deskjet 816 Printer)"
    }
    {
      ModelName "HP Deskjet 830c"
      Attribute "NickName" "" "HP Deskjet 830c, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 830c"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 830c;DES:deskjet 830c;"
      PCFileName "hp-deskjet_830c.ppd"
      Attribute "Product" "" "(HP Deskjet 830c Printer)"
    }
    {
      ModelName "HP Deskjet 832c"
      Attribute "NickName" "" "HP Deskjet 832c, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 832c"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 832c;DES:deskjet 832c;"
      PCFileName "hp-deskjet_832c.ppd"
      Attribute "Product" "" "(HP Deskjet 832c Printer)"
    }
    {
      ModelName "HP Deskjet 840c"
      Attribute "NickName" "" "HP Deskjet 840c, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 840c"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 840c;DES:deskjet 840c;"
      PCFileName "hp-deskjet_840c.ppd"
      Attribute "Product" "" "(HP Deskjet 840c Printer)"
    }
    {
      ModelName "HP Deskjet 841c"
      Attribute "NickName" "" "HP Deskjet 841c, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 841c"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 841c;DES:deskjet 841c;"
      PCFileName "hp-deskjet_841c.ppd"
      Attribute "Product" "" "(HP Deskjet 841c Printer)"
    }
    {
      ModelName "HP Deskjet 842c"
      Attribute "NickName" "" "HP Deskjet 842c, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 842c"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 842c;DES:deskjet 842c;"
      PCFileName "hp-deskjet_842c.ppd"
      Attribute "Product" "" "(HP Deskjet 842c Printer)"
    }
    {
      ModelName "HP Deskjet 843c"
      Attribute "NickName" "" "HP Deskjet 843c, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 843c"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 843c;DES:deskjet 843c;"
      PCFileName "hp-deskjet_843c.ppd"
      Attribute "Product" "" "(HP Deskjet 843c Printer)"
      Attribute "Product" "" "(HP Deskjet 843cxe Printer)"
    }
    {
      ModelName "HP Deskjet 880c"
      Attribute "NickName" "" "HP Deskjet 880c, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 880c"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 880c;DES:deskjet 880c;"
      PCFileName "hp-deskjet_880c.ppd"
      Attribute "Product" "" "(HP Deskjet 880c Printer)"
    }
    {
      ModelName "HP Deskjet 882c"
      Attribute "NickName" "" "HP Deskjet 882c, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 882c"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 882c;DES:deskjet 882c;"
      PCFileName "hp-deskjet_882c.ppd"
      Attribute "Product" "" "(HP Deskjet 882c Printer)"
    }
    {
      ModelName "HP Deskjet 895c"
      Attribute "NickName" "" "HP Deskjet 895c, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 895c"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 895c;DES:deskjet 895c;"
      PCFileName "hp-deskjet_895c.ppd"
      Attribute "Product" "" "(HP Deskjet 895cse Printer)"
      Attribute "Product" "" "(HP Deskjet 895c Printer)"
      Attribute "Product" "" "(HP Deskjet 895cxi Printer)"
    }
    {
      ModelName "HP Officejet r40"
      Attribute "NickName" "" "HP Officejet r40, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet r40"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet r40;DES:officejet r40;"
      PCFileName "hp-officejet_r40.ppd"
      Attribute "Product" "" "(HP Officejet r40 All-in-one Printer)"
    }
    {
      ModelName "HP Officejet r40xi"
      Attribute "NickName" "" "HP Officejet r40xi, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet r40xi"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet r40xi;DES:officejet r40xi;"
      PCFileName "hp-officejet_r40xi.ppd"
      Attribute "Product" "" "(HP Officejet r40xi All-in-one Printer)"
    }
    {
      ModelName "HP Officejet r45"
      Attribute "NickName" "" "HP Officejet r45, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet r45"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet r45;DES:officejet r45;"
      PCFileName "hp-officejet_r45.ppd"
      Attribute "Product" "" "(HP Officejet r45 All-in-one Printer)"
    }
    {
      ModelName "HP Officejet r60"
      Attribute "NickName" "" "HP Officejet r60, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet r60"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet r60;DES:officejet r60;"
      PCFileName "hp-officejet_r60.ppd"
      Attribute "Product" "" "(HP Officejet r60 All-in-one Printer)"
    }
    {
      ModelName "HP Officejet r65"
      Attribute "NickName" "" "HP Officejet r65, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet r65"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet r65;DES:officejet r65;"
      PCFileName "hp-officejet_r65.ppd"
      Attribute "Product" "" "(HP Officejet r65 All-in-one Printer)"
    }
    {
      ModelName "HP Officejet r80"
      Attribute "NickName" "" "HP Officejet r80, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet r80"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet r80;DES:officejet r80;"
      PCFileName "hp-officejet_r80.ppd"
      Attribute "Product" "" "(HP Officejet r80 All-in-one Printer)"
    }
    {
      ModelName "HP Officejet r80xi"
      Attribute "NickName" "" "HP Officejet r80xi, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet r80xi"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet r80xi;DES:officejet r80xi;"
      PCFileName "hp-officejet_r80xi.ppd"
      Attribute "Product" "" "(HP Officejet r80xi All-in-one Printer)"
    }
    {
      ModelName "HP Officejet T Series"
      Attribute "NickName" "" "HP Officejet T Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet T Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet t series;DES:officejet t series;"
      PCFileName "hp-officejet_t_series.ppd"
      Attribute "Product" "" "(HP Officejet t45 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet t45xi All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet t65 All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet t65xi All-in-one Printer)"
    }
    {
      ModelName "HP PSC 500"
      Attribute "NickName" "" "HP PSC 500, hpcups $Version"
      Attribute "ShortNickName" "" "HP PSC 500"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:psc 500;DES:psc 500;"
      PCFileName "hp-psc_500.ppd"
      Attribute "Product" "" "(HP PSC 500 All-in-one Printer)"
      Attribute "Product" "" "(HP PSC 500xi All-in-one Printer)"
    }
  } // End supported media sizes.
} // End DJ8xx

////////////// DJ8x5
{
  Attribute "hpPrinterLanguage" "" "pcl3gui"
  Attribute "hpPrinterPlatform" "" "dj8x5"
  Attribute "HPMechOffset" "" "40"

  Group "General/General"

  // MediaPosition values map to MediaSource enumeration in global_types.h
  Option "InputSlot/Media Source" PickOne AnySetup 10.0
    *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"
    Choice "PhotoTray/Photo Tray" "<</MediaPosition 6>>setpagedevice"
    Choice "Upper/Upper Tray" "<</MediaPosition 1>>setpagedevice"
    Choice "Lower/Lower Tray" "<</MediaPosition 4>>setpagedevice"
    Choice "Envelope/Envelope Feeder" "<</MediaPosition 3>>setpagedevice"
    Choice "LargeCapacity/Large Capacity Tray" "<</MediaPosition 5>>setpagedevice"
    Choice "Manual/Manual Feeder" "<</MediaPosition 2>>setpagedevice"
    Choice "MPTray/Multi Purpose Tray" "<</MediaPosition 1>>setpagedevice"

  // cupsMediaType values map to MEDIATYPE from global_types.h
  Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0>>setpagedevice"
    Choice "Glossy/Photo Paper" "<</MediaType(Glossy)/cupsMediaType 3>>setpagedevice"

  // cupsCompression values map to QUALITY_MODE from global_types.h
  Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "NormalRGB/Normal Color" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 0/OutputType(0)/cupsString0(PlainNormalColor)/HWResolution[300 300]>>setpagedevice"
    Choice "NormalGray/Normal Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2/OutputType(0)/cupsString0(PlainNormalGrayK)/HWResolution[600 600]>>setpagedevice"
    Choice "DraftRGB/Draft Color" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 0/OutputType(-1)/cupsString0(PlainDraftColor)/HWResolution[300 300]>>setpagedevice"
    Choice "DraftGray/Draft Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2/OutputType(-1)/cupsString0(PlainDraftGrayK)/HWResolution[300 300]>>setpagedevice"
    //Choice "BestGray/Best Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2/cupsCompression 2/HWResolution[600 600]>>setpagedevice"  // black only
    Choice "Photo/High-Resolution Photo" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 0/OutputType(2)/cupsString0(PhotoBestColor)/HWResolution[600 600]>>setpagedevice"

  // Constraints
  UIConstraints "*MediaType Glossy *OutputMode DraftGray"
  UIConstraints "*MediaType Glossy *OutputMode DraftRGB"
  UIConstraints "*MediaType Plain *OutputMode Photo"

  Attribute "cupsModelName" "" "DESKJET 825"     // APDK device class

  {
// 4x6 or smaller
  CustomMedia "Card3x5/Index Card 3x5in" 216 360 18.00 36.00 18.00 9.00 "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki/Hagaki 100x148mm" 284 420 9.00 36.00 9.00 9.00 "<</cupsInteger0 101/PageSize[284 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[284 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6/Photo 4x6in" 288 432 9.00 36.00 9.00 9.00 "<</cupsInteger0 101/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6/A6 105x148mm" 297.36 419.76 9.00 36.00 9.00 9.00 "<</cupsInteger0 101/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"

// 5x7
  CustomMedia "Photo5x7/Photo 5x7in" 360 504 9.00 36.00 9.00 9.00 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card5x8/Index Card 5x8in" 360 576 18.00 36.00 18.00 9.00 "<</cupsInteger0 101/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[360 576]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku/Oufuku-Hagaki 148x200mm" 567 420 18.00 36.00 18.00 9.00 "<</cupsInteger0 101/PageSize[567 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[567 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5/A5 148x210mm" 419.76 595.44 9.00 36.00 9.00 9.00 "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"

// Standard
  CustomMedia "B5/B5 176x250mm" 498.96 708.48 9 36 9 9 "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5/JB5 182x257mm" 516.24 728.64 9 36 9 9 "<</cupsInteger0 45/PageSize[516.24 728.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive/Executive 7.25x10.5in" 522 756 18.00 36.00 18.00 9.00 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
  CustomMedia "16k/16k 7.75x10.75in" 558 774 18.00 36.00 18.00 9.00 "<</cupsInteger0 40/PageSize[558 774]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 40/PageSize[558 774]/ImagingBBox null>>setpagedevice"   // custom
  *CustomMedia "Letter/Letter 8.5x11in" 612 792 18.00 36.00 18.00 9.00 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4/A4 210x297mm" 595.44 841.68 9 36 9 9 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal/Legal 8.5x14in" 612 1008 18.00 36.00 18.00 9.00 "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"

// Envelope
  CustomMedia "EnvA2/A2 Envelope 4.37x5.75in" 314.64 414 18.00 36.00 18.00 9.00 "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.28 459.36 18.00 36.00 18.00 9.00 "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou4/#4 Japanese Envelope 90x205mm" 254.88 581.04 18.00 36.00 18.00 9.00 "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279 540 18.00 36.00 18.00 9.00 "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvDL/DL Envelope 110x220mm" 311.76 623.52 18.00 36.00 18.00 9.00 "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env10/#10 Envelope 4.12x9.5in" 297 684 18.00 36.00 18.00 9.00 "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 339.84 666 18.00 36.00 18.00 9.00 "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC5/C5 Envelope 162x229mm" 459 649 18.00 36.00 18.00 9.00 "<</cupsInteger0 91/PageSize[459 649]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 91/PageSize[459 649]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvB5/B5 Envelope 176x250mm" 499 709 18.00 36.00 18.00 9.00 "<</cupsInteger0 100/PageSize[499 709]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 100/PageSize[499 709]/ImagingBBox null>>setpagedevice"

    // Custom page sizes from 1x4in to Legal
    HWMargins 9 36 9 9
    VariablePaperSize Yes
    MinSize 1in 4in
    MaxSize 8.5in 14in

    // <%DJ8x5:Normal%>
    {
      ModelName "HP Deskjet 825c"
      Attribute "NickName" "" "HP Deskjet 825c, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 825c"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 825c;DES:deskjet 825c;"
      PCFileName "hp-deskjet_825c.ppd"
      Attribute "Product" "" "(HP Deskjet 825cvr Printer)"
      Attribute "Product" "" "(HP Deskjet 825c Printer)"
    }
    {
      ModelName "HP Deskjet 845c"
      Attribute "NickName" "" "HP Deskjet 845c, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 845c"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 845c;DES:deskjet 845c;"
      PCFileName "hp-deskjet_845c.ppd"
      Attribute "Product" "" "(HP Deskjet 845c Printer)"
      Attribute "Product" "" "(HP Deskjet 845cvr Printer)"
    }
  } // End supported media sizes.
} // End DJ8x5

///////////////////// DJ850
{
  Attribute "hpPrinterLanguage" "" "pcl3"
  Attribute "hpPrinterPlatform" "" "dj850"
  Attribute "HPMechOffset" "" "40"

  Group "General/General"

  // MediaPosition values map to MediaSource enumeration in global_types.h
  Option "InputSlot/Media Source" PickOne AnySetup 10.0
    *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"
    Choice "PhotoTray/Photo Tray" "<</MediaPosition 6>>setpagedevice"
    Choice "Upper/Upper Tray" "<</MediaPosition 1>>setpagedevice"
    Choice "Lower/Lower Tray" "<</MediaPosition 4>>setpagedevice"
    Choice "Envelope/Envelope Feeder" "<</MediaPosition 3>>setpagedevice"
    Choice "LargeCapacity/Large Capacity Tray" "<</MediaPosition 5>>setpagedevice"
    Choice "Manual/Manual Feeder" "<</MediaPosition 2>>setpagedevice"
    Choice "MPTray/Multi Purpose Tray" "<</MediaPosition 1>>setpagedevice"

  // cupsMediaType values map to MEDIATYPE from global_types.h
  Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0>>setpagedevice"

  // cupsCompression values map to QUALITY_MODE from global_types.h
  Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "NormalRGB/Normal" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 0/OutputType(0)/cupsString0(PlainNormalColor)/HWResolution[300 300]>>setpagedevice"
    Choice "NormalGray/Normal Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 0/cupsString0(PlainNormalGrayK)/OutputType(0)/HWResolution[300 300]>>setpagedevice"
    Choice "DraftRGB/Draft" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 0/OutputType(-1)/cupsString0(PlainDraftColor)/HWResolution[300 300]>>setpagedevice"
    Choice "DraftGray/Draft Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 0/OutputType(-1)/cupsString0(PlainDraftGrayK)/HWResolution[300 300]>>setpagedevice"

  // Constraints

  {
// 4x6 or smaller
  CustomMedia "Hagaki/Hagaki 100x148mm" 284 420 9 36 9 9 "<</cupsInteger0 71/PageSize[284 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[284 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6/Photo 4x6in" 288 432 9.00 36.00 9.00 9.00 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6/A6 105x148mm" 297.36 419.76 9 36 9 9 "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"

// 5x7
  CustomMedia "Photo5x7/Photo 5x7in" 360 504 9 36 9 9 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card5x8/Index Card 5x8in" 360 576 18.00 36.00 18.00 9.00 "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku/Oufuku-Hagaki 148x200mm" 567 420 18.00 36.00 18.00 9.00 "<</cupsInteger0 72/PageSize[567 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[567 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5/A5 148x210mm" 419.76 595.44 9 36 9 9 "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"

// Standard
  CustomMedia "B5/B5 176x250mm" 498.96 708.48 9 36 9 9 "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5/JB5 182x257mm" 516.24 728.64 9 36 9 9 "<</cupsInteger0 45/PageSize[516.24 728.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive/Executive 7.25x10.5in" 522 756 18.00 36.00 18.00 9.00 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
  CustomMedia "16k/16k 7.75x10.75in" 558 774 18.00 36.00 18.00 9.00 "<</cupsInteger0 101/PageSize[558 774]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[558 774]/ImagingBBox null>>setpagedevice"   // custom
  *CustomMedia "Letter/Letter 8.5x11in" 612 792 18.00 36.00 18.00 9.00 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4/A4 210x297mm" 595.44 841.68 9.72 36.00 9.72 9.00 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
  CustomMedia "ExecutiveJIS/Executive (JIS) 8.5x12.986in" 612 936 18.00 36.00 18.00 9.00 "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "FLSA/American Foolscap 8.5x13in" 612 936 18.00 36.00 18.00 9.00 "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal/Legal 8.5x14in" 612 1008 18.00 36.00 18.00 9.00 "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"

// Envelope
  CustomMedia "EnvA2/A2 Envelope 4.37x5.75in" 314.64 414 18.00 36.00 18.00 9.00 "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.28 459.36 18.00 36.00 18.00 9.00 "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou4/#4 Japanese Envelope 90x205mm" 254.88 581.04 18.00 36.00 18.00 9.00 "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279 540 18.00 36.00 18.00 9.00 "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvDL/DL Envelope 110x220mm" 311.76 623.52 18.00 36.00 18.00 9.00 "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env10/#10 Envelope 4.12x9.5in" 297 684 18.00 36.00 18.00 9.00 "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 339.84 666 18.00 36.00 18.00 9.00 "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC5/C5 Envelope 162x229mm" 459 649 18.00 36.00 18.00 9.00 "<</cupsInteger0 91/PageSize[459 649]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 91/PageSize[459 649]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvB5/B5 Envelope 176x250mm" 499 709 18.00 36.00 18.00 9.00 "<</cupsInteger0 100/PageSize[499 709]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 100/PageSize[499 709]/ImagingBBox null>>setpagedevice"

    // Custom page sizes from 1x4in to Legal
    HWMargins 9 36 9 9
    VariablePaperSize Yes
    MinSize 1in 4in
    MaxSize 8.5in 14in

    Attribute "cupsModelName" "" "DESKJET 850"     // APDK device class
    // <%DJ850:Normal%>
    {
      ModelName "HP Officejet Pro 1150c"
      Attribute "NickName" "" "HP Officejet Pro 1150c, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet Pro 1150c"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet pro 1150c;DES:officejet pro 1150c;"
      PCFileName "hp-officejet_pro_1150c.ppd"
      Attribute "Product" "" "(HP Officejet Pro 1150c All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet Pro 1150cse All-in-one Printer)"
    }
    {
      ModelName "HP Deskjet 850c"
      Attribute "NickName" "" "HP Deskjet 850c, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 850c"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 850c;DES:deskjet 850c;"
      PCFileName "hp-deskjet_850c.ppd"
      Attribute "Product" "" "(HP Deskjet 850k Printer)"
      Attribute "Product" "" "(HP Deskjet 850c Printer)"
    }
    {
      ModelName "HP Deskjet 855c"
      Attribute "NickName" "" "HP Deskjet 855c, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 855c"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 855c;DES:deskjet 855c;"
      PCFileName "hp-deskjet_855c.ppd"
      Attribute "Product" "" "(HP Deskjet 855cxi Printer)"
      Attribute "Product" "" "(HP Deskjet 855c Printer)"
      Attribute "Product" "" "(HP Deskjet 855cse Printer)"
    }
    {
      ModelName "HP Deskjet 870c"
      Attribute "NickName" "" "HP Deskjet 870c, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 870c"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 870c;DES:deskjet 870c;"
      PCFileName "hp-deskjet_870c.ppd"
      Attribute "Product" "" "(HP Deskjet 870k Printer)"
      Attribute "Product" "" "(HP Deskjet 870c Printer)"
      Attribute "Product" "" "(HP Deskjet 870cse Printer)"
      Attribute "Product" "" "(HP Deskjet 870cxi Printer)"
    }

  } // End supported media sizes.
} // End DJ850

///////////////////// DJ890
{
  Attribute "hpPrinterLanguage" "" "pcl3gui"
  Attribute "hpPrinterPlatform" "" "dj890"
  Attribute "HPMechOffset" "" "40"

  Group "General/General"

  // MediaPosition values map to MediaSource enumeration in global_types.h
  Option "InputSlot/Media Source" PickOne AnySetup 10.0
    *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"
    Choice "PhotoTray/Photo Tray" "<</MediaPosition 6>>setpagedevice"
    Choice "Upper/Upper Tray" "<</MediaPosition 1>>setpagedevice"
    Choice "Lower/Lower Tray" "<</MediaPosition 4>>setpagedevice"
    Choice "Envelope/Envelope Feeder" "<</MediaPosition 3>>setpagedevice"
    Choice "LargeCapacity/Large Capacity Tray" "<</MediaPosition 5>>setpagedevice"
    Choice "Manual/Manual Feeder" "<</MediaPosition 2>>setpagedevice"
    Choice "MPTray/Multi Purpose Tray" "<</MediaPosition 1>>setpagedevice"

  // cupsMediaType values map to MEDIATYPE from global_types.h
  Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0>>setpagedevice"

  // cupsCompression values map to QUALITY_MODE from global_types.h
  Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "NormalRGB/Normal Color" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 0/OutputType(0)/cupsString0(PlainNormalColor)/HWResolution[300 300]>>setpagedevice"
    Choice "NormalGray/Normal Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2/OutputType(0)/cupsString0(PlainNormalGrayK)/HWResolution[300 300]>>setpagedevice"
    Choice "DraftRGB/Draft Color" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 0/OutputType(-1)/cupsString0(PlainDraftColor)/HWResolution[300 300]>>setpagedevice"
    Choice "DraftGray/Draft Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2/OutputType(-1)/cupsString0(PlainDraftGrayK)/HWResolution[300 300]>>setpagedevice"

  // Constraints

  {
// 4x6 or smaller
  CustomMedia "Card3x5/Index Card 3x5in" 216 360 18.00 36.00 18.00 9.00 "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki/Hagaki 100x148mm" 284 420 9 36 9 9 "<</cupsInteger0 71/PageSize[284 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[284 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6/Photo 4x6in" 288 432 9.00 36.00 9.00 9.00 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6/A6 105x148mm" 297.36 419.76 9.00 36.00 9.00 9.00 "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"

// 5x7
  CustomMedia "Photo5x7/Photo 5x7in" 360 504 9 36 9 9 "<</cupsInteger0 101/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card5x8/Index Card 5x8in" 360 576 18.00 36.00 18.00 9.00 "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku/Oufuku-Hagaki 148x200mm" 567 420 18.00 36.00 18.00 9.00 "<</cupsInteger0 72/PageSize[567 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[567 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5/A5 148x210mm" 419.76 595.44 9 36 9 9 "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"

// Standard
  CustomMedia "B5/B5 176x250mm" 498.96 708.48 9 36 9 9 "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5/JB5 182x257mm" 516.24 728.64 9 36 9 9 "<</cupsInteger0 45/PageSize[516.24 728.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive/Executive 7.25x10.5in" 522 756 18.00 36.00 18.00 9.00 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
  CustomMedia "16k/16k 7.75x10.75in" 558 774 18.00 36.00 18.00 9.00 "<</cupsInteger0 101/PageSize[558 774]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[558 774]/ImagingBBox null>>setpagedevice"   // custom
  *CustomMedia "Letter/Letter 8.5x11in" 612 792 18.00 36.00 18.00 9.00 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4/A4 210x297mm" 595.44 841.68 9.72 36.00 9.72 9.00 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
  CustomMedia "ExecutiveJIS/Executive (JIS) 8.5x12.986in" 612 936 18.00 36.00 18.00 9.00 "<</cupsInteger0 101/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "FLSA/American Foolscap 8.5x13in" 612 936 18.00 36.00 18.00 9.00 "<</cupsInteger0 101/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal/Legal 8.5x14in" 612 1008 18.00 36.00 18.00 9.00 "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"

// Envelope
  CustomMedia "EnvA2/A2 Envelope 4.37x5.75in" 314.64 414 9 36 9 9 "<</cupsInteger0 101/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.28 459.36 18.00 36.00 18.00 9.00 "<</cupsInteger0 101/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou4/#4 Japanese Envelope 90x205mm" 254.88 581.04 9 36 9 9 "<</cupsInteger0 101/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279 540 18.00 36.00 18.00 9.00 "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvDL/DL Envelope 110x220mm" 311.76 623.52 18.00 36.00 18.00 9.00 "<</cupsInteger0 101/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env10/#10 Envelope 4.12x9.5in" 297 684 18.00 36.00 18.00 9.00 "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 339.84 666 9 36 9 9 "<</cupsInteger0 101/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC5/C5 Envelope 162x229mm" 459 649 18.00 36.00 18.00 9.00 "<</cupsInteger0 91/PageSize[459 649]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 91/PageSize[459 649]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvB5/B5 Envelope 176x250mm" 499 709 18.00 36.00 18.00 9.00 "<</cupsInteger0 100/PageSize[499 709]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 100/PageSize[499 709]/ImagingBBox null>>setpagedevice"

    // Custom page sizes from 1x4in to Legal
    HWMargins 9 36 9 9
    VariablePaperSize Yes
    MinSize 1in 4in
    MaxSize 8.5in 14in

    Attribute "cupsModelName" "" "DESKJET 890"     // APDK device class
    // <%DJ890:Normal%>
    {
      ModelName "HP Officejet Pro 1170c Series"
      Attribute "NickName" "" "HP Officejet Pro 1170c Series, hpcups $Version"
      Attribute "ShortNickName" "" "HP Officejet Pro 1170c Series"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet pro 1170c series;DES:officejet pro 1170c series;"
      PCFileName "hp-officejet_pro_1170c_series.ppd"
      Attribute "Product" "" "(HP Officejet Pro 1170c All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet Pro 1170cse All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet Pro 1170cxi All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet Pro 1175c All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet Pro 1175cse All-in-one Printer)"
      Attribute "Product" "" "(HP Officejet Pro 1175cxi All-in-one Printer)"
    }
    {
      ModelName "HP Deskjet 890c"
      Attribute "NickName" "" "HP Deskjet 890c, hpcups $Version"
      Attribute "ShortNickName" "" "HP Deskjet 890c"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:deskjet 890c;DES:deskjet 890c;"
      PCFileName "hp-deskjet_890c.ppd"
      Attribute "Product" "" "(HP Deskjet 890cse Printer)"
      Attribute "Product" "" "(HP Deskjet 890c Printer)"
    }

  } // End supported media sizes.
} // End DJ890

///////////////// LJZjsMono (for proprietary plugin)
{
  Attribute "hpPrinterLanguage" "" "ljzjstream"
  ColorDevice No

  Group "General/General"

  Attribute "cupsIPPReason" "hplip.plugin-error/HP Device requires a proprietary binary Plug-in, run hp-plugin" ""

  Option "Duplex/Double-Sided Printing" PickOne AnySetup 10.0
    Choice "DuplexNoTumble/Long Edge (Standard)" "<</Duplex true/Tumble false>>setpagedevice"
    Choice "DuplexTumble/Short Edge (Flip)" "<</Duplex true/Tumble true>>setpagedevice"
    *Choice "None/Off" "<</Duplex false/Tumble false>>setpagedevice"

  // MediaPosition values map to MediaSource enumeration in global_types.h
  Option "InputSlot/Media Source" PickOne AnySetup 10.0
    *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"
    Choice "PhotoTray/Photo Tray" "<</MediaPosition 1>>setpagedevice"
    Choice "Upper/Upper Tray" "<</MediaPosition 1>>setpagedevice"
    Choice "Lower/Lower Tray" "<</MediaPosition 4>>setpagedevice"
    Choice "Envelope/Envelope Feeder" "<</MediaPosition 3>>setpagedevice"
    Choice "LargeCapacity/Large Capacity Tray" "<</MediaPosition 5>>setpagedevice"
    Choice "Manual/Manual Feeder" "<</MediaPosition 2>>setpagedevice"
    Choice "MPTray/Multi Purpose Tray" "<</MediaPosition 1>>setpagedevice"

  // cupsRowCount values map to PEN_TYPE + 1 from global_types.h
  Option "ColorModel/Output Mode" PickOne AnySetup 10.0
    *Choice "Gray/Grayscale" "<</cupsColorSpace 3/cupsBitsPerColor 1/cupsRowCount 1/cupsRowStep 2>>setpagedevice"

  // cupsMediaType values map to MEDIATYPE from global_types.h
  Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0>>setpagedevice"

  // cupsCompression values map to QUALITY_MODE from global_types.h
  Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "Normal/Normal" "<</OutputType(0)/HWResolution[600 600]>>setpagedevice"
    Choice "Draft/Draft" "<</OutputType(-1)/HWResolution[600 600]>>setpagedevice"

  // Duplexer is optional...
  Installable "OptionDuplex/Duplexer Installed"

  // Constraints
  //UIConstraints "*Duplex *OptionDuplex False"

  Attribute "cupsModelName" "" "HP LaserJet 1018"     // APDK device class

  {
// 4x6 or smaller
  CustomMedia "Card3x5/Index Card 3x5in" 216 360 12.96 15.5 12.96 15.5 "<</cupsInteger0 96/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[216 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki/Hagaki 100x148mm" 284 420 19.12 15.5 19.12 15.5 "<</cupsInteger0 43/PageSize[284 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 43/PageSize[284 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6/A6 105x148mm" 297.36 419.76 18.12 15.5 18.12 15.5 "<</cupsInteger0 96/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"

// 5x7
  CustomMedia "Card5x8/Index Card 5x8in" 360 576 18.72 15.5 18.72 15.5 "<</cupsInteger0 96/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[360 576]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku/Oufuku-Hagaki 148x200mm" 567 420 18.54 15.5 18.54 15.5 "<</cupsInteger0 43/PageSize[567 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 43/PageSize[567 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5/A5 148x210mm" 419.76 595.44 18 15.5 18 15.5 "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"

// Standard
  CustomMedia "B5/B5 176x250mm" 498.96 708.48 19.08 14.4 19.08 14.4 "<</cupsInteger0 357/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 357/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5/JB5 182x257mm" 516.24 728.64 18 15.5 18 15.5 "<</cupsInteger0 96/PageSize[516.24 728.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive/Executive 7.25x10.5in" 522 756 19.08 15.5 19.08 15.5 "<</cupsInteger0 7/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/PageSize[522 756]/ImagingBBox null>>setpagedevice"
  CustomMedia "16k/16k 7.75x10.75in" 558 774 18 15.5 18 15.5 "<</cupsInteger0 96/PageSize[558 774]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[558 774]/ImagingBBox null>>setpagedevice"   // custom
  *CustomMedia "Letter/Letter 8.5x11in" 612 792 18 15.5 18 15.5 "<</cupsInteger0 1/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[612 792]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4/A4 210x297mm" 595.44 841.68 18 15.5 18 15.5 "<</cupsInteger0 9/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 9/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
  CustomMedia "ExecutiveJIS/Executive (JIS) 8.5x12.986in" 612 936 18 15.5 18 15.5 "<</cupsInteger0 96/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "FLSA/American Foolscap 8.5x13in" 612 936 18 15.5 18 15.5 "<</cupsInteger0 258/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 258/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal/Legal 8.5x14in" 612 1008 18 15.5 18 15.5 "<</cupsInteger0 5/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 5/PageSize[612 1008]/ImagingBBox null>>setpagedevice"

// Envelope
  CustomMedia "EnvA2/A2 Envelope 4.37x5.75in" 314.64 414 19.08 15.5 19.08 15.5 "<</cupsInteger0 96/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.28 459.36 19.56 15.5 19.56 15.5 "<</cupsInteger0 96/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou4/#4 Japanese Envelope 90x205mm" 254.88 581.04 19.92 15.5 19.92 15.5 "<</cupsInteger0 96/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279 540 18 15.5 18 15.5 "<</cupsInteger0 96/PageSize[279 540]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[279 540]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvDL/DL Envelope 110x220mm" 311.76 623.52 18 15.5 18 15.5 "<</cupsInteger0 27/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 27/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env10/#10 Envelope 4.12x9.5in" 297 684 18 15.5 18 15.5 "<</cupsInteger0 20/PageSize[297 684]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 20/PageSize[297 684]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 339.84 666 18 15.5 18 15.5 "<</cupsInteger0 96/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC5/C5 Envelope 162x229mm" 459 649 18.3 15.5 18.3 15.5 "<</cupsInteger0 96/PageSize[459 649]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[459 649]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvB5/B5 Envelope 176x250mm" 499 709 18 15.5 18 15.5 "<</cupsInteger0 357/PageSize[499 709]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 357/PageSize[499 709]/ImagingBBox null>>setpagedevice"

    // Custom page sizes from 1x4in to Legal
    HWMargins 18 15.5 18 15.5
    VariablePaperSize Yes
    MinSize 1in 4in
    MaxSize 8.5in 14in

    // <%LJZjsMono:Normal%>
    {
      ModelName "HP LaserJet 1000"
      Attribute "NickName" "" "HP LaserJet 1000, hpcups $Version, requires proprietary plugin"
      Attribute "ShortNickName" "" "HP LaserJet 1000"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 1000;DES:hp laserjet 1000;"
      PCFileName "hp-laserjet_1000.ppd"
      Attribute "Product" "" "(HP LaserJet 1000 Printer)"
    }
    {
      ModelName "HP LaserJet 1005 Series"
      Attribute "NickName" "" "HP LaserJet 1005 Series, hpcups $Version, requires proprietary plugin"
      Attribute "ShortNickName" "" "HP LaserJet 1005 Series"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 1005 series;DES:hp laserjet 1005 series;"
      PCFileName "hp-laserjet_1005_series.ppd"
      Attribute "Product" "" "(HP LaserJet 1005 Printer)"
    }
    {
      ModelName "HP LaserJet 1018"
      Attribute "NickName" "" "HP LaserJet 1018, hpcups $Version, requires proprietary plugin"
      Attribute "ShortNickName" "" "HP LaserJet 1018"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 1018;DES:hp laserjet 1018;"
      PCFileName "hp-laserjet_1018.ppd"
      Attribute "Product" "" "(HP LaserJet 1018 Printer)"
      Attribute "Product" "" "(HP LaserJet 1018s Printer)"
    }
    {
      ModelName "HP LaserJet 1020"
      Attribute "NickName" "" "HP LaserJet 1020, hpcups $Version, requires proprietary plugin"
      Attribute "ShortNickName" "" "HP LaserJet 1020"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 1020;DES:hp laserjet 1020;"
      PCFileName "hp-laserjet_1020.ppd"
      Attribute "Product" "" "(HP LaserJet 1020 Printer)"
      Attribute "Product" "" "(HP LaserJet 1020 Plus Printer)"
    }
    {
      ModelName "HP LaserJet 1022nw"
      Attribute "NickName" "" "HP LaserJet 1022nw zjs, hpcups $Version, requires proprietary plugin"
      Attribute "ShortNickName" "" "HP LaserJet 1022nw"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 1022nw;DES:hp laserjet 1022nw;"
      PCFileName "hp-laserjet_1022nw-zjs.ppd"
      Attribute "Product" "" "(HP LaserJet 1022nw Printer)"
    }
    {
      ModelName "HP LaserJet 1022n"
      Attribute "NickName" "" "HP LaserJet 1022n zjs, hpcups $Version, requires proprietary plugin"
      Attribute "ShortNickName" "" "HP LaserJet 1022n"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 1022n;DES:hp laserjet 1022n;"
      PCFileName "hp-laserjet_1022n-zjs.ppd"
      Attribute "Product" "" "(HP LaserJet 1022n Printer)"
      Attribute "Product" "" "(HP LaserJet 1022nxi Printer)"
    }
    {
      ModelName "HP LaserJet 1022"
      Attribute "NickName" "" "HP LaserJet 1022 zjs, hpcups $Version, requires proprietary plugin"
      Attribute "ShortNickName" "" "HP LaserJet 1022"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet 1022;DES:hp laserjet 1022;"
      PCFileName "hp-laserjet_1022-zjs.ppd"
      Attribute "Product" "" "(HP LaserJet 1022 Printer)"
    }
    {
      ModelName "HP LaserJet m1120 MFP"
      Attribute "NickName" "" "HP LaserJet m1120 MFP, hpcups $Version, requires proprietary plugin"
      Attribute "ShortNickName" "" "HP LaserJet m1120 MFP"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet m1120 mfp;DES:hp laserjet m1120 mfp;"
      PCFileName "hp-laserjet_m1120_mfp.ppd"
      Attribute "Product" "" "(HP LaserJet m1120 Multifunction Printer)"
    }
    {
      ModelName "HP LaserJet m1120n MFP"
      Attribute "NickName" "" "HP LaserJet m1120n MFP, hpcups $Version, requires proprietary plugin"
      Attribute "ShortNickName" "" "HP LaserJet m1120n MFP"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet m1120n mfp;DES:hp laserjet m1120n mfp;"
      PCFileName "hp-laserjet_m1120n_mfp.ppd"
      Attribute "Product" "" "(HP LaserJet m1120n Multifunction Printer)"
    }
    {
      ModelName "HP LaserJet m1319f MFP"
      Attribute "NickName" "" "HP LaserJet m1319f MFP, hpcups $Version, requires proprietary plugin"
      Attribute "ShortNickName" "" "HP LaserJet m1319f MFP"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet m1319f mfp;DES:hp laserjet m1319f mfp;"
      PCFileName "hp-laserjet_m1319f_mfp.ppd"
      Attribute "Product" "" "(HP LaserJet m1319f Multifunction Printer)"
    }
    {
      ModelName "HP LaserJet p2035n"
      Attribute "NickName" "" "HP LaserJet p2035n zjs, hpcups $Version, requires proprietary plugin"
      Attribute "ShortNickName" "" "HP LaserJet p2035n"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet p2035n;DES:hp laserjet p2035n;"
      PCFileName "hp-laserjet_p2035n-zjs.ppd"
      Attribute "Product" "" "(HP LaserJet p2035n Printer)"
    }
    {
      ModelName "HP LaserJet p2035"
      Attribute "NickName" "" "HP LaserJet p2035 zjs, hpcups $Version, requires proprietary plugin"
      Attribute "ShortNickName" "" "HP LaserJet p2035"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet p2035;DES:hp laserjet p2035;"
      PCFileName "hp-laserjet_p2035-zjs.ppd"
      Attribute "Product" "" "(HP LaserJet p2035 Printer)"
    }
  } // End Supported media sizes.
} // End LJZjsMono (for proprietary plugin)

///////////////// LJZjsMono with No Auto Duplex and No multiple Trays (for proprietary plugin)
{
  Attribute "hpPrinterLanguage" "" "ljzjstream"

  Group "General/General"

  Attribute "cupsIPPReason" "hplip.plugin-error/HP Device requires a proprietary binary Plug-in, run hp-plugin" ""

  // MediaPosition values map to MediaSource enumeration in global_types.h
  Option "InputSlot/Media Source" PickOne AnySetup 10.0
    *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"
    Choice "Manual/Manual Feeder" "<</MediaPosition 2>>setpagedevice"

  // cupsRowCount values map to PEN_TYPE + 1 from global_types.h
  Option "ColorModel/Output Mode" PickOne AnySetup 10.0
    *Choice "Gray/Grayscale" "<</cupsColorSpace 3/cupsBitsPerColor 1/cupsRowCount 1/cupsRowStep 2>>setpagedevice"

  // cupsMediaType values map to MEDIATYPE from global_types.h
  Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0>>setpagedevice"

  // cupsCompression values map to QUALITY_MODE from global_types.h
  Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "Normal/Normal" "<</OutputType(0)/HWResolution[600 600]>>setpagedevice"
    Choice "Draft/Draft" "<</OutputType(-1)/HWResolution[600 600]>>setpagedevice"


  Attribute "cupsModelName" "" "HP LaserJet 1018"     // APDK device class

  {
// 4x6 or smaller
  CustomMedia "A6/A6 105x148mm" 298 420 12 12 12 12 "<</cupsInteger0 24/PageSize[298 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 24/PageSize[298 420]/ImagingBBox null>>setpagedevice"

// 5x7
  CustomMedia "A5/A5 148x210mm" 420 595 12 12 12 12 "<</cupsInteger0 25/PageSize[420 595]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[420 595]/ImagingBBox null>>setpagedevice"

// Standard
  CustomMedia "Postcard/Postcard" 283 420 12 12 12 12 "<</cupsInteger0 71/PageSize[283 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[283 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "DoublePostcard/Double Postcard" 420 567 12 12 12 12 "<</cupsInteger0 72/PageSize[420 567]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[420 567]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5/JB5 182x257mm" 516.24 728.64 18 15.5 18 15.5 "<</cupsInteger0 96/PageSize[516.24 728.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive/Executive 7.25x10.5in" 522 756 12 12 12 12 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
  CustomMedia "16k195x270/16k 195x270mm" 553 765 18 15.5 18 15.5 "<</cupsInteger0 34/PageSize[553 765]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 34/PageSize[553 765]/ImagingBBox null>>setpagedevice"
  CustomMedia "16k184x260/16k 184x260mm" 522 737 12 12 12 12 "<</cupsInteger0 89/PageSize[522 737]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 89/PageSize[522 737]/ImagingBBox null>>setpagedevice"
  CustomMedia "16k197x273/16k 197x273mm" 558 774 12 12 12 12 "<</cupsInteger0 17/PageSize[558 774]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 17/PageSize[558 774]/ImagingBBox null>>setpagedevice"
  *CustomMedia "Letter/Letter 8.5x11in" 612 792 12 12 12 12 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4/A4 210x297mm" 595.44 841.68 18 15.5 18 15.5 "<</cupsInteger0 9/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 9/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
  CustomMedia "FLSA/American Foolscap 8.5x13in" 612 936 12 12 12 12 "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal/Legal 8.5x14in" 612 1008 12 12 12 12 "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"

// Envelope
  CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279 540 18 15.5 18 15.5 "<</cupsInteger0 96/PageSize[279 540]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[279 540]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvDL/DL Envelope 110x220mm" 311.76 623.52 18 15.5 18 15.5 "<</cupsInteger0 27/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 27/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env10/#10 Envelope 4.12x9.5in" 297 684 12 12 12 12 "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC5/C5 Envelope 162x229mm" 459 649 12 12 12 12 "<</cupsInteger0 91/PageSize[459 649]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 91/PageSize[459 649]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvB5/B5 Envelope 176x250mm" 499 709 12 12 12 12 "<</cupsInteger0 100/PageSize[499 709]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 100/PageSize[499 709]/ImagingBBox null>>setpagedevice"

    // Custom page sizes
    HWMargins 12 12 12 12
    VariablePaperSize Yes
    MinSize 3in 5in
    MaxSize 17in 36in

    // <%LJZjsMono:NoAutoDuplex%>
    {
      ModelName "HP LaserJet Professional p1102w"
      Attribute "NickName" "" "HP LaserJet Professional p1102w, hpcups $Version, requires proprietary plugin"
      Attribute "ShortNickName" "" "HP LaserJet Professional p1102w"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet professional p1102w;DES:hp laserjet professional p1102w;"
      PCFileName "hp-laserjet_professional_p1102w.ppd"
      Attribute "Product" "" "(HP LaserJet Professional p1102w Printer)"
    }
    {
      ModelName "HP LaserJet Professional p1102"
      Attribute "NickName" "" "HP LaserJet Professional p1102, hpcups $Version, requires proprietary plugin"
      Attribute "ShortNickName" "" "HP LaserJet Professional p1102"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet professional p1102;DES:hp laserjet professional p1102;"
      PCFileName "hp-laserjet_professional_p1102.ppd"
      Attribute "Product" "" "(HP LaserJet Professional p1102 Printer)"
      Attribute "Product" "" "(HP LaserJet Professional p1102s Printer)"
    }
    {
      ModelName "HP LaserJet Professional P 1102w"
      Attribute "NickName" "" "HP LaserJet Professional P 1102w, hpcups $Version, requires proprietary plugin"
      Attribute "ShortNickName" "" "HP LJ Professional P 1102w"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet professional p 1102w;DES:hp laserjet professional p 1102w;"
      PCFileName "hp-laserjet_professional_p_1102w.ppd"
      Attribute "Product" "" "(HP LaserJet Professional P 1102w Printer)"
    }
    {
      ModelName "HP LaserJet Professional p1106w"
      Attribute "NickName" "" "HP LaserJet Professional p1106w, hpcups $Version, requires proprietary plugin"
      Attribute "ShortNickName" "" "HP LaserJet Professional p1106w"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet professional p1106w;DES:hp laserjet professional p1106w;"
      PCFileName "hp-laserjet_professional_p1106w.ppd"
      Attribute "Product" "" "(HP LaserJet Professional p1106w Printer)"
    }
    {
      ModelName "HP LaserJet Professional p1106"
      Attribute "NickName" "" "HP LaserJet Professional p1106, hpcups $Version, requires proprietary plugin"
      Attribute "ShortNickName" "" "HP LaserJet Professional p1106"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet professional p1106;DES:hp laserjet professional p1106;"
      PCFileName "hp-laserjet_professional_p1106.ppd"
      Attribute "Product" "" "(HP LaserJet Professional p1106 Printer)"
    }
    {
      ModelName "HP LaserJet Professional p1107"
      Attribute "NickName" "" "HP LaserJet Professional p1107, hpcups $Version, requires proprietary plugin"
      Attribute "ShortNickName" "" "HP LaserJet Professional p1107"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet professional p1107;DES:hp laserjet professional p1107;"
      PCFileName "hp-laserjet_professional_p1107.ppd"
      Attribute "Product" "" "(HP LaserJet Professional p1107 Printer)"
    }
    {
      ModelName "HP LaserJet Professional p1107w"
      Attribute "NickName" "" "HP LaserJet Professional p1107w, hpcups $Version, requires proprietary plugin"
      Attribute "ShortNickName" "" "HP LaserJet Professional p1107w"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet professional p1107w;DES:hp laserjet professional p1107w;"
      PCFileName "hp-laserjet_professional_p1107w.ppd"
      Attribute "Product" "" "(HP LaserJet Professional p1107w Printer)"
    }
    {
      ModelName "HP LaserJet Professional p1108w"
      Attribute "NickName" "" "HP LaserJet Professional p1108w, hpcups $Version, requires proprietary plugin"
      Attribute "ShortNickName" "" "HP LaserJet Professional p1108w"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet professional p1108w;DES:hp laserjet professional p1108w;"
      PCFileName "hp-laserjet_professional_p1108w.ppd"
      Attribute "Product" "" "(HP LaserJet Professional p1108w Printer)"
    }
    {
      ModelName "HP LaserJet Professional p1108"
      Attribute "NickName" "" "HP LaserJet Professional p1108, hpcups $Version, requires proprietary plugin"
      Attribute "ShortNickName" "" "HP LaserJet Professional p1108"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet professional p1108;DES:hp laserjet professional p1108;"
      PCFileName "hp-laserjet_professional_p1108.ppd"
      Attribute "Product" "" "(HP LaserJet Professional p1108 Printer)"
    }
    {
      ModelName "HP LaserJet Professional p1109w"
      Attribute "NickName" "" "HP LaserJet Professional p1109w, hpcups $Version, requires proprietary plugin"
      Attribute "ShortNickName" "" "HP LaserJet Professional p1109w"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet professional p1109w;DES:hp laserjet professional p1109w;"
      PCFileName "hp-laserjet_professional_p1109w.ppd"
      Attribute "Product" "" "(HP LaserJet Professional p1109w Printer)"
    }
    {
      ModelName "HP LaserJet Professional p1109"
      Attribute "NickName" "" "HP LaserJet Professional p1109, hpcups $Version, requires proprietary plugin"
      Attribute "ShortNickName" "" "HP LaserJet Professional p1109"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet professional p1109;DES:hp laserjet professional p1109;"
      PCFileName "hp-laserjet_professional_p1109.ppd"
      Attribute "Product" "" "(HP LaserJet Professional p1109 Printer)"
    }
    {
      ModelName "HP LaserJet Professional m1132 MFP"
      Attribute "NickName" "" "HP LaserJet Professional m1132 MFP, hpcups $Version, requires proprietary plugin"
      Attribute "ShortNickName" "" "HP LJ Professional m1132 MFP"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet professional m1132 mfp;DES:hp laserjet professional m1132 mfp;"
      PCFileName "hp-laserjet_professional_m1132_mfp.ppd"
      Attribute "Product" "" "(HP LaserJet Professional m1132 Multifunction Printer)"
      Attribute "Product" "" "(HP LaserJet Professional m1132s Multifunction Printer)"
    }
    {
      ModelName "HP LaserJet Professional m1136 MFP"
      Attribute "NickName" "" "HP LaserJet Professional m1136 MFP, hpcups $Version, requires proprietary plugin"
      Attribute "ShortNickName" "" "HP LJ Professional m1136 MFP"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet professional m1136 mfp;DES:hp laserjet professional m1136 mfp;"
      PCFileName "hp-laserjet_professional_m1136_mfp.ppd"
      Attribute "Product" "" "(HP LaserJet Professional m1136 Multifunction Printer)"
    }
    {
      ModelName "HP LaserJet Professional m1137 MFP"
      Attribute "NickName" "" "HP LaserJet Professional m1137 MFP, hpcups $Version, requires proprietary plugin"
      Attribute "ShortNickName" "" "HP LJ Professional m1137 MFP"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet professional m1137 mfp;DES:hp laserjet professional m1137 mfp;"
      PCFileName "hp-laserjet_professional_m1137_mfp.ppd"
      Attribute "Product" "" "(HP LaserJet Professional m1137 Multifunction Printer)"
    }
    {
      ModelName "HP LaserJet Professional m1138 MFP"
      Attribute "NickName" "" "HP LaserJet Professional m1138 MFP, hpcups $Version, requires proprietary plugin"
      Attribute "ShortNickName" "" "HP LJ Professional m1138 MFP"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet professional m1138 mfp;DES:hp laserjet professional m1138 mfp;"
      PCFileName "hp-laserjet_professional_m1138_mfp.ppd"
      Attribute "Product" "" "(HP LaserJet Professional m1138 Multifunction Printer)"
    }
    {
      ModelName "HP LaserJet Professional m1139 MFP"
      Attribute "NickName" "" "HP LaserJet Professional m1139 MFP, hpcups $Version, requires proprietary plugin"
      Attribute "ShortNickName" "" "HP LJ Professional m1139 MFP"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet professional m1139 mfp;DES:hp laserjet professional m1139 mfp;"
      PCFileName "hp-laserjet_professional_m1139_mfp.ppd"
      Attribute "Product" "" "(HP LaserJet Professional m1139 Multifunction Printer)"
    }
    {
      ModelName "HP LaserJet Professional m1212nf MFP"
      Attribute "NickName" "" "HP LaserJet Professional m1212nf MFP, hpcups $Version, requires proprietary plugin"
      Attribute "ShortNickName" "" "HP LJ Professional m1212nf MFP"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet professional m1212nf mfp;DES:hp laserjet professional m1212nf mfp;"
      PCFileName "hp-laserjet_professional_m1212nf_mfp.ppd"
      Attribute "Product" "" "(HP LaserJet Professional m1212nf Multifunction Printer)"
    }
    {
      ModelName "HP LaserJet Professional m1213nf MFP"
      Attribute "NickName" "" "HP LaserJet Professional m1213nf MFP, hpcups $Version, requires proprietary plugin"
      Attribute "ShortNickName" "" "HP LJ Professional m1213nf MFP"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet professional m1213nf mfp;DES:hp laserjet professional m1213nf mfp;"
      PCFileName "hp-laserjet_professional_m1213nf_mfp.ppd"
      Attribute "Product" "" "(HP LaserJet Professional m1213nf Multifunction Printer)"
    }
    {
      ModelName "HP LaserJet Professional m1214nfh MFP"
      Attribute "NickName" "" "HP LaserJet Professional m1214nfh MFP, hpcups $Version, requires proprietary plugin"
      Attribute "ShortNickName" "" "HP LJ Professional m1214nfh MFP"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet professional m1214nfh mfp;DES:hp laserjet professional m1214nfh mfp;"
      PCFileName "hp-laserjet_professional_m1214nfh_mfp.ppd"
      Attribute "Product" "" "(HP LaserJet Professional m1214nfh Multifunction Printer)"
    }
    {
      ModelName "HP LaserJet Professional m1216nfh MFP"
      Attribute "NickName" "" "HP LaserJet Professional m1216nfh MFP, hpcups $Version, requires proprietary plugin"
      Attribute "ShortNickName" "" "HP LJ Professional m1216nfh MFP"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet professional m1216nfh mfp;DES:hp laserjet professional m1216nfh mfp;"
      PCFileName "hp-laserjet_professional_m1216nfh_mfp.ppd"
      Attribute "Product" "" "(HP LaserJet Professional m1216nfh MFP)"
    }
    {
      ModelName "HP LaserJet Professional m1217nfw MFP"
      Attribute "NickName" "" "HP LaserJet Professional m1217nfw MFP, hpcups $Version, requires proprietary plugin"
      Attribute "ShortNickName" "" "HP LJ Professional m1217nfw MFP"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet professional m1217nfw mfp;DES:hp laserjet professional m1217nfw mfp;"
      PCFileName "hp-laserjet_professional_m1217nfw_mfp.ppd"
      Attribute "Product" "" "(HP LaserJet Professional m1217nfw Multifunction Printer)"
    }
    {
      ModelName "HP LaserJet Professional m1218nfg MFP"
      Attribute "NickName" "" "HP LaserJet Professional m1218nfg MFP, hpcups $Version, requires proprietary plugin"
      Attribute "ShortNickName" "" "HP LJ Professional m1218nfg MFP"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet professional m1218nfg mfp;DES:hp laserjet professional m1218nfg mfp;"
      PCFileName "hp-laserjet_professional_m1218nfg_mfp.ppd"
      Attribute "Product" "" "(HP LaserJet m1210 MFP Series)"
    }
    {
      ModelName "HP LaserJet Professional m1218nfs MFP"
      Attribute "NickName" "" "HP LaserJet Professional m1218nfs MFP, hpcups $Version, requires proprietary plugin"
      Attribute "ShortNickName" "" "HP LJ Professional m1218nfs MFP"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet professional m1218nfs mfp;DES:hp laserjet professional m1218nfs mfp;"
      PCFileName "hp-laserjet_professional_m1218nfs_mfp.ppd"
      Attribute "Product" "" "(HP Hotspot LaserJet Pro m1218nfs MFP)"
    }
    {
      ModelName "HP LaserJet Professional m1219nfg MFP"
      Attribute "NickName" "" "HP LaserJet Professional m1219nfg MFP, hpcups $Version, requires proprietary plugin"
      Attribute "ShortNickName" "" "HP LJ Professional m1219nfg MFP"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet professional m1219nfg mfp;DES:hp laserjet professional m1219nfg mfp;"
      PCFileName "hp-laserjet_professional_m1219nfg_mfp.ppd"
      Attribute "Product" "" "(HP LaserJet Professional m1219nfg MFP)"
    }
    {
      ModelName "HP LaserJet Professional m1219nfs MFP"
      Attribute "NickName" "" "HP LaserJet Professional m1219nfs MFP, hpcups $Version, requires proprietary plugin"
      Attribute "ShortNickName" "" "HP LJ Professional m1219nfs MFP"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet professional m1219nfs mfp;DES:hp laserjet professional m1219nfs mfp;"
      PCFileName "hp-laserjet_professional_m1219nfs_mfp.ppd"
      Attribute "Product" "" "(HP LaserJet Professional m1219nfs MFP)"
    }
    {
      ModelName "HP LaserJet Professional m1219nf MFP"
      Attribute "NickName" "" "HP LaserJet Professional m1219nf MFP, hpcups $Version, requires proprietary plugin"
      Attribute "ShortNickName" "" "HP LJ Professional m1219nf MFP"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet professional m1219nf mfp;DES:hp laserjet professional m1219nf mfp;"
      PCFileName "hp-laserjet_professional_m1219nf_mfp.ppd"
      Attribute "Product" "" "(HP LaserJet Professional m1219nf MFP)"
    }
    {
      ModelName "HP LaserJet Professional p1566"
      Attribute "NickName" "" "HP LaserJet Professional p1566, hpcups $Version, requires proprietary plugin"
      Attribute "ShortNickName" "" "HP LaserJet Professional p1566"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet professional p1566;DES:hp laserjet professional p1566;"
      PCFileName "hp-laserjet_professional_p1566.ppd"
      Attribute "Product" "" "(HP LaserJet Professional p1566)"
    }
    {
      ModelName "HP LaserJet Professional p1567"
      Attribute "NickName" "" "HP LaserJet Professional p1567, hpcups $Version, requires proprietary plugin"
      Attribute "ShortNickName" "" "HP LaserJet Professional p1567"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet professional p1567;DES:hp laserjet professional p1567;"
      PCFileName "hp-laserjet_professional_p1567.ppd"
      Attribute "Product" "" "(HP LaserJet Professional p1567)"
    }
    {
      ModelName "HP LaserJet Professional p1568"
      Attribute "NickName" "" "HP LaserJet Professional p1568, hpcups $Version, requires proprietary plugin"
      Attribute "ShortNickName" "" "HP LaserJet Professional p1568"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet professional p1568;DES:hp laserjet professional p1568;"
      PCFileName "hp-laserjet_professional_p1568.ppd"
      Attribute "Product" "" "(HP LaserJet Professional p1568)"
    }
    {
      ModelName "HP LaserJet Professional p1569"
      Attribute "NickName" "" "HP LaserJet Professional p1569, hpcups $Version, requires proprietary plugin"
      Attribute "ShortNickName" "" "HP LaserJet Professional p1569"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet professional p1569;DES:hp laserjet professional p1569;"
      PCFileName "hp-laserjet_professional_p1569.ppd"
      Attribute "Product" "" "(HP LaserJet Professional p1569)"
    }
  } // End Supported media sizes.
} // End LJZjsMono with No Auto Duplex and No multiple Tray (for proprietary plugin)

///////////////// LJZjsMono with Auto Duplex and No multiple Trays (for proprietary plugin)
{
  Attribute "cupsEvenDuplex" "" "True"
  Attribute "cupsBackSide" "" "Rotated"
  Attribute "cupsFlipDuplex" "" "True"
  Attribute "hpPrinterLanguage" "" "ljzjstream"
  Attribute "hpPrinterPlatform" "" "ljzjsmono"
  Attribute "hpReverseRasterPages" "" "1"

  Group "General/General"

  Attribute "cupsIPPReason" "hplip.plugin-error/HP Device requires a proprietary binary Plug-in, run hp-plugin" ""

  Option "Duplex/Double-Sided Printing" PickOne AnySetup 10.0
    Choice "DuplexNoTumble/Long Edge (Standard)" "<</Duplex true/Tumble false>>setpagedevice"
    Choice "DuplexTumble/Short Edge (Flip)" "<</Duplex true/Tumble true>>setpagedevice"
    *Choice "None/Off" "<</Duplex false/Tumble false>>setpagedevice"

  // MediaPosition values map to MediaSource enumeration in global_types.h
  Option "InputSlot/Media Source" PickOne AnySetup 10.0
    *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"
    Choice "Manual/Manual Feeder" "<</MediaPosition 2>>setpagedevice"

  // cupsRowCount values map to PEN_TYPE + 1 from global_types.h
  Option "ColorModel/Output Mode" PickOne AnySetup 10.0
    *Choice "Gray/Grayscale" "<</cupsColorSpace 3/cupsBitsPerColor 1/cupsRowCount 1/cupsRowStep 2>>setpagedevice"

  // cupsMediaType values map to MEDIATYPE from global_types.h
  Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0>>setpagedevice"

  // cupsCompression values map to QUALITY_MODE from global_types.h
  Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "Normal/Normal" "<</OutputType(0)/HWResolution[600 600]>>setpagedevice"
    Choice "Draft/Draft" "<</OutputType(-1)/HWResolution[600 600]>>setpagedevice"

  // Duplexer is optional...
  Installable "OptionDuplex/Duplexer Installed"

  // Constraints
  //UIConstraints "*Duplex *OptionDuplex False"
  UIConstraints "*PageSize A6 *Duplex"
  UIConstraints "*PageSize A5 *Duplex"
  UIConstraints "*PageSize Postcard *Duplex"
  UIConstraints "*PageSize DoublePostcard *Duplex"
  UIConstraints "*PageSize JB5 *Duplex"
  UIConstraints "*PageSize 16k195x270 *Duplex"
  UIConstraints "*PageSize 16k184x260 *Duplex"
  UIConstraints "*PageSize 16k197x273 *Duplex"
  UIConstraints "*PageSize Letter *Duplex"
  UIConstraints "*PageSize FLSA *Duplex"
  UIConstraints "*PageSize Legal *Duplex"
  UIConstraints "*PageSize EnvMonarch *Duplex"
  UIConstraints "*PageSize EnvDL *Duplex"
  UIConstraints "*PageSize Env10 *Duplex"
  UIConstraints "*PageSize EnvC5 *Duplex"
  UIConstraints "*PageSize EnvB5 *Duplex"

  Attribute "cupsModelName" "" "HP LaserJet 1018"     // APDK device class

  {
// 4x6 or smaller
  CustomMedia "A6/A6 105x148mm" 298 420 12 12 12 12 "<</cupsInteger0 24/PageSize[298 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 24/PageSize[298 420]/ImagingBBox null>>setpagedevice"

// 5x7
  CustomMedia "A5/A5 148x210mm" 420 595 12 12 12 12 "<</cupsInteger0 25/PageSize[420 595]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[420 595]/ImagingBBox null>>setpagedevice"

// Standard
  CustomMedia "Postcard/Postcard" 283 420 12 12 12 12 "<</cupsInteger0 71/PageSize[283 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[283 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "DoublePostcard/Double Postcard" 420 567 12 12 12 12 "<</cupsInteger0 72/PageSize[420 567]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[420 567]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5/JB5 182x257mm" 516.24 728.64 18 15.5 18 15.5 "<</cupsInteger0 96/PageSize[516.24 728.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive/Executive 7.25x10.5in" 522 756 12 12 12 12 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
  CustomMedia "16k195x270/16k 195x270mm" 553 765 18 15.5 18 15.5 "<</cupsInteger0 34/PageSize[553 765]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 34/PageSize[553 765]/ImagingBBox null>>setpagedevice"
  CustomMedia "16k184x260/16k 184x260mm" 522 737 12 12 12 12 "<</cupsInteger0 89/PageSize[522 737]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 89/PageSize[522 737]/ImagingBBox null>>setpagedevice"
  CustomMedia "16k197x273/16k 197x273mm" 558 774 12 12 12 12 "<</cupsInteger0 17/PageSize[558 774]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 17/PageSize[558 774]/ImagingBBox null>>setpagedevice"
  *CustomMedia "Letter/Letter 8.5x11in" 612 792 12 12 12 12 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
  CustomMedia "Letter.Duplex/Letter AutoDuplex 8.5x11in" 612 780 12 12 12 12 "<</cupsInteger0 2/PageSize[612 780]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 780]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4/A4 210x297mm" 595.44 841.68 18 15.5 18 15.5 "<</cupsInteger0 9/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 9/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4.Duplex/A4 AutoDuplex 210x297mm" 595.44 829.68 18 15.5 18 15.5 "<</cupsInteger0 9/PageSize[595.44 829.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 9/PageSize[595.44 829.68]/ImagingBBox null>>setpagedevice"
  CustomMedia "FLSA/American Foolscap 8.5x13in" 612 936 12 12 12 12 "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "FLSA.Duplex/American Foolscap AutoDuplex 8.5x13in" 612 924 12 12 12 12 "<</cupsInteger0 10/PageSize[612 924]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 10/PageSize[612 924]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal/Legal 8.5x14in" 612 1008 12 12 12 12 "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal.Duplex/Legal AutoDuplex 8.5x14in" 612 996 12 12 12 12 "<</cupsInteger0 3/PageSize[612 996]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 996]/ImagingBBox null>>setpagedevice"

// Envelope
  CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279 540 18 15.5 18 15.5 "<</cupsInteger0 96/PageSize[279 540]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[279 540]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvDL/DL Envelope 110x220mm" 311.76 623.52 18 15.5 18 15.5 "<</cupsInteger0 27/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 27/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env10/#10 Envelope 4.12x9.5in" 297 684 12 12 12 12 "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC5/C5 Envelope 162x229mm" 459 649 12 12 12 12 "<</cupsInteger0 91/PageSize[459 649]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 91/PageSize[459 649]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvB5/B5 Envelope 176x250mm" 499 709 12 12 12 12 "<</cupsInteger0 100/PageSize[499 709]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 100/PageSize[499 709]/ImagingBBox null>>setpagedevice"

    // Custom page sizes
    HWMargins 12 12 12 12
    VariablePaperSize Yes
    MinSize 3in 5in
    MaxSize 17in 36in

    // <%LJZjsMono:Duplex%>
    {
      ModelName "HP LaserJet Professional p1606dn"
      Attribute "NickName" "" "HP LaserJet Professional p1606dn, hpcups $Version, requires proprietary plugin"
      Attribute "ShortNickName" "" "HP LJ Professional p1606dn"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet professional p1606dn;DES:hp laserjet professional p1606dn;"
      PCFileName "hp-laserjet_professional_p1606dn.ppd"
      Attribute "Product" "" "(HP LaserJet Professional p1606dn Printer)"
    }
    {
      ModelName "HP LaserJet Professional p1607dn"
      Attribute "NickName" "" "HP LaserJet Professional p1607dn, hpcups $Version, requires proprietary plugin"
      Attribute "ShortNickName" "" "HP LJ Professional p1607dn"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet professional p1607dn;DES:hp laserjet professional p1607dn;"
      PCFileName "hp-laserjet_professional_p1607dn.ppd"
      Attribute "Product" "" "(HP LaserJet Professional p1607dn Printer)"
    }
    {
      ModelName "HP LaserJet Professional p1608dn"
      Attribute "NickName" "" "HP LaserJet Professional p1608dn, hpcups $Version, requires proprietary plugin"
      Attribute "ShortNickName" "" "HP LJ Professional p1608dn"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet professional p1608dn;DES:hp laserjet professional p1608dn;"
      PCFileName "hp-laserjet_professional_p1608dn.ppd"
      Attribute "Product" "" "(HP LaserJet Professional p1608dn Printer)"
    }
    {
      ModelName "HP LaserJet Professional p1609dn"
      Attribute "NickName" "" "HP LaserJet Professional p1609dn, hpcups $Version, requires proprietary plugin"
      Attribute "ShortNickName" "" "HP LJ Professional p1609dn"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet professional p1609dn;DES:hp laserjet professional p1609dn;"
      PCFileName "hp-laserjet_professional_p1609dn.ppd"
      Attribute "Product" "" "(HP LaserJet Professional p1609dn Printer)"
    }
  } // End Supported media sizes.
} // End LJZjsMono with Auto Duplex and No multiple Tray (for proprietary plugin)

///////////////////// LJZjsColor (for proprietary plugin)
{
  Attribute "hpPrinterLanguage" "" "ljzjstream"
  Attribute "hpPrinterPlatform" "" "ljzjscolor"

  Group "General/General"

  // cupsRowCount values map to PEN_TYPE + 1 from global_types.h
  Option "ColorModel/Output Mode" PickOne AnySetup 10.0
    Choice "Gray/Grayscale" "<</cupsColorSpace 3/cupsBitsPerColor 1/cupsRowCount 3/cupsRowStep 2>>setpagedevice"
    *Choice "RGB/Color" "<</cupsColorSpace 17/cupsBitsPerColor 8/cupsRowCount 3/cupsRowStep 0>>setpagedevice"

  // cupsMediaType values map to MEDIATYPE from global_types.h
  Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0>>setpagedevice"
    Choice "Glossy/Photo Paper" "<</MediaType(Glossy)/cupsMediaType 3>>setpagedevice"

  // cupsCompression values map to QUALITY_MODE from global_types.h
  Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "Normal/Normal" "<</OutputType(0)/HWResolution[600 600]>>setpagedevice"
    Choice "Draft/Draft" "<</OutputType(-1)/HWResolution[600 600]>>setpagedevice"

  Attribute "cupsModelName" "" "HP Color LaserJet 2600n"     // APDK device class

// 4x6 or smaller
  CustomMedia "Card3x5/Index Card 3x5in" 216 360 12.96 14.40 12.96 14.40 "<</cupsInteger0 96/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[216 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki/Hagaki 100x148mm" 284 420 19.12 14.40 19.12 14.40 "<</cupsInteger0 43/PageSize[284 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 43/PageSize[284 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6/Photo 4x6in" 288 432 18.00 14.40 18.00 14.40 "<</cupsInteger0 96/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6/A6 105x148mm" 297.36 419.76 18.12 14.40 18.12 14.40 "<</cupsInteger0 96/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"

// 5x7
  CustomMedia "Photo5x7/Photo 5x7in" 360 504 18.72 14.40 18.72 14.40 "<</cupsInteger0 96/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card5x8/Index Card 5x8in" 360 576 18.72 14.40 18.72 14.40 "<</cupsInteger0 96/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[360 576]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku/Oufuku-Hagaki 148x200mm" 567 420 18.54 14.40 18.54 14.40 "<</cupsInteger0 101/PageSize[567 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[567 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5/A5 148x210mm" 419.76 595.44 18.00 14.40 18.00 14.40 "<</cupsInteger0 11/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 11/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"

// Standard
  CustomMedia "B5/B5 176x250mm" 498.96 708.48 19.08 14 19.08 14 "<</cupsInteger0 357/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 357/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5/JB5 182x257mm" 516.24 728.64 18 14 18 14 "<</cupsInteger0 96/PageSize[516.24 728.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive/Executive 7.25x10.5in" 522 756 19.08 14.40 19.08 14.40 "<</cupsInteger0 7/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/PageSize[522 756]/ImagingBBox null>>setpagedevice"
  CustomMedia "16k/16k 7.75x10.75in" 558 774 18.00 14.40 18.00 14.40 "<</cupsInteger0 96/PageSize[558 774]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[558 774]/ImagingBBox null>>setpagedevice"   // custom
  *CustomMedia "Letter/Letter 8.5x11in" 612 792 18.00 14.40 18.00 14.40 "<</cupsInteger0 1/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[612 792]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4/A4 210x297mm" 595.44 841.68 18.00 14.40 18.00 14.40 "<</cupsInteger0 9/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 9/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
  CustomMedia "ExecutiveJIS/Executive (JIS) 8.5x12.986in" 612 936 18.00 14.40 18.00 14.40 "<</cupsInteger0 96/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "FLSA/American Foolscap 8.5x13in" 612 936 18.00 14.40 18.00 14.40 "<</cupsInteger0 258/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 258/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal/Legal 8.5x14in" 612 1008 18.00 14.40 18.00 14.40 "<</cupsInteger0 5/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 5/PageSize[612 1008]/ImagingBBox null>>setpagedevice"

// Envelope
  CustomMedia "EnvA2/A2 Envelope 4.37x5.75in" 314.64 414 19.08 14 19.08 14 "<</cupsInteger0 96/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.28 459.36 19.56 14.40 19.56 14.40 "<</cupsInteger0 96/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou4/#4 Japanese Envelope 90x205mm" 254.88 581.04 19.92 14 19.92 14 "<</cupsInteger0 96/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279 540 18.00 14.40 18.00 14.40 "<</cupsInteger0 96/PageSize[279 540]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[279 540]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvDL/DL Envelope 110x220mm" 311.76 623.52 18.00 14.40 18.00 14.40 "<</cupsInteger0 27/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 27/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env10/#10 Envelope 4.12x9.5in" 297 684 18.00 14.40 18.00 14.40 "<</cupsInteger0 20/PageSize[297 684]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 20/PageSize[297 684]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 339.84 666 18 14 18 14 "<</cupsInteger0 96/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC5/C5 Envelope 162x229mm" 459 649 18.3 14.40 18.3 14.40 "<</cupsInteger0 96/PageSize[459 649]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[459 649]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvB5/B5 Envelope 176x250mm" 498.96 708.48 19.08 14 19.08 14 "<</cupsInteger0 96/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"

    // Custom page sizes from 1x4in to Legal
    HWMargins 18 14 18 14
    VariablePaperSize Yes
    MinSize 1in 4in
    MaxSize 8.5in 14in

  {
    Option "Duplex/Double-Sided Printing" PickOne AnySetup 10.0
      Choice "DuplexNoTumble/Long Edge (Standard)" "<</Duplex true/Tumble false>>setpagedevice"
      Choice "DuplexTumble/Short Edge (Flip)" "<</Duplex true/Tumble true>>setpagedevice"
      *Choice "None/Off" "<</Duplex false/Tumble false>>setpagedevice"


    // MediaPosition values map to MediaSource enumeration in global_types.h
    Option "InputSlot/Media Source" PickOne AnySetup 10.0
      *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"
      Choice "PhotoTray/Photo Tray" "<</MediaPosition 1>>setpagedevice"
      Choice "Upper/Upper Tray" "<</MediaPosition 1>>setpagedevice"
      Choice "Lower/Lower Tray" "<</MediaPosition 4>>setpagedevice"
      Choice "Envelope/Envelope Feeder" "<</MediaPosition 3>>setpagedevice"
      Choice "LargeCapacity/Large Capacity Tray" "<</MediaPosition 5>>setpagedevice"
      Choice "Manual/Manual Feeder" "<</MediaPosition 2>>setpagedevice"
      Choice "MPTray/Multi Purpose Tray" "<</MediaPosition 1>>setpagedevice"

    // Duplexer is optional...
    Installable "OptionDuplex/Duplexer Installed"

    // Constraints
    //UIConstraints "*Duplex *OptionDuplex False"

    // <%LJZjsColor:Normal%>
    {
      ModelName "HP Color LaserJet cp1215"
      Attribute "NickName" "" "HP Color LaserJet cp1215, hpcups $Version, requires proprietary plugin"
      Attribute "ShortNickName" "" "HP Color LaserJet cp1215"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp color laserjet cp1215;DES:hp color laserjet cp1215;"
      PCFileName "hp-color_laserjet_cp1215.ppd"
      Attribute "Product" "" "(HP Color LaserJet cp1215 Printer)"
    }
    {
      ModelName "HP Color LaserJet cp1217"
      Attribute "NickName" "" "HP Color LaserJet cp1217, hpcups $Version, requires proprietary plugin"
      Attribute "ShortNickName" "" "HP Color LaserJet cp1217"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp color laserjet cp1217;DES:hp color laserjet cp1217;"
      PCFileName "hp-color_laserjet_cp1217.ppd"
      Attribute "Product" "" "(HP Color LaserJet cp1217 Printer)"
    }
    {
      ModelName "HP Color LaserJet 1600"
      Attribute "NickName" "" "HP Color LaserJet 1600, hpcups $Version, requires proprietary plugin"
      Attribute "ShortNickName" "" "HP Color LaserJet 1600"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp color laserjet 1600;DES:hp color laserjet 1600;"
      PCFileName "hp-color_laserjet_1600.ppd"
      Attribute "Product" "" "(HP Color LaserJet 1600 Printer)"
    }
    {
      ModelName "HP Color LaserJet 2600n"
      Attribute "NickName" "" "HP Color LaserJet 2600n, hpcups $Version, requires proprietary plugin"
      Attribute "ShortNickName" "" "HP Color LaserJet 2600n"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp color laserjet 2600n;DES:hp color laserjet 2600n;"
      PCFileName "hp-color_laserjet_2600n.ppd"
      Attribute "Product" "" "(HP Color LaserJet 2600n Printer)"
    }
  } // End Supported media sizes.

  {
    Option "InputSlot/Media Source" PickOne AnySetup 10.0
      *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"
      Choice "Manual/Manual Feeder" "<</MediaPosition 2>>setpagedevice"

    Attribute "hpLJZjsColorVersion" "" "2"
    // <%LJZjsColor:Advanced%>
    {
      ModelName "HP LaserJet Cp 1025nw"
      Attribute "NickName" "" "HP LaserJet Cp 1025nw, hpcups $Version, requires proprietary plugin"
      Attribute "ShortNickName" "" "HP LaserJet Cp 1025nw"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet cp 1025nw;DES:hp laserjet cp 1025nw;"
      PCFileName "hp-laserjet_cp_1025nw.ppd"
      Attribute "Product" "" "(HP LaserJet Pro Cp 1025nw Color Printer Series)"
    }
    {
      ModelName "HP LaserJet cp1025nw"
      Attribute "NickName" "" "HP LaserJet cp1025nw, hpcups $Version, requires proprietary plugin"
      Attribute "ShortNickName" "" "HP LaserJet cp1025nw"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet cp1025nw;DES:hp laserjet cp1025nw;"
      PCFileName "hp-laserjet_cp1025nw.ppd"
      Attribute "Product" "" "(HP LaserJet Pro cp1025nw Color Printer Series)"
    }
    {
      ModelName "HP LaserJet cp1025"
      Attribute "NickName" "" "HP LaserJet cp1025, hpcups $Version, requires proprietary plugin"
      Attribute "ShortNickName" "" "HP LaserJet cp1025"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet cp1025;DES:hp laserjet cp1025;"
      PCFileName "hp-laserjet_cp1025.ppd"
      Attribute "Product" "" "(HP LaserJet Pro cp1025 Color Printer Series)"
    }
  }
} // End LJZjsColor (for proprietary plugin)

///////////////////// Hbpl1 (for proprietary plugin)
{
  Attribute "hpPrinterLanguage" "" "hbpl1"
  ColorDevice No

  // cupsMediaType values map to MEDIATYPE from global_types.h
  Option "MediaType/Media Type" PickOne AnySetup 10.0
    Choice "Auto/Unspecified" "<</MediaType(auto)>>setpagedevice"
    *Choice "Plain/Plain Paper" "<</MediaType(Stationery)>>setpagedevice"
    Choice "HPEcoSMARTLite/HP EcoSMART Lite" "<</MediaType(HPEcoSMARTLite)>>setpagedevice"
    Choice "Light/Light 60-74g" "<</MediaType(light)>>setpagedevice"
    Choice "Mid-Weight/Mid-Weight96-110g" "<</MediaType(midweight)>>setpagedevice"
    Choice "Heavy/Heavy 111-130g" "<</MediaType(heavy)>>setpagedevice"
    Choice "ExtraHeavy/Extra Heavy 131-175g" "<</MediaType(extraHeavy)>>setpagedevice"
    Choice "Transparency/Monochrome Laser Transparency" "<</MediaType(transparencyMonoLaser)>>setpagedevice"
    Choice "Labels/Labels" "<</MediaType(labels)>>setpagedevice"
    Choice "Letterhead/Letterhead" "<</MediaType(stationery-letterhead)>>setpagedevice"
    Choice "Envelope/Envelope" "<</MediaType(envelope)>>setpagedevice"
    Choice "Preprinted/Preprinted" "<</MediaType(stationery-preprinted)>>setpagedevice"
    Choice "Prepunched/Prepunched" "<</MediaType(stationery-prepunched)>>setpagedevice"
    Choice "Colored/Colored" "<</MediaType(color)>>setpagedevice"
    Choice "Bond/Bond" "<</MediaType(bond)>>setpagedevice"
    Choice "Recycled/Recycled" "<</MediaType(recycled)>>setpagedevice"
    Choice "Rough/Rough" "<</MediaType(rough)>>setpagedevice"


  //MediaPosition
  Option "InputSlot/Media Source" PickOne AnySetup 10.0
    Choice "Manual/Manual Feeder" "<</MediaPosition 12>>setpagedevice"
    *Choice "tray1/Tray1" "<</MediaPosition 19>>setpagedevice"

   //Economode
    Option "EconoMode/EconoMode" Boolean AnySetup 10.0
    *Choice "False/Off" "<</cupsInteger2 0>>setpagedevice"
     Choice "True/On" "<</cupsInteger2 1>>setpagedevice"


// 4x6 or smaller
  CustomMedia "A6/A6 105x148mm" 297.36 419.76 14 14 14 14 "<</cupsString0(iso_a6_105x148mm)/PageSize[298 420]/ImagingBBox null>>setpagedevice"
         "<</cupsString0(iso_a6_105x148mm)/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"

// 5x7
  CustomMedia "A5/A5 148x210mm" 419.76 595.44 14 14 14 14 "<</cupsString0(iso_a5_148x210mm)/PageSize[420 595]/ImagingBBox null>>setpagedevice"
         "<</cupsString0(iso_a5_148x210mm)/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"

// Standard
  CustomMedia "B5/JB5 182x257mm" 516.24 728.64 14 14 14 14 "<</cupsString0(jis_b5_182x257mm)/PageSize[516 729]/ImagingBBox null>>setpagedevice"
         "<</cupsString0(jis_b5_182x257mm)/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive/Executive 7.25x10.5in" 522 756 14 14 14 14 "<</cupsString0(na_executive_7.25x10.5in)/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsString0(na_executive_7.25x10.5in)/PageSize[522 756]/ImagingBBox null>>setpagedevice"
  CustomMedia "195x270mm/16k 195x270mm" 552 765 14 14 14 14 "<</cupsString0(prc_16k_195x270mm)/PageSize[553 765]/ImagingBBox null>>setpagedevice"
         "<</cupsString0 (prc_16k_195x270mm)/PageSize[552 765]/ImagingBBox null>>setpagedevice"
  CustomMedia "184x260mm/16k 184x260mm" 525 720 14 14 14 14 "<</cupsString0(prc_16k_184x260mm)/PageSize[522 737]/ImagingBBox null>>setpagedevice"
         "<</cupsString0(prc_16k_184x260mm)/PageSize[525 720]/ImagingBBox null>>setpagedevice"
  CustomMedia "Envroc16k/16k 197x273mm" 554 774 14 14 14 14 "<</cupsString0(prc_16k_197x273mm)/PageSize[558 774]/ImagingBBox null>>setpagedevice"
         "<</cupsString0(prc_16k_197x273mm)/PageSize[554 774]/ImagingBBox null>>setpagedevice"
  *CustomMedia "Letter/Letter 8.5x11in" 612 792 14 14 14 14 "<</cupsString0(na_letter_8.5x11in)/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsString0(na_letter_8.5x11in)/PageSize[612 792]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4/A4 210x297mm" 595.44 841.68 14 14 14 14 "<</cupsString0(iso_a4_210x297mm)/PageSize[595 842]/ImagingBBox null>>setpagedevice"
         "<</cupsString0(iso_a4_210x297mm)/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal/Legal 8.5x14in" 612 1008 14 14 14 14 "<</cupsString0(na_legal_8.5x14in)/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsString0(na_legal_8.5x14in)/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
  CustomMedia "8.5x13in/Oficio 8.5x13" 612 936 14 14 14 14 "<</cupsString0(na_foolscap_8.5x13in)/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsString0(na_foolscap_8.5x13in)/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "216x340mm/Oficio 216x340mm" 612 936 14 14 14 14 "<</cupsString0(na_legal_216x340mm)/PageSize[612 964]/ImagingBBox null>>setpagedevice"
         "<</cupsString0(na_legal_216x340mm)/PageSize[612 964]/ImagingBBox null>>setpagedevice"
  CustomMedia "Postcard/Postcard (JIS)" 283 420 14 14 14 14 "<</cupsString0(jpn_hagaki_100x148mm)/PageSize[283 420]/ImagingBBox null>>setpagedevice"
         "<</cupsString0(jpn_hagaki_100x148mm)/PageSize[283 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "DoublePostcardRotated/Double Postcard (JIS)" 420 567 14 14 14 14 "<</cupsString0(jpn_oufuku_148x200mm)/PageSize[420 567]/ImagingBBox null>>setpagedevice"
         "<</cupsString0(jpn_oufuku_148x200mm)/PageSize[420 567]/ImagingBBox null>>setpagedevice"

// Envelope
  CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279 540 14 14 14 14 "<</cupsString0(na_monarch_3.875x7.5in)/PageSize[279 540]/ImagingBBox null>>setpagedevice"
         "<</cupsString0(na_monarch_3.875x7.5in)/PageSize[279 540]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvDL/DL Envelope 110x220mm" 312 624 14 14 14 14 "<</cupsString0(iso_dl_110x220mm)/PageSize[312 624]/ImagingBBox null>>setpagedevice"
         "<</cupsString0(iso_dl_110x220mm)/PageSize[312 624]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env10/#10 Envelope 4.12x9.5in" 297 684  14 14 14 14 "<</cupsString0(na_number-10_4.125x9.5in)/PageSize[297 684]/ImagingBBox null>>setpagedevice"
         "<</cupsString0(na_number-10_4.125x9.5in)/PageSize[297 684]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC5/C5 Envelope 162x229mm" 459 649 14 14 14 14 "<</cupsString0(iso_c5_162x229mm)/PageSize[459 649]/ImagingBBox null>>setpagedevice"
         "<</cupsString0(iso_c5_162x229mm)/PageSize[459 649]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvISOB5/B5 Envelope 176x250mm" 499 709 14 14 14 14 "<</cupsString0(iso_b5_176x250mm)/PageSize[499 709]/ImagingBBox null>>setpagedevice"
         "<</cupsString0(iso_b5_176x250mm)/PageSize[499 709]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.28 459.36 14 14 14 14 "<</cupsString0(iso_c6_114x162mm)/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
         "<</cupsString0(iso_c6_114x162mm)/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 339.84 666 14 14 14 14 "<</cupsString0(jpn_chou3_120x235mm)/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
         "<</cupsString0(jpn_chou3_120x235mm)/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"              
  
  CustomMedia "Statement/Statement 5.5x8.5in" 396 612 14 14 14 14 "<</cupsString0(na_invoice_5.5x8.5in)/PageSize[396 612]/ImagingBBox null>>setpagedevice"
         "<</cupsString0(na_invoice_5.5x8.5in)/PageSize[396 612]/ImagingBBox null>>setpagedevice"
  CustomMedia "4x6/Photo 4x6in" 288 432 14 14 14 14 "<</cupsString0(na_index-4x6_4x6in)/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsString0(na_index-4x6_4x6in)/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "5x7/Photo 5x7in" 360 504 14 14 14 14 "<</cupsString0(na_5x7_5x7in)/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsString0(na_5x7_5x7in)/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "B6/JIS B6 " 363 516 14 14 14 14 "<</cupsString0(jis_b6_128x182mm)/PageSize[363 516]/ImagingBBox null>>setpagedevice"
         "<</cupsString0(jis_b6_128x182mm)/PageSize[363 516]/ImagingBBox null>>setpagedevice"
  CustomMedia "10x15/Photo 10x15cm" 288 432 14 14 14 14 "<</cupsString0(om_small-photo_100x150mm)/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsString0(om_small-photo_100x150mm)/PageSize[288 432]/ImagingBBox null>>setpagedevice"

    // Custom page sizes from 1x4in to Legal
    HWMargins 14 14 14 14
    VariablePaperSize Yes
    MinSize 3in 5in
    MaxSize 8.5in 14in

  {

   //Constraints

   // cupsRowCount values map to PEN_TYPE + 1 from global_types.h
   //Option "ColorModel/Output Mode" PickOne AnySetup 10.0
   //*Choice "Gray/Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowCount 3/cupsRowStep 2>>setpagedevice"

   // cupsRowCount values map to PEN_TYPE + 1 from global_types.h
   Option "ColorModel/Output Mode" PickOne AnySetup 10.0
   Choice "KGray/Black Only Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowCount 3/cupsRowStep 2>>setpagedevice"
   *Choice "Gray/Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowCount 3/cupsRowStep 2>>setpagedevice"
   Choice "Mono/Monochrome" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowCount 3/cupsRowStep 2>>setpagedevice"

   // cupsMediaType values map to MEDIATYPE from global_types.h
     Option "MediaType/Media Type" PickOne AnySetup 10.0
     Choice "Vellum/Vellum" "<</MediaType(vellum)>>setpagedevice"

    //cupsCompression values map to QUALITY_MODE from global_types.h
    Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "FastRes600/FastRes 600" "<</OutputType(1)/HWResolution[600 600]>>setpagedevice"
    Choice "FastRes1200/FastRes 1200" "<</OutputType(2)/HWResolution[600 600]>>setpagedevice"
    Choice "Draft/Draft" "<</OutputType(0)/HWResolution[600 600]>>setpagedevice"
        Choice "ImageREt2400/ImageREt 2400" "<</HWResolution[600 600]>>setpagedevice"
    //*Choice "FastRes600/FastRes 600" "<</OutputType(normal)/HWResolution[600 600]>>setpagedevice"
    //Choice "FastRes1200/FastRes 1200" "<</OutputType(best)/HWResolution[600 600]>>setpagedevice"

   // <%Hbpl1:Mono%>
   {
     ModelName "HP Neverstop Laser 100x"
     Attribute "NickName" "" "HP Neverstop Laser 100x, hpcups $Version"
     Attribute "ShortNickName" "" "HP Neverstop Laser 100x"
     Attribute "1284DeviceID" "" "MFG:HP;MDL:hp neverstop laser 100x;DES:hp neverstop laser 100x;"
     PCFileName "hp-neverstop_laser_100x.ppd"
     Attribute "Product" "" "(HP Neverstop Laser 1000a)"
     Attribute "Product" "" "(HP Neverstop Laser 1000w)"
     Attribute "Product" "" "(HP Neverstop Laser 1000n)"
     Attribute "Product" "" "(HP Neverstop Laser 1001nw)"
   }
   {
     ModelName "HP Laser Ns MFP 1005"
     Attribute "NickName" "" "HP Laser Ns MFP 1005, hpcups $Version"
     Attribute "ShortNickName" "" "HP Laser Ns MFP 1005"
     Attribute "1284DeviceID" "" "MFG:HP;MDL:hp laser ns mfp 1005;DES:hp laser ns mfp 1005;"
     PCFileName "hp-laser_ns_mfp_1005.ppd"
     Attribute "Product" "" "(HP Laser Ns MFP 1005)"
     Attribute "Product" "" "(HP Laser Ns MFP 1005w)"
     Attribute "Product" "" "(HP Laser Ns MFP 1005n)"
   }
   {
     ModelName "HP LaserJet Tank MFP 1005"
     Attribute "NickName" "" "HP LaserJet Tank MFP 1005, hpcups $Version"
     Attribute "ShortNickName" "" "HP LaserJet Tank MFP 1005"
     Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet tank mfp 1005;DES:hp laserjet tank mfp 1005;"
     PCFileName "hp-laserjet_tank_mfp_1005.ppd"
     Attribute "Product" "" "(HP LaserJet Tank MFP 1005)"
     Attribute "Product" "" "(HP LaserJet Tank MFP 1005w)"
     Attribute "Product" "" "(HP LaserJet Tank MFP 1005nw)"
   }
   {
     ModelName "HP LaserJet m101-m106"
     Attribute "NickName" "" "HP LaserJet m101-m106, hpcups $Version"
     Attribute "ShortNickName" "" "HP LaserJet m101-m106"
     Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet m101-m106;DES:hp laserjet m101-m106;"
     PCFileName "hp-laserjet_m101-m106.ppd"
     Attribute "Product" "" "(HP LaserJet m102a)"
     Attribute "Product" "" "(HP LaserJet m102w)"
     Attribute "Product" "" "(HP LaserJet m104a)"
     Attribute "Product" "" "(HP LaserJet m104w)"
     Attribute "Product" "" "(HP LaserJet m106w)"
   }
   {
     ModelName "HP Laser Ns 1020"
     Attribute "NickName" "" "HP Laser Ns 1020, hpcups $Version"
     Attribute "ShortNickName" "" "HP Laser Ns 1020"
     Attribute "1284DeviceID" "" "MFG:HP;MDL:hp laser ns 1020;DES:hp laser ns 1020;"
     PCFileName "hp-laser_ns_1020.ppd"
     Attribute "Product" "" "(HP Laser Ns 1020)"
     Attribute "Product" "" "(HP Laser Ns 1020w)"
     Attribute "Product" "" "(HP Laser Ns 1020n)"
   }
   {
     ModelName "HP LaserJet Tank 1020"
     Attribute "NickName" "" "HP LaserJet Tank 1020, hpcups $Version"
     Attribute "ShortNickName" "" "HP LaserJet Tank 1020"
     Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet tank 1020;DES:hp laserjet tank 1020;"
     PCFileName "hp-laserjet_tank_1020.ppd"
     Attribute "Product" "" "(HP LaserJet Tank 1020)"
     Attribute "Product" "" "(HP LaserJet Tank 1020w)"
     Attribute "Product" "" "(HP LaserJet Tank 1020nw)"
   }
   {
     ModelName "HP LaserJet m109-m112"
     Attribute "NickName" "" "HP LaserJet m109-m112, hpcups $Version"
     Attribute "ShortNickName" "" "HP LaserJet m109-m112"
     Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet m109-m112;DES:hp laserjet m109-m112;"
     PCFileName "hp-laserjet_m109-m112.ppd"
     Attribute "Product" "" "(HP LaserJet m109-m112)"
   }
   {
     ModelName "HP LaserJet Pro p1100 Plus Series"
     Attribute "NickName" "" "HP LaserJet Pro p1100 Plus Series, hpcups $Version"
     Attribute "ShortNickName" "" "HP LJ Pro p1100 Plus Series"
     Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet pro p1100 plus series;DES:hp laserjet pro p1100 plus series;"
     PCFileName "hp-laserjet_pro_p1100_plus_series.ppd"
     Attribute "Product" "" "(HP LaserJet Pro p1106 Plus)"
     Attribute "Product" "" "(HP LaserJet Pro p1108 Plus)"
   }
   {
     ModelName "HP Neverstop Laser MFP 120x"
     Attribute "NickName" "" "HP Neverstop Laser MFP 120x, hpcups $Version"
     Attribute "ShortNickName" "" "HP Neverstop Laser MFP 120x"
     Attribute "1284DeviceID" "" "MFG:HP;MDL:hp neverstop laser mfp 120x;DES:hp neverstop laser mfp 120x;"
     PCFileName "hp-neverstop_laser_mfp_120x.ppd"
     Attribute "Product" "" "(HP Neverstop Laser MFP 1200a)"
     Attribute "Product" "" "(HP Neverstop Laser MFP 1200w)"
     Attribute "Product" "" "(HP Neverstop Laser MFP 1200n)"
     Attribute "Product" "" "(HP Neverstop Laser MFP 1201n)"
     Attribute "Product" "" "(HP Neverstop Laser MFP 1200nw)"
     Attribute "Product" "" "(HP Neverstop Laser MFP 1202nw)"
   }
   {
     ModelName "HP LaserJet Pro MFP m125r"
     Attribute "NickName" "" "HP LaserJet Pro MFP m125r, hpcups $Version"
     Attribute "ShortNickName" "" "HP LaserJet Pro MFP m125r"
     Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet pro mfp m125r;DES:hp laserjet pro mfp m125r;"
     PCFileName "hp-laserjet_pro_mfp_m125r.ppd"
     Attribute "Product" "" "(HP LaserJet Pro MFP m125r)"
   }
   {
     ModelName "HP LaserJet Pro MFP m125s"
     Attribute "NickName" "" "HP LaserJet Pro MFP m125s, hpcups $Version"
     Attribute "ShortNickName" "" "HP LaserJet Pro MFP m125s"
     Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet pro mfp m125s;DES:hp laserjet pro mfp m125s;"
     PCFileName "hp-laserjet_pro_mfp_m125s.ppd"
     Attribute "Product" "" "(HP LaserJet Pro MFP m125s)"
   }
   {
     ModelName "HP LaserJet Pro MFP m125a"
     Attribute "NickName" "" "HP LaserJet Pro MFP m125a, hpcups $Version"
     Attribute "ShortNickName" "" "HP LaserJet Pro MFP m125a"
     Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet pro mfp m125a;DES:hp laserjet pro mfp m125a;"
     PCFileName "hp-laserjet_pro_mfp_m125a.ppd"
     Attribute "Product" "" "(HP LaserJet Pro MFP m125a)"
   }
   {
     ModelName "HP LaserJet Pro MFP m125nw"
     Attribute "NickName" "" "HP LaserJet Pro MFP m125nw, hpcups $Version"
     Attribute "ShortNickName" "" "HP LaserJet Pro MFP m125nw"
     Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet pro mfp m125nw;DES:hp laserjet pro mfp m125nw;"
     PCFileName "hp-laserjet_pro_mfp_m125nw.ppd"
     Attribute "Product" "" "(HP LaserJet Pro MFP m125nw)"
   }
   {
     ModelName "HP LaserJet Pro MFP m125rnw"
     Attribute "NickName" "" "HP LaserJet Pro MFP m125rnw, hpcups $Version"
     Attribute "ShortNickName" "" "HP LaserJet Pro MFP m125rnw"
     Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet pro mfp m125rnw;DES:hp laserjet pro mfp m125rnw;"
     PCFileName "hp-laserjet_pro_mfp_m125rnw.ppd"
     Attribute "Product" "" "(HP LaserJet Pro MFP m125rnw)"
   }
   {
     ModelName "HP LaserJet Pro MFP m125nr"
     Attribute "NickName" "" "HP LaserJet Pro MFP m125nr, hpcups $Version"
     Attribute "ShortNickName" "" "HP LaserJet Pro MFP m125nr"
     Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet pro mfp m125nr;DES:hp laserjet pro mfp m125nr;"
     PCFileName "hp-laserjet_pro_mfp_m125nr.ppd"
     Attribute "Product" "" "(HP LaserJet Pro MFP m125nr)"
   }
   {
     ModelName "HP LaserJet Pro MFP m126a"
     Attribute "NickName" "" "HP LaserJet Pro MFP m126a, hpcups $Version"
     Attribute "ShortNickName" "" "HP LaserJet Pro MFP m126a"
     Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet pro mfp m126a;DES:hp laserjet pro mfp m126a;"
     PCFileName "hp-laserjet_pro_mfp_m126a.ppd"
     Attribute "Product" "" "(HP LaserJet Pro MFP m126a)"
   }
   {
     ModelName "HP LaserJet Pro MFP m126nw"
     Attribute "NickName" "" "HP LaserJet Pro MFP m126nw, hpcups $Version"
     Attribute "ShortNickName" "" "HP LaserJet Pro MFP m126nw"
     Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet pro mfp m126nw;DES:hp laserjet pro mfp m126nw;"
     PCFileName "hp-laserjet_pro_mfp_m126nw.ppd"
     Attribute "Product" "" "(HP LaserJet Pro MFP m126nw)"
   }
   {
     ModelName "HP LaserJet Pro MFP m127fp"
     Attribute "NickName" "" "HP LaserJet Pro MFP m127fp, hpcups $Version"
     Attribute "ShortNickName" "" "HP LaserJet Pro MFP m127fp"
     Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet pro mfp m127fp;DES:hp laserjet pro mfp m127fp;"
     PCFileName "hp-laserjet_pro_mfp_m127fp.ppd"
     Attribute "Product" "" "(HP LaserJet Pro MFP m127fp)"
   }
   {
     ModelName "HP LaserJet Pro MFP m127fn"
     Attribute "NickName" "" "HP LaserJet Pro MFP m127fn, hpcups $Version"
     Attribute "ShortNickName" "" "HP LaserJet Pro MFP m127fn"
     Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet pro mfp m127fn;DES:hp laserjet pro mfp m127fn;"
     PCFileName "hp-laserjet_pro_mfp_m127fn.ppd"
     Attribute "Product" "" "(HP LaserJet Pro MFP m127fn)"
   }
   {
     ModelName "HP LaserJet Pro MFP m127fw"
     Attribute "NickName" "" "HP LaserJet Pro MFP m127fw, hpcups $Version, requires proprietary plugin"
     Attribute "ShortNickName" "" "HP LaserJet Pro MFP m127fw"
     Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet pro mfp m127fw;DES:hp laserjet pro mfp m127fw;"
     PCFileName "hp-laserjet_pro_mfp_m127fw.ppd"
     Attribute "Product" "" "(HP LaserJet Pro MFP m127fw)"
   }
   {
     ModelName "HP LaserJet Pro MFP m127fs"
     Attribute "NickName" "" "HP LaserJet Pro MFP m127fs, hpcups $Version"
     Attribute "ShortNickName" "" "HP LaserJet Pro MFP m127fs"
     Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet pro mfp m127fs;DES:hp laserjet pro mfp m127fs;"
     PCFileName "hp-laserjet_pro_mfp_m127fs.ppd"
     Attribute "Product" "" "(HP LaserJet Pro MFP m127fs)"
   }
   {
     ModelName "HP LaserJet Pro MFP m128fn"
     Attribute "NickName" "" "HP LaserJet Pro MFP m128fn, hpcups $Version"
     Attribute "ShortNickName" "" "HP LaserJet Pro MFP m128fn"
     Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet pro mfp m128fn;DES:hp laserjet pro mfp m128fn;"
     PCFileName "hp-laserjet_pro_mfp_m128fn.ppd"
     Attribute "Product" "" "(HP LaserJet Pro MFP m128fn)"
   }
   {
     ModelName "HP LaserJet Pro MFP m128fp"
     Attribute "NickName" "" "HP LaserJet Pro MFP m128fp, hpcups $Version"
     Attribute "ShortNickName" "" "HP LaserJet Pro MFP m128fp"
     Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet pro mfp m128fp;DES:hp laserjet pro mfp m128fp;"
     PCFileName "hp-laserjet_pro_mfp_m128fp.ppd"
     Attribute "Product" "" "(HP LaserJet Pro MFP m128fp)"
   }
   {
     ModelName "HP LaserJet Pro MFP m128fw"
     Attribute "NickName" "" "HP LaserJet Pro MFP m128fw, hpcups $Version"
     Attribute "ShortNickName" "" "HP LaserJet Pro MFP m128fw"
     Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet pro mfp m128fw;DES:hp laserjet pro mfp m128fw;"
     PCFileName "hp-laserjet_pro_mfp_m128fw.ppd"
     Attribute "Product" "" "(HP LaserJet Pro MFP m128fw)"
   }
   {
     ModelName "HP LaserJet MFP m129-m134"
     Attribute "NickName" "" "HP LaserJet MFP m129-m134, hpcups $Version"
     Attribute "ShortNickName" "" "HP LaserJet MFP m129-m134"
     Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet mfp m129-m134;DES:hp laserjet mfp m129-m134;"
     PCFileName "hp-laserjet_mfp_m129-m134.ppd"
     Attribute "Product" "" "(HP LaserJet Pro MFP m132a)"
     Attribute "Product" "" "(HP LaserJet Pro MFP m132nw)"
     Attribute "Product" "" "(HP LaserJet Pro MFP m132snw)"
     Attribute "Product" "" "(HP LaserJet Pro MFP m134a)"
     Attribute "Product" "" "(HP LaserJet Pro MFP m132fw)"
     Attribute "Product" "" "(HP LaserJet Pro MFP m132fn)"
     Attribute "Product" "" "(HP LaserJet Pro MFP m132fp)"
     Attribute "Product" "" "(HP LaserJet Pro MFP m134fn)"
     Attribute "Product" "" "(HP LaserJet Pro MFP m130a)"
     Attribute "Product" "" "(HP LaserJet Pro MFP m130nw)"
     Attribute "Product" "" "(HP LaserJet Pro MFP m130fn)"
     Attribute "Product" "" "(HP LaserJet Pro MFP m130fw)"
   }
   {
     ModelName "HP LaserJet MFP m139-m142"
     Attribute "NickName" "" "HP LaserJet MFP m139-m142, hpcups $Version"
     Attribute "ShortNickName" "" "HP LaserJet MFP m139-m142"
     Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet mfp m139-m142;DES:hp laserjet mfp m139-m142;"
     PCFileName "hp-laserjet_mfp_m139-m142.ppd"
     Attribute "Product" "" "(HP LaserJet MFP m139-m142)"
   }
   {
     ModelName "HP LaserJet m14-m17"
     Attribute "NickName" "" "HP LaserJet m14-m17, hpcups $Version"
     Attribute "ShortNickName" "" "HP LaserJet m14-m17"
     Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet m14-m17;DES:hp laserjet m14-m17;"
     PCFileName "hp-laserjet_m14-m17.ppd"
     Attribute "Product" "" "(HP LaserJet Pro m15a)"
     Attribute "Product" "" "(HP LaserJet Pro m14a)"
     Attribute "Product" "" "(HP LaserJet Pro m17a)"
     Attribute "Product" "" "(HP LaserJet Pro m16a)"
     Attribute "Product" "" "(HP LaserJet Pro m14c)"
     Attribute "Product" "" "(HP LaserJet Pro m17c)"
   }
   {
     ModelName "HP LaserJet Tank 150x"
     Attribute "NickName" "" "HP LaserJet Tank 150x, hpcups $Version"
     Attribute "ShortNickName" "" "HP LaserJet Tank 150x"
     Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet tank 150x;DES:hp laserjet tank 150x;"
     PCFileName "hp-laserjet_tank_150x.ppd"
     Attribute "Product" "" "(HP LaserJet Tank 1502a)"
     Attribute "Product" "" "(HP LaserJet Tank 1502w)"
     Attribute "Product" "" "(HP LaserJet Tank 1504w)"
   }
   {
     ModelName "HP LaserJet Tank MFP 160x"
     Attribute "NickName" "" "HP LaserJet Tank MFP 160x, hpcups $Version"
     Attribute "ShortNickName" "" "HP LaserJet Tank MFP 160x"
     Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet tank mfp 160x;DES:hp laserjet tank mfp 160x;"
     PCFileName "hp-laserjet_tank_mfp_160x.ppd"
     Attribute "Product" "" "(HP LaserJet Tank MFP 1602a)"
     Attribute "Product" "" "(HP LaserJet Tank MFP 1602w)"
     Attribute "Product" "" "(HP LaserJet Tank MFP 1604w)"
   }
   {
     ModelName "HP LaserJet Pro MFP m25a"
     Attribute "NickName" "" "HP LaserJet Pro MFP m25a, hpcups $Version"
     Attribute "ShortNickName" "" "HP LaserJet Pro MFP m25a"
     Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet pro mfp m25a;DES:hp laserjet pro mfp m25a;"
     PCFileName "hp-laserjet_pro_mfp_m25a.ppd"
     Attribute "Product" "" "(HP LaserJet Pro MFP m25a)"
   }
   {
     ModelName "HP LaserJet Pro MFP m25nw"
     Attribute "NickName" "" "HP LaserJet Pro MFP m25nw, hpcups $Version"
     Attribute "ShortNickName" "" "HP LaserJet Pro MFP m25nw"
     Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet pro mfp m25nw;DES:hp laserjet pro mfp m25nw;"
     PCFileName "hp-laserjet_pro_mfp_m25nw.ppd"
     Attribute "Product" "" "(HP LaserJet Pro MFP m25nw)"
   }
   {
     ModelName "HP LaserJet Pro MFP m26a"
     Attribute "NickName" "" "HP LaserJet Pro MFP m26a, hpcups $Version"
     Attribute "ShortNickName" "" "HP LaserJet Pro MFP m26a"
     Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet pro mfp m26a;DES:hp laserjet pro mfp m26a;"
     PCFileName "hp-laserjet_pro_mfp_m26a.ppd"
     Attribute "Product" "" "(HP LaserJet Pro MFP m26a)"
   }
   {
     ModelName "HP LaserJet Pro MFP m26nw"
     Attribute "NickName" "" "HP LaserJet Pro MFP m26nw, hpcups $Version"
     Attribute "ShortNickName" "" "HP LaserJet Pro MFP m26nw"
     Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet pro mfp m26nw;DES:hp laserjet pro mfp m26nw;"
     PCFileName "hp-laserjet_pro_mfp_m26nw.ppd"
     Attribute "Product" "" "(HP LaserJet Pro MFP m26nw)"
   }
   {
     ModelName "HP LaserJet Pro MFP m27c"
     Attribute "NickName" "" "HP LaserJet Pro MFP m27c, hpcups $Version"
     Attribute "ShortNickName" "" "HP LaserJet Pro MFP m27c"
     Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet pro mfp m27c;DES:hp laserjet pro mfp m27c;"
     PCFileName "hp-laserjet_pro_mfp_m27c.ppd"
     Attribute "Product" "" "(HP LaserJet Pro MFP m27c)"
   }
   {
     ModelName "HP LaserJet Pro MFP m27cnw"
     Attribute "NickName" "" "HP LaserJet Pro MFP m27cnw, hpcups $Version"
     Attribute "ShortNickName" "" "HP LaserJet Pro MFP m27cnw"
     Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet pro mfp m27cnw;DES:hp laserjet pro mfp m27cnw;"
     PCFileName "hp-laserjet_pro_mfp_m27cnw.ppd"
     Attribute "Product" "" "(HP LaserJet Pro MFP m27cnw)"
   }
   {
     ModelName "HP LaserJet MFP m28-m31"
     Attribute "NickName" "" "HP LaserJet MFP m28-m31, hpcups $Version"
     Attribute "ShortNickName" "" "HP LaserJet MFP m28-m31"
     Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet mfp m28-m31;DES:hp laserjet mfp m28-m31;"
     PCFileName "hp-laserjet_mfp_m28-m31.ppd"
     Attribute "Product" "" "(HP LaserJet Pro MFP m28a)"
     Attribute "Product" "" "(HP LaserJet Pro MFP m30a)"
     Attribute "Product" "" "(HP LaserJet Pro MFP m31a)"
     Attribute "Product" "" "(HP LaserJet Pro MFP m29a)"
     Attribute "Product" "" "(HP LaserJet Pro MFP m30c)"
     Attribute "Product" "" "(HP LaserJet Pro MFP m31c)"
   }
  }

  {

	  Attribute "cupsEvenDuplex" "" "True"
	  Attribute "cupsBackSide" "" "Rotated"
	  Attribute "cupsFlipDuplex" "" "True"	  

	  Group "General/General"
	  //Duplex 
	  Option "Duplex/Double-Sided Printing" PickOne AnySetup 10.0
	  Choice "DuplexNoTumble/Long Edge (Standard)" "<</Duplex true/Tumble false>>setpagedevice"
	  Choice "DuplexTumble/Short Edge (Flip)" "<</Duplex true/Tumble true>>setpagedevice"
	  *Choice "None/Off" "<</Duplex false/Tumble false>>setpagedevice"
   //Constraints

   // cupsRowCount values map to PEN_TYPE + 1 from global_types.h
   //Option "ColorModel/Output Mode" PickOne AnySetup 10.0
   //*Choice "Gray/Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowCount 3/cupsRowStep 2>>setpagedevice"

   // cupsRowCount values map to PEN_TYPE + 1 from global_types.h
   Option "ColorModel/Output Mode" PickOne AnySetup 10.0
   Choice "KGray/Black Only Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowCount 3/cupsRowStep 2>>setpagedevice"
   *Choice "Gray/Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowCount 3/cupsRowStep 2>>setpagedevice"
   Choice "Mono/Monochrome" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowCount 3/cupsRowStep 2>>setpagedevice"

   // cupsMediaType values map to MEDIATYPE from global_types.h
     Option "MediaType/Media Type" PickOne AnySetup 10.0
     Choice "Vellum/Vellum" "<</MediaType(vellum)>>setpagedevice"

    //cupsCompression values map to QUALITY_MODE from global_types.h
    Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "FastRes600/FastRes 600" "<</OutputType(1)/HWResolution[600 600]>>setpagedevice"
    Choice "FastRes1200/FastRes 1200" "<</OutputType(2)/HWResolution[600 600]>>setpagedevice"
    Choice "Draft/Draft" "<</OutputType(0)/HWResolution[600 600]>>setpagedevice"
        Choice "ImageREt2400/ImageREt 2400" "<</HWResolution[600 600]>>setpagedevice"
    //*Choice "FastRes600/FastRes 600" "<</OutputType(normal)/HWResolution[600 600]>>setpagedevice"
    //Choice "FastRes1200/FastRes 1200" "<</OutputType(best)/HWResolution[600 600]>>setpagedevice"

   // <%Hbpl1:Mono_Duplex%>
   {
     ModelName "HP LaserJet m207-m212"
     Attribute "NickName" "" "HP LaserJet m207-m212, hpcups $Version"
     Attribute "ShortNickName" "" "HP LaserJet m207-m212"
     Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet m207-m212;DES:hp laserjet m207-m212;"
     PCFileName "hp-laserjet_m207-m212.ppd"
     Attribute "Product" "" "(HP LaserJet m207d)"
     Attribute "Product" "" "(HP LaserJet m208d)"
     Attribute "Product" "" "(HP LaserJet m209d)"
     Attribute "Product" "" "(HP LaserJet m210d)"
     Attribute "Product" "" "(HP LaserJet m212d)"
     Attribute "Product" "" "(HP Lasejet m211d)"
     Attribute "Product" "" "(HP LaserJet m209dw)"
     Attribute "Product" "" "(HP LaserJet m209dwe)"
     Attribute "Product" "" "(HP LaserJet m210dw)"
     Attribute "Product" "" "(HP LaserJet m210dwe)"
     Attribute "Product" "" "(HP LaserJet m212dw)"
     Attribute "Product" "" "(HP LaserJet m212dwe)"
     Attribute "Product" "" "(HP LaserJet m208dw)"
     Attribute "Product" "" "(HP LaserJet m207dw)"
     Attribute "Product" "" "(HP LaserJet m211dw)"
   }
   {
     ModelName "HP LaserJet MFP m232-m237"
     Attribute "NickName" "" "HP LaserJet MFP m232-m237, hpcups $Version"
     Attribute "ShortNickName" "" "HP LaserJet MFP m232-m237"
     Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet mfp m232-m237;DES:hp laserjet mfp m232-m237;"
     PCFileName "hp-laserjet_mfp_m232-m237.ppd"
     Attribute "Product" "" "(HP LaserJet MFP m234dw)"
     Attribute "Product" "" "(HP LaserJet MFP m234dwe)"
     Attribute "Product" "" "(HP LaserJet MFP m233d)"
     Attribute "Product" "" "(HP LaserJet MFP m232d)"
     Attribute "Product" "" "(HP LaserJet MFP m235d)"
     Attribute "Product" "" "(HP LaserJet MFP m237d)"
     Attribute "Product" "" "(HP LaserJet MFP m236d)"
     Attribute "Product" "" "(HP LaserJet MFP m232dw)"
     Attribute "Product" "" "(HP LaserJet MFP m232dwc)"
     Attribute "Product" "" "(HP LaserJet MFP m233dw)"
     Attribute "Product" "" "(HP LaserJet MFP m236dw)"
     Attribute "Product" "" "(HP LaserJet MFP m235dw)"
     Attribute "Product" "" "(HP LaserJet MFP m235dwe)"
     Attribute "Product" "" "(HP LaserJet MFP m237dwe)"
     Attribute "Product" "" "(HP LaserJet MFP m237dw)"
     Attribute "Product" "" "(HP LaserJet MFP m232sdn)"
     Attribute "Product" "" "(HP LaserJet MFP m233sdn)"
     Attribute "Product" "" "(HP LaserJet MFP m236sdn)"
     Attribute "Product" "" "(HP LaserJet MFP m234sdn)"
     Attribute "Product" "" "(HP LaserJet MFP m234sdne)"
     Attribute "Product" "" "(HP LaserJet MFP m235sdn)"
   }
   {
     ModelName "HP LaserJet Tank 250x"
     Attribute "NickName" "" "HP LaserJet Tank 250x, hpcups $Version"
     Attribute "ShortNickName" "" "HP LaserJet Tank 250x"
     Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet tank 250x;DES:hp laserjet tank 250x;"
     PCFileName "hp-laserjet_tank_250x.ppd"
     Attribute "Product" "" "(HP LaserJet Tank 2502dw)"
     Attribute "Product" "" "(HP LaserJet Tank 2502dn)"
     Attribute "Product" "" "(HP LaserJet Tank 2504dw)"
     Attribute "Product" "" "(HP LaserJet Tank 2503dw)"
     Attribute "Product" "" "(HP LaserJet Tank 2506dw)"
     Attribute "Product" "" "(HP LaserJet Tank 2506d)"
     Attribute "Product" "" "(HP LaserJet Tank 2506dn)"
   }
   {
     ModelName "HP LaserJet Tank MFP 260x"
     Attribute "NickName" "" "HP LaserJet Tank MFP 260x, hpcups $Version"
     Attribute "ShortNickName" "" "HP LaserJet Tank MFP 260x"
     Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet tank mfp 260x;DES:hp laserjet tank mfp 260x;"
     PCFileName "hp-laserjet_tank_mfp_260x.ppd"
     Attribute "Product" "" "(HP LaserJet Tank MFP 2602dn)"
     Attribute "Product" "" "(HP LaserJet Tank MFP 2602sdn)"
     Attribute "Product" "" "(HP LaserJet Tank MFP 2602sdw)"
     Attribute "Product" "" "(HP LaserJet Tank MFP 2602dw)"
     Attribute "Product" "" "(HP LaserJet Tank MFP 2604dw)"
     Attribute "Product" "" "(HP LaserJet Tank MFP 2604sdw)"
     Attribute "Product" "" "(HP LaserJet Tank MFP 2603dw)"
     Attribute "Product" "" "(HP LaserJet Tank MFP 2603sdw)"
     Attribute "Product" "" "(HP LaserJet Tank MFP 2605sdw)"
     Attribute "Product" "" "(HP LaserJet Tank MFP 2606dn)"
     Attribute "Product" "" "(HP LaserJet Tank MFP 2606sdn)"
     Attribute "Product" "" "(HP LaserJet Tank MFP 2606sdw)"
     Attribute "Product" "" "(HP LaserJet Tank MFP 2606dw)"
     Attribute "Product" "" "(HP LaserJet Tank MFP 2606dc)"
   }
  }

  {
   //Constraints
    UIConstraints "*Economode True                  *ColorModel RGB"
    UIConstraints "*Gray True                       *ColorModel RGB"

    //PaperSize && HPGlossPhoto220gsmFasterPrinting
    UIConstraints "*PageSize Letter                 *MediaType HPGlossPhoto220gsmFasterPrinting"
    UIConstraints "*PageSize Legal                  *MediaType HPGlossPhoto220gsmFasterPrinting"
    UIConstraints "*PageSize Executive              *MediaType HPGlossPhoto220gsmFasterPrinting"
    UIConstraints "*PageSize 5x8                    *MediaType HPGlossPhoto220gsmFasterPrinting"
    UIConstraints "*PageSize A4                     *MediaType HPGlossPhoto220gsmFasterPrinting"
    UIConstraints "*PageSize A5                     *MediaType HPGlossPhoto220gsmFasterPrinting"
    UIConstraints "*PageSize A6                     *MediaType HPGlossPhoto220gsmFasterPrinting"
    UIConstraints "*PageSize B5                     *MediaType HPGlossPhoto220gsmFasterPrinting"
    UIConstraints "*PageSize 216x340mm              *MediaType HPGlossPhoto220gsmFasterPrinting"
    UIConstraints "*PageSize 195x270mm              *MediaType HPGlossPhoto220gsmFasterPrinting"
    UIConstraints "*PageSize 184x260mm              *MediaType HPGlossPhoto220gsmFasterPrinting"
    UIConstraints "*PageSize Envroc16k              *MediaType HPGlossPhoto220gsmFasterPrinting"
    UIConstraints "*PageSize Postcard               *MediaType HPGlossPhoto220gsmFasterPrinting"
    UIConstraints "*PageSize DoublePostcardRotated  *MediaType HPGlossPhoto220gsmFasterPrinting"
    UIConstraints "*PageSize Env10                  *MediaType HPGlossPhoto220gsmFasterPrinting"
    UIConstraints "*PageSize EnvMonarch             *MediaType HPGlossPhoto220gsmFasterPrinting"
    UIConstraints "*PageSize EnvISOB5               *MediaType HPGlossPhoto220gsmFasterPrinting"
    UIConstraints "*PageSize EnvC5                  *MediaType HPGlossPhoto220gsmFasterPrinting"
    UIConstraints "*PageSize EnvDL                  *MediaType HPGlossPhoto220gsmFasterPrinting"

    //PaperSize && HPGlossPhoto220gsmHigherGloss
    UIConstraints "*PageSize Letter                 *MediaType HPGlossPhoto220gsmHigherGloss"
    UIConstraints "*PageSize Legal                  *MediaType HPGlossPhoto220gsmHigherGloss"
    UIConstraints "*PageSize Executive              *MediaType HPGlossPhoto220gsmHigherGloss"
    UIConstraints "*PageSize 5x8                    *MediaType HPGlossPhoto220gsmHigherGloss"
    UIConstraints "*PageSize A4                     *MediaType HPGlossPhoto220gsmHigherGloss"
    UIConstraints "*PageSize A5                     *MediaType HPGlossPhoto220gsmHigherGloss"
    UIConstraints "*PageSize A6                     *MediaType HPGlossPhoto220gsmHigherGloss"
    UIConstraints "*PageSize B5                     *MediaType HPGlossPhoto220gsmHigherGloss"
    UIConstraints "*PageSize 216x340mm              *MediaType HPGlossPhoto220gsmHigherGloss"
    UIConstraints "*PageSize 195x270mm              *MediaType HPGlossPhoto220gsmHigherGloss"
    UIConstraints "*PageSize 184x260mm              *MediaType HPGlossPhoto220gsmHigherGloss"
    UIConstraints "*PageSize Envroc16k              *MediaType HPGlossPhoto220gsmHigherGloss"
    UIConstraints "*PageSize Postcard               *MediaType HPGlossPhoto220gsmHigherGloss"
    UIConstraints "*PageSize DoublePostcardRotated  *MediaType HPGlossPhoto220gsmHigherGloss"
    UIConstraints "*PageSize Env10                  *MediaType HPGlossPhoto220gsmHigherGloss"
    UIConstraints "*PageSize EnvMonarch             *MediaType HPGlossPhoto220gsmHigherGloss"
    UIConstraints "*PageSize EnvISOB5               *MediaType HPGlossPhoto220gsmHigherGloss"
    UIConstraints "*PageSize EnvC5                  *MediaType HPGlossPhoto220gsmHigherGloss"
    UIConstraints "*PageSize EnvDL                  *MediaType HPGlossPhoto220gsmHigherGloss"

    //Grayscale print && Colortheme
    UIConstraints "*Gray True *RGBColorMode DefaultSRGB"
    UIConstraints "*Gray True *RGBColorMode PhotoSRGB"
    UIConstraints "*Gray True *RGBColorMode Adobe"
    UIConstraints "*Gray True *RGBColorMode VividSRGB"


   // cupsRowCount values map to PEN_TYPE + 1 from global_types.h
    Option "ColorModel/Neutral Grays" PickOne AnySetup 10.0
    *Choice "KGray/Black Only" "<</OutputType(normal)/cupsColorSpace 1/cupsBitsPerColor 8/cupsRowCount 3/cupsRowStep 1>>setpagedevice"
    Choice "RGB/4-Color" "<</OutputType(best)/cupsColorSpace 1/cupsBitsPerColor 8/cupsRowCount 3/cupsRowStep 0>>setpagedevice"

    Option "RGBColorMode/RGB Color" PickOne AnySetup 10.0
    *Choice "DefaultSRGB/Default sRGB" "<</cupsInteger5 1>>setpagedevice"
    Choice "PhotoSRGB/Photo sRGB" "<</cupsInteger5 2>>setpagedevice"
    Choice "Adobe/Photo Adobe RGB 1998" "<</cupsInteger5 3>>setpagedevice"
    Choice "VividSRGB/Vivid sRGB" "<</cupsInteger5 4>>setpagedevice"
    Choice "HPRGBColorModeNone/None" "<</cupsInteger5 0>>setpagedevice"

    //Print In Grayscale : TODO:-handle in Hbpl1 code
    Option "Gray/Print in Grayscale" Boolean AnySetup 10.0
    *Choice "False/Off" "<</cupsInteger3 0>>setpagedevice"
    Choice "True/On" "<</cupsInteger3 1>>setpagedevice"

    //cupsCompression values map to QUALITY_MODE from global_types.h
    Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "ImageREt2400/ImageREt 2400" "<</HWResolution[600 600]>>setpagedevice"

    // cupsMediaType values map to MEDIATYPE from global_types.h
    Option "MediaType/Media Type" PickOne AnySetup 10.0
    Choice "HPLaserJet90gsm/HP LaserJet 90g" "<</MediaType(HPLaserJet90gsm)>>setpagedevice"
    Choice "HPColorLaser105gsm/HP Color Laser Matte 105g" "<</MediaType(HPColorLaser105gsm)>>setpagedevice"
    Choice "HPPremium_120gsm/HP Premium Choice Matte 120g" "<</MediaType(HPPremium_120gsm)>>setpagedevice"
    Choice "HPMatte160gsm/HP Brochure Matte 150g" "<</MediaType(HPMatte160gsm)>>setpagedevice"
    Choice "HPMatteCover200gsm/HP Cover Matte 200g" "<</MediaType(HPMatteCover200gsm)>>setpagedevice"
    Choice "HPMattePhoto200gsm/HP Matte Photo 200g" "<</MediaType(HPMattePhoto200gsm)>>setpagedevice"
    Choice "HPGlossy130gsm/HP Premium Presentation Glossy 120g" "<</MediaType(HPGlossy130gsm)>>setpagedevice"
    Choice "HPGlossy160gsm/HP Brochure Glossy 150g" "<</MediaType(HPGlossy160gsm)>>setpagedevice"
    Choice "HPTrifoldBrochureGlossy/HP Tri-fold Brochure Glossy 150g" "<</MediaType(HPTrifoldBrochureGlossy)>>setpagedevice"
    Choice "HPGlossPhoto220gsm/HP Brochure Glossy 200g" "<</MediaType(HPGlossPhoto220gsm)>>setpagedevice"
    Choice "HPGlossPhoto220gsmFasterPrinting/HP Brochure Glossy 200g (faster printing)" "<</MediaType(HPGlossPhoto220gsmFasterPrinting)>>setpagedevice"
    Choice "HPGlossPhoto220gsmHigherGloss/HP Brochure Glossy 200g (higher gloss)" "<</MediaType(HPGlossPhoto220gsmHigherGloss)>>setpagedevice"
    Choice "midweightGlossy/Mid-Weight Glossy 96-110g" "<</MediaType(midweightGlossy)>>setpagedevice"
    Choice "heavyGlossy/Heavy Glossy 111-130g" "<</MediaType(heavyGlossy)>>setpagedevice"
    Choice "extraHeavyGloss/Extra Heavy Glossy 131-175g" "<</MediaType(extraHeavyGloss)>>setpagedevice"
    Choice "cardstockGlossy/Card Glossy 176-220g" "<</MediaType(cardstockGlossy)>>setpagedevice"
    Choice "transparencyColorLaser/Color Laser Transparency" "<</MediaType(transparencyColorLaser)>>setpagedevice"
    Choice "heavyEnvelope/Heavy Envelope" "<</MediaType(heavyEnvelope)>>setpagedevice"
    Choice "heavyRough/Heavy Rough" "<</MediaType(heavyRough)>>setpagedevice"
    Choice "toughPaper/HP Tough Paper" "<</MediaType(toughPaper)>>setpagedevice"
    Choice "intermediate/Intermediate 85-95g" "<</MediaType(intermediate)>>setpagedevice"

    //Standard
    CustomMedia "4x6/4x6" 288 432 14 14 14 14 "<</cupsString0(na_index-4x6_4x6in)/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsString0(na_index-4x6_4x6in)/PageSize [288 432]/ImagingBBox null>>setpagedevice"
    CustomMedia "5x8/5x8" 360 576 14 14 14 14 "<</cupsString0(na_index-5x8_5x8in)/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsString0(na_index-5x8_5x8in)/PageSize [360 576]/ImagingBBox null>>setpagedevice"
    CustomMedia "100x150mm/10x15cm" 288 432 14 14 14 14 "<</cupsString0(om_small-photo_100x150mm)/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsString0(om_small-photo_100x150mm)/PageSize [288 432]/ImagingBBox null>>setpagedevice"

   // <%Hbpl1:Color%>
   {
     ModelName "HP Color LaserJet Pro MFP m176n"
     Attribute "NickName" "" "HP Color LaserJet Pro MFP m176n, hpcups $Version, requires proprietary plugin"
     Attribute "ShortNickName" "" "HP Color LaserJet Pro MFP m176n"
     Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp color laserjet pro mfp m176n;DES:hp color laserjet pro mfp m176n;"
     PCFileName "hp-color_laserjet_pro_mfp_m176n.ppd"
     Attribute "Product" "" "(HP Color LaserJet Pro Mpf m176n)"
   }
   {
     ModelName "HP Color LaserJet Pro MFP m177fw"
     Attribute "NickName" "" "HP Color LaserJet Pro MFP m177fw, hpcups $Version"
     Attribute "ShortNickName" "" "HP CLJ Pro MFP m177fw"
     Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp color laserjet pro mfp m177fw;DES:hp color laserjet pro mfp m177fw;"
     PCFileName "hp-color_laserjet_pro_mfp_m177fw.ppd"
     Attribute "Product" "" "(HP Color LaserJet Pro Mpf m177fw)"
   }
  }

} // End HBPL1 (for proprietary plugin)

///////////// LJJetReady (color, for both open and proprietary plugin)
{
  Attribute "hpPrinterLanguage" "" "ljjetready"

  Group "General/General"

  Option "Duplex/Double-Sided Printing" PickOne AnySetup 10.0
    Choice "DuplexNoTumble/Long Edge (Standard)" "<</Duplex true/Tumble false>>setpagedevice"
    Choice "DuplexTumble/Short Edge (Flip)" "<</Duplex true/Tumble true>>setpagedevice"
    *Choice "None/Off" "<</Duplex false/Tumble false>>setpagedevice"

  // MediaPosition values map to MediaSource enumeration in global_types.h
  Option "InputSlot/Media Source" PickOne AnySetup 10.0
    *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"
    Choice "PhotoTray/Photo Tray" "<</MediaPosition 1>>setpagedevice"
    Choice "Upper/Upper Tray" "<</MediaPosition 1>>setpagedevice"
    Choice "Lower/Lower Tray" "<</MediaPosition 4>>setpagedevice"
    Choice "Envelope/Envelope Feeder" "<</MediaPosition 3>>setpagedevice"
    Choice "LargeCapacity/Large Capacity Tray" "<</MediaPosition 5>>setpagedevice"
    Choice "Manual/Manual Feeder" "<</MediaPosition 2>>setpagedevice"
    Choice "MPTray/Multi Purpose Tray" "<</MediaPosition 1>>setpagedevice"

  // cupsRowCount values map to PEN_TYPE + 1 from global_types.h
  Option "ColorModel/Output Mode" PickOne AnySetup 10.0
    Choice "Gray/Grayscale" "<</cupsColorSpace 3/cupsBitsPerColor 1/cupsRowCount 3/cupsRowStep 2>>setpagedevice"
    *Choice "RGB/Color" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowCount 3/cupsRowStep 0>>setpagedevice"     /* no RGBW */

  // cupsMediaType values map to MEDIATYPE from global_types.h
  Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0>>setpagedevice"
    Choice "Glossy/Photo Paper" "<</MediaType(Glossy)/cupsMediaType 3>>setpagedevice"

  // cupsCompression values map to QUALITY_MODE from global_types.h
  // Best mode is only available with proprietary plugin.
  // Best mode will down-select to Normal if no proprietary plugin is installed.
  Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "Normal/Normal" "<</OutputType(0)/HWResolution[600 600]>>setpagedevice"
    Choice "Draft/Draft" "<</OutputType(-1)/HWResolution[600 600]>>setpagedevice"
    Choice "Best/Best" "<</OutputType(1)/HWResolution[600 600]>>setpagedevice"

  // Duplexer is optional...
  Installable "OptionDuplex/Duplexer Installed"

  // Constraints
  //UIConstraints "*Duplex *OptionDuplex False"

  Attribute "cupsModelName" "" "hp color LaserJet 3500"     // APDK device class

  {
// 4x6 or smaller
  CustomMedia "Card3x5/Index Card 3x5in" 216 360 12.00 14.40 12.00 14.40 "<</cupsInteger0 96/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[216 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki/Hagaki 100x148mm" 284 420 13.36 14.40 13.36 14.40 "<</cupsInteger0 96/PageSize[284 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[284 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6/Photo 4x6in" 288 432 17.28 14.40 17.28 14.40 "<</cupsInteger0 96/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6/A6 105x148mm" 297.36 419.76 14.28 14.40 14.28 14.40 "<</cupsInteger0 96/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"

// 5x7
  CustomMedia "Photo5x7/Photo 5x7in" 360 504 12.96 14.40 12.96 14.40 "<</cupsInteger0 96/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card5x8/Index Card 5x8in" 360 576 12.96 14.40 12.96 14.40 "<</cupsInteger0 96/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[360 576]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku/Oufuku-Hagaki 148x200mm" 567 420 14.70 14.40 14.70 14.40 "<</cupsInteger0 96/PageSize[567 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[567 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5/A5 148x210mm" 419.76 595.44 12.12 14.40 12.12 14.40 "<</cupsInteger0 16/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 16/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"

// Standard
  CustomMedia "B5/B5 176x250mm" 498.96 708.48 13.32 14.40 13.32 14.40 "<</cupsInteger0 11/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 11/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5/JB5 182x257mm" 516.24 728.64 14.28 14.40 14.28 14.40 "<</cupsInteger0 96/PageSize[516.24 728.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive/Executive 7.25x10.5in" 522 756 13.32 14.40 13.32 14.40 "<</cupsInteger0 3/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[522 756]/ImagingBBox null>>setpagedevice"
  CustomMedia "16k/16k 7.75x10.75in" 558 774 12.12 14.40 12.12 14.40 "<</cupsInteger0 96/PageSize[558 774]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[558 774]/ImagingBBox null>>setpagedevice"   // custom
  *CustomMedia "Letter/Letter 8.5x11in" 612 792 14.16 14.40 14.16 14.40 "<</cupsInteger0 0/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 0/PageSize[612 792]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4/A4 210x297mm" 595.44 841.68 13.56 14.40 13.56 14.40 "<</cupsInteger0 2/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
  CustomMedia "ExecutiveJIS/Executive (JIS) 8.5x12.986in" 612 936 14.16 14.40 14.16 14.40 "<</cupsInteger0 96/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "FLSA/American Foolscap 8.5x13in" 612 936 14.16 14.40 14.16 14.40 "<</cupsInteger0 96/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal/Legal 8.5x14in" 612 1008 14.16 14.40 14.16 14.40 "<</cupsInteger0 1/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[612 1008]/ImagingBBox null>>setpagedevice"

// Envelope
  CustomMedia "EnvA2/A2 Envelope 4.37x5.75in" 314.64 414 21.00 14.40 21.00 14.40 "<</cupsInteger0 6/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 6/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.28 459.36 14.16 14.40 14.16 14.40 "<</cupsInteger0 96/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou4/#4 Japanese Envelope 90x205mm" 254.88 581.04 14.16 14.40 14.16 14.40 "<</cupsInteger0 96/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279 540 14.70 14.40 14.70 14.40 "<</cupsInteger0 96/PageSize[279 540]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[279 540]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvDL/DL Envelope 110x220mm" 311.76 623.52 15.72 14.40 15.72 14.40 "<</cupsInteger0 9/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 9/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env10/#10 Envelope 4.12x9.5in" 297 684 14.10 14.40 14.10 14.40 "<</cupsInteger0 6/PageSize[297 684]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 6/PageSize[297 684]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 339.84 666 14.40 14.40 14.40 14.40 "<</cupsInteger0 96/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC5/C5 Envelope 162x229mm" 459 649 14.46 14.40 14.46 14.40 "<</cupsInteger0 96/PageSize[459 649]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[459 649]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvB5/B5 Envelope 176x250mm" 499 709 14.76 14.40 14.76 14.40 "<</cupsInteger0 96/PageSize[499 709]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[499 709]/ImagingBBox null>>setpagedevice"

    // Custom page sizes from 1x4in to Legal
    HWMargins 18 14.4 18 14.4
    VariablePaperSize Yes
    MinSize 1in 4in
    MaxSize 8.5in 14in

    // <%LJJetReady:Normal%>
    {
      ModelName "HP Color LaserJet 3500n"
      Attribute "NickName" "" "HP Color LaserJet 3500n, hpcups $Version, requires proprietary plugin"
      Attribute "ShortNickName" "" "HP Color LaserJet 3500n"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp color laserjet 3500n;DES:hp color laserjet 3500n;"
      PCFileName "hp-color_laserjet_3500n.ppd"
      Attribute "Product" "" "(HP Color LaserJet 3500n Printer)"
    }
    {
      ModelName "HP Color LaserJet 3500"
      Attribute "NickName" "" "HP Color LaserJet 3500, hpcups $Version, requires proprietary plugin"
      Attribute "ShortNickName" "" "HP Color LaserJet 3500"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp color laserjet 3500;DES:hp color laserjet 3500;"
      PCFileName "hp-color_laserjet_3500.ppd"
      Attribute "Product" "" "(HP Color LaserJet 3500 Printer)"
      Attribute "Product" "" "(HP Color LaserJet 3500dn Printer)"
      Attribute "Product" "" "(HP Color LaserJet 3500dtn Printer)"
    }
    {
      ModelName "HP Color LaserJet 3550"
      Attribute "NickName" "" "HP Color LaserJet 3550, hpcups $Version, requires proprietary plugin"
      Attribute "ShortNickName" "" "HP Color LaserJet 3550"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp color laserjet 3550;DES:hp color laserjet 3550;"
      PCFileName "hp-color_laserjet_3550.ppd"
      Attribute "Product" "" "(HP Color LaserJet 3550 Printer)"
    }
    {
      ModelName "HP Color LaserJet 3550n"
      Attribute "NickName" "" "HP Color LaserJet 3550n, hpcups $Version, requires proprietary plugin"
      Attribute "ShortNickName" "" "HP Color LaserJet 3550n"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp color laserjet 3550n;DES:hp color laserjet 3550n;"
      PCFileName "hp-color_laserjet_3550n.ppd"
      Attribute "Product" "" "(HP Color LaserJet 3550n Printer)"
    }
    {
      ModelName "HP Color LaserJet 3600"
      Attribute "NickName" "" "HP Color LaserJet 3600, hpcups $Version, requires proprietary plugin"
      Attribute "ShortNickName" "" "HP Color LaserJet 3600"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp color laserjet 3600;DES:hp color laserjet 3600;"
      PCFileName "hp-color_laserjet_3600.ppd"
      Attribute "Product" "" "(HP Color LaserJet 3600 Printer)"
      Attribute "Product" "" "(HP Color LaserJet 3600n Printer)"
      Attribute "Product" "" "(HP Color LaserJet 3600dn Printer)"
    }
  } // End Supported media sizes.
} // End LJJetReady (color, for both open and proprietary plugin)

///////////// LJm1005 (monochrome, for proprietary plugin)
{
  Attribute "hpPrinterLanguage" "" "ljzxstream"

  Group "General/General"

  Option "Duplex/Double-Sided Printing" PickOne AnySetup 10.0
    Choice "DuplexNoTumble/Long Edge (Standard)" "<</Duplex true/Tumble false>>setpagedevice"
    Choice "DuplexTumble/Short Edge (Flip)" "<</Duplex true/Tumble true>>setpagedevice"
    *Choice "None/Off" "<</Duplex false/Tumble false>>setpagedevice"

  // MediaPosition values map to MediaSource enumeration in global_types.h
  Option "InputSlot/Media Source" PickOne AnySetup 10.0
    *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"
    Choice "PhotoTray/Photo Tray" "<</MediaPosition 1>>setpagedevice"
    Choice "Upper/Upper Tray" "<</MediaPosition 1>>setpagedevice"
    Choice "Lower/Lower Tray" "<</MediaPosition 4>>setpagedevice"
    Choice "Envelope/Envelope Feeder" "<</MediaPosition 3>>setpagedevice"
    Choice "LargeCapacity/Large Capacity Tray" "<</MediaPosition 5>>setpagedevice"
    Choice "Manual/Manual Feeder" "<</MediaPosition 2>>setpagedevice"
    Choice "MPTray/Multi Purpose Tray" "<</MediaPosition 1>>setpagedevice"

  // cupsRowCount values map to PEN_TYPE + 1 from global_types.h
  Option "ColorModel/Output Mode" PickOne AnySetup 10.0
    *Choice "Gray/Grayscale" "<</cupsColorSpace 3/cupsBitsPerColor 1/cupsRowCount 1/cupsRowStep 2>>setpagedevice"

  // cupsMediaType values map to MEDIATYPE from global_types.h
  Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0>>setpagedevice"

  // cupsCompression values map to QUALITY_MODE from global_types.h
  Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "Normal/Normal" "<</cupsInteger1 600/OutputType(0)/HWResolution[600 600]>>setpagedevice"
    Choice "Draft/Draft" "<</cupsInteger1 600/OutputType(-1)/HWResolution[600 600]>>setpagedevice"

  // Duplexer is optional...
  Installable "OptionDuplex/Duplexer Installed"

  // Constraints
  //UIConstraints "*Duplex *OptionDuplex False"

  Attribute "cupsModelName" "" "HP LaserJet M1005"     // APDK device class

  {
// 4x6 or smaller
  CustomMedia "Card3x5/Index Card 3x5in" 216 360 12 13 12 13 "<</cupsInteger0 96/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[216 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki/Hagaki 100x148mm" 284 420 12 13 12 13 "<</cupsInteger0 43/PageSize[284 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 43/PageSize[284 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6/A6 105x148mm" 297.36 419.76 12 13 12 13 "<</cupsInteger0 96/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"

// 5x7
  CustomMedia "Card5x8/Index Card 5x8in" 360 576 12 13 12 13 "<</cupsInteger0 96/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[360 576]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku/Oufuku-Hagaki 148x200mm" 567 420 12 13 12 13 "<</cupsInteger0 43/PageSize[567 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 43/PageSize[567 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5/A5 148x210mm" 419.76 595.44 12 13 12 13 "<</cupsInteger0 11/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 11/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"

// Standard
  CustomMedia "B5/B5 176x250mm" 498.96 708.48 12 13 12 13 "<</cupsInteger0 357/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 357/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5/JB5 182x257mm" 516.24 728.64 12.36 13 12.36 13 "<</cupsInteger0 96/PageSize[516.24 728.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive/Executive 7.25x10.5in" 522 756 12 13 12 13 "<</cupsInteger0 7/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/PageSize[522 756]/ImagingBBox null>>setpagedevice"
  CustomMedia "16k/16k 7.75x10.75in" 558 774 12 13 12 13 "<</cupsInteger0 96/PageSize[558 774]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[558 774]/ImagingBBox null>>setpagedevice"   // custom
  *CustomMedia "Letter/Letter 8.5x11in" 612 792 12 13 12 13 "<</cupsInteger0 1/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[612 792]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4/A4 210x297mm" 595.44 841.68 13.56 13.5 13.56 13.5 "<</cupsInteger0 9/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 9/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
  CustomMedia "ExecutiveJIS/Executive (JIS) 8.5x12.986in" 612 936 12 13 12 13 "<</cupsInteger0 96/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "FLSA/American Foolscap 8.5x13in" 612 936 12 13 12 13 "<</cupsInteger0 258/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 258/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal/Legal 8.5x14in" 612 1008 12 13 12 13 "<</cupsInteger0 5/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 5/PageSize[612 1008]/ImagingBBox null>>setpagedevice"

// Envelope
  CustomMedia "EnvA2/A2 Envelope 4.37x5.75in" 314.64 414 12 13 12 13 "<</cupsInteger0 96/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.28 459.36 12 13 12 13 "<</cupsInteger0 96/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou4/#4 Japanese Envelope 90x205mm" 254.88 581.04 12.24 13 12.24 13 "<</cupsInteger0 96/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279 540 12.78 13 12.78 13 "<</cupsInteger0 96/PageSize[279 540]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[279 540]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvDL/DL Envelope 110x220mm" 311.76 623.52 11.76 13 11.76 13 "<</cupsInteger0 27/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 27/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env10/#10 Envelope 4.12x9.5in" 297 684 12 13 12 13 "<</cupsInteger0 20/PageSize[297 684]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 20/PageSize[297 684]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 339.84 666 12.48 13 12.48 13 "<</cupsInteger0 96/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC5/C5 Envelope 162x229mm" 459 649 12 13 12 13 "<</cupsInteger0 96/PageSize[459 649]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[459 649]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvB5/B5 Envelope 176x250mm" 499 709 12 13 12 13 "<</cupsInteger0 96/PageSize[499 709]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[499 709]/ImagingBBox null>>setpagedevice"

    // Custom page sizes from 1x4in to Legal
    HWMargins 12 13 12 13
    VariablePaperSize Yes
    MinSize 1in 4in
    MaxSize 8.5in 14in

    // <%LJm1005:Normal%>
    {
      ModelName "HP LaserJet m1005"
      Attribute "NickName" "" "HP LaserJet m1005, hpcups $Version, requires proprietary plugin"
      Attribute "ShortNickName" "" "HP LaserJet m1005"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet m1005;DES:hp laserjet m1005;"
      PCFileName "hp-laserjet_m1005.ppd"
      Attribute "Product" "" "(HP LaserJet m1005 Multifunction Printer)"
    }
    {
      ModelName "HP LaserJet p1505n"
      Attribute "NickName" "" "HP LaserJet p1505n zxs, hpcups $Version, requires proprietary plugin"
      Attribute "ShortNickName" "" "HP LaserJet p1505n"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet p1505n;DES:hp laserjet p1505n;"
      PCFileName "hp-laserjet_p1505n-zxs.ppd"
      Attribute "Product" "" "(HP LaserJet p1505n Printer)"
    }
    {
      ModelName "HP LaserJet p1505"
      Attribute "NickName" "" "HP LaserJet p1505, hpcups $Version, requires proprietary plugin"
      Attribute "ShortNickName" "" "HP LaserJet p1505"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet p1505;DES:hp laserjet p1505;"
      PCFileName "hp-laserjet_p1505.ppd"
      Attribute "Product" "" "(HP LaserJet p1505 Printer)"
    }
    {
      ModelName "HP LaserJet p2014"
      Attribute "NickName" "" "HP LaserJet p2014 zxs, hpcups $Version, requires proprietary plugin"
      Attribute "ShortNickName" "" "HP LaserJet p2014"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet p2014;DES:hp laserjet p2014;"
      PCFileName "hp-laserjet_p2014-zxs.ppd"
      Attribute "Product" "" "(HP LaserJet p2014 Printer)"
    }
    {
      ModelName "HP LaserJet p2014n"
      Attribute "NickName" "" "HP LaserJet p2014n zxs, hpcups $Version, requires proprietary plugin"
      Attribute "ShortNickName" "" "HP LaserJet p2014n"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet p2014n;DES:hp laserjet p2014n;"
      PCFileName "hp-laserjet_p2014n-zxs.ppd"
      Attribute "Product" "" "(HP LaserJet p2014n Printer)"
    }
  } // End Supported media sizes.
} // End LJm1005 (monochrome, for proprietary plugin)

///////////// LJP1XXX (monochrome, for proprietary plugin)
{
  Attribute "hpPrinterLanguage" "" "ljzxstream"

  Group "General/General"

  Option "Duplex/Double-Sided Printing" PickOne AnySetup 10.0
    Choice "DuplexNoTumble/Long Edge (Standard)" "<</Duplex true/Tumble false>>setpagedevice"
    Choice "DuplexTumble/Short Edge (Flip)" "<</Duplex true/Tumble true>>setpagedevice"
    *Choice "None/Off" "<</Duplex false/Tumble false>>setpagedevice"

  // MediaPosition values map to MediaSource enumeration in global_types.h
  Option "InputSlot/Media Source" PickOne AnySetup 10.0
    *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"
    Choice "PhotoTray/Photo Tray" "<</MediaPosition 1>>setpagedevice"
    Choice "Upper/Upper Tray" "<</MediaPosition 1>>setpagedevice"
    Choice "Lower/Lower Tray" "<</MediaPosition 4>>setpagedevice"
    Choice "Envelope/Envelope Feeder" "<</MediaPosition 3>>setpagedevice"
    Choice "LargeCapacity/Large Capacity Tray" "<</MediaPosition 5>>setpagedevice"
    Choice "Manual/Manual Feeder" "<</MediaPosition 2>>setpagedevice"
    Choice "MPTray/Multi Purpose Tray" "<</MediaPosition 1>>setpagedevice"

  // cupsRowCount values map to PEN_TYPE + 1 from global_types.h
  Option "ColorModel/Output Mode" PickOne AnySetup 10.0
    *Choice "Gray/Grayscale" "<</cupsColorSpace 3/cupsBitsPerColor 1/cupsRowCount 1/cupsRowStep 2>>setpagedevice"

  // cupsMediaType values map to MEDIATYPE from global_types.h
  Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0>>setpagedevice"

  // cupsCompression values map to QUALITY_MODE from global_types.h
  Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "Normal/Normal" "<</cupsInteger1 600/OutputType(0)/HWResolution[600 600]>>setpagedevice"
    Choice "Draft/Draft" "<</cupsInteger1 400/OutputType(-1)/HWResolution[600 600]>>setpagedevice"

  // Duplexer is optional...
  Installable "OptionDuplex/Duplexer Installed"

  // Constraints
  //UIConstraints "*Duplex *OptionDuplex False"

  Attribute "cupsModelName" "" "HP LaserJet P1005"     // APDK device class

  {
// 4x6 or smaller
  CustomMedia "Card3x5/Index Card 3x5in" 216 360 12 13 12 13 "<</cupsInteger0 96/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[216 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki/Hagaki 100x148mm" 284 420 12 13 12 13 "<</cupsInteger0 43/PageSize[284 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 43/PageSize[284 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6/A6 105x148mm" 297.36 419.76 12 13 12 13 "<</cupsInteger0 96/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"

// 5x7
  CustomMedia "Card5x8/Index Card 5x8in" 360 576 12 13 12 13 "<</cupsInteger0 96/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[360 576]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku/Oufuku-Hagaki 148x200mm" 567 420 12 13 12 13 "<</cupsInteger0 43/PageSize[567 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 43/PageSize[567 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5/A5 148x210mm" 419.76 595.44 12 13 12 13 "<</cupsInteger0 11/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 11/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"

// Standard
  CustomMedia "B5/B5 176x250mm" 498.96 708.48 12 13 12 13 "<</cupsInteger0 357/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 357/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5/JB5 182x257mm" 516.24 728.64 12.36 13 12.36 13 "<</cupsInteger0 96/PageSize[516.24 728.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive/Executive 7.25x10.5in" 522 756 12 13 12 13 "<</cupsInteger0 7/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 7/PageSize[522 756]/ImagingBBox null>>setpagedevice"
  CustomMedia "16k/16k 7.75x10.75in" 558 774 12 13 12 13 "<</cupsInteger0 96/PageSize[558 774]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[558 774]/ImagingBBox null>>setpagedevice"   // custom
  *CustomMedia "Letter/Letter 8.5x11in" 612 792 12 13 12 13 "<</cupsInteger0 1/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[612 792]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4/A4 210x297mm" 595.44 841.68 13.56 13.5 13.56 13.5 "<</cupsInteger0 9/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 9/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
  CustomMedia "ExecutiveJIS/Executive (JIS) 8.5x12.986in" 612 936 12 13 12 13 "<</cupsInteger0 96/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "FLSA/American Foolscap 8.5x13in" 612 936 12 13 12 13 "<</cupsInteger0 258/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 258/PageSize[612 936]/ImagingBBox null>>setpagedevice"
  CustomMedia "Legal/Legal 8.5x14in" 612 1008 12 13 12 13 "<</cupsInteger0 5/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 5/PageSize[612 1008]/ImagingBBox null>>setpagedevice"

// Envelope
  CustomMedia "EnvA2/A2 Envelope 4.37x5.75in" 314.64 414 12 13 12 13 "<</cupsInteger0 96/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.28 459.36 12 13 12 13 "<</cupsInteger0 96/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou4/#4 Japanese Envelope 90x205mm" 254.88 581.04 12.24 13 12.24 13 "<</cupsInteger0 96/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279 540 12.78 13 12.78 13 "<</cupsInteger0 96/PageSize[279 540]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[279 540]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvDL/DL Envelope 110x220mm" 311.76 623.52 11.76 13 11.76 13 "<</cupsInteger0 27/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 27/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env10/#10 Envelope 4.12x9.5in" 297 684 12 13 12 13 "<</cupsInteger0 20/PageSize[297 684]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 20/PageSize[297 684]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 339.84 666 12.48 13 12.48 13 "<</cupsInteger0 96/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC5/C5 Envelope 162x229mm" 459 649 12 13 12 13 "<</cupsInteger0 96/PageSize[459 649]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[459 649]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvB5/B5 Envelope 176x250mm" 499 709 12 13 12 13 "<</cupsInteger0 96/PageSize[499 709]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 96/PageSize[499 709]/ImagingBBox null>>setpagedevice"

    // Custom page sizes from 1x4in to Legal
    HWMargins 12 13 12 13
    VariablePaperSize Yes
    MinSize 1in 4in
    MaxSize 8.5in 14in

    // <%LJP1XXX:Normal%>
    {
      ModelName "HP LaserJet p1005"
      Attribute "NickName" "" "HP LaserJet p1005, hpcups $Version, requires proprietary plugin"
      Attribute "ShortNickName" "" "HP LaserJet p1005"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet p1005;DES:hp laserjet p1005;"
      PCFileName "hp-laserjet_p1005.ppd"
      Attribute "Product" "" "(HP LaserJet p1005 Printer)"
    }
    {
      ModelName "HP LaserJet p1006"
      Attribute "NickName" "" "HP LaserJet p1006, hpcups $Version, requires proprietary plugin"
      Attribute "ShortNickName" "" "HP LaserJet p1006"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet p1006;DES:hp laserjet p1006;"
      PCFileName "hp-laserjet_p1006.ppd"
      Attribute "Product" "" "(HP LaserJet p1006 Printer)"
    }
    {
      ModelName "HP LaserJet p1007"
      Attribute "NickName" "" "HP LaserJet p1007, hpcups $Version, requires proprietary plugin"
      Attribute "ShortNickName" "" "HP LaserJet p1007"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet p1007;DES:hp laserjet p1007;"
      PCFileName "hp-laserjet_p1007.ppd"
      Attribute "Product" "" "(HP LaserJet p1007 Printer)"
    }
    {
      ModelName "HP LaserJet p1008"
      Attribute "NickName" "" "HP LaserJet p1008, hpcups $Version, requires proprietary plugin"
      Attribute "ShortNickName" "" "HP LaserJet p1008"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet p1008;DES:hp laserjet p1008;"
      PCFileName "hp-laserjet_p1008.ppd"
      Attribute "Product" "" "(HP LaserJet p1008 Printer)"
    }
    {
      ModelName "HP LaserJet p1009"
      Attribute "NickName" "" "HP LaserJet p1009, hpcups $Version, requires proprietary plugin"
      Attribute "ShortNickName" "" "HP LaserJet p1009"
      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet p1009;DES:hp laserjet p1009;"
      PCFileName "hp-laserjet_p1009.ppd"
      Attribute "Product" "" "(HP LaserJet p1009 Printer)"
    }
  } // End Supported media sizes.
} // End LJP1XXX (monochrome, for proprietary plugin)


} // End Manufacturer "HP"

{
  Manufacturer "Apollo"
///////////// Apollo
{
  Attribute "hpPrinterLanguage" "" "pcl3"
  Attribute "hpPrinterPlatform" "" "apollo2xxx"
  Attribute "HPMechOffset" "" "40"

  Group "General/General"

  // MediaPosition values map to MediaSource enumeration in global_types.h
  Option "InputSlot/Media Source" PickOne AnySetup 10.0
    *Choice "Auto/Auto-Select" "<</MediaPosition 7>>setpagedevice"
    Choice "PhotoTray/Photo Tray" "<</MediaPosition 6>>setpagedevice"
    Choice "Upper/Upper Tray" "<</MediaPosition 1>>setpagedevice"
    Choice "Lower/Lower Tray" "<</MediaPosition 4>>setpagedevice"
    Choice "Envelope/Envelope Feeder" "<</MediaPosition 3>>setpagedevice"
    Choice "LargeCapacity/Large Capacity Tray" "<</MediaPosition 5>>setpagedevice"
    Choice "Manual/Manual Feeder" "<</MediaPosition 2>>setpagedevice"
    Choice "MPTray/Multi Purpose Tray" "<</MediaPosition 1>>setpagedevice"

  // cupsMediaType values map to MEDIATYPE from global_types.h
  Option "MediaType/Media Type" PickOne AnySetup 10.0
    *Choice "Plain/Plain Paper" "<</MediaType(Plain)/cupsMediaType 0>>setpagedevice"
    Choice "Glossy/Photo Paper" "<</MediaType(Glossy)/cupsMediaType 3>>setpagedevice"

  // cupsCompression values map to QUALITY_MODE from global_types.h
  Option "OutputMode/Print Quality" PickOne AnySetup 10.0
    *Choice "NormalRGB/Normal Color" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 0/OutputType(0)/cupsString0(PlainNormalColor)/HWResolution[300 300]>>setpagedevice"
    Choice "NormaGrayl/Normal Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2/OutputType(0)/cupsString0(PlainNormalGrayK)/HWResolution[300 300]>>setpagedevice"
    Choice "DraftRGB/Draft Color" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 0/OutputType(-1)/cupsString0(PlainDraftColor)/HWResolution[300 300]>>setpagedevice"
    Choice "DraftGray/Draft Grayscale" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2/OutputType(-1)/cupsString0(PlainDraftGrayK)/HWResolution[300 300]>>setpagedevice"
    Choice "Best/Best" "<</cupsColorSpace 3/cupsBitsPerColor 1/cupsRowStep 1/OutputType(1)/cupsString0(PlainBestGrayK)/HWResolution[600 300]>>setpagedevice"       // black only
    Choice "Photo/Photo" "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 0/OutputType(2)/cupsString0(PhotoNormalColor)/HWResolution[300 300]>>setpagedevice"

  // Constraints
  UIConstraints "*MediaType Glossy *OutputMode DraftRGB"
  UIConstraints "*MediaType Glossy *OutputMode DraftGray"
  UIConstraints "*MediaType Plain *OutputMode Photo"

  {
// 4x6 or smaller
  CustomMedia "Card3x5/Index Card 3x5in" 216 360 18 48 18 9 "<</cupsInteger0 78/PageSize [216 360]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 78/PageSize[216 360]/ImagingBBox null>>setpagedevice"
  CustomMedia "Hagaki/Hagaki 100x148mm" 284 420 18 48 18 9 "<</cupsInteger0 71/PageSize[284 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 71/PageSize[284 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "Photo4x6/Photo 4x6in" 288 432 18 48 18 9 "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 74/PageSize[288 432]/ImagingBBox null>>setpagedevice"
  CustomMedia "A6/A6 105x148mm" 297.36 419.76 18 48 18 9 "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 73/PageSize[297.36 419.76]/ImagingBBox null>>setpagedevice"

// 5x7
  CustomMedia "Photo5x7/Photo 5x7in" 360 504 18 48 18 9 "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 122/PageSize[360 504]/ImagingBBox null>>setpagedevice"
  CustomMedia "Card5x8/Index Card 5x8in" 360 576 18 48 18 9 "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 75/PageSize[360 576]/ImagingBBox null>>setpagedevice"
  CustomMedia "Oufuku/Oufuku-Hagaki 148x200mm" 567 420 18 48 18 9 "<</cupsInteger0 72/PageSize[567 420]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 72/PageSize[567 420]/ImagingBBox null>>setpagedevice"
  CustomMedia "A5/A5 148x210mm" 419.76 595.44 18 48 18 9 "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 25/PageSize[419.76 595.44]/ImagingBBox null>>setpagedevice"

// Standard
  CustomMedia "B5/B5 176x250mm" 498.96 708.48 18 48 18 9 "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 65/PageSize[498.96 708.48]/ImagingBBox null>>setpagedevice"
  CustomMedia "JB5/JB5 182x257mm" 516.24 728.64 18 48 18 9 "<</cupsInteger0 45/PageSize[516.24 728.64]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 45/PageSize [516.24 728.64]/ImagingBBox null>>setpagedevice"
  CustomMedia "Executive/Executive 7.25x10.5in" 522 756 18 48 18 9 "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 1/PageSize[522 756]/ImagingBBox null>>setpagedevice"
  CustomMedia "16k/16k 7.75x10.75in" 558 774 18 48 18 9 "<</cupsInteger0 101/PageSize[558 774]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 101/PageSize[558 774]/ImagingBBox null>>setpagedevice"   // custom
  *CustomMedia "Letter/Letter 8.5x11in" 612 792 18 48 18 9 "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
  CustomMedia "A4/A4 210x297mm" 595.44 841.68 18 48 18 9 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
  CustomMedia "ExecutiveJIS/Executive (JIS) 8.5x12.986in" 612 936 18 48 18 9 "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
   CustomMedia "FLSA/American Foolscap 8.5x13in" 612 936 18 48 18 9 "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
 CustomMedia "Legal/Legal 8.5x14in" 612 1008 18 48 18 9 "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 3/PageSize[612 1008]/ImagingBBox null>>setpagedevice"

// Envelope
  CustomMedia "EnvA2/A2 Envelope 4.37x5.75in" 314.64 414 18 48 18 9 "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 109/PageSize[314.64 414]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC6/C6 Envelope 114x162mm" 323.28 459.36 18 48 18 9 "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 92/PageSize[323.28 459.36]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou4/#4 Japanese Envelope 90x205mm" 254.88 581.04 18 48 18 9 "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 111/PageSize[254.88 581.04]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvMonarch/Monarch Envelope 3.875x7.5in" 279 540 18 48 18 9 "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 80/PageSize[279 540]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvDL/DL Envelope 110x220mm" 311.76 623.52 18 48 18 9 "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 90/PageSize[311.76 623.52]/ImagingBBox null>>setpagedevice"
  CustomMedia "Env10/#10 Envelope 4.12x9.5in" 297 684 18 48 18 9 "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 81/PageSize[297 684]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvChou3/#3 Japanese Envelope 120x235mm" 339.84 666 18 48 18 9 "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 110/PageSize[339.84 666]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvC5/C5 Envelope 162x229mm" 459 649 18 48 18 9 "<</cupsInteger0 91/PageSize[459 649]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 91/PageSize[459 649]/ImagingBBox null>>setpagedevice"
  CustomMedia "EnvB5/B5 Envelope 176x250mm" 499 709 18 48 18 9 "<</cupsInteger0 100/PageSize[499 709]/ImagingBBox null>>setpagedevice"
         "<</cupsInteger0 100/PageSize[499 709]/ImagingBBox null>>setpagedevice"

    // Custom page sizes from 1x4in to Legal
    HWMargins 18 48 18 9
    VariablePaperSize Yes
    MinSize 1in 4in
    MaxSize 8.5in 14in

    {
      Attribute "cupsModelName" "" "APOLLO P-2200"     // APDK device class
      // <%AP2xxx:Apollo2200%>
      {
        ModelName "Apollo 2200"
        Attribute "NickName" "" "Apollo 2200, hpcups $Version"
        Attribute "ShortNickName" "" "Apollo 2200"
        Attribute "1284DeviceID" "" "MFG:Apollo;MDL:apollo 2200;DES:apollo 2200;"
        PCFileName "apollo-2200.ppd"
        Attribute "Product" "" "(Apollo 2200 Printer)"
      }
      {
        ModelName "Apollo p2250"
        Attribute "NickName" "" "Apollo p2250, hpcups $Version"
        Attribute "ShortNickName" "" "Apollo p2250"
        Attribute "1284DeviceID" "" "MFG:Apollo;MDL:apollo p2250;DES:apollo p2250;"
        PCFileName "apollo-p2250.ppd"
        Attribute "Product" "" "(Apollo p2250 Printer)"
      }
    }
    {
      Attribute "cupsModelName" "" "P-2000U"     // APDK device class
      // <%AP21xx:Apollo2000%>
      {
        ModelName "Apollo p2000-u"
        Attribute "NickName" "" "Apollo p2000-u, hpcups $Version"
        Attribute "ShortNickName" "" "Apollo p2000-u"
        Attribute "1284DeviceID" "" "MFG:Apollo;MDL:apollo p2000-u;DES:apollo p2000-u;"
        PCFileName "apollo-p2000-u.ppd"
        Attribute "Product" "" "(Apollo p2000-u Printer)"
      }
      {
        ModelName "Apollo 2100"
        Attribute "NickName" "" "Apollo 2100, hpcups $Version"
        Attribute "ShortNickName" "" "Apollo 2100"
        Attribute "1284DeviceID" "" "MFG:Apollo;MDL:apollo 2100;DES:apollo 2100;"
        PCFileName "apollo-2100.ppd"
        Attribute "Product" "" "(Apollo 2100 Printer)"
      }
      {
        ModelName "Apollo 2150"
        Attribute "NickName" "" "Apollo 2150, hpcups $Version"
        Attribute "ShortNickName" "" "Apollo 2150"
        Attribute "1284DeviceID" "" "MFG:Apollo;MDL:apollo 2150;DES:apollo 2150;"
        PCFileName "apollo-2150.ppd"
        Attribute "Product" "" "(Apollo 2150 Printer)"
      }
    }
    {
      Attribute "cupsModelName" "" "APOLLO P2500/2600"     // APDK device class
      // <%AP2560:Apollo2500%>
      {
        ModelName "Apollo 2500"
        Attribute "NickName" "" "Apollo 2500, hpcups $Version"
        Attribute "ShortNickName" "" "Apollo 2500"
        Attribute "1284DeviceID" "" "MFG:Apollo;MDL:apollo 2500;DES:apollo 2500;"
        PCFileName "apollo-2500.ppd"
        Attribute "Product" "" "(Apollo 2500 Printer)"
      }
      {
        ModelName "Apollo 2600"
        Attribute "NickName" "" "Apollo 2600, hpcups $Version"
        Attribute "ShortNickName" "" "Apollo 2600"
        Attribute "1284DeviceID" "" "MFG:Apollo;MDL:apollo 2600;DES:apollo 2600;"
        PCFileName "apollo-2600.ppd"
        Attribute "Product" "" "(Apollo 2600 Printer)"
      }
      {
        ModelName "Apollo 2650"
        Attribute "NickName" "" "Apollo 2650, hpcups $Version"
        Attribute "ShortNickName" "" "Apollo 2650"
        Attribute "1284DeviceID" "" "MFG:Apollo;MDL:apollo 2650;DES:apollo 2650;"
        PCFileName "apollo-2650.ppd"
        Attribute "Product" "" "(Apollo 2650 Printer)"
      }
    }
  } // End Supported media sizes.
} // End Apollo

} // End Manufacturer "Apollo"

Zerion Mini Shell 1.0