home *** CD-ROM | disk | FTP | other *** search
/ Chip 2011 March / Chip_2011.03_CD.iso / I386 / DRIVER.CAB / hpfdj97x.gpd < prev    next >
Encoding:
Text File  |  2001-07-22  |  62.2 KB  |  2,248 lines

  1. *%% 
  2. *%% Common definitions for HP DeskJet 97x Series printers 
  3. *%%
  4. *%% Copyright 1999, Hewlett-Packard Co.
  5. *%% All Rights Reserved.
  6. *%%
  7.  
  8. *Include: "hpfnam50.gpd"
  9.  
  10.  
  11. *%%
  12. *%% Global Entries
  13. *%%
  14. *ResourceDLL: "hpfui50.dll"
  15.  
  16. *rcPersonalityID: =PERSONALITY_PCL_DISPLAY 
  17.  
  18. *MasterUnits: PAIR(1200, 1200)
  19.  
  20. *switch:  Duplex
  21. {
  22.     *case: NONE
  23.     { 
  24.         *OutputOrderReversed?: TRUE
  25.     }
  26.     *default:
  27.     { 
  28.         *OutputOrderReversed?: FALSE
  29.     }
  30. }
  31.  
  32. *PrinterType: SERIAL
  33.  
  34. *%%
  35. *%% Macros
  36. *%%
  37. *Macros: OEMProductName
  38. {
  39.     OEM_DJ_97x:           "HTPD<00 00 00 04 16 00 00 00>"
  40. }
  41.  
  42. *% collection of the macros common to all modes for this product
  43. *Macros: OEMCommonCombinations
  44. {
  45.     OEM_COMMON_INFO: =OEM_PCL2 =OEM_PCL_MARG_0 =OEM_DJ_97x =OEM_PCL_MARG_DUP
  46. }
  47.  
  48.  
  49. *Feature: PSAlignmentFile
  50.  {
  51.     *Name: "PSAlign"
  52.     *Option: HPF900AL
  53.     {
  54.         *Name: ""
  55.     }
  56.  }
  57.  
  58.  
  59. *Feature: PSHelpFile
  60. {
  61.     *Name: "PSHelp"
  62.     *Option: HPFDJ200
  63.     {
  64.         *Name: ""
  65.     }
  66. }
  67.  
  68. *%
  69. *% If Duplex is selected and installed 
  70. *% this will send us even pages backwards
  71. *%
  72. *ReverseBandOrderForEvenPages?: TRUE
  73.  
  74. *Feature: Orientation
  75. {
  76.     *rcNameID: =ORIENTATION_DISPLAY
  77.     *DefaultOption: PORTRAIT
  78.     *Option: PORTRAIT
  79.     {
  80.         *rcNameID: =PORTRAIT_DISPLAY
  81.         *Command: CmdSelect
  82.         {
  83.             *Order: DOC_SETUP.60
  84.             *Cmd: =PCL_ORIENT_PORTRAIT
  85.         }
  86.     }
  87.     *Option: LANDSCAPE_CC270
  88.     {
  89.         *rcNameID: =LANDSCAPE_DISPLAY
  90.         *Command: CmdSelect
  91.         {
  92.             *Order: DOC_SETUP.60
  93.             *% note: even though landscape, we MUST send portrait cmd to printer!!!
  94.             *Cmd: =PCL_ORIENT_PORTRAIT
  95.         }
  96.     }
  97. }
  98.  
  99. *Feature: Duplex
  100. {   
  101.     *rcNameID: =TWO_SIDED_PRINTING_DISPLAY
  102.     *DefaultOption: NONE
  103.  
  104.     *Option: NONE
  105.     {
  106.         *rcNameID: =NONE_DISPLAY
  107.         *Command: CmdSelect
  108.         {
  109.             *Order: DOC_SETUP.10
  110.             *Cmd: "<1B>&l0S"
  111.         }
  112.     }
  113.     *Option: VERTICAL
  114.     {
  115.         *rcNameID: =FLIP_ON_LONG_EDGE_DISPLAY
  116.         *Command: CmdSelect
  117.         {
  118.             *Order: DOC_SETUP.10
  119.             *Cmd: "<1B>&l2S"
  120.         }
  121.  
  122.         *Constraints: HPDuplexUnit.NotInstalled
  123.    }
  124.  
  125.     *Option: HORIZONTAL
  126.     {
  127.         *rcNameID: =FLIP_ON_SHORT_EDGE_DISPLAY
  128.         *Command: CmdSelect
  129.         {
  130.             *Order: DOC_SETUP.10
  131.             *Cmd: "<1B>&l2S"
  132.         }
  133.         *Constraints: HPDuplexUnit.NotInstalled
  134.     }
  135. }
  136.  
  137. *Feature: InputBin
  138. {
  139.     *rcNameID: =PAPER_SOURCE_DISPLAY
  140.     *DefaultOption: UPPER
  141.     *Option: UPPER
  142.     {
  143.         *rcNameID: =UPPER_TRAY_DISPLAY
  144.         *Command: CmdSelect
  145.         {
  146.             *Order: DOC_SETUP.40
  147.             *Cmd: =PCL_MEDSOURCE_TRAY1 =PCL_MEDSOURCE_PRELOAD
  148.         }
  149.     }
  150.     *Option: MANUAL
  151.     {
  152.         *rcNameID: =MANUAL_FEED_DISPLAY
  153.         *Command: CmdSelect
  154.         {
  155.             *Order: DOC_SETUP.40
  156.             *Cmd: =PCL_MEDSOURCE_MANUALFEED
  157.         }
  158.     }
  159.     *Option: ENVMANUAL
  160.     {
  161.         *rcNameID: =ENV_MANUAL_DISPLAY
  162.         *Command: CmdSelect
  163.         {
  164.             *Order: DOC_SETUP.40
  165.             *Cmd: =PCL_MEDSOURCE_ENVMANFEED
  166.         }
  167.     }
  168. }
  169.  
  170.  
  171. *BlockMacro:  DUPLEX_CONSTRAINT
  172. {
  173.     *Constraints: LIST(Duplex.VERTICAL, Duplex.HORIZONTAL)
  174. }
  175.  
  176.  
  177. *Feature: PaperSize
  178. {
  179.     *rcNameID: =PAPER_SIZE_DISPLAY
  180.     *DefaultOption: LETTER
  181.     *Option: LETTER
  182.     {
  183.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  184.         *Command: CmdSelect
  185.         {
  186.             *Order: DOC_SETUP.30
  187.             *Cmd: =PCL_US_LETTER
  188.         }
  189.         
  190.         *switch: Orientation
  191.         {
  192.             *case: PORTRAIT
  193.             {
  194.                 *switch: Duplex
  195.                 {
  196.                     *case: NONE
  197.                     {
  198.                         *PrintableArea: PAIR(9600, 12512)
  199.                         *PrintableOrigin: PAIR(300, 80)
  200.                         *CursorOrigin: PAIR(300, 80)
  201.                     }
  202.                     *default
  203.                     {
  204.                         *PrintableArea: PAIR(9600, 12096)
  205.                         *PrintableOrigin: PAIR(300, 552)
  206.                         *CursorOrigin: PAIR(300, 552)
  207.                     }
  208.                 }
  209.             }
  210.             *case: LANDSCAPE_CC270
  211.             {
  212.                 *switch: Duplex
  213.                 {
  214.                     *case: NONE
  215.                     {
  216.                         *PrintableArea: PAIR(9600, 12512)
  217.                         *PrintableOrigin: PAIR(300, 80)
  218.                         *CursorOrigin: PAIR(9900, 80)                
  219.                     }
  220.                     *default
  221.                     {
  222.                         *PrintableArea: PAIR(9600, 12096)
  223.                         *PrintableOrigin: PAIR(300, 552)
  224.                         *CursorOrigin: PAIR(9900, 552)                
  225.                     }
  226.                 }                
  227.             }
  228.         }
  229.     }
  230.     *Option: LEGAL
  231.     {
  232.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  233.         *Command: CmdSelect
  234.         {
  235.             *Order: DOC_SETUP.30
  236.             *Cmd: =PCL_US_LEGAL
  237.         }
  238.         *switch: Orientation
  239.         {
  240.             *case: PORTRAIT
  241.             {
  242.                 *PrintableArea: PAIR(9600, 16128)
  243.                 *PrintableOrigin: PAIR(300, 96)
  244.                 *CursorOrigin: PAIR(300, 96)
  245.             }
  246.             *case: LANDSCAPE_CC270
  247.             {
  248.                 *PrintableArea: PAIR(9600, 16128)
  249.                 *PrintableOrigin: PAIR(300, 96)
  250.                 *CursorOrigin: PAIR(9900, 96)
  251.             }
  252.         }
  253.         *InsertBlock: =DUPLEX_CONSTRAINT
  254.     }
  255.     *Option: EXECUTIVE
  256.     {
  257.  
  258.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  259.         *Command: CmdSelect
  260.         {
  261.             *Order: DOC_SETUP.30
  262.             *Cmd: =PCL_US_EXECUTIVE
  263.         }
  264.         *switch: Orientation
  265.         {
  266.             *case: PORTRAIT
  267.             {
  268.                 *switch: Duplex
  269.                 {
  270.                     *case: NONE
  271.                     {
  272.                         *PrintableArea: PAIR(8096, 11952)
  273.                         *PrintableOrigin: PAIR(300, 80)
  274.                         *CursorOrigin: PAIR(300, 80)
  275.                     }
  276.                     *default
  277.                     {
  278.                         *PrintableArea: PAIR(8096, 11520)
  279.                         *PrintableOrigin: PAIR(300, 512)
  280.                         *CursorOrigin: PAIR(300, 512)
  281.                     }
  282.                 }                
  283.             }
  284.             *case: LANDSCAPE_CC270
  285.             {
  286.                 *switch: Duplex
  287.                 {
  288.                     *case: NONE
  289.                     {
  290.                         *PrintableArea: PAIR(8096, 11952)
  291.                         *PrintableOrigin: PAIR(300, 80)
  292.                         *CursorOrigin: PAIR(8396, 80)
  293.                     }
  294.                     *default
  295.                     {
  296.                         *PrintableArea: PAIR(8096, 11520)
  297.                         *PrintableOrigin: PAIR(264, 512)
  298.                         *CursorOrigin: PAIR(8360, 512)
  299.                     }
  300.                 }                                
  301.             }
  302.         }
  303.     }
  304.     *Option: A4
  305.     {
  306.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  307.         *Command: CmdSelect
  308.         {
  309.             *Order: DOC_SETUP.30
  310.             *Cmd: =PCL_A4
  311.         }
  312.         *switch: Orientation
  313.         {
  314.             *case: PORTRAIT
  315.             {
  316.                 *switch: Duplex
  317.                 {
  318.                     *case: NONE
  319.                     {
  320.                         *PrintableArea: PAIR(9600, 13360)
  321.                         *PrintableOrigin: PAIR(160, 80)
  322.                         *CursorOrigin: PAIR(160, 80)
  323.                     }
  324.                     *default
  325.                     {
  326.                         *PrintableArea: PAIR(9600, 12928)
  327.                         *PrintableOrigin: PAIR(160, 512)
  328.                         *CursorOrigin: PAIR(160, 512)
  329.                     }
  330.                 }  
  331.             }
  332.             *case: LANDSCAPE_CC270
  333.             {
  334.                 *switch: Duplex
  335.                 {
  336.                     *case: NONE
  337.                     {
  338.                         *PrintableArea: PAIR(9600, 13360)
  339.                         *PrintableOrigin: PAIR(160, 80)
  340.                         *CursorOrigin: PAIR(9760, 80)
  341.                     }
  342.                     *default
  343.                     {
  344.                         *PrintableArea: PAIR(9600, 12928)
  345.                         *PrintableOrigin: PAIR(160, 512)
  346.                         *CursorOrigin: PAIR(9760, 512)
  347.                     }
  348.                 }               
  349.             }
  350.         }
  351.     }    
  352.     *Option: A5
  353.     {
  354.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  355.         *Command: CmdSelect
  356.         {
  357.             *Order: DOC_SETUP.30
  358.             *Cmd: =PCL_A5
  359.         }
  360.         *switch: Orientation
  361.         {
  362.             *case: PORTRAIT
  363.             {
  364.                 *switch: Duplex
  365.                 {
  366.                     *case: NONE
  367.                     {
  368.                         *PrintableArea: PAIR(6688, 9104)
  369.                         *PrintableOrigin: PAIR(152, 48)
  370.                         *CursorOrigin: PAIR(152, 48)
  371.                     }
  372.                     *default
  373.                     {
  374.                         *PrintableArea: PAIR(6688, 8884)
  375.                         *PrintableOrigin: PAIR(152, 520)
  376.                         *CursorOrigin: PAIR(152, 520)
  377.                     }
  378.                 }                
  379.  
  380.             }
  381.             *case: LANDSCAPE_CC270
  382.             {
  383.                 *switch: Duplex
  384.                 {
  385.                     *case: NONE
  386.                     {
  387.                         *PrintableArea: PAIR(6688, 9104)
  388.                         *PrintableOrigin: PAIR(152, 48)
  389.                         *CursorOrigin: PAIR(6840, 48)
  390.                     }
  391.                     *default
  392.                     {
  393.                         *PrintableArea: PAIR(6688, 8884)
  394.                         *PrintableOrigin: PAIR(152, 520)
  395.                         *CursorOrigin: PAIR(6840, 520)
  396.                     }
  397.                 }                 
  398.             }
  399.         }
  400.     }
  401.     *Option: A6
  402.     {
  403.         *rcNameID: =A6_DISPLAY
  404.         *Command: CmdSelect
  405.         {
  406.             *Order: DOC_SETUP.30
  407.             *Cmd: =PCL_A6
  408.         }
  409.         *switch: Orientation
  410.         {
  411.             *case: PORTRAIT
  412.             {
  413.                 *switch: Duplex
  414.                 {
  415.                     *case: NONE
  416.                     {
  417.                         *PrintableArea: PAIR(4624, 6336)
  418.                         *PrintableOrigin: PAIR(160, 80)
  419.                         *CursorOrigin: PAIR(160, 80)
  420.                     }
  421.                     *default
  422.                     {
  423.                         *PrintableArea: PAIR(4624, 5956)
  424.                         *PrintableOrigin: PAIR(160, 520)
  425.                         *CursorOrigin: PAIR(160, 520)
  426.                     }
  427.                 }       
  428.             }
  429.             *case: LANDSCAPE_CC270
  430.             {
  431.                 *switch: Duplex
  432.                 {
  433.                     *case: NONE
  434.                     {
  435.                         *PrintableArea: PAIR(4624, 6336)
  436.                         *PrintableOrigin: PAIR(160, 80)
  437.                         *CursorOrigin: PAIR(4784, 80)
  438.                     }
  439.                     *default
  440.                     {
  441.                         *PrintableArea: PAIR(4624, 5956)
  442.                         *PrintableOrigin: PAIR(160, 520)
  443.                         *CursorOrigin: PAIR(4784, 520)
  444.                     }
  445.                 }                     
  446.             }
  447.         }
  448.     } 
  449.     *Option: B5
  450.     {
  451.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  452.         *Command: CmdSelect
  453.         {
  454.             *Order: DOC_SETUP.30
  455.             *Cmd: =PCL_B5
  456.         }
  457.         *switch: Orientation
  458.         {
  459.             *case: PORTRAIT
  460.             {
  461.                 *switch: Duplex
  462.                 {
  463.                     *case: NONE
  464.                     {
  465.                         *PrintableArea: PAIR(8224,11360)
  466.                         *PrintableOrigin: PAIR(160,80)
  467.                         *CursorOrigin: PAIR(160, 80)
  468.                     }
  469.                     *default
  470.                     {
  471.                         *PrintableArea: PAIR(8224, 10944)
  472.                         *PrintableOrigin: PAIR(160, 600)
  473.                         *CursorOrigin: PAIR(160, 600)
  474.                     }
  475.                 }  
  476.             }
  477.             *case: LANDSCAPE_CC270
  478.             {
  479.                 *switch: Duplex
  480.                 {
  481.                     *case: NONE
  482.                     {
  483.                         *PrintableArea: PAIR(8224,11360)
  484.                         *PrintableOrigin: PAIR(160, 80)
  485.                         *CursorOrigin: PAIR(8384, 80)
  486.                     }
  487.                     *default
  488.                     {
  489.                         *PrintableArea: PAIR(8224,10944)
  490.                         *PrintableOrigin: PAIR(160, 600)
  491.                         *CursorOrigin: PAIR(8384, 600)
  492.                     }
  493.                 }                  
  494.             }
  495.         }
  496.     } 
  497.     *Option: ENV_10
  498.     {
  499.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  500.         *Command: CmdSelect
  501.         {
  502.             *Order: DOC_SETUP.30
  503.             *Cmd: =PCL_ENV_10
  504.         }
  505.         *switch: Orientation
  506.         {
  507.             *case: PORTRAIT
  508.             {
  509.                 *PrintableArea: PAIR(4592,  10720)
  510.                 *PrintableOrigin: PAIR(160, 80)
  511.                 *CursorOrigin: PAIR(160, 80)
  512.             }
  513.             *case: LANDSCAPE_CC270
  514.             {
  515.                 *PrintableArea: PAIR(4592,  10720)
  516.                 *PrintableOrigin: PAIR(160, 80)
  517.                 *CursorOrigin: PAIR(4800, 80)
  518.             }
  519.         }
  520.         *InsertBlock: =DUPLEX_CONSTRAINT    
  521.     }
  522.     *Option: ENV_DL
  523.     {
  524.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  525.         *Command: CmdSelect
  526.         {
  527.             *Order: DOC_SETUP.30
  528.             *Cmd: =PCL_ENV_DL
  529.         }
  530.         *switch: Orientation
  531.         {
  532.             *case: PORTRAIT
  533.             {
  534.                 *PrintableArea: PAIR(4848, 9744)
  535.                 *PrintableOrigin: PAIR(160, 80)
  536.                 *CursorOrigin: PAIR(160, 80)
  537.             }
  538.             *case: LANDSCAPE_CC270
  539.             {
  540.                 *PrintableArea: PAIR(4848, 9744)
  541.                 *PrintableOrigin: PAIR(160, 80)
  542.                 *CursorOrigin: PAIR(5008, 80)
  543.             }
  544.         }
  545.         *InsertBlock: =DUPLEX_CONSTRAINT    
  546.     }
  547.     *Option: ENV_C6
  548.     {
  549.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  550.         *Command: CmdSelect
  551.         {
  552.             *Order: DOC_SETUP.30
  553.             *Cmd: =PCL_ENV_C6
  554.         }
  555.         *switch: Orientation
  556.         {
  557.             *case: PORTRAIT
  558.             {
  559.                 *PrintableArea: PAIR(5040, 7008)
  560.                 *PrintableOrigin: PAIR(160, 80)
  561.                 *CursorOrigin: PAIR(160, 80)
  562.             }
  563.             *case: LANDSCAPE_CC270
  564.             {
  565.                 *PrintableArea: PAIR(5040, 7008)
  566.                 *PrintableOrigin: PAIR(160, 80)
  567.                 *CursorOrigin: PAIR(5200, 80)
  568.             }
  569.         }
  570.         *InsertBlock: =DUPLEX_CONSTRAINT    
  571.     }
  572.     *Option: ENV_A2
  573.     {
  574.         *rcNameID: =ENV_A2_DISPLAY
  575.         *PageDimensions: PAIR(5256, 6900)
  576.         *Command: CmdSelect
  577.         {
  578.             *Order: DOC_SETUP.30
  579.             *Cmd: =PCL_ENV_A2
  580.         }
  581.         *switch: Orientation
  582.         {
  583.             *case: PORTRAIT
  584.             {
  585.                 *PrintableArea: PAIR(4928, 5872)
  586.                 *PrintableOrigin: PAIR(160, 80)
  587.                 *CursorOrigin: PAIR(160, 80)
  588.             }
  589.             *case: LANDSCAPE_CC270
  590.             {
  591.                 *PrintableArea: PAIR(4928, 5872)
  592.                 *PrintableOrigin: PAIR(160, 80)
  593.                 *CursorOrigin: PAIR(5088, 80)
  594.             }
  595.         }
  596.         *InsertBlock: =DUPLEX_CONSTRAINT    
  597.     }
  598.     *Option: JAPANESE_POSTCARD
  599.     {
  600.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  601.         *Command: CmdSelect
  602.         {
  603.             *Order: DOC_SETUP.30
  604.             *Cmd: =PCL_JAPANESE_POSTCARD
  605.         }
  606.         *switch: Orientation
  607.         {
  608.             *case: PORTRAIT
  609.             {
  610.                 *switch: Duplex
  611.                 {
  612.                     *case: NONE
  613.                     {
  614.                         *PrintableArea: PAIR(4400, 6256)
  615.                         *PrintableOrigin: PAIR(160, 80)
  616.                         *CursorOrigin: PAIR(160, 80)
  617.                     }
  618.                     *default
  619.                     {
  620.                         *PrintableArea: PAIR(4400, 5956)
  621.                         *PrintableOrigin: PAIR(160, 520)
  622.                         *CursorOrigin: PAIR(160, 520)
  623.                     }
  624.                 }
  625.             }
  626.             *case: LANDSCAPE_CC270
  627.             {
  628.                 *switch: Duplex
  629.                 {
  630.                     *case: NONE
  631.                     {
  632.                         *PrintableArea: PAIR(4400, 6256)
  633.                         *PrintableOrigin: PAIR(160, 80)
  634.                         *CursorOrigin: PAIR(4560, 80)
  635.                     }
  636.                     *default
  637.                     {
  638.                         *PrintableArea: PAIR(4400, 5956)
  639.                         *PrintableOrigin: PAIR(160, 520)
  640.                         *CursorOrigin: PAIR(4560, 520)
  641.                     }
  642.                 }                  
  643.             }
  644.         }
  645.     }
  646.     *Option: INDEX_4x6
  647.     {
  648.         *rcNameID: =US_INDEX_CARD_4X6_DISPLAY
  649.         *PageDimensions: PAIR(4800, 7200)
  650.         *Command: CmdSelect
  651.         {
  652.             *Order: DOC_SETUP.30
  653.             *Cmd: =PCL_INDEX_4x6
  654.         }
  655.         *switch: Orientation
  656.         {
  657.             *case: PORTRAIT
  658.             {
  659.                 *switch: Duplex
  660.                 {
  661.                     *case: NONE
  662.                     {
  663.                         *PrintableArea: PAIR(4480, 6560)
  664.                         *PrintableOrigin: PAIR(160, 80)
  665.                         *CursorOrigin: PAIR(160, 80)
  666.                     }
  667.                     *default
  668.                     {
  669.                         *PrintableArea: PAIR(4480, 6160)
  670.                         *PrintableOrigin: PAIR(160, 520)
  671.                         *CursorOrigin: PAIR(160, 520)
  672.                     }
  673.                 }  
  674.             }
  675.             *case: LANDSCAPE_CC270
  676.             {
  677.                 *switch: Duplex
  678.                 {
  679.                     *case: NONE
  680.                     {
  681.                         *PrintableArea: PAIR(4480, 6560)
  682.                         *PrintableOrigin: PAIR(160, 80)
  683.                         *CursorOrigin: PAIR(4640, 80)
  684.                     }
  685.                     *default
  686.                     {
  687.                         *PrintableArea: PAIR(4480, 6160)
  688.                         *PrintableOrigin: PAIR(160, 520)
  689.                         *CursorOrigin: PAIR(4640, 520)
  690.                    }
  691.                 }                  
  692.             }
  693.         }
  694.     }
  695.     *Option: INDEX_5x8
  696.     {
  697.         *rcNameID: =US_INDEX_CARD_5X8_DISPLAY
  698.         *PageDimensions: PAIR(6000, 9600)
  699.         *Command: CmdSelect
  700.         {
  701.             *Order: DOC_SETUP.30
  702.             *Cmd: =PCL_INDEX_5x8
  703.         }
  704.         *switch: Orientation
  705.         {
  706.             *case: PORTRAIT
  707.             {
  708.                 *switch: Duplex
  709.                 {
  710.                     *case: NONE
  711.                     {
  712.                         *PrintableArea: PAIR(5696, 8864)
  713.                         *PrintableOrigin: PAIR(160, 80)
  714.                         *CursorOrigin: PAIR(160, 80)
  715.                     }
  716.                     *default
  717.                     {
  718.                         *PrintableArea: PAIR(5696, 8560)
  719.                         *PrintableOrigin: PAIR(160, 520)
  720.                         *CursorOrigin: PAIR(160, 520)
  721.                     }
  722.                 } 
  723.             }
  724.             *case: LANDSCAPE_CC270
  725.             {
  726.                 *switch: Duplex
  727.                 {
  728.                     *case: NONE
  729.                     {
  730.                         *PrintableArea: PAIR(5696, 8864)
  731.                         *PrintableOrigin: PAIR(160, 80)
  732.                         *CursorOrigin: PAIR(5856, 80)
  733.                     }
  734.                     *default
  735.                     {
  736.                         *PrintableArea: PAIR(5696, 8560)
  737.                         *PrintableOrigin: PAIR(160, 520)
  738.                         *CursorOrigin: PAIR(5856, 520)
  739.                     }
  740.                 } 
  741.             }
  742.         }
  743.     }
  744.     *Option: CUSTOMSIZE
  745.     {
  746.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  747.         *MinSize: PAIR(4124, 6356)
  748.         *MaxSize: PAIR(9600, 16164)
  749.         *MaxPrintableWidth: 1
  750.         *MinLeftMargin: 150
  751.         *CenterPrintable?: FALSE
  752.         *Command: CmdSelect
  753.         {
  754.             *Order: DOC_SETUP.30
  755.             *Cmd: =PCL_US_LEGAL
  756.         }
  757.         *switch: Orientation
  758.         {
  759.             *case: PORTRAIT
  760.             {
  761.                 *CustCursorOriginX:    %d{200}
  762.                 *CustCursorOriginY:    %d{100}
  763.                 *CustPrintableOriginX: %d{200}
  764.                 *CustPrintableOriginY: %d{100}
  765.                 *CustPrintableSizeX:   %d{PhysPaperWidth - 400}
  766.                 *CustPrintableSizeY:   %d{PhysPaperLength - 700}
  767.             }
  768.             *case: LANDSCAPE_CC270
  769.             {
  770.                 *CustCursorOriginX:    %d{PhysPaperWidth - 200}
  771.                 *CustCursorOriginY:    %d{100}
  772.                 *CustPrintableOriginX: %d{200}
  773.                 *CustPrintableOriginY: %d{100}
  774.                 *CustPrintableSizeX:   %d{PhysPaperWidth - 400}
  775.                 *CustPrintableSizeY:   %d{PhysPaperLength - 700}
  776.             }
  777.         }
  778.         *InsertBlock: =DUPLEX_CONSTRAINT    
  779.     }
  780. }
  781.  
  782. *Feature: Resolution
  783. {
  784.     *rcNameID: =RESOLUTION_DISPLAY
  785.     *ConflictPriority: 50
  786.     *UpdateQualityMacro?: TRUE
  787.  
  788.     *DefaultOption: r300x300
  789.     *Option: r300x300
  790.     {
  791.         *Name: "300 x 300 " =DOTS_PER_INCH
  792.         *DPI: PAIR(300, 300)
  793.         *TextDPI: PAIR(300, 300)
  794.         *SpotDiameter: 100
  795.     }
  796.     *Option: r600x600
  797.     {
  798.         *Name: "600 x 600 " =DOTS_PER_INCH
  799.         *DPI: PAIR(600, 600)
  800.         *TextDPI: PAIR(600, 600)
  801.         *SpotDiameter: 100
  802.     }
  803.     *Option: r1200x1200
  804.     {
  805.         *Name: "1200 x 1200 " =DOTS_PER_INCH
  806.         *DPI: PAIR(1200, 1200)
  807.         *TextDPI: PAIR(1200, 1200)
  808.         *SpotDiameter: 100
  809.     }
  810.  
  811. }
  812.  
  813. *Feature: Mirror_Image
  814. {
  815.     *rcNameID: =MIRROR_IMAGE_DISPLAY
  816.     *FeatureType: DOC_PROPERTY
  817.     *DefaultOption: Off
  818.     *Option: On
  819.     {
  820.         *rcNameID: =YES_DISPLAY
  821.     EXTERN_GLOBAL: *MirrorRasterPage?: TRUE
  822.     }
  823.     *Option: Off
  824.     {
  825.         *rcNameID: =NO_DISPLAY
  826.     EXTERN_GLOBAL: *MirrorRasterPage?: FALSE
  827.     }
  828. }
  829.  
  830. *Feature: PM
  831. {
  832.     *rcNameID: =PRINT_MODE_DISPLAY
  833.     *ConflictPriority: 40
  834.     *FeatureType: DOC_PROPERTY
  835.     *UpdateQualityMacro?: TRUE
  836.  
  837.     *DefaultOption: PlainNormalColor
  838.     *Option: PlainEconoMono
  839.     {
  840.         *rcNameID: =AUTO_SELECT_DISPLAY
  841.         *Command: CmdSelect
  842.         {
  843.             *Order: DOC_SETUP.50
  844.             *Cmd: =PCL_CRD_K332
  845.         }
  846.         EXTERN_GLOBAL: *OEMCustomData:
  847. +                    =OEM_COMMON_INFO
  848. +                    =OEM_DF_K332 =OEM_MEDIA_HP_PLAIN =OEM_PQ_ECONO
  849.         *Constraints: LIST(ColorMode.Color4, ColorMode.Gray8, ColorMode.Color24)
  850.         *Constraints: LIST(PQ.Normal, PQ.Best)
  851.         *Constraints: LIST(Resolution.r600x600,Resolution.r1200x1200)
  852.     }
  853.     *Option: PlainNormalMono
  854.     {
  855.         *rcNameID: =AUTO_SELECT_DISPLAY
  856.         *Command: CmdSelect
  857.         {
  858.             *Order: DOC_SETUP.50
  859.             *Cmd: =PCL_CRD_K662
  860.         }
  861.  
  862.         EXTERN_GLOBAL: *OEMCustomData:
  863. +                    =OEM_COMMON_INFO
  864. +                    =OEM_DF_K662 =OEM_MEDIA_HP_PLAIN =OEM_PQ_NORMAL
  865.              
  866.         *Constraints: LIST(ColorMode.Color4, ColorMode.Gray8, ColorMode.Color24)
  867.         *Constraints: LIST(PQ.Econo, PQ.Best)
  868.         *Constraints: LIST(Resolution.r300x300,Resolution.r1200x1200)
  869.     }
  870.     *Option: PlainBestMono
  871.     {
  872.         *rcNameID: =AUTO_SELECT_DISPLAY
  873.         *Command: CmdSelect
  874.         {
  875.             *Order: DOC_SETUP.50
  876.             *Cmd: =PCL_CRD_K662
  877.         }       
  878.         EXTERN_GLOBAL: *OEMCustomData:
  879. +                    =OEM_COMMON_INFO
  880. +                    =OEM_DF_K662 =OEM_MEDIA_HP_PLAIN =OEM_PQ_BEST
  881.          
  882.         *Constraints: LIST(ColorMode.Color4, ColorMode.Gray8, ColorMode.Color24)
  883.         *Constraints: LIST(PQ.Econo, PQ.Normal)
  884.         *Constraints: LIST(Resolution.r300x300,Resolution.r1200x1200)
  885.     }
  886.     *Option: PlainEconoColor
  887.     {
  888.         *rcNameID: =AUTO_SELECT_DISPLAY
  889.         *Command: CmdSelect
  890.         {
  891.             *Order: DOC_SETUP.50
  892.             *Cmd: =PCL_CRD_K332_C332
  893.         }
  894.         EXTERN_GLOBAL: *OEMCustomData:
  895. +           =OEM_COMMON_INFO
  896. +           =OEM_DF_K332_C332 =OEM_MEDIA_HP_PLAIN =OEM_PQ_ECONO
  897.         
  898.         *Constraints: LIST(ColorMode.Gray8, ColorMode.Color24)
  899.         *Constraints: LIST(PQ.Normal, PQ.Best)
  900.         *Constraints: LIST(Resolution.r600x600,Resolution.r1200x1200)
  901.     }
  902.     *Option: PlainNormalColor
  903.     {
  904.         *rcNameID: =AUTO_SELECT_DISPLAY
  905.         *Command: CmdSelect
  906.         {
  907.             *Order: DOC_SETUP.50
  908.             *Cmd: =PCL_CRD_K662_C334
  909.         }
  910.  
  911.         EXTERN_GLOBAL: *OEMCustomData:
  912. +           =OEM_COMMON_INFO
  913. +           =OEM_DF_K662_C334 =OEM_MEDIA_HP_PLAIN =OEM_PQ_NORMAL
  914.  
  915.         *Constraints: LIST(ColorMode.Mono, ColorMode.Color4, ColorMode.Gray8)
  916.         *Constraints: LIST(PQ.Econo, PQ.Best)
  917.         *Constraints: LIST(Resolution.r600x600,Resolution.r1200x1200)
  918.     }
  919.     *Option: PlainBestColor
  920.     {
  921.         *rcNameID: =AUTO_SELECT_DISPLAY
  922.         *Command: CmdSelect
  923.         {
  924.             *Order: DOC_SETUP.50
  925.             *Cmd: =PCL_CRD_K662_C664
  926.         }
  927.  
  928.         EXTERN_GLOBAL: *OEMCustomData:
  929. +           =OEM_COMMON_INFO
  930. +           =OEM_DF_K662_C664 =OEM_MEDIA_HP_PLAIN =OEM_PQ_BEST
  931.  
  932.         *Constraints: LIST(ColorMode.Mono, ColorMode.Color4, ColorMode.Gray8)
  933.         *Constraints: LIST(PQ.Econo, PQ.Normal)
  934.         *Constraints: LIST(Resolution.r300x300,Resolution.r1200x1200)
  935.     }
  936.     *Option: TransparencyNormal
  937.     {
  938.         *rcNameID: =AUTO_SELECT_DISPLAY
  939.         *Command: CmdSelect
  940.         {
  941.             *Order: DOC_SETUP.50
  942.             *Cmd: =PCL_CRD_K662_C662
  943.         }
  944.  
  945.         EXTERN_GLOBAL: *OEMCustomData: 
  946. +           =OEM_COMMON_INFO
  947. +           =OEM_DF_K662_C662 =OEM_MEDIA_HP_PREMIUM_INKJET_TRANSPARENCY =OEM_PQ_NORMAL
  948.  
  949.         *Constraints: LIST(ColorMode.Mono, ColorMode.Color4)
  950.         *Constraints: LIST(PQ.Econo, PQ.Best)
  951.         *Constraints: LIST(Resolution.r300x300,Resolution.r1200x1200)
  952.  
  953.     }
  954.     *Option: TransparencyBest
  955.     {
  956.         *rcNameID: =AUTO_SELECT_DISPLAY
  957.         *Command: CmdSelect
  958.         {
  959.             *Order: DOC_SETUP.50
  960.             *Cmd: =PCL_CRD_K662_C668
  961.         }
  962.  
  963.         EXTERN_GLOBAL: *OEMCustomData:
  964. +           =OEM_COMMON_INFO
  965. +           =OEM_DF_K662_C668 =OEM_MEDIA_HP_PREMIUM_INKJET_TRANSPARENCY =OEM_PQ_BEST
  966.     
  967.         *Constraints: LIST(ColorMode.Mono, ColorMode.Color4)
  968.         *Constraints: LIST(PQ.Econo, PQ.Normal)
  969.         *Constraints: LIST(Resolution.r300x300,Resolution.r1200x1200)
  970.  
  971.     }
  972.     *Option: RapidTransEcono
  973.     {
  974.         *rcNameID: =AUTO_SELECT_DISPLAY
  975.         *Command: CmdSelect
  976.         {
  977.             *Order: DOC_SETUP.50
  978.             *Cmd: =PCL_CRD_K662_C334
  979.         }
  980.  
  981.         EXTERN_GLOBAL: *OEMCustomData:
  982. +           =OEM_COMMON_INFO
  983. +           =OEM_DF_K662_C334 =OEM_MEDIA_HP_PREMIUM_INKJET_RAPIDDRY_TRANS =OEM_PQ_ECONO
  984.  
  985.         *Constraints: LIST(ColorMode.Mono, ColorMode.Color4)
  986.         *Constraints: LIST(PQ.Normal, PQ.Best)
  987.         *Constraints: LIST(Resolution.r600x600,Resolution.r1200x1200)
  988.     }
  989.     *Option: RapidTransNormal
  990.     {
  991.         *rcNameID: =AUTO_SELECT_DISPLAY
  992.         *Command: CmdSelect
  993.         {
  994.             *Order: DOC_SETUP.50
  995.             *Cmd: =PCL_CRD_K662_C662
  996.         }
  997.  
  998.         EXTERN_GLOBAL: *OEMCustomData: 
  999. +           =OEM_COMMON_INFO
  1000. +           =OEM_DF_K662_C662 =OEM_MEDIA_HP_PREMIUM_INKJET_RAPIDDRY_TRANS =OEM_PQ_NORMAL
  1001.     
  1002.         *Constraints: LIST(ColorMode.Mono, ColorMode.Color4)
  1003.         *Constraints: LIST(PQ.Econo, PQ.Best)
  1004.         *Constraints: LIST(Resolution.r300x300,Resolution.r1200x1200)    
  1005.     }
  1006.     *Option: RapidTransBest
  1007.     {
  1008.         *rcNameID: =AUTO_SELECT_DISPLAY
  1009.         *Command: CmdSelect
  1010.         {
  1011.             *Order: DOC_SETUP.50
  1012.             *Cmd: =PCL_CRD_K662_C668
  1013.         }
  1014.  
  1015.         EXTERN_GLOBAL: *OEMCustomData: 
  1016. +           =OEM_COMMON_INFO
  1017. +           =OEM_DF_K662_C668 =OEM_MEDIA_HP_PREMIUM_INKJET_RAPIDDRY_TRANS =OEM_PQ_BEST
  1018.     
  1019.         *Constraints: LIST(ColorMode.Mono, ColorMode.Color4)
  1020.         *Constraints: LIST(PQ.Econo, PQ.Normal)
  1021.         *Constraints: LIST(Resolution.r300x300,Resolution.r1200x1200)
  1022.     
  1023.     }
  1024.     *Option: SpecialNormal
  1025.     {
  1026.         *rcNameID: =AUTO_SELECT_DISPLAY
  1027.         *Command: CmdSelect
  1028.         {
  1029.             *Order: DOC_SETUP.50
  1030.             *Cmd: =PCL_CRD_K662_C662
  1031.         }
  1032.  
  1033.         EXTERN_GLOBAL: *OEMCustomData:
  1034. +           =OEM_COMMON_INFO
  1035. +           =OEM_DF_K662_C662 =OEM_MEDIA_HP_PREMIUM_INKJET =OEM_PQ_NORMAL
  1036.     
  1037.         *Constraints: LIST(ColorMode.Mono, ColorMode.Color4)
  1038.         *Constraints: LIST(PQ.Econo, PQ.Best)
  1039.         *Constraints: LIST(Resolution.r300x300,Resolution.r1200x1200)    
  1040.     }
  1041.     *Option: SpecialBest
  1042.     {
  1043.         *rcNameID: =AUTO_SELECT_DISPLAY
  1044.         *Command: CmdSelect
  1045.         {
  1046.             *Order: DOC_SETUP.50
  1047.             *Cmd: =PCL_CRD_K662_C668
  1048.         }
  1049.  
  1050.         EXTERN_GLOBAL: *OEMCustomData: 
  1051. +           =OEM_COMMON_INFO
  1052. +           =OEM_DF_K662_C668 =OEM_MEDIA_HP_PREMIUM_INKJET =OEM_PQ_BEST
  1053.         
  1054.         *Constraints: LIST(ColorMode.Mono, ColorMode.Color4)
  1055.         *Constraints: LIST(PQ.Econo, PQ.Normal)
  1056.         *Constraints: LIST(Resolution.r300x300,Resolution.r1200x1200)    
  1057.     }
  1058.     *Option: PremiumHeavyNormal
  1059.     {
  1060.         *rcNameID: =AUTO_SELECT_DISPLAY
  1061.         *Command: CmdSelect
  1062.         {
  1063.             *Order: DOC_SETUP.50
  1064.             *Cmd: =PCL_CRD_K662_C662
  1065.         }
  1066.  
  1067.         EXTERN_GLOBAL: *OEMCustomData:
  1068. +           =OEM_COMMON_INFO
  1069. +           =OEM_DF_K662_C662 =OEM_MEDIA_HP_PREMIUM_INKJET_HEAVYWEIGHT =OEM_PQ_NORMAL
  1070.  
  1071.         *Constraints: LIST(ColorMode.Mono, ColorMode.Color4)
  1072.         *Constraints: LIST(PQ.Econo, PQ.Best)
  1073.         *Constraints: LIST(Resolution.r300x300,Resolution.r1200x1200)
  1074.     }
  1075.     *Option: PremiumHeavyBest
  1076.     {
  1077.         *rcNameID: =AUTO_SELECT_DISPLAY
  1078.         *Command: CmdSelect
  1079.         {
  1080.             *Order: DOC_SETUP.50
  1081.             *Cmd: =PCL_CRD_K662_C668
  1082.         }
  1083.  
  1084.         EXTERN_GLOBAL: *OEMCustomData: 
  1085. +           =OEM_COMMON_INFO
  1086. +           =OEM_DF_K662_C668 =OEM_MEDIA_HP_PREMIUM_INKJET_HEAVYWEIGHT =OEM_PQ_BEST
  1087.     
  1088.         *Constraints: LIST(ColorMode.Mono, ColorMode.Color4)
  1089.         *Constraints: LIST(PQ.Econo, PQ.Normal)
  1090.         *Constraints: LIST(Resolution.r300x300,Resolution.r1200x1200)
  1091.     
  1092.     }
  1093.     *Option: PhotoNormal
  1094.     {
  1095.         *rcNameID: =AUTO_SELECT_DISPLAY
  1096.         *Command: CmdSelect
  1097.         {
  1098.             *Order: DOC_SETUP.50
  1099.             *Cmd: =PCL_CRD_K662_C664
  1100.         }
  1101.  
  1102.         EXTERN_GLOBAL: *OEMCustomData: 
  1103. +           =OEM_COMMON_INFO
  1104. +           =OEM_DF_K662_C664 =OEM_MEDIA_HP_PHOTO =OEM_PQ_NORMAL
  1105.  
  1106.         *Constraints: LIST(ColorMode.Mono, ColorMode.Color4)
  1107.         *Constraints: LIST(PQ.Econo, PQ.Best)
  1108.         *Constraints: LIST(Resolution.r300x300,Resolution.r1200x1200)
  1109.     }
  1110.     *Option: PhotoBest
  1111.     {
  1112.         *rcNameID: =AUTO_SELECT_DISPLAY
  1113.         *Command: CmdSelect
  1114.         {
  1115.             *Order: DOC_SETUP.50
  1116.             *Cmd: =PCL_CRD_K12122_C12122
  1117.         }
  1118.  
  1119.         EXTERN_GLOBAL: *OEMCustomData: 
  1120. +           =OEM_COMMON_INFO
  1121. +           =OEM_DF_K12122_C12122 =OEM_MEDIA_HP_PHOTO =OEM_PQ_BEST
  1122.  
  1123.         *Constraints: LIST(ColorMode.Mono, ColorMode.Color4)
  1124.         *Constraints: LIST(PQ.Econo, PQ.Normal)
  1125.         *Constraints: LIST(Resolution.r300x300,Resolution.r600x600)
  1126.  
  1127.     }
  1128.     *Option: PremPhotoNormal
  1129.     {
  1130.         *rcNameID: =AUTO_SELECT_DISPLAY
  1131.         *Command: CmdSelect
  1132.         {
  1133.             *Order: DOC_SETUP.50
  1134.             *Cmd: =PCL_CRD_K662_C664
  1135.         }
  1136.  
  1137.         EXTERN_GLOBAL: *OEMCustomData: 
  1138. +           =OEM_COMMON_INFO
  1139. +           =OEM_DF_K662_C664 =OEM_MEDIA_HP_PREMIUM_PHOTO =OEM_PQ_NORMAL
  1140.  
  1141.         *Constraints: LIST(ColorMode.Mono, ColorMode.Color4)
  1142.         *Constraints: LIST(PQ.Econo, PQ.Best)
  1143.         *Constraints: LIST(Resolution.r300x300,Resolution.r1200x1200)
  1144.     }
  1145.     *Option: PremPhotoBest
  1146.     {
  1147.         *rcNameID: =AUTO_SELECT_DISPLAY
  1148.         *Command: CmdSelect
  1149.         {
  1150.             *Order: DOC_SETUP.50
  1151.             *Cmd: =PCL_CRD_K12122_C12122
  1152.         }
  1153.  
  1154.         EXTERN_GLOBAL: *OEMCustomData: 
  1155. +           =OEM_COMMON_INFO
  1156. +           =OEM_DF_K12122_C12122 =OEM_MEDIA_HP_PREMIUM_PHOTO =OEM_PQ_BEST
  1157.         *Constraints: LIST(ColorMode.Mono, ColorMode.Color4)
  1158.         *Constraints: LIST(PQ.Econo, PQ.Normal)
  1159.         *Constraints: LIST(Resolution.r300x300, Resolution.r600x600)
  1160.     }
  1161.     *Option: PremPlusPhotoNormal
  1162.     {
  1163.         *rcNameID: =AUTO_SELECT_DISPLAY
  1164.         *Command: CmdSelect
  1165.         {
  1166.             *Order: DOC_SETUP.50
  1167.             *Cmd: =PCL_CRD_K662_C664
  1168.         }
  1169.  
  1170.         EXTERN_GLOBAL: *OEMCustomData: 
  1171. +           =OEM_COMMON_INFO
  1172. +           =OEM_DF_K662_C664 =OEM_MEDIA_HP_PREMIUM_PLUS_PHOTO =OEM_PQ_NORMAL
  1173.  
  1174.         *Constraints: LIST(ColorMode.Mono, ColorMode.Color4)
  1175.         *Constraints: LIST(PQ.Econo, PQ.Best)
  1176.         *Constraints: LIST(Resolution.r300x300,Resolution.r1200x1200)
  1177.     }
  1178.     *Option: PremPlusPhotoBest
  1179.     {
  1180.         *rcNameID: =AUTO_SELECT_DISPLAY
  1181.         *Command: CmdSelect
  1182.         {
  1183.             *Order: DOC_SETUP.50
  1184.             *Cmd: =PCL_CRD_K12122_C12122
  1185.         }
  1186.  
  1187.         EXTERN_GLOBAL: *OEMCustomData: 
  1188. +           =OEM_COMMON_INFO
  1189. +           =OEM_DF_K12122_C12122 =OEM_MEDIA_HP_PREMIUM_PLUS_PHOTO =OEM_PQ_BEST
  1190.         *Constraints: LIST(ColorMode.Mono, ColorMode.Color4)
  1191.         *Constraints: LIST(PQ.Econo, PQ.Normal)
  1192.         *Constraints: LIST(Resolution.r300x300, Resolution.r600x600)
  1193.     }
  1194.     *Option: Photo2400
  1195.     {
  1196.         *rcNameID: =AUTO_SELECT_DISPLAY
  1197.         *Command: CmdSelect
  1198.         {
  1199.             *Order: DOC_SETUP.50
  1200.             *Cmd: =PCL_CRD_K12122_C12124
  1201.         }
  1202.  
  1203.         EXTERN_GLOBAL: *OEMCustomData: 
  1204. +           =OEM_COMMON_INFO
  1205. +           =OEM_DF_K12122_C12124 =OEM_MEDIA_HP_PHOTO =OEM_PQ_BEST
  1206.         *Constraints: LIST(ColorMode.Mono, ColorMode.Color4)
  1207.         *Constraints: LIST(PQ.Econo, PQ.Normal)
  1208.         *Constraints: LIST(Resolution.r300x300, Resolution.r600x600)
  1209.     }
  1210.  
  1211.     *Option: PremPhoto2400
  1212.     {
  1213.         *rcNameID: =AUTO_SELECT_DISPLAY
  1214.         *Command: CmdSelect
  1215.         {
  1216.             *Order: DOC_SETUP.50
  1217.             *Cmd: =PCL_CRD_K12122_C12124
  1218.         }
  1219.  
  1220.         EXTERN_GLOBAL: *OEMCustomData: 
  1221. +           =OEM_COMMON_INFO
  1222. +           =OEM_DF_K12122_C12124 =OEM_MEDIA_HP_PREMIUM_PHOTO =OEM_PQ_BEST
  1223.         *Constraints: LIST(ColorMode.Mono, ColorMode.Color4)
  1224.         *Constraints: LIST(PQ.Econo, PQ.Normal)
  1225.         *Constraints: LIST(Resolution.r300x300, Resolution.r600x600)
  1226.     }
  1227.     *Option: PremPlusPhoto2400
  1228.     {
  1229.         *rcNameID: =AUTO_SELECT_DISPLAY
  1230.         *Command: CmdSelect
  1231.         {
  1232.             *Order: DOC_SETUP.50
  1233.             *Cmd: =PCL_CRD_K12122_C12124
  1234.         }
  1235.  
  1236.         EXTERN_GLOBAL: *OEMCustomData: 
  1237. +           =OEM_COMMON_INFO
  1238. +           =OEM_DF_K12122_C12124 =OEM_MEDIA_HP_PREMIUM_PLUS_PHOTO =OEM_PQ_BEST
  1239.         *Constraints: LIST(ColorMode.Mono, ColorMode.Color4)
  1240.         *Constraints: LIST(PQ.Econo, PQ.Normal)
  1241.         *Constraints: LIST(Resolution.r300x300, Resolution.r600x600)
  1242.     }
  1243. }
  1244.  
  1245.  
  1246. *BlockMacro:  StandardMediaType
  1247. {
  1248.     *Command: CmdSelect
  1249.     {
  1250.         *Order: DOC_SETUP.45
  1251.         *Cmd: =PCL_MEDIA_PLAIN
  1252.     }
  1253.     EXTERN_GLOBAL: *ChangeColorModeOnDoc?: TRUE      
  1254.     *Constraints: Photo2400Mode.On
  1255. }
  1256.  
  1257. *BlockMacro: PremiumInkjetMediaType
  1258. {
  1259.     *Command: CmdSelect
  1260.     {
  1261.         *Order: DOC_SETUP.45
  1262.         *Cmd: =PCL_MEDIA_SPECIAL
  1263.     }
  1264.     EXTERN_GLOBAL: *ChangeColorModeOnDoc?: TRUE
  1265.     *Constraints: Photo2400Mode.On
  1266.     *Constraints: =HPHT_OPTIMIZE_PHOTO_COPY.=HPHT_ON
  1267.     *InsertBlock: =DUPLEX_CONSTRAINT    
  1268. }
  1269.  
  1270. *BlockMacro: TransparencyMediaType
  1271. {
  1272.     *Command: CmdSelect
  1273.     {
  1274.         *Order: DOC_SETUP.45
  1275.         *Cmd:  =PCL_MEDIA_TRANSPARENCY
  1276.     }
  1277.     EXTERN_GLOBAL: *ChangeColorModeOnDoc?: FALSE
  1278.     *Constraints: Photo2400Mode.On
  1279.     *Constraints: =HPHT_OPTIMIZE_PHOTO_COPY.=HPHT_ON
  1280.     *InsertBlock: =DUPLEX_CONSTRAINT    
  1281. }
  1282.  
  1283. *BlockMacro: PremiumTransparencyMediaType
  1284. {
  1285.     *Command: CmdSelect
  1286.     {
  1287.         *Order: DOC_SETUP.45
  1288.         *Cmd: =PCL_MEDIA_FAST_TRANSP
  1289.     }
  1290.     EXTERN_GLOBAL: *ChangeColorModeOnDoc?: FALSE
  1291.     *Constraints: Photo2400Mode.On
  1292.     *Constraints: =HPHT_OPTIMIZE_PHOTO_COPY.=HPHT_ON
  1293.     *InsertBlock: =DUPLEX_CONSTRAINT    
  1294. }
  1295.  
  1296. *BlockMacro: PhotoMediaType
  1297. {
  1298.     *switch: Photo2400Mode
  1299.     {
  1300.         *case: On
  1301.         {
  1302.             *Command: CmdSelect
  1303.             {
  1304.                 *Order: DOC_SETUP.45
  1305.                 *Cmd: =PCL_MEDIA_FAST_GLOSSY
  1306.             }
  1307.         }
  1308.         *case: Off
  1309.         {    
  1310.             *Command: CmdSelect
  1311.             {
  1312.                 *Order: DOC_SETUP.45
  1313.                 *Cmd: =PCL_MEDIA_GLOSSY
  1314.             }
  1315.         }
  1316.     }
  1317.     EXTERN_GLOBAL: *ChangeColorModeOnDoc?: FALSE
  1318.     *Constraints: =HPHT_OPTIMIZE_PHOTO_COPY.=HPHT_ON
  1319.     *InsertBlock: =DUPLEX_CONSTRAINT    
  1320. }
  1321.  
  1322.  
  1323. *Feature: MediaType
  1324. {
  1325.     *rcNameID: =MEDIA_TYPE_DISPLAY
  1326.     *ConflictPriority: 10
  1327.     *DefaultOption: STANDARD
  1328.     *UpdateQualityMacro?: TRUE
  1329.  
  1330.     *Option: STANDARD
  1331.     {
  1332.         *rcNameID: =PLAIN_PAPER_DISPLAY
  1333.         *InsertBlock: =StandardMediaType
  1334.     }
  1335.  
  1336.     *Option: BRIGHTWHITE
  1337.     {
  1338.         *rcNameID: =HP_BRIGHT_WHITE_INKJET_PAPER_DISPLAY
  1339.         *InsertBlock: =StandardMediaType
  1340.     }
  1341.  
  1342.     *Option: HP_PREMIUM_INKJET_PAPER
  1343.     {   
  1344.         *rcNameID: =HP_PREMIUM_INKJET_PAPER_DISPLAY
  1345.         *OptionID: =HP_PREMIUM_INKJET_PAPER_ID
  1346.         *InsertBlock: =PremiumInkjetMediaType
  1347.     }
  1348.  
  1349.     *Option: OTHER_INKJET_PAPER
  1350.     {   
  1351.         *rcNameID: =OTHER_INKJET_PAPER_DISPLAY
  1352.         *OptionID: =OTHER_INKJET_PAPER_ID
  1353.         *InsertBlock: =PremiumInkjetMediaType
  1354.     }
  1355.  
  1356.     *Option: TRANSPARENCY
  1357.     {
  1358.         *rcNameID: =HP_PREMIUM_INKJET_TRANSPARENCY_DISPLAY
  1359.         *InsertBlock: =TransparencyMediaType
  1360.     }
  1361.  
  1362.     *Option: HP_PREMIUM_INKJET_RAPIDDRY_TRANS
  1363.     {
  1364.         *rcNameID: =HP_PREMIUM_INKJET_RAPIDDRY_TRANS_DISPLAY
  1365.         *OptionID: =HP_PREMIUM_INKJET_RAPIDDRY_TRANS_ID
  1366.         *InsertBlock: =PremiumTransparencyMediaType
  1367.     }
  1368.  
  1369.     *Option: OTHER_TRANSPARENCY
  1370.     {
  1371.         *rcNameID: =OTHER_TRANSPARENCY_FILM_DISPLAY
  1372.         *InsertBlock: =TransparencyMediaType
  1373.     }
  1374.  
  1375.     *Option: HP_IRON_ON_TSHIRT_TRANSFERS
  1376.     {
  1377.         *rcNameID: =HP_IRON_ON_TSHIRT_TRANSFERS_DISPLAY
  1378.         *OptionID: =HP_IRON_ON_TSHIRT_TRANSFERS_ID    
  1379.         *InsertBlock: =PremiumInkjetMediaType    
  1380.     }
  1381.  
  1382.     *Option: OTHER_SPECIALTY_PAPER
  1383.     {
  1384.         *rcNameID: =OTHER_SPECIALTY_PAPER_DISPLAY
  1385.         *OptionID: =OTHER_SPECIALTY_PAPER_ID    
  1386.         *InsertBlock: =PremiumInkjetMediaType    
  1387.     }
  1388.  
  1389.     *Option: HP_PREMIUM_PHOTO_PAPER
  1390.     {   
  1391.         *rcNameID: =HP_PREMIUM_PHOTO_PAPER_DISPLAY
  1392.         *InsertBlock: =PhotoMediaType
  1393.     }
  1394.  
  1395.     *Option: HP_PREMIUM_PLUS_PHOTO_PAPER
  1396.     {   
  1397.         *rcNameID: =HP_PREMIUM_PLUS_PHOTO_DISPLAY
  1398.         *InsertBlock: =PhotoMediaType
  1399.     }
  1400.  
  1401.     *Option: HP_COLORFAST_PHOTO_PAPER
  1402.     {   
  1403.         *rcNameID: =HP_COLORFAST_PHOTO_PAPER_DISPLAY
  1404.         *InsertBlock: =PhotoMediaType
  1405.     }
  1406.  
  1407.     *Option: HP_PHOTO_PAPER
  1408.     {   
  1409.         *rcNameID: =HP_PHOTO_PAPER_DISPLAY
  1410.         *OptionID: =HP_PHOTO_PAPER_ID
  1411.         *InsertBlock: =PhotoMediaType
  1412.     }
  1413.  
  1414.     *Option: OTHER_PHOTO_PAPER
  1415.     {   
  1416.         *rcNameID: =OTHER_PHOTO_PAPER_DISPLAY
  1417.         *OptionID: =OTHER_PHOTO_PAPER_ID
  1418.         *InsertBlock: =PhotoMediaType
  1419.     }
  1420.  
  1421.     *Option: GREETINGCARDMATTE
  1422.     {
  1423.         *rcNameID: =HP_GREETING_CARD_PAPER_DISPLAY
  1424.         *OptionID: =HP_GREETING_CARD_PAPER_ID    
  1425.         *InsertBlock: =PremiumInkjetMediaType    
  1426.     }
  1427.  
  1428.     *Option: GREETINGCARDGLOSSY
  1429.     {
  1430.         *rcNameID: =HP_GLOSSY_GREETING_CARD_PAPER_DISPLAY
  1431.         *OptionID: =HP_GLOSSY_GREETING_CARD_PAPER_ID
  1432.         *InsertBlock: =PhotoMediaType
  1433.     }
  1434.  
  1435.     *Option: HP_TEXTURED_GREETING_CARD
  1436.     {
  1437.         *rcNameID: =HP_TEXTURED_GREETING_CARD_DISPLAY
  1438.         *OptionID: =HP_TEXTURED_GREETING_CARD_ID    
  1439.         *InsertBlock: =PremiumInkjetMediaType    
  1440.     }
  1441.  
  1442.     *Option: OTHER_GREETING_CARDS
  1443.     {   
  1444.         *rcNameID: =OTHER_GREETING_CARDS_DISPLAY
  1445.         *OptionID: =OTHER_GREETING_CARDS_ID    
  1446.         *InsertBlock: =PremiumInkjetMediaType
  1447.     }
  1448.  
  1449.     *Option: HP_PROFESSIONAL_BROCHURE_GLOSSY
  1450.     {   
  1451.         *rcNameID: =HP_PROFESSIONAL_BROCHURE_GLOSSY_DISPLAY
  1452.         *InsertBlock: =PhotoMediaType
  1453.     }
  1454.  
  1455.     *Option: HP_PROFESSIONAL_BROCHURE_MATTE
  1456.     {
  1457.         *rcNameID: =HP_PROFESSIONAL_BROCHURE_MATTE_DISPLAY
  1458.         *OptionID: =HP_PROFESSIONAL_BROCHURE_MATTE_ID    
  1459.         *InsertBlock: =PremiumInkjetMediaType    
  1460.     }
  1461.  
  1462.     *Option: OTHER_BROCHURE_PAPER
  1463.     {   
  1464.         *rcNameID: =OTHER_BROCHURE_PAPER_DISPLAY
  1465.         *OptionID: =OTHER_BROCHURE_PAPER_ID    
  1466.         *InsertBlock: =PremiumInkjetMediaType
  1467.     }
  1468. }
  1469.  
  1470. *Feature: ColorMode
  1471. {
  1472.     *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  1473.     *ConflictPriority: 30
  1474.     *UpdateQualityMacro?: TRUE
  1475.     *DefaultOption: Color24
  1476.  
  1477.     *Option: Mono
  1478.     {
  1479.         *rcNameID: =MONO_DISPLAY
  1480.         *Color?: FALSE
  1481.         *DevNumOfPlanes: 0
  1482.         *DevBPP: 0
  1483.         *DrvBPP: 1
  1484.         *IPCallbackID: 1
  1485.         *Command: CmdSendBlockData { *Cmd: "" }
  1486.         *Command: CmdSelect
  1487.         {
  1488.             *Order: JOB_SETUP.10
  1489.             *Cmd: =PJL_ENTER_PCL3GUI
  1490.         }
  1491.     }
  1492.     *Option: Color4
  1493.     {
  1494.         *rcNameID: =COLOR_DISPLAY
  1495.         *Color?: TRUE
  1496.         *DevNumOfPlanes: 0
  1497.         *DevBPP: 0
  1498.         *DrvBPP: 4
  1499.         *IPCallbackID: 1
  1500.         *Command: CmdSendBlockData { *Cmd: "" }
  1501.         *Command: CmdSelect
  1502.         {
  1503.             *Order: JOB_SETUP.10
  1504.             *Cmd: =PJL_ENTER_PCL3GUI
  1505.         }
  1506.     }
  1507.     *Option: Gray8
  1508.     {   
  1509.         *rcNameID: =GRAYSCALE_DISPLAY
  1510.         *Color?: FALSE
  1511.         *DevNumOfPlanes: 0
  1512.         *DevBPP: 0
  1513.         *DrvBPP: 8
  1514.         *IPCallbackID: 1
  1515.         *Command: CmdSendBlockData { *Cmd: "" }
  1516.         *Command: CmdSelect
  1517.         {
  1518.             *Order: JOB_SETUP.10
  1519.             *Cmd: =PJL_ENTER_PCL3GUI
  1520.         }
  1521.     }
  1522.     *Option: Color24
  1523.     {   
  1524.         *rcNameID: =24BPP_DISPLAY
  1525.         *Color?: TRUE
  1526.         *DevNumOfPlanes: 0
  1527.         *DevBPP: 0
  1528.         *DrvBPP: 24
  1529.         *IPCallbackID: 1
  1530.         *Command: CmdSendBlockData { *Cmd: "" }
  1531.         *Command: CmdSelect
  1532.         {
  1533.             *Order: JOB_SETUP.10
  1534.             *Cmd: =PJL_ENTER_PCL3GUI
  1535.         }
  1536.     }
  1537. }
  1538.  
  1539. *Feature: PQ
  1540. {
  1541.     *rcNameID: =PRINT_QUALITY_DISPLAY
  1542.     *ConflictPriority: 20
  1543.     *FeatureType: DOC_PROPERTY
  1544.     *UpdateQualityMacro?: TRUE
  1545.  
  1546.     *DefaultOption: Normal
  1547.     *Option: Econo
  1548.     {
  1549.         *rcNameID: =DRAFT_DISPLAY
  1550.         *Command: CmdSelect
  1551.         {
  1552.             *Order: DOC_SETUP.47
  1553.             *Cmd: =PCL_PQ_ECONO
  1554.         }
  1555.     }
  1556.     *Option: Normal
  1557.     {
  1558.         *rcNameID: =NORMAL_DISPLAY
  1559.         *Command: CmdSelect
  1560.         {
  1561.             *Order: DOC_SETUP.47
  1562.             *Cmd: =PCL_PQ_NORMAL
  1563.         }
  1564.     }
  1565.     *Option: Best
  1566.     {
  1567.         *rcNameID: =BEST_DISPLAY
  1568.         *Command: CmdSelect
  1569.         {
  1570.             *Order: DOC_SETUP.47
  1571.             *Cmd: =PCL_PQ_BEST
  1572.         }
  1573.     }
  1574. }
  1575.  
  1576.  
  1577. *Feature: Photo2400Mode
  1578. {
  1579.     *DefaultOption: Off
  1580.     *rcNameID: =SUPER_PHOTO_MODE_DISPLAY
  1581.     *ConflictPriority: 35
  1582.     *FeatureType: DOC_PROPERTY
  1583.     *UpdateQualityMacro?: TRUE
  1584.  
  1585.     *Option: On
  1586.     {
  1587.         *rcNameID: =ON_DISPLAY
  1588.         *Constraints: LIST(PQ.Econo, PQ.Normal)
  1589.  
  1590.     }
  1591.     *Option: Off
  1592.     {
  1593.         *rcNameID: =OFF_DISPLAY
  1594.     }
  1595.  
  1596. }
  1597.  
  1598. *Feature: =HPHT_DLLNAME
  1599. {
  1600.     *Name: "Img"
  1601.     *Option: =HPHT_DLLNAME_DEFAULT 
  1602.     {
  1603.         *Name: ""
  1604.     }
  1605. }
  1606.  
  1607.  
  1608.  
  1609.  
  1610. *Feature: =HPHT_BRIGHTNESS
  1611. {
  1612.     *rcNameID: =BRIGHTNESS_DISPLAY
  1613.     *FeatureType: DOC_PROPERTY
  1614.     *DefaultOption: =HPHT_SLIDER_MIDDLE
  1615.  
  1616.     *Option: =HPHT_SLIDER_LOWER
  1617.     {
  1618.         *rcNameID: =INT_DARKER_DISPLAY
  1619.     }
  1620.  
  1621.     *Option: =HPHT_SLIDER_LOW
  1622.     {
  1623.         *rcNameID: =INT_DARK_DISPLAY
  1624.     }
  1625.  
  1626.     *Option: =HPHT_SLIDER_MIDDLE
  1627.     {
  1628.         *rcNameID: =INT_NORMAL_DISPLAY
  1629.     }
  1630.  
  1631.     *Option: =HPHT_SLIDER_HIGH
  1632.     {
  1633.         *rcNameID: =INT_LIGHT_DISPLAY
  1634.     }
  1635.  
  1636.     *Option: =HPHT_SLIDER_HIGHER
  1637.     {
  1638.         *rcNameID: =INT_LIGHTER_DISPLAY
  1639.     }
  1640. }
  1641.  
  1642. *Feature: =HPHT_INTENSITY
  1643. {
  1644.     *rcNameID: =INTENSITY_DISPLAY
  1645.     *FeatureType: DOC_PROPERTY
  1646.     *DefaultOption: =HPHT_SLIDER_MIDDLE
  1647.     *Option: =HPHT_SLIDER_HIGHER
  1648.     {
  1649.         *rcNameID: =INT_DARKER_DISPLAY
  1650.     }
  1651.     *Option: =HPHT_SLIDER_HIGH
  1652.     {
  1653.         *rcNameID: =INT_DARK_DISPLAY
  1654.     }
  1655.     *Option: =HPHT_SLIDER_MIDDLE
  1656.     {
  1657.         *rcNameID: =INT_NORMAL_DISPLAY
  1658.     }
  1659.     *Option: =HPHT_SLIDER_LOW
  1660.     {
  1661.         *rcNameID: =INT_LIGHT_DISPLAY
  1662.     }
  1663.     *Option: =HPHT_SLIDER_LOWER
  1664.     {
  1665.         *rcNameID: =INT_LIGHTER_DISPLAY
  1666.     }
  1667. }
  1668.  
  1669. *Feature: =HPHT_COLOR_TONE
  1670. {
  1671.     *rcNameID: =COLOR_TONE_DISPLAY
  1672.     *FeatureType: DOC_PROPERTY
  1673.     *DefaultOption: =HPHT_SLIDER_MIDDLE
  1674.  
  1675.     *Option: =HPHT_SLIDER_HIGHER
  1676.     {
  1677.         *rcNameID: =TONE_WARMER_DISPLAY
  1678.     }
  1679.  
  1680.     *Option: =HPHT_SLIDER_HIGH
  1681.     {
  1682.         *rcNameID: =TONE_WARM_DISPLAY
  1683.     }
  1684.  
  1685.     *Option: =HPHT_SLIDER_MIDDLE
  1686.     {
  1687.         *rcNameID: =TONE_NORMAL_DISPLAY
  1688.     }
  1689.  
  1690.     *Option: =HPHT_SLIDER_LOW
  1691.     {
  1692.         *rcNameID: =TONE_COOL_DISPLAY
  1693.     }
  1694.  
  1695.     *Option: =HPHT_SLIDER_LOWER
  1696.     {
  1697.         *rcNameID: =TONE_COOLER_DISPLAY
  1698.     }
  1699. }
  1700.  
  1701. *Feature: =HPHT_SATURATION
  1702. {
  1703.     *rcNameID: =SATURATION_DISPLAY
  1704.     *FeatureType: DOC_PROPERTY
  1705.     *DefaultOption: =HPHT_SLIDER_MIDDLE
  1706.  
  1707.     *Option: =HPHT_SLIDER_HIGHER
  1708.     {
  1709.         *rcNameID: =SAT_VIBRANT_DISPLAY
  1710.     }
  1711.  
  1712.     *Option: =HPHT_SLIDER_HIGH
  1713.     {
  1714.         *rcNameID: =SAT_VIVID_DISPLAY
  1715.     }
  1716.     *Option: =HPHT_SLIDER_MIDDLE
  1717.     {
  1718.         *rcNameID: =SAT_NORMAL_DISPLAY
  1719.     }
  1720.  
  1721.     *Option: =HPHT_SLIDER_LOW
  1722.     {
  1723.         *rcNameID: =SAT_MUTED_DISPLAY
  1724.     }
  1725.     *Option: =HPHT_SLIDER_LOWER
  1726.     {
  1727.         *rcNameID: =SAT_DULL_DISPLAY
  1728.     }
  1729.  
  1730. }
  1731.  
  1732. *Feature: =HPHT_INK_VOLUME
  1733. {
  1734.     *rcNameID: =INK_VOLUME_DISPLAY
  1735.     *FeatureType: DOC_PROPERTY
  1736.     *DefaultOption: =HPHT_SLIDER_MIDDLE
  1737.  
  1738.     *Option: =HPHT_SLIDER_HIGHER
  1739.     {
  1740.         *rcNameID: =INK_HEAVIER_DISPLAY
  1741.     }
  1742.  
  1743.     *Option: =HPHT_SLIDER_HIGH
  1744.     {
  1745.         *rcNameID: =INK_HEAVY_DISPLAY
  1746.     }
  1747.  
  1748.     *Option: =HPHT_SLIDER_MIDDLE
  1749.     {
  1750.         *rcNameID: =INK_NORMAL_DISPLAY
  1751.     }
  1752.  
  1753.     *Option: =HPHT_SLIDER_LOW
  1754.     {
  1755.         *rcNameID: =INK_LIGHT_DISPLAY
  1756.     }
  1757.  
  1758.     *Option: =HPHT_SLIDER_LOWER
  1759.     {
  1760.         *rcNameID: =INK_LIGHTER_DISPLAY
  1761.     }
  1762.  
  1763. }
  1764.  
  1765. *Feature: =HPHT_OPTIMIZE_PHOTO_COPY
  1766. {
  1767.     *rcNameID: =OPTIMIZE_PHOTO_COPY_DISPLAY
  1768.     *FeatureType: DOC_PROPERTY
  1769.     *DefaultOption: =HPHT_OFF
  1770.     *Option: =HPHT_ON
  1771.     {
  1772.         *rcNameID: =ON_DISPLAY
  1773.     }
  1774.     *Option: =HPHT_OFF
  1775.     {
  1776.         *rcNameID: =OFF_DISPLAY
  1777.     }
  1778.   
  1779. }
  1780.  
  1781. *BlockMacro: StandardPrintQualityMacro
  1782. {
  1783.     *switch: ColorMode
  1784.     {
  1785.         *case: Mono
  1786.         {
  1787.             *DraftQualitySettings:  LIST(ColorMode.Mono, PM.PlainEconoMono,  PQ.Econo,  Resolution.r300x300)
  1788.             *BetterQualitySettings: LIST(ColorMode.Mono, PM.PlainNormalMono, PQ.Normal, Resolution.r300x300)
  1789.             *BestQualitySettings:   LIST(ColorMode.Mono, PM.PlainBestMono,   PQ.Best,   Resolution.r600x600)
  1790.         }
  1791.         *case: Gray8
  1792.         {
  1793.             *DraftQualitySettings:  LIST(ColorMode.Mono, PM.PlainEconoMono,  PQ.Econo,  Resolution.r300x300)
  1794.             *BetterQualitySettings: LIST(ColorMode.Mono, PM.PlainNormalMono, PQ.Normal, Resolution.r600x600)
  1795.             *BestQualitySettings:   LIST(ColorMode.Mono, PM.PlainBestMono,   PQ.Best,   Resolution.r600x600)
  1796.         }
  1797.         *default:
  1798.         {
  1799.             *DraftQualitySettings:  LIST(ColorMode.Color4,  PM.PlainEconoColor,  PQ.Econo,  Resolution.r300x300)
  1800.             *BetterQualitySettings: LIST(ColorMode.Color24, PM.PlainNormalColor, PQ.Normal, Resolution.r300x300)
  1801.             *BestQualitySettings:   LIST(ColorMode.Color24, PM.PlainBestColor,   PQ.Best,   Resolution.r600x600)
  1802.         }
  1803.     }
  1804. }
  1805.  
  1806. *BlockMacro: PremiumInkjetQualityMacro
  1807. {
  1808.     *switch: ColorMode
  1809.     {
  1810.         *case: Mono
  1811.         {
  1812.             *DraftQualitySettings:  LIST()
  1813.             *BetterQualitySettings: LIST(ColorMode.Gray8, PM.SpecialNormal, PQ.Normal, Resolution.r600x600)
  1814.             *BestQualitySettings:   LIST(ColorMode.Gray8, PM.SpecialBest,   PQ.Best,   Resolution.r600x600)
  1815.         }
  1816.         *case: Gray8
  1817.         {
  1818.             *DraftQualitySettings:  LIST()
  1819.             *BetterQualitySettings: LIST(ColorMode.Gray8, PM.SpecialNormal, PQ.Normal, Resolution.r600x600)
  1820.             *BestQualitySettings:   LIST(ColorMode.Gray8, PM.SpecialBest,   PQ.Best,   Resolution.r600x600)
  1821.         }
  1822.         *default:
  1823.         {
  1824.             *DraftQualitySettings:  LIST()
  1825.             *BetterQualitySettings: LIST(ColorMode.Color24, PM.SpecialNormal, PQ.Normal, Resolution.r600x600)
  1826.             *BestQualitySettings:   LIST(ColorMode.Color24, PM.SpecialBest,   PQ.Best,   Resolution.r600x600)
  1827.         }
  1828.     }
  1829. }
  1830.  
  1831. *BlockMacro: TransparencyQualityMacro
  1832. {
  1833.     *switch: ColorMode
  1834.     {
  1835.         *case: Mono
  1836.         {
  1837.             *DraftQualitySettings:  LIST()
  1838.             *BetterQualitySettings: LIST(ColorMode.Gray8, PM.TransparencyNormal, PQ.Normal, Resolution.r600x600)
  1839.             *BestQualitySettings:   LIST(ColorMode.Gray8, PM.TransparencyBest,   PQ.Best,   Resolution.r600x600)
  1840.         }
  1841.         *case: Gray8
  1842.         {
  1843.             *DraftQualitySettings:  LIST()
  1844.             *BetterQualitySettings: LIST(ColorMode.Gray8, PM.TransparencyNormal, PQ.Normal, Resolution.r600x600)
  1845.             *BestQualitySettings:   LIST(ColorMode.Gray8, PM.TransparencyBest,   PQ.Best,   Resolution.r600x600)
  1846.         }
  1847.         *default:
  1848.         {
  1849.             *DraftQualitySettings:  LIST()
  1850.             *BetterQualitySettings: LIST(ColorMode.Color24, PM.TransparencyNormal, PQ.Normal, Resolution.r600x600)
  1851.             *BestQualitySettings:   LIST(ColorMode.Color24, PM.TransparencyBest,   PQ.Best,   Resolution.r600x600)
  1852.         }
  1853.     }
  1854. }
  1855.  
  1856. *BlockMacro: PremiumTransparencyQualityMacro
  1857. {
  1858.     *switch: ColorMode
  1859.     {
  1860.         *case: Mono
  1861.         {
  1862.             *DraftQualitySettings:  LIST(ColorMode.Gray8, PM.RapidTransEcono,  PQ.Econo,  Resolution.r300x300)
  1863.             *BetterQualitySettings: LIST(ColorMode.Gray8, PM.RapidTransNormal, PQ.Normal, Resolution.r600x600)
  1864.             *BestQualitySettings:   LIST(ColorMode.Gray8, PM.RapidTransBest,   PQ.Best,   Resolution.r600x600)
  1865.         }
  1866.         *case: Gray8
  1867.         {
  1868.             *DraftQualitySettings:  LIST(ColorMode.Gray8, PM.RapidTransEcono,  PQ.Econo,  Resolution.r300x300)
  1869.             *BetterQualitySettings: LIST(ColorMode.Gray8, PM.RapidTransNormal, PQ.Normal, Resolution.r600x600)
  1870.             *BestQualitySettings:   LIST(ColorMode.Gray8, PM.RapidTransBest,   PQ.Best,   Resolution.r600x600)
  1871.         }
  1872.         *default:
  1873.         {
  1874.             *DraftQualitySettings:  LIST(ColorMode.Color24, PM.RapidTransEcono,  PQ.Econo,  Resolution.r300x300)
  1875.             *BetterQualitySettings: LIST(ColorMode.Color24, PM.RapidTransNormal, PQ.Normal, Resolution.r600x600)
  1876.             *BestQualitySettings:   LIST(ColorMode.Color24, PM.RapidTransBest,   PQ.Best,   Resolution.r600x600)
  1877.         }
  1878.     }
  1879. }
  1880.  
  1881.  
  1882. *BlockMacro: PhotoQualityMacro
  1883. {
  1884.     *switch: ColorMode
  1885.     {
  1886.         *case: Mono
  1887.         {
  1888.             *DraftQualitySettings:  LIST()
  1889.             *switch: Photo2400Mode
  1890.             {
  1891.                 *case: On
  1892.                 {
  1893.                     *BetterQualitySettings: LIST()
  1894.                     *BestQualitySettings:   LIST(ColorMode.Gray8, PM.Photo2400,   PQ.Best,   Resolution.r1200x1200)
  1895.                 }
  1896.                 *case: Off
  1897.                 {
  1898.                     *BetterQualitySettings: LIST(ColorMode.Gray8, PM.PhotoNormal, PQ.Normal, Resolution.r600x600)
  1899.                     *BestQualitySettings:   LIST(ColorMode.Gray8, PM.PhotoBest,   PQ.Best,   Resolution.r1200x1200)
  1900.                 }
  1901.             }
  1902.         }
  1903.         *case: Gray8
  1904.         {
  1905.             *DraftQualitySettings:  LIST()
  1906.             *switch: Photo2400Mode
  1907.             {
  1908.                 *case: On
  1909.                 {
  1910.                     *BetterQualitySettings: LIST()                   
  1911.                     *BestQualitySettings:   LIST(ColorMode.Gray8, PM.Photo2400,   PQ.Best,   Resolution.r1200x1200)
  1912.                 }
  1913.                 *case: Off
  1914.                 {
  1915.                     *BetterQualitySettings: LIST(ColorMode.Gray8, PM.PhotoNormal, PQ.Normal, Resolution.r600x600)            
  1916.                     *BestQualitySettings:   LIST(ColorMode.Gray8, PM.PhotoBest,   PQ.Best,   Resolution.r1200x1200)
  1917.                 }
  1918.              }
  1919.         }
  1920.         *default:
  1921.         {
  1922.             *DraftQualitySettings:  LIST()
  1923.             *switch: Photo2400Mode
  1924.             {
  1925.                 *case: On
  1926.                 {
  1927.                     *BetterQualitySettings: LIST()            
  1928.                     *BestQualitySettings:   LIST(ColorMode.Color24, PM.Photo2400,   PQ.Best,   Resolution.r1200x1200)
  1929.                 }
  1930.                 *case: Off
  1931.                 {
  1932.                     *BetterQualitySettings: LIST(ColorMode.Color24, PM.PhotoNormal, PQ.Normal, Resolution.r600x600)
  1933.                     *BestQualitySettings:   LIST(ColorMode.Color24, PM.PhotoBest,   PQ.Best,   Resolution.r1200x1200)
  1934.                 }
  1935.             }
  1936.         }
  1937.     }
  1938. }
  1939.  
  1940. *BlockMacro: PremiumPhotoQualityMacro
  1941. {
  1942.     *switch: ColorMode
  1943.     {
  1944.         *case: Mono
  1945.         {
  1946.             *DraftQualitySettings:  LIST()
  1947.             *switch: Photo2400Mode
  1948.             {
  1949.                 *case: On
  1950.                 {
  1951.                     *BetterQualitySettings: LIST()
  1952.                     *BestQualitySettings:   LIST(ColorMode.Gray8, PM.Photo2400,     PQ.Best,   Resolution.r1200x1200)
  1953.                 }
  1954.                 *case: Off
  1955.                 {
  1956.                     *BetterQualitySettings: LIST(ColorMode.Gray8, PM.PhotoNormal,   PQ.Normal, Resolution.r600x600)
  1957.                     *BestQualitySettings:   LIST(ColorMode.Gray8, PM.PremPhotoBest, PQ.Best,   Resolution.r1200x1200)
  1958.                 }
  1959.             }
  1960.         }
  1961.         *case: Gray8
  1962.         {
  1963.             *DraftQualitySettings:  LIST()
  1964.             *switch: Photo2400Mode
  1965.             {
  1966.                 *case: On
  1967.                 {
  1968.                     *BetterQualitySettings: LIST()
  1969.                     *BestQualitySettings:   LIST(ColorMode.Gray8, PM.PremPhoto2400,   PQ.Best,   Resolution.r1200x1200)
  1970.                 }
  1971.                 *case: Off
  1972.                 {
  1973.                     *BetterQualitySettings: LIST(ColorMode.Gray8, PM.PremPhotoNormal, PQ.Normal, Resolution.r600x600)
  1974.                     *BestQualitySettings:   LIST(ColorMode.Gray8, PM.PremPhotoBest,   PQ.Best,   Resolution.r1200x1200)
  1975.                 }
  1976.             }
  1977.         }
  1978.         *default:
  1979.         {
  1980.             *DraftQualitySettings:  LIST()
  1981.             *switch: Photo2400Mode
  1982.             {
  1983.                 *case: On
  1984.                 {
  1985.                     *BetterQualitySettings: LIST()
  1986.                     *BestQualitySettings:   LIST(ColorMode.Color24, PM.PremPhoto2400,   PQ.Best,   Resolution.r1200x1200)
  1987.                 }
  1988.                 *case: Off
  1989.                 {
  1990.                     *BetterQualitySettings: LIST(ColorMode.Color24, PM.PremPhotoNormal, PQ.Normal, Resolution.r600x600)            
  1991.                     *BestQualitySettings:   LIST(ColorMode.Color24, PM.PremPhotoBest,   PQ.Best,   Resolution.r1200x1200)
  1992.                 }
  1993.             }
  1994.         }
  1995.     }
  1996. }
  1997.  
  1998. *BlockMacro: PremiumPlusPhotoQualityMacro
  1999. {
  2000.     *switch: ColorMode
  2001.     {
  2002.         *case: Mono
  2003.         {
  2004.             *DraftQualitySettings:  LIST()
  2005.             *switch: Photo2400Mode
  2006.             {
  2007.                 *case: On
  2008.                 {
  2009.                     *BetterQualitySettings: LIST()
  2010.                     *BestQualitySettings:   LIST(ColorMode.Gray8, PM.Photo2400,         PQ.Best,   Resolution.r1200x1200)
  2011.                 }
  2012.                 *case: Off
  2013.                 {
  2014.                     *BetterQualitySettings: LIST(ColorMode.Gray8, PM.PhotoNormal,       PQ.Normal, Resolution.r600x600)
  2015.                     *BestQualitySettings:   LIST(ColorMode.Gray8, PM.PremPlusPhotoBest, PQ.Best,   Resolution.r1200x1200)
  2016.                 }
  2017.             }
  2018.         }
  2019.         *case: Gray8
  2020.         {
  2021.             *DraftQualitySettings:  LIST()
  2022.             *switch: Photo2400Mode
  2023.             {
  2024.                 *case: On
  2025.                 {
  2026.                     *BetterQualitySettings: LIST()
  2027.                     *BestQualitySettings:   LIST(ColorMode.Gray8, PM.PremPlusPhoto2400,   PQ.Best,   Resolution.r1200x1200)
  2028.                 }
  2029.                 *case: Off
  2030.                 {
  2031.                     *BetterQualitySettings: LIST(ColorMode.Gray8, PM.PremPlusPhotoNormal, PQ.Normal, Resolution.r600x600)
  2032.                     *BestQualitySettings:   LIST(ColorMode.Gray8, PM.PremPlusPhotoBest,   PQ.Best,   Resolution.r1200x1200)
  2033.                 }
  2034.             }
  2035.         }
  2036.         *default:
  2037.         {
  2038.             *DraftQualitySettings:  LIST()
  2039.             *switch: Photo2400Mode
  2040.             {
  2041.                 *case: On
  2042.                 {
  2043.                     *BetterQualitySettings: LIST()
  2044.                     *BestQualitySettings:   LIST(ColorMode.Color24, PM.PremPlusPhoto2400,   PQ.Best,   Resolution.r1200x1200)
  2045.                 }
  2046.                 *case: Off
  2047.                 {
  2048.                     *BetterQualitySettings: LIST(ColorMode.Color24, PM.PremPlusPhotoNormal, PQ.Normal, Resolution.r600x600)            
  2049.                     *BestQualitySettings:   LIST(ColorMode.Color24, PM.PremPlusPhotoBest,   PQ.Best,   Resolution.r1200x1200)
  2050.                 }
  2051.             }
  2052.         }
  2053.     }
  2054. }
  2055.  
  2056. *%%
  2057. *%% Print Quality Macros
  2058. *%%
  2059. *switch: MediaType
  2060. {
  2061.     *case: STANDARD
  2062.     {
  2063.         *InsertBlock: =StandardPrintQualityMacro
  2064.         *DefaultQuality: BETTERQUALITY
  2065.     }
  2066.  
  2067.     *case: BRIGHTWHITE
  2068.     {
  2069.         *InsertBlock: =StandardPrintQualityMacro
  2070.         *DefaultQuality: BETTERQUALITY
  2071.     }
  2072.  
  2073.     *case: HP_PREMIUM_INKJET_PAPER
  2074.     {
  2075.         *InsertBlock: =PremiumInkjetQualityMacro
  2076.         *DefaultQuality: BETTERQUALITY
  2077.     }
  2078.  
  2079.     *case: OTHER_INKJET_PAPER
  2080.     {   
  2081.         *InsertBlock: =PremiumInkjetQualityMacro
  2082.         *DefaultQuality: BESTQUALITY
  2083.     }
  2084.  
  2085.     *case: TRANSPARENCY
  2086.     {
  2087.         *InsertBlock: =TransparencyQualityMacro
  2088.         *DefaultQuality: BETTERQUALITY
  2089.     }
  2090.  
  2091.     *case: HP_PREMIUM_INKJET_RAPIDDRY_TRANS
  2092.     {
  2093.         *InsertBlock: =PremiumTransparencyQualityMacro
  2094.         *DefaultQuality: BETTERQUALITY
  2095.     }
  2096.  
  2097.     *case: OTHER_TRANSPARENCY
  2098.     {
  2099.         *InsertBlock: =TransparencyQualityMacro
  2100.         *DefaultQuality: BETTERQUALITY
  2101.     }
  2102.  
  2103.     *case: HP_IRON_ON_TSHIRT_TRANSFERS
  2104.     {
  2105.         *InsertBlock: =PremiumInkjetQualityMacro
  2106.         *DefaultQuality: BESTQUALITY
  2107.     }
  2108.  
  2109.     *case: OTHER_SPECIALTY_PAPER
  2110.     {
  2111.         *InsertBlock: =PremiumInkjetQualityMacro
  2112.         *DefaultQuality: BETTERQUALITY
  2113.     }
  2114.  
  2115.     *case: HP_PREMIUM_PHOTO_PAPER
  2116.     {
  2117.         *InsertBlock: =PremiumPhotoQualityMacro
  2118.         *DefaultQuality: BESTQUALITY
  2119.     }
  2120.  
  2121.     *case: HP_PREMIUM_PLUS_PHOTO_PAPER
  2122.     {   
  2123.         *InsertBlock: =PremiumPlusPhotoQualityMacro
  2124.         *DefaultQuality: BESTQUALITY
  2125.     }
  2126.  
  2127.     *case: HP_COLORFAST_PHOTO_PAPER
  2128.     {   
  2129.         *InsertBlock: =PremiumPhotoQualityMacro
  2130.         *DefaultQuality: BESTQUALITY
  2131.     }
  2132.  
  2133.     *case: HP_PHOTO_PAPER
  2134.     {
  2135.         *InsertBlock: =PhotoQualityMacro
  2136.         *DefaultQuality: BESTQUALITY
  2137.     }
  2138.  
  2139.     *case: OTHER_PHOTO_PAPER
  2140.     {   
  2141.         *InsertBlock: =PremiumPhotoQualityMacro
  2142.         *DefaultQuality: BESTQUALITY
  2143.     }
  2144.  
  2145.     *case: GREETINGCARDMATTE
  2146.     {
  2147.         *InsertBlock: =PremiumInkjetQualityMacro
  2148.         *DefaultQuality: BESTQUALITY
  2149.     }
  2150.  
  2151.     *case: GREETINGCARDGLOSSY
  2152.     {
  2153.         *InsertBlock: =PhotoQualityMacro
  2154.         *DefaultQuality: BESTQUALITY
  2155.     }
  2156.  
  2157.     *case: HP_TEXTURED_GREETING_CARD
  2158.     {
  2159.         *InsertBlock: =PremiumInkjetQualityMacro
  2160.         *DefaultQuality: BESTQUALITY
  2161.     }
  2162.  
  2163.     *case: OTHER_GREETING_CARDS
  2164.     {
  2165.         *InsertBlock: =PremiumInkjetQualityMacro
  2166.         *DefaultQuality: BESTQUALITY
  2167.     }
  2168.  
  2169.     *case: HP_PROFESSIONAL_BROCHURE_GLOSSY
  2170.     {   
  2171.         *InsertBlock: =PremiumPhotoQualityMacro
  2172.         *DefaultQuality: BETTERQUALITY
  2173.     }
  2174.  
  2175.     *case: HP_PROFESSIONAL_BROCHURE_MATTE
  2176.     {
  2177.         *InsertBlock: =PremiumInkjetQualityMacro
  2178.         *DefaultQuality: BETTERQUALITY
  2179.     }
  2180.  
  2181.     *case: OTHER_BROCHURE_PAPER
  2182.     {   
  2183.         *InsertBlock: =PremiumInkjetQualityMacro
  2184.         *DefaultQuality: BETTERQUALITY
  2185.     }
  2186.  
  2187. }
  2188.  
  2189.  
  2190. *%%
  2191. *%% Printer Configuration Commands
  2192. *%%
  2193. *Command: CmdStartDoc
  2194. {
  2195.     *Order: DOC_SETUP.20
  2196.     *Cmd: "<1B>&u1200D<1B>*o5W<04 09 00 00 00>"
  2197. }
  2198.  
  2199. *Command: CmdEndDoc
  2200. {
  2201.     *Order: DOC_FINISH.10
  2202.     *Cmd: =PJL_EXIT_LANGUAGE
  2203. }
  2204.  
  2205. *Command: CmdStartPage
  2206. {
  2207.     *Order: PAGE_SETUP.10
  2208.     *Cmd: "<1B>&l0E<1B>*p0y0X<1B>&l0L<1B>*r1A<1B>&l-2H"
  2209. }
  2210.  
  2211. *Command: CmdEndPage
  2212. {
  2213.     *Order: PAGE_FINISH.10
  2214.     *Cmd: "<1B>*rC<0C>"
  2215. }
  2216.  
  2217.  
  2218. *%%
  2219. *%% Printing Attributes and Commands
  2220. *%%
  2221. *RotateCoordinate?: TRUE
  2222. *RotateRaster?: FALSE
  2223.  
  2224. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  2225. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  2226. *EjectPageWithFF?: FALSE
  2227. *XMoveThreshold: 0
  2228. *YMoveThreshold: 0
  2229. *XMoveUnit: 1200
  2230. *YMoveUnit: 1200
  2231. *Command: CmdDisableCompression { *Cmd: "<1B>*b0M" }
  2232. *Command: CmdEnableTIFF4        { *Cmd: "<1B>*b2M" }
  2233. *Command: CmdSendBlockData      { *Cmd: "<1B>*b" %d{NumOfDataBytes}"W" }
  2234. *Command: CmdSendBlackData      { *Cmd: "<1B>*b" %d{NumOfDataBytes}"V" }
  2235. *Command: CmdSendCyanData       { *Cmd: "<1B>*b" %d{NumOfDataBytes}"V" }
  2236. *Command: CmdSendMagentaData    { *Cmd: "<1B>*b" %d{NumOfDataBytes}"V" }
  2237. *Command: CmdSendYellowData     { *Cmd: "<1B>*b" %d{NumOfDataBytes}"W" }
  2238. *Command: CmdXMoveAbsolute { *Cmd: "<1B>*p" %d{DestX}"X" }
  2239. *Command: CmdYMoveAbsolute { *Cmd: "<1B>*p" %d{DestY}"Y" }
  2240. *Command: CmdCR { *Cmd: "<0D>" }
  2241. *Command: CmdLF { *Cmd: "<0A>" }
  2242. *Command: CmdFF { *Cmd: "<0C>" }
  2243.  
  2244. *OutputDataFormat: H_BYTE
  2245. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  2246. *CursorYAfterSendBlockData: AUTO_INCREMENT
  2247. *RasterSendAllData?: TRUE
  2248.