home *** CD-ROM | disk | FTP | other *** search
/ Chip 2009 November / Chip_2009.11_CD.iso / I386 / DRIVER.CAB / hpc8500.gpd < prev    next >
Encoding:
Text File  |  2001-07-22  |  66.1 KB  |  2,122 lines

  1. *%-------------------------------------------------------------------------
  2. *% GPD File Name and version number
  3. *%-------------------------------------------------------------------------
  4. *GPDFileName: "hpc8500.gpd"
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileVersion: "1.016"
  7.  
  8. *%-------------------------------------------------------------------------
  9. *% GPD files to include.
  10. *%-------------------------------------------------------------------------
  11. *Include: "stdnames.gpd"
  12. *Include: "ttfsub.gpd"
  13. *Include: "hpcmacro.gpd"
  14. *Include: "hpcfont.gpd"
  15.  
  16. *%-------------------------------------------------------------------------
  17. *% Help File
  18. *%-------------------------------------------------------------------------
  19. *HelpFile: "hpcljx.hlp"
  20.  
  21. *%-------------------------------------------------------------------------
  22. *% The resource DLL contains strings, icons, bitmaps, fonts, etc.
  23. *%-------------------------------------------------------------------------
  24. *ResourceDLL: "hpcstr.dll"
  25.  
  26. *Feature: RESDLL
  27. {
  28.     *Option: Pcl5res
  29.     {
  30.         *Name: "pcl5eres.dll"
  31.     }
  32. }
  33.  
  34. *%-------------------------------------------------------------------------
  35. *% This is the same Model name in the .inf file
  36. *%-------------------------------------------------------------------------
  37. *ModelName: "HP Color LaserJet 8500 PCL"
  38.  
  39. *%-------------------------------------------------------------------------
  40. *% The Unidriver uses 1200 as the Master Units.
  41. *%-------------------------------------------------------------------------
  42. *MasterUnits: PAIR(1200, 1200)
  43.  
  44. *PrinterType: PAGE
  45. *MaxCopies: 999
  46.  
  47. *%-------------------------------------------------------------------------
  48. *% Print rate metrics
  49. *%-------------------------------------------------------------------------
  50. *PrintRate: 16
  51. *PrintRateUnit: PPM
  52. *PrintRatePPM: 16
  53.  
  54. *FontCartSlots: 0
  55.  
  56. *%-------------------------------------------------------------------------
  57. *% Paper / Tray Constraints
  58. *%-------------------------------------------------------------------------
  59. *BlockMacro: InputBinConstraints
  60. {
  61.     *Constraints: InputBin.TRAY2
  62.     *Constraints: InputBin.TRAY3
  63.     *Constraints: InputBin.TRAY4
  64. }
  65.  
  66. *BlockMacro: OutputBinConstraints
  67. {
  68.     *Constraints: OutputBin.Option5         *%Mbox 1
  69.     *Constraints: OutputBin.Option6         *%Mbox 2
  70.     *Constraints: OutputBin.Option7         *%Mbox 3
  71.     *Constraints: OutputBin.Option8         *%Mbox 4
  72.     *Constraints: OutputBin.Option9         *%Mbox 5
  73.     *Constraints: OutputBin.Option10        *%Mbox 6
  74.     *Constraints: OutputBin.Option11        *%Mbox 7
  75.     *Constraints: OutputBin.Option12        *%Mbox 8
  76.     *Constraints: OutputBin.Option13        *%Stapler
  77.     *Constraints: OutputBin.Option14        *%Stacker
  78.     *Constraints: OutputBin.Option15        *%JobSeparator
  79.     *Constraints: OutputBin.Option16        *%Collator
  80.     *Constraints: OutputBin.Option17        *%Stacker/Stapled
  81. }
  82.  
  83. *%-------------------------------------------------------------------------
  84. *% Paper Sizes
  85. *%-------------------------------------------------------------------------
  86. *Feature: PaperSize
  87. {
  88.     *rcNameID: =PAPER_SIZE_DISPLAY
  89.  
  90.     *HelpIndex: 13022
  91.  
  92.     *DefaultOption: LETTER
  93.  
  94.     *Option: 11X17                                   *% physical page (13200, 20400 - 11.00" x 17.00")
  95.     {
  96.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  97.         *Constraints: LIST(InputBin.TRAY2)
  98.  
  99.         *switch: Orientation
  100.         {
  101.             *case: PORTRAIT
  102.             {
  103.                 *PrintableArea: PAIR(12600, 20000)
  104.                 *PrintableOrigin: PAIR(300, 200)
  105.                 *CursorOrigin: PAIR(300, 200)
  106.                 *Command: CmdSelect
  107.                 {
  108.                     *Order: DOC_SETUP.12
  109.                     *Cmd: "<1B>&l6a8c1E<1B>*p0x0Y<1B>*c0t7560x12000Y"
  110.                 }
  111.             }
  112.             *case: LANDSCAPE_CC90
  113.             {
  114.                 *PrintableArea: PAIR(12800, 19920)
  115.                 *PrintableOrigin: PAIR(200, 240)
  116.                 *CursorOrigin: PAIR(200, 20160)
  117.                 *Command: CmdSelect
  118.                 {
  119.                     *Order: DOC_SETUP.12
  120.                     *Cmd: "<1B>&l6a8c1E<1B>*p0x0Y<1B>*c0t11952x7680Y"
  121.                 }
  122.             }
  123.         }
  124.     }
  125.  
  126.     *Option: 12X18                                   *% physical page (14400, 21600 - 12.00" x 18.00")
  127.     {
  128.         *rcNameID: 9                                 *% 300 margins, printer prompts for correct size
  129.         *PageDimensions: PAIR(14400, 21600)          *% Line spacing 4d, imageable area
  130.         *InsertBlock: =InputBinConstraints           *% Picture Frame Anchor Point (*c0T) at end, 
  131.         *InsertBlock: =OutputBinConstraints          *% printer prompts for correct size
  132.         *InsertBlock: =DuplexConstraints
  133.  
  134.         *switch: Orientation                         
  135.         {                                            
  136.             *case: PORTRAIT                          
  137.             {                                        
  138.                 *PrintableArea: PAIR(13800, 21000)   
  139.                 *PrintableOrigin: PAIR(300, 300)     
  140.                 *CursorOrigin: PAIR(300, 300)        
  141.                 *Command: CmdSelect
  142.                 {
  143.                     *Order: DOC_SETUP.12
  144.                     *Cmd: "<1B>&l101a8c4d1E<1B>*p0x0Y<1B>*c8280x12600Y<1B>*c0T"
  145.                 }
  146.             }
  147.             *case: LANDSCAPE_CC90
  148.             {
  149.                 *PrintableArea: PAIR(13800, 21000)
  150.                 *PrintableOrigin: PAIR(300, 300)
  151.                 *CursorOrigin: PAIR(300, 21300)
  152.                 *Command: CmdSelect
  153.                 {
  154.                     *Order: DOC_SETUP.12
  155.                     *Cmd: "<1B>&l101a8c4d1E<1B>*p0x0Y<1B>*c12600x8280Y<1B>*c0T"
  156.                 }
  157.             }
  158.         }
  159.     }
  160.  
  161.     *Option: 9X12                                    *% physical page (10800, 14400 - 9.00" x 12.00")
  162.     {
  163.         *rcNameID: =IDS_9x12                         *% 300 margins, printer prompts for correct size
  164.         *PageDimensions: PAIR(10800, 14400)          *% Line spacing 4d, imageable area
  165.         *InsertBlock: =InputBinConstraints           *% Picture Frame Anchor Point (*c0T) at end, 
  166.         *InsertBlock: =DuplexConstraints             *% printer prompts for correct size
  167.  
  168.         *switch: Orientation
  169.         {                                            
  170.             *case: PORTRAIT                          
  171.             {                                        
  172.                 *PrintableArea: PAIR(10200, 13800)   
  173.                 *PrintableOrigin: PAIR(300, 300)     
  174.                 *CursorOrigin: PAIR(300, 300)        
  175.                 *Command: CmdSelect
  176.                 {
  177.                     *Order: DOC_SETUP.12
  178.                     *Cmd: "<1B>&l101a8c4d1E<1B>*p0x0Y<1B>*c6120x8280Y<1B>*c0T"
  179.                 }
  180.             }
  181.             *case: LANDSCAPE_CC90
  182.             {
  183.                 *PrintableArea: PAIR(10200, 13800)
  184.                 *PrintableOrigin: PAIR(300, 300)
  185.                 *CursorOrigin: PAIR(300, 14100)
  186.                 *Command: CmdSelect
  187.                 {
  188.                     *Order: DOC_SETUP.12
  189.                     *Cmd: "<1B>&l101a8c4d1E<1B>*p0x0Y<1B>*c8280x6120Y<1B>*c0T"
  190.                 }
  191.             }
  192.         }
  193.     }
  194.  
  195.     *Option: A3
  196.     {                                                *% physical page (14030, 19842 - 11.693" x 16.535")
  197.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  198.         *Constraints: LIST(InputBin.TRAY2)
  199.  
  200.         *switch: Orientation
  201.         {
  202.             *case: PORTRAIT
  203.             {
  204.                 *PrintableArea: PAIR(13462, 19440)   *% Using 19440 for imageable area
  205.                 *PrintableOrigin: PAIR(284, 200)
  206.                 *CursorOrigin: PAIR(284, 200)
  207.                 *Command: CmdSelect
  208.                 {
  209.                     *Order: DOC_SETUP.12
  210.                     *Cmd: "<1B>&l27a8c1E<1B>*p0x0Y<1B>*c0t8077x11664Y"
  211.                 }
  212.             }
  213.             *case: LANDSCAPE_CC90
  214.             {
  215.                 *PrintableArea: PAIR(13628, 19370)   *% Using 13628 for imageable area
  216.                 *PrintableOrigin: PAIR(200, 236)
  217.                 *CursorOrigin: PAIR(200, 19606)
  218.                 *Command: CmdSelect
  219.                 {
  220.                     *Order: DOC_SETUP.12
  221.                     *Cmd: "<1B>&l27a8c1E<1B>*p0x0Y<1B>*c0t11622x8176Y"
  222.                 }
  223.             }
  224.         }
  225.     }
  226.  
  227.     *Option: A4                                      *% physical page (9920, 14030 - 8.2677" x 11.693")
  228.     {
  229.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  230.         *switch: Orientation
  231.         {
  232.             *case: PORTRAIT
  233.             {
  234.                 *PrintableArea: PAIR(9352, 13628)    *% Using 13628 for imageable area
  235.                 *PrintableOrigin: PAIR(284, 200)
  236.                 *CursorOrigin: PAIR(284, 200)
  237.                 *Command: CmdSelect
  238.                 {
  239.                     *Order: DOC_SETUP.12
  240.                     *Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t5611x8176Y"
  241.                 }
  242.             }
  243.             *case: LANDSCAPE_CC90
  244.             {
  245.                 *PrintableArea: PAIR(9520, 13558)
  246.                 *PrintableOrigin: PAIR(200, 236)
  247.                 *CursorOrigin: PAIR(200, 13794)
  248.                 *Command: CmdSelect
  249.                 {
  250.                     *Order: DOC_SETUP.12
  251.                     *Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t8135x5712Y"
  252.                 }
  253.             }
  254.         }
  255.     }
  256.  
  257.     *Option: A5                                      *% physical page (6992, 9920 - 5.8268" x 8.2677")
  258.     {
  259.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  260.         *InsertBlock: =InputBinConstraints
  261.         *InsertBlock: =OutputBinConstraints
  262.  
  263.         *switch: Orientation
  264.         {
  265.             *case: PORTRAIT
  266.             {
  267.                 *PrintableArea: PAIR(6424, 9520)
  268.                 *PrintableOrigin: PAIR(284, 200)
  269.                 *CursorOrigin: PAIR(284, 200)
  270.                 *Command: CmdSelect
  271.                 {
  272.                     *Order: DOC_SETUP.12
  273.                     *Cmd: "<1B>&l25a8c1E<1B>*p0x0Y<1B>*c0t3855x5712Y"
  274.                 }
  275.             }
  276.             *case: LANDSCAPE_CC90
  277.             {
  278.                 *PrintableArea: PAIR(6592, 9448)
  279.                 *PrintableOrigin: PAIR(200, 236)
  280.                 *CursorOrigin: PAIR(200, 9684)
  281.                 *Command: CmdSelect
  282.                 {
  283.                     *Order: DOC_SETUP.12
  284.                     *Cmd: "<1B>&l25a8c1E<1B>*p0x0Y<1B>*c0t5669x3955Y"
  285.                 }
  286.             }
  287.         }
  288.     }
  289.  
  290.     *Option: B4                                      *% B4 (JIS)
  291.     {                                                *% physical page (12140, 17196 - 10.118" x 14.33")
  292.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  293.  
  294.         *switch: Orientation
  295.         {
  296.             *case: PORTRAIT
  297.             {
  298.                 *PrintableArea: PAIR(11540, 16796)   *% right / left margins 300 for imageable area
  299.                 *PrintableOrigin: PAIR(300, 200)
  300.                 *CursorOrigin: PAIR(300, 200)
  301.                 *Command: CmdSelect
  302.                 {
  303.                     *Order: DOC_SETUP.12
  304.                     *Cmd: "<1B>&l46a8c1E<1B>*p0x0Y<1B>*c0t6924x10078Y"
  305.                 }
  306.             }
  307.             *case: LANDSCAPE_CC90
  308.             {
  309.                 *PrintableArea: PAIR(11740, 16716)   *% top / bottom margins 240 for imageable area
  310.                 *PrintableOrigin: PAIR(200, 240)
  311.                 *CursorOrigin: PAIR(200, 16956)
  312.                 *Command: CmdSelect
  313.                 {
  314.                     *Order: DOC_SETUP.12
  315.                     *Cmd: "<1B>&l46a8c1E<1B>*p0x0Y<1B>*c0t10029x7044Y"
  316.                 }
  317.             }
  318.         }
  319.     }
  320.  
  321.     *Option: B5                                      *% B5 (JIS)
  322.     {                                                *% physical page (8598, 12140 - 7.1653" x 10.118")
  323.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  324.         *InsertBlock: =InputBinConstraints
  325.  
  326.         *switch: Orientation
  327.         {
  328.             *case: PORTRAIT
  329.             {
  330.                 *PrintableArea: PAIR(8030, 11740)
  331.                 *PrintableOrigin: PAIR(284, 200)
  332.                 *CursorOrigin: PAIR(284, 200)
  333.                 *Command: CmdSelect
  334.                 {
  335.                     *Order: DOC_SETUP.12
  336.                     *Cmd: "<1B>&l45a8c1E<1B>*p0x0Y<1B>*c0t4818x7044Y"
  337.                 }
  338.             }
  339.             *case: LANDSCAPE_CC90
  340.             {
  341.                 *PrintableArea: PAIR(8198, 11668)
  342.                 *PrintableOrigin: PAIR(200, 236)
  343.                 *CursorOrigin: PAIR(200, 11904)
  344.                 *Command: CmdSelect
  345.                 {
  346.                     *Order: DOC_SETUP.12
  347.                     *Cmd: "<1B>&l45a8c1E<1B>*p0x0Y<1B>*c0t7001x4919Y"
  348.                 }
  349.             }
  350.         }
  351.     }
  352.  
  353.     *Option: C4                                      *% physical page (10818, 15304 - 9.0157" x 12.756)
  354.     {
  355.         *rcNameID: =IDS_C4                           *% 300 margins, printer prompts for correct size
  356.         *PageDimensions: PAIR(10818, 15306)          *% Line spacing 4d, imageable area
  357.         *InsertBlock: =InputBinConstraints           *% Picture Frame Anchor Point (*c0T) at end, 
  358.         *InsertBlock: =DuplexConstraints             *% printer prompts for correct size
  359.  
  360.         *switch: Orientation
  361.         {                                            
  362.             *case: PORTRAIT                          
  363.             {                                        
  364.                 *PrintableArea: PAIR(10218, 14704)   
  365.                 *PrintableOrigin: PAIR(300, 300)     
  366.                 *CursorOrigin: PAIR(300, 300)        
  367.                 *Command: CmdSelect
  368.                 {
  369.                     *Order: DOC_SETUP.12
  370.                     *Cmd: "<1B>&l101a8c4d1E<1B>*p0x0Y<1B>*c6130x8822Y<1B>*c0T"
  371.                 }
  372.             }
  373.             *case: LANDSCAPE_CC90
  374.             {
  375.                 *PrintableArea: PAIR(10218, 14704)
  376.                 *PrintableOrigin: PAIR(300, 300)
  377.                 *CursorOrigin: PAIR(300, 15004)
  378.                 *Command: CmdSelect
  379.                 {
  380.                     *Order: DOC_SETUP.12
  381.                     *Cmd: "<1B>&l101a8c4d1E<1B>*p0x0Y<1B>*c8822x6130Y<1B>*c0T"
  382.                 }
  383.             }
  384.         }
  385.     }
  386.  
  387.     *Option: DBL_JAPANESE_POSTCARD_ROTATED          *% physical page (6992, 9448 - 5.8268" x 7.874")
  388.     {
  389.  
  390. *Ifdef: WINNT_50
  391.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  392. *Else:
  393.         *rcNameID: =IDS_DBL_JAPAN_POST_ROTATED
  394.  
  395. *Endif:   WINNT_50
  396.  
  397.         *PageDimensions: PAIR(6992, 9448)
  398.         *InsertBlock: =InputBinConstraints
  399.         *InsertBlock: =OutputBinConstraints
  400.         *InsertBlock: =DuplexConstraints
  401.  
  402.         *switch: Orientation
  403.         {
  404.             *case: PORTRAIT
  405.             {                                       
  406.                 *PrintableArea: PAIR(6392,9044)     *% Using 9044 for imageable area
  407.                 *PrintableOrigin: PAIR(300, 200)
  408.                 *CursorOrigin: PAIR(300, 200)
  409.                 *Command: CmdSelect
  410.                 {
  411.                     *Order: DOC_SETUP.12
  412.                     *Cmd: "<1B>&l72a8c1E<1B>*p0x0Y<1B>*c0t3835x5426Y"
  413.                 }
  414.             }
  415.             *case: LANDSCAPE_CC90
  416.             {
  417.                 *PrintableArea: PAIR(6592, 8966)    *% Using 8966 for imageable area
  418.                 *PrintableOrigin: PAIR(200, 240)
  419.                 *CursorOrigin: PAIR(200, 9206)
  420.                 *Command: CmdSelect
  421.                 {
  422.                     *Order: DOC_SETUP.12
  423.                     *Cmd: "<1B>&l72a8c1E<1B>*p0x0Y<1B>*c0t5379x3955Y"
  424.                 }
  425.             }
  426.         }
  427.     }
  428.  
  429.     *Option: ENV_10                                 *% physical page (4948, 11400 - 4.125" x 9.5"))
  430.     {                                               
  431.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  432.         *InsertBlock: =InputBinConstraints
  433.         *InsertBlock: =OutputBinConstraints
  434.         *InsertBlock: =DuplexConstraints
  435.  
  436.         *switch: Orientation
  437.         {
  438.             *case: PORTRAIT
  439.             {
  440.                 *PrintableArea: PAIR(4348, 11000)
  441.                 *PrintableOrigin: PAIR(300, 200)
  442.                 *CursorOrigin: PAIR(300, 200)
  443.                 *Command: CmdSelect
  444.                 {
  445.                     *Order: DOC_SETUP.12
  446.                     *Cmd: "<1B>&l81a8c1E<1B>*p0x0Y<1B>*c0t2609x6600Y"
  447.                 }
  448.             }
  449.             *case: LANDSCAPE_CC90
  450.             {
  451.                 *PrintableArea: PAIR(4548, 10920)
  452.                 *PrintableOrigin: PAIR(200, 240)
  453.                 *CursorOrigin: PAIR(200, 11160)
  454.                 *Command: CmdSelect
  455.                 {
  456.                     *Order: DOC_SETUP.12
  457.                     *Cmd: "<1B>&l81a8c1E<1B>*p0x0Y<1B>*c0t6552x2729Y"
  458.                 }
  459.             }
  460.         }
  461.     }
  462.  
  463.     *Option: ENV_B5                                 *% physical page (8314, 11810 - 6.9291" x 9.8425"))
  464.     {
  465.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  466.         *InsertBlock: =InputBinConstraints
  467.         *InsertBlock: =OutputBinConstraints
  468.         *InsertBlock: =DuplexConstraints
  469.  
  470.         *switch: Orientation
  471.         {
  472.             *case: PORTRAIT
  473.             {
  474.                 *PrintableArea: PAIR(7744, 11408)   *% Using 7744, 11408 for imageable area
  475.                 *PrintableOrigin: PAIR(284, 200)
  476.                 *CursorOrigin: PAIR(284, 200)
  477.                 *Command: CmdSelect
  478.                 {
  479.                     *Order: DOC_SETUP.12
  480.                     *Cmd: "<1B>&l100a8c1E<1B>*p0x0Y<1B>*c0t4646x6844Y"
  481.                 }
  482.             }
  483.             *case: LANDSCAPE_CC90
  484.             {
  485.                 *PrintableArea: PAIR(7912, 11336)   *% Using 7912, 11336 for imageable area
  486.                 *PrintableOrigin: PAIR(200, 236)
  487.                 *CursorOrigin: PAIR(200, 11572)
  488.                 *Command: CmdSelect
  489.                 {
  490.                     *Order: DOC_SETUP.12
  491.                     *Cmd: "<1B>&l100a8c1E<1B>*p0x0Y<1B>*c0t6801x4747Y"
  492.                 }
  493.             }
  494.         }
  495.     }
  496.  
  497.     *Option: ENV_C5                                 *% physical page (7652, 10818 - 6.3779" x 9.0157"))
  498.     {
  499.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  500.         *InsertBlock: =InputBinConstraints
  501.         *InsertBlock: =OutputBinConstraints
  502.         *InsertBlock: =DuplexConstraints
  503.  
  504.         *switch: Orientation
  505.         {
  506.             *case: PORTRAIT
  507.             {
  508.                 *PrintableArea: PAIR(7084, 10416)   *% Using 10416 for imageable area
  509.                 *PrintableOrigin: PAIR(284, 200)
  510.                 *CursorOrigin: PAIR(284, 200)
  511.                 *Command: CmdSelect
  512.                 {
  513.                     *Order: DOC_SETUP.12
  514.                     *Cmd: "<1B>&l91a8c1E<1B>*p0x0Y<1B>*c0t4250x6249Y"
  515.                 }
  516.             }
  517.             *case: LANDSCAPE_CC90
  518.             {
  519.                 *PrintableArea: PAIR(7252, 10346)
  520.                 *PrintableOrigin: PAIR(200, 236)
  521.                 *CursorOrigin: PAIR(200, 10582)
  522.                 *Command: CmdSelect
  523.                 {
  524.                     *Order: DOC_SETUP.12
  525.                     *Cmd: "<1B>&l91a8c1E<1B>*p0x0Y<1B>*c0t6208x4352Y"
  526.                 }
  527.             }
  528.         }
  529.     }
  530.  
  531.     *Option: ENV_DL                                 *% physical page (5196, 10392 - 4.3307" x 8.6614")
  532.     {                                               
  533.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  534.         *InsertBlock: =InputBinConstraints
  535.         *InsertBlock: =OutputBinConstraints
  536.         *InsertBlock: =DuplexConstraints
  537.  
  538.         *switch: Orientation
  539.         {
  540.             *case: PORTRAIT
  541.             {
  542.                 *PrintableArea: PAIR(4628, 9992)
  543.                 *PrintableOrigin: PAIR(284, 200)
  544.                 *CursorOrigin: PAIR(284, 200)
  545.                 *Command: CmdSelect
  546.                 {
  547.                     *Order: DOC_SETUP.12
  548.                     *Cmd: "<1B>&l90a8c1E<1B>*p0x0Y<1B>*c0t2777x5995Y"
  549.                 }
  550.             }
  551.             *case: LANDSCAPE_CC90
  552.             {
  553.                 *PrintableArea: PAIR(4796, 9920)
  554.                 *PrintableOrigin: PAIR(200, 236)
  555.                 *CursorOrigin: PAIR(200, 10156)
  556.                 *Command: CmdSelect
  557.                 {
  558.                     *Order: DOC_SETUP.12
  559.                     *Cmd: "<1B>&l90a8c1E<1B>*p0x0Y<1B>*c0t5952x2878Y"
  560.                 }
  561.             }
  562.         }
  563.     }
  564.     *Option: ENV_MONARCH                            *% physical page (4648, 9000 - 3.875" x 7.50")
  565.     {                                               
  566.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  567.         *InsertBlock: =InputBinConstraints
  568.         *InsertBlock: =OutputBinConstraints
  569.         *InsertBlock: =DuplexConstraints
  570.  
  571.         *switch: Orientation
  572.         {
  573.             *case: PORTRAIT
  574.             {
  575.                 *PrintableArea: PAIR(4048, 8600)
  576.                 *PrintableOrigin: PAIR(300, 200)
  577.                 *CursorOrigin: PAIR(300, 200)
  578.                 *Command: CmdSelect
  579.                 {
  580.                     *Order: DOC_SETUP.12
  581.                     *Cmd: "<1B>&l80a8c1E<1B>*p0x0Y<1B>*c0t2429x5160Y"
  582.                 }
  583.             }
  584.             *case: LANDSCAPE_CC90
  585.             {
  586.                 *PrintableArea: PAIR(4248, 8520)
  587.                 *PrintableOrigin: PAIR(200, 240)
  588.                 *CursorOrigin: PAIR(200, 8760)
  589.                 *Command: CmdSelect
  590.                 {
  591.                     *Order: DOC_SETUP.12
  592.                     *Cmd: "<1B>&l80a8c1E<1B>*p0x0Y<1B>*c0t5112x2549Y"
  593.                 }
  594.             }
  595.         }
  596.     }
  597.  
  598.     *Option: EXECUTIVE                              *% physical page (8700, 12600 - 7.25" x 10.5"))
  599.     {
  600.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  601.         *InsertBlock: =InputBinConstraints
  602.  
  603.         *switch: Orientation
  604.         {
  605.             *case: PORTRAIT
  606.             {
  607.                 *PrintableArea: PAIR(8100, 12200)
  608.                 *PrintableOrigin: PAIR(300, 200)
  609.                 *CursorOrigin: PAIR(300, 200)
  610.                 *Command: CmdSelect
  611.                 {
  612.                     *Order: DOC_SETUP.12
  613.                     *Cmd: "<1B>&l1a8c1E<1B>*p0x0Y<1B>*c0t4860x7320Y"
  614.                 }
  615.             }
  616.             *case: LANDSCAPE_CC90
  617.             {
  618.                 *PrintableArea: PAIR(8300, 12120)
  619.                 *PrintableOrigin: PAIR(200, 240)
  620.                 *CursorOrigin: PAIR(200, 12360)
  621.                 *Command: CmdSelect
  622.                 {
  623.                     *Order: DOC_SETUP.12
  624.                     *Cmd: "<1B>&l1a8c1E<1B>*p0x0Y<1B>*c0t7272x4980Y"
  625.                 }
  626.             }
  627.         }
  628.     }
  629.  
  630.     *Option: LEGAL                                   *% physical page (10200, 16800 - 8.5" x 14.0"))
  631.     {
  632.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  633.  
  634.         *switch: Orientation
  635.         {
  636.             *case: PORTRAIT
  637.             {
  638.                 *PrintableArea: PAIR(9600, 16400)
  639.                 *PrintableOrigin: PAIR(300, 200)
  640.                 *CursorOrigin: PAIR(300, 200)
  641.                 *Command: CmdSelect
  642.                 {
  643.                     *Order: DOC_SETUP.12
  644.                     *Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t5760x9840Y"
  645.                 }
  646.             }
  647.             *case: LANDSCAPE_CC90
  648.             {
  649.                 *PrintableArea: PAIR(9800, 16320)
  650.                 *PrintableOrigin: PAIR(200, 240)
  651.                 *CursorOrigin: PAIR(200, 16560)
  652.                 *Command: CmdSelect
  653.                 {
  654.                     *Order: DOC_SETUP.12
  655.                     *Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t9792x5880Y"
  656.                 }
  657.             }
  658.         }
  659.     }
  660.  
  661.     *Option: LETTER
  662.     {
  663.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  664.  
  665.         *switch: Orientation
  666.         {
  667.             *case: PORTRAIT
  668.             {
  669.                 *PrintableArea: PAIR(9600, 12800)
  670.                 *PrintableOrigin: PAIR(300, 200)
  671.                 *CursorOrigin: PAIR(300, 200)
  672.                 *Command: CmdSelect
  673.                 {
  674.                     *Order: DOC_SETUP.12
  675.                     *Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t5760x7680Y"
  676.                 }
  677.             }
  678.             *case: LANDSCAPE_CC90
  679.             {
  680.                 *PrintableArea: PAIR(9800, 12720)
  681.                 *PrintableOrigin: PAIR(200, 240)
  682.                 *CursorOrigin: PAIR(200, 12960)
  683.                 *Command: CmdSelect
  684.                 {
  685.                     *Order: DOC_SETUP.12
  686.                     *Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t7632x5880Y"
  687.                 }
  688.             }
  689.         }
  690.     }
  691.  
  692.  
  693.     *Option: Max117x177                              *% physical page (14040, 21240 - 11.7" x 17.7")
  694.     {
  695.         *rcNameID: RESDLL.Pcl5res.262                *% Maximum 11.7 x 17.7
  696.         *PageDimensions: PAIR(14040, 21240)
  697.         *InsertBlock: =InputBinConstraints           *% 300 margins, printer prompts for correct size
  698.         *InsertBlock: =OutputBinConstraints          *% Line spacing 4d, imageable area
  699.         *InsertBlock: =DuplexConstraints             *% Picture Frame Anchor Point (*c0T) at end, 
  700.                                                      *% printer prompts for correct size
  701.         *switch: Orientation
  702.         {                                            
  703.             *case: PORTRAIT                          
  704.             {                                        
  705.                 *PrintableArea: PAIR(13440, 20640)   
  706.                 *PrintableOrigin: PAIR(300, 300)     
  707.                 *CursorOrigin: PAIR(300, 300)        
  708.                 *Command: CmdSelect
  709.                 {
  710.                     *Order: DOC_SETUP.12
  711.                     *Cmd: "<1B>&l101a8c4d1E<1B>*p0x0Y<1B>*c8064x12384Y<1B>*c0T"
  712.  
  713.                 }
  714.             }
  715.             *case: LANDSCAPE_CC90
  716.             { 
  717.                 *PrintableArea: PAIR(13440, 20640)
  718.                 *PrintableOrigin: PAIR(300, 300)
  719.                 *CursorOrigin: PAIR(300, 20940)
  720.                 *Command: CmdSelect
  721.                 {
  722.                   *Order: DOC_SETUP.12
  723.                   *Cmd: "<1B>&l101a8c4d1E<1B>*p0x0Y<1B>*c12384x8064Y<1B>*c0T"
  724.                 }
  725.             }
  726.         }
  727.     }
  728.  
  729.     *Option: STATEMENT                               *% physical page (6600, 10200 - 5.5" x 8.5"")
  730.     {
  731.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME         *% 300 margins, printer prompts for correct size
  732.         *InsertBlock: =InputBinConstraints           *% Line spacing 4d, imageable area
  733.         *InsertBlock: =OutputBinConstraints          *% Picture Frame Anchor Point (*c0T) at end, 
  734.         *InsertBlock: =DuplexConstraints             *% printer prompts for correct size
  735.  
  736.         *switch: Orientation
  737.         {                                            
  738.             *case: PORTRAIT                          
  739.             {                                        
  740.                 *PrintableArea: PAIR(6000, 9600)     
  741.                 *PrintableOrigin: PAIR(300, 300)     
  742.                 *CursorOrigin: PAIR(300, 300)        
  743.                 *Command: CmdSelect
  744.                 {
  745.                     *Order: DOC_SETUP.12
  746.                     *Cmd: "<1B>&l101a8c4d1E<1B>*p0x0Y<1B>*c3600x5760Y<1B>*c0T"
  747.                 }
  748.             }
  749.             *case: LANDSCAPE_CC90
  750.             {
  751.                 *PrintableArea: PAIR(6000, 9600)
  752.                 *PrintableOrigin: PAIR(300, 300)
  753.                 *CursorOrigin: PAIR(300, 9900)
  754.                 *Command: CmdSelect
  755.                 {
  756.                     *Order: DOC_SETUP.12
  757.                     *Cmd: "<1B>&l101a8c4d1E<1B>*p0x0Y<1B>*c5760x3600Y<1B>*c0T"
  758.                 }
  759.             }
  760.         }
  761.     }
  762.  
  763.     *Option: CUSTOMSIZE
  764.     {
  765.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  766.         *MinSize: PAIR(4632, 8988)                   *% min page ( 3.86" x  7.49")
  767.         *MaxSize: PAIR(14400, 22200)                 *% max page (12.00" x 18.50")
  768.         *MaxPrintableWidth: 14400
  769.         *MinLeftMargin: 100                          *% 300 margins, printer prompts for correct size
  770.         *CenterPrintable?: FALSE                     *% Line spacing 4d, imageable area
  771.         *InsertBlock: =DuplexConstraints             *% Picture Frame Anchor Point (*c0T) at end, 
  772.         *InsertBlock: =OutputBinConstraints          *% printer prompts for correct size
  773.         *InsertBlock: =InputBinConstraints           
  774.                                                      
  775.         *switch: Orientation                         
  776.         {                                            
  777.             *case: PORTRAIT                          
  778.             {
  779.                 *CustCursorOriginX:    %d{300}
  780.                 *CustCursorOriginY:    %d{300}
  781.                 *CustPrintableOriginX: %d{300}
  782.                 *CustPrintableOriginY: %d{300}
  783.                 *CustPrintableSizeX:   %d{PhysPaperWidth - 600}
  784.                 *CustPrintableSizeY:   %d{PhysPaperLength - 600}
  785.  
  786.                 *Command: CmdSelect
  787.                 {
  788.                     *Order: DOC_SETUP.12
  789.                     *Cmd: "<1B>&l101a8c4d1E<1B>*p0x0Y<1B>*c" %d{((PhysPaperWidth-600)*720)/1200} "x" %d{((PhysPaperLength-600)*720)/1200} "Y<1B>*c0T"
  790.                 }
  791.             }
  792.             *case: LANDSCAPE_CC90 
  793.             {                     
  794.  
  795.                 *CustCursorOriginX:    %d{300}
  796.                 *CustCursorOriginY:    %d{PhysPaperLength - 300}
  797.                 *CustPrintableOriginX: %d{300}
  798.                 *CustPrintableOriginY: %d{300}
  799.                 *CustPrintableSizeX:   %d{PhysPaperWidth - 600}
  800.                 *CustPrintableSizeY:   %d{PhysPaperLength - 600}
  801.  
  802.                 *Command: CmdSelect
  803.                 {
  804.                     *Order: DOC_SETUP.12
  805.                     *Cmd: "<1B>&l101a8c4d1E<1B>*p0x0Y<1B>*c" %d{((PhysPaperLength-600)*720)/1200} "x" %d{((PhysPaperWidth-600)*720)/1200} "Y<1B>*c0T"
  806.                 }
  807.             }
  808.         }
  809.     }
  810. }
  811.  
  812. *%-------------------------------------------------------------------------
  813. *% Paper Source - Form to Tray Assignment
  814. *%-------------------------------------------------------------------------
  815. *Feature: InputBin
  816. {
  817.     *rcNameID: =PAPER_SOURCE_DISPLAY
  818.     *Option: PRINTER_SELECT
  819.     {
  820.         *rcNameID: =IDS_PRINTER_AUTO_SELECT
  821.  
  822.         *Command: CmdSelect
  823.         {
  824.             *Order: DOC_SETUP.11
  825.             *Cmd: "<1B>&l7H"
  826.         }
  827.     }
  828.     *Option: TRAY1
  829.     {
  830.         *rcNameID: =IDS_TRAY1
  831.         *Command: CmdSelect
  832.         {
  833.             *Order: DOC_SETUP.11
  834.             *Cmd: "<1B>&l4H"
  835.         }
  836.     }
  837.     *Option: TRAY2
  838.     {
  839.         *rcNameID: =IDS_TRAY2
  840.         *Command: CmdSelect
  841.         {
  842.             *Order: DOC_SETUP.11
  843.             *Cmd: "<1B>&l1H"
  844.         }
  845.     }
  846.     *Option: TRAY3
  847.     {
  848.         *rcNameID: =IDS_TRAY3
  849.         *Command: CmdSelect
  850.         {
  851.             *Order: DOC_SETUP.11
  852.             *Cmd: "<1B>&l15H"
  853.         }
  854.     }
  855.  
  856.     *Option: TRAY4
  857.     {
  858.         *rcNameID: =IDS_TRAY4_2000
  859.         *Command: CmdSelect
  860.         {
  861.             *Order: DOC_SETUP.11
  862.             *Cmd: "<1B>&l8H"
  863.         }
  864.     }
  865.     *Option: MANUAL_FEED
  866.     {
  867.         *rcNameID: =IDS_MANUAL_FEED_TRAY1
  868.         *Command: CmdSelect
  869.         {
  870.             *Order: DOC_SETUP.11
  871.             *Cmd: "<1B>&l2H"
  872.         }
  873.     }
  874. }
  875.  
  876. *%-------------------------------------------------------------------------
  877. *% Installable Option - Tray 4
  878. *%-------------------------------------------------------------------------
  879. *Feature: OPTIONAL_TRAY4
  880. {
  881.     *rcNameID: =IDS_HIGH_CAPACITY_TRAY
  882.     *HelpIndex: 12001
  883.     *FeatureType: PRINTER_PROPERTY
  884.     *DefaultOption: FALSE
  885.     *Option: FALSE
  886.     {
  887.         *rcNameID: =IDS_NOTINSTALLED
  888.     }
  889.     *Option: TRUE
  890.     {
  891.         *rcNameID: =IDS_2000_SHEET_TRAY
  892.     }
  893. }
  894. *InvalidCombination: LIST(OPTIONAL_TRAY4.FALSE,InputBin.TRAY4)
  895.  
  896.  
  897. *%-------------------------------------------------------------------------
  898. *% Installable Option - Duplex
  899. *%-------------------------------------------------------------------------
  900. *Feature: DuplexUnit
  901. {
  902.     *FeatureType: PRINTER_PROPERTY
  903.     *rcNameID: RESDLL.Pcl5res.429
  904.     *HelpIndex: 12004
  905.     *DefaultOption: NotInstalled
  906.     *Option: NotInstalled
  907.     {
  908.         *rcNameID: =IDS_NOTINSTALLED
  909.         *DisabledFeatures: LIST(Duplex.VERTICAL,Duplex.HORIZONTAL)
  910.         *Constraints: LIST(Duplex.VERTICAL,Duplex.HORIZONTAL)
  911.     }
  912.  
  913.     *Option: Installed
  914.     {
  915.         *rcNameID: =IDS_INSTALLED
  916.     }
  917. }
  918.  
  919. *%-------------------------------------------------------------------------
  920. *% Installable Option - MultiBin Mailbox
  921. *%-------------------------------------------------------------------------
  922. *Feature: Option20
  923. {
  924.     *rcNameID: RESDLL.Pcl5res.582                   *% Accessory output bin
  925.     *HelpIndex: 12007
  926.     *FeatureType: PRINTER_PROPERTY
  927.     *DefaultOption: None
  928.  
  929.     *Option: None
  930.     {
  931.         *rcNameID: =IDS_NOTINSTALLED
  932.     }
  933.     *Option: MBM8
  934.     {
  935.         *rcNameID: =IDS_8BIN_MAILBOX
  936.     }
  937. }
  938.  
  939. *%-------------------------------------------------------------------------
  940. *% Installable Option - Mailbox Mode
  941. *%-------------------------------------------------------------------------
  942. *% The feature name "Option21" and the options "Mailbox", "Stacker"
  943. *% and "Separator" are keywords used by the mailbox extension
  944. *%-------------------------------------------------------------------------
  945. *Feature: Option21
  946. {
  947.     *rcNameID: RESDLL.Pcl5res.423          *% Mailbox Mode
  948.     *HelpIndex: 12015
  949.     *FeatureType: PRINTER_PROPERTY
  950.     *Option: MailboxModeMailbox
  951.     {
  952.         *rcNameID: RESDLL.Pcl5res.422      *% Mailbox
  953.     }
  954.     *Option: MailboxModeStacker
  955.     {
  956.         *rcNameID: RESDLL.Pcl5res.431      *% Stacker
  957.         *DisabledFeatures: LIST(Stapling)
  958.     }
  959.     *Option: MailboxModeSeparator
  960.     {
  961.         *rcNameID: RESDLL.Pcl5res.432      *% Job Separator
  962.         *DisabledFeatures: LIST(Stapling)
  963.     }
  964. }
  965.  
  966.  
  967. *%-------------------------------------------------------------------------
  968. *% Custom Feature - Installable Option - Hard Disk
  969. *%-------------------------------------------------------------------------
  970. *Feature: PrinterHardDisk
  971. {
  972.     *rcNameID: 181
  973.     *HelpIndex: 12002
  974.     *FeatureType: PRINTER_PROPERTY
  975.     *DefaultOption: FALSE
  976.     *Option: FALSE
  977.     {
  978.         *rcNameID: =IDS_NOTINSTALLED
  979.         *DisabledFeatures: LIST(Collate)
  980.     }
  981.     *Option: TRUE
  982.     {
  983.         *rcNameID: =IDS_INSTALLED
  984.     }
  985. }
  986.  
  987. *%-------------------------------------------------------------------------
  988. *%    Custom Feature - Job Retention
  989. *%-------------------------------------------------------------------------
  990. *Feature: JobRetention
  991. {
  992.     *rcNameID: 187
  993.     *HelpIndex: 12013
  994.     *FeatureType: PRINTER_PROPERTY
  995.     *DefaultOption: FALSE
  996.     *Option: FALSE
  997.     {
  998.         *rcNameID: 191
  999.     }
  1000.     *Option: TRUE
  1001.     {
  1002.         *rcNameID: 189
  1003.     }
  1004. }
  1005.  
  1006. *InvalidCombination: LIST(JobRetention.TRUE, PrinterHardDisk.FALSE)
  1007.  
  1008. *%-------------------------------------------------------------------------
  1009. *% JRConstraints will have an option value for full, none or partial
  1010. *% (1) JRCHDFull - the printer requires a Hard Disk for ALL JR options
  1011. *% (2) JRCHDPartial - the printer requires a HardDisk only for SOME JR options
  1012. *%                    These options will be specified in another custom feature
  1013. *% (3) JRCHDNone - the printer does NOT require a HardDisk for ANY JR options
  1014. *%-------------------------------------------------------------------------
  1015.  
  1016. *%-------------------------------------------------------------------------
  1017. *%    Printer Specific Feature Data - Job Retention Constraints
  1018. *%-------------------------------------------------------------------------
  1019. *Feature: JRConstraints
  1020. {
  1021.     *Name: "JRConstraints"
  1022.     *FeatureType: DOC_PROPERTY
  1023.     *DefaultOption: JRCHDPartial
  1024.     *Option: JRCHDPartial
  1025.     {
  1026.         *Name: "JRCHDPartial"
  1027.     }
  1028.     *Option: JRCJobRet
  1029.     {
  1030.         *Name: "JRCJobRet" 
  1031.     }
  1032.     *Option: 0
  1033.     {
  1034.         *Name: "0"
  1035.     }
  1036. }
  1037.  
  1038. *%-------------------------------------------------------------------------
  1039. *%    Printer Specific Feature Data - Job Retention Option Constraints
  1040. *%-------------------------------------------------------------------------
  1041.  
  1042. *%-------------------------------------------------------------------------
  1043. *%
  1044. *% Two JR Option constraint features are defined
  1045. *% (1) JRHDInstalled - This lists the JR options available when HD is installed
  1046. *% (2) JRHDNotInstalled - This lists the JR options available when HD is not installed
  1047. *%       The options are as follows - (in this order)
  1048. *%               (a) JRHDOff 
  1049. *%               (b) JRHDProof
  1050. *%               (c) JRHDPrivate
  1051. *%               (d) JRHDQuickCopy
  1052. *%               (e) JRHDStore
  1053. *% NOTE: The options are the same for both JRHDInstalled and JRHDNotInstalled
  1054. *%-------------------------------------------------------------------------
  1055. *Feature: JRHDInstalled
  1056. {
  1057.     *Name: "JRHDInstalled"
  1058.     *FeatureType: DOC_PROPERTY
  1059.     *DefaultOption: JRHDOff
  1060.     *Option: JRHDOff
  1061.     {
  1062.         *Name: "JRHDOff"
  1063.     }
  1064.     *Option: JRHDProof
  1065.     {
  1066.         *Name: "JRHDProof"
  1067.     }
  1068. }
  1069.  
  1070. *Feature: JRHDNotInstalled
  1071. {
  1072.     *Name: "JRHDNotInstalled"
  1073.     *FeatureType: DOC_PROPERTY
  1074.     *DefaultOption: JRHDOff
  1075.     *Option: JRHDOff
  1076.     {
  1077.         *Name: "JRHDOff"
  1078.     }
  1079. }
  1080.  
  1081. *%-------------------------------------------------------------------------
  1082. *% Custom Features for Color UI Tab
  1083. *%-------------------------------------------------------------------------
  1084. *Feature: HPPrinterCode
  1085. {
  1086.     *Name: "HPPrinterCode"
  1087.     *ConcealFromUI?: TRUE
  1088.     *FeatureType: DOC_PROPERTY
  1089.     *DefaultOption: HPC8500
  1090.  
  1091.     *Option: HPC8500
  1092.     {
  1093.         *Name: "HP Color LaserJet 8500 PCL"
  1094.     }
  1095.  
  1096. }
  1097.  
  1098. *Feature: HPColorMode
  1099. {
  1100.     *Name: "HPColorMode"
  1101.     *ConcealFromUI?: TRUE
  1102.     *FeatureType: DOC_PROPERTY
  1103.     *DefaultOption: COLOR_MODE
  1104.  
  1105.     *Option: COLOR_MODE
  1106.     {
  1107.         *Name: "Color Mode"
  1108.     }
  1109.  
  1110. }
  1111.  
  1112. *Feature: HPResolution
  1113. {
  1114.     *Name: "HPResolution"
  1115.     *ConcealFromUI?: TRUE
  1116.     *FeatureType: DOC_PROPERTY
  1117.     *DefaultOption: PDM_600DPI
  1118.  
  1119.     *Option: PDM_600DPI
  1120.     {
  1121.         *Name: "600x600"
  1122.     }
  1123.  
  1124. }
  1125.  
  1126. *Feature: HPTextHalftone
  1127. {
  1128.     *Name: "HPTextHalftone"
  1129.     *ConcealFromUI?: TRUE
  1130.     *FeatureType: DOC_PROPERTY
  1131.     *DefaultOption: TEXT_DETAIL
  1132.  
  1133.     *Option: TEXT_DETAIL
  1134.     {
  1135.         *Name: "Text Detail"
  1136.     }
  1137.  
  1138. }
  1139.  
  1140. *Feature: HPPhotoHalftone
  1141. {
  1142.     *Name: "HPPhotoHalftone"
  1143.     *ConcealFromUI?: TRUE
  1144.     *FeatureType: DOC_PROPERTY
  1145.     *DefaultOption: GRAPHICS_SMOOTH
  1146.  
  1147.     *Option: GRAPHICS_SMOOTH
  1148.     {
  1149.         *Name: "Graphics Smooth"
  1150.     }
  1151.  
  1152. }
  1153.  
  1154. *Feature: HPGraphicsHalftone
  1155. {
  1156.     *Name: "HPGraphicsHalftone"
  1157.     *ConcealFromUI?: TRUE
  1158.     *FeatureType: DOC_PROPERTY
  1159.     *DefaultOption: GRAPHICS_DETAIL
  1160.  
  1161.     *Option: GRAPHICS_DETAIL
  1162.     {
  1163.         *Name: "Graphics Detail"
  1164.     }
  1165.  
  1166. }
  1167.  
  1168. *Feature: HPTextColor
  1169. {
  1170.     *Name: "HPTextColor"
  1171.     *ConcealFromUI?: TRUE
  1172.     *FeatureType: DOC_PROPERTY
  1173.     *DefaultOption: VIVID
  1174.  
  1175.     *Option: VIVID
  1176.     {
  1177.         *Name: "Vivid"
  1178.     }
  1179.  
  1180. }
  1181.  
  1182. *Feature: HPPhotoColor
  1183. {
  1184.     *Name: "HPPhotoColor"
  1185.     *ConcealFromUI?: TRUE
  1186.     *FeatureType: DOC_PROPERTY
  1187.     *DefaultOption: VIVID
  1188.  
  1189.     *Option: VIVID
  1190.     {
  1191.         *Name: "Vivid"
  1192.     }
  1193.  
  1194. }
  1195.  
  1196. *Feature: HPGraphicsColor
  1197. {
  1198.     *Name: "HPGraphicsColor"
  1199.     *ConcealFromUI?: TRUE
  1200.     *FeatureType: DOC_PROPERTY
  1201.     *DefaultOption: VIVID
  1202.  
  1203.     *Option: VIVID
  1204.     {
  1205.         *Name: "Vivid"
  1206.     }
  1207.  
  1208. }
  1209.  
  1210. *Feature: HPGraphicsMode
  1211. {
  1212.     *Name: "HPGraphicsMode"
  1213.     *ConcealFromUI?: TRUE
  1214.     *FeatureType: DOC_PROPERTY
  1215.     *DefaultOption: HPGL2
  1216.  
  1217.     *Option: HPGL2
  1218.     {
  1219.         *Name: "HPGL2"
  1220.     }
  1221.  
  1222. }
  1223.  
  1224. *%-------------------------------------------------------------------------
  1225. *% Printer Specific Command Callback Data
  1226. *%-------------------------------------------------------------------------
  1227. *Feature: JRCmdCallback
  1228. {
  1229.     *Name: "JRCmdCallback"
  1230.     *ConcealFromUI?: TRUE
  1231.     *FeatureType: DOC_PROPERTY
  1232.     *DefaultOption: JR
  1233.     *Option: JR
  1234.     {
  1235.         *Name: "JR"
  1236.         *Command: CmdSelect
  1237.         {
  1238.             *Order: JOB_SETUP.2
  1239.             *CallbackID:1 
  1240.         }
  1241.     }
  1242. }
  1243.  
  1244.  
  1245. *%-------------------------------------------------------------------------
  1246. *% Printer Specific Feature Data - Printer Model Name - for About Tab
  1247. *%-------------------------------------------------------------------------
  1248. *Feature: HPPrinterModelName
  1249. {
  1250.     *Name: "HPPrinterModelName"
  1251.     *ConcealFromUI?:TRUE
  1252.     *FeatureType: DOC_PROPERTY
  1253.     *DefaultOption: HP_Color_LaserJet_8500_PCL
  1254.     *Option: HP_Color_LaserJet_8500_PCL
  1255.     {
  1256.         *Name: "HP Color LaserJet 8500 PCL"
  1257.     }
  1258. }
  1259.  
  1260. *%-------------------------------------------------------------------------
  1261. *% Installable Option - Memory
  1262. *%-------------------------------------------------------------------------
  1263. *Feature: Memory
  1264. {
  1265.     *rcNameID: =PRINTER_MEMORY_DISPLAY
  1266.     *HelpIndex: 12003
  1267.     *DefaultOption: 32MB
  1268.  
  1269.     *MemConfigMB: PAIR(32, 1)
  1270.     *MemConfigMB: PAIR(40, 1)
  1271.     *MemConfigMB: PAIR(48, 1)
  1272.     *MemConfigMB: PAIR(56, 1)
  1273.     *MemConfigMB: PAIR(64, 1)
  1274.     *MemConfigMB: PAIR(72, 1)
  1275.     *MemConfigMB: PAIR(80, 1)
  1276.     *MemConfigMB: PAIR(84, 1)
  1277.     *MemConfigMB: PAIR(88, 1)
  1278.     *MemConfigMB: PAIR(96, 1)
  1279.     *MemConfigMB: PAIR(104, 1)
  1280.     *MemConfigMB: PAIR(112, 1)
  1281.     *MemConfigMB: PAIR(120, 1)
  1282.     *MemConfigMB: PAIR(128, 2)
  1283.     *MemConfigMB: PAIR(136, 2)
  1284.     *MemConfigMB: PAIR(144, 2)
  1285.     *MemConfigMB: PAIR(152, 2)
  1286.     *MemConfigMB: PAIR(160, 2)
  1287.     *MemConfigMB: PAIR(168, 2)
  1288.     *MemConfigMB: PAIR(176, 2)
  1289.     *MemConfigMB: PAIR(184, 2)
  1290.     *MemConfigMB: PAIR(192, 2)
  1291.     *MemConfigMB: PAIR(200, 2)
  1292.     *MemConfigMB: PAIR(208, 2)
  1293.     *MemConfigMB: PAIR(224, 2)
  1294.     *MemConfigMB: PAIR(256, 3)
  1295. }
  1296.  
  1297.  
  1298. *%-------------------------------------------------------------------------
  1299. *% Orientation
  1300. *%-------------------------------------------------------------------------
  1301. *Feature: Orientation
  1302. {
  1303.     *rcNameID: =ORIENTATION_DISPLAY
  1304.     *DefaultOption: PORTRAIT
  1305.     *Option: PORTRAIT
  1306.     {
  1307.         *rcNameID: =PORTRAIT_DISPLAY
  1308.         *Command: CmdSelect
  1309.         {
  1310.             *Order: DOC_SETUP.8
  1311.             *NoPageEject?: TRUE
  1312.             *Cmd: "<1B>&l0o1E"
  1313.         }
  1314.     }
  1315.     *Option: LANDSCAPE_CC90
  1316.     {
  1317.         *rcNameID: =LANDSCAPE_DISPLAY
  1318.         *Command: CmdSelect
  1319.         {
  1320.             *Order: DOC_SETUP.8
  1321.             *NoPageEject?: TRUE
  1322.             *Cmd: "<1B>&l1o1E"
  1323.         }
  1324.     }
  1325. }
  1326.  
  1327.  
  1328. *%-------------------------------------------------------------------------
  1329. *% Duplex
  1330. *%-------------------------------------------------------------------------
  1331. *Feature: Duplex
  1332. {
  1333.     *rcNameID: =TWO_SIDED_PRINTING_DISPLAY
  1334.     *DefaultOption: NONE
  1335.     *Option: NONE
  1336.     {
  1337.         *rcNameID: =NONE_DISPLAY
  1338.         *Command: CmdSelect
  1339.         {
  1340.             *Order: DOC_SETUP.9
  1341.             *Cmd: "<1B>&l0S"
  1342.         }
  1343.     }
  1344.     *Option: VERTICAL
  1345.     {
  1346.         *rcNameID: =FLIP_ON_LONG_EDGE_DISPLAY
  1347.         *Command: CmdSelect
  1348.         {
  1349.             *Order: DOC_SETUP.10
  1350.             *Cmd: "<1B>&l1S"
  1351.         }
  1352.     }
  1353.     *Option: HORIZONTAL
  1354.     {
  1355.         *rcNameID: =FLIP_ON_SHORT_EDGE_DISPLAY
  1356.         *Command: CmdSelect
  1357.         {
  1358.             *Order: DOC_SETUP.10
  1359.             *Cmd: "<1B>&l2S"
  1360.         }
  1361.     }
  1362. }
  1363.  
  1364. *%-------------------------------------------------------------------------
  1365. *% Media Type
  1366. *%-------------------------------------------------------------------------
  1367. *Feature: MediaType
  1368. {
  1369.     *rcNameID: =MEDIA_TYPE_DISPLAY
  1370.     *DefaultOption: AUTO
  1371.     *Option: AUTO
  1372.     {
  1373.         *rcNameID: =IDS_AUTO_SELECT
  1374.         *Command: CmdSelect
  1375.         {
  1376.             *Order: DOC_SETUP.10
  1377.         }
  1378.     }
  1379.     *Option: BOND
  1380.     {
  1381.         *rcNameID: =IDS_BOND_TYPE
  1382.         *Command: CmdSelect
  1383.         {
  1384.             *Order: DOC_SETUP.10
  1385.             *Cmd: "<1B>&n5W<64>Bond"
  1386.         }
  1387.     }
  1388.     *Option: CARDSTOCK
  1389.     {
  1390.         *rcNameID: =IDS_CARDSTOCK_TYPE
  1391.         *Command: CmdSelect
  1392.         {
  1393.             *Order: DOC_SETUP.10
  1394.             *Cmd: "<1B>&n10W<64>Cardstock"
  1395.         }
  1396.         *InsertBlock: =InputBinConstraints
  1397.         *InsertBlock: =OutputBinConstraints
  1398.         *InsertBlock: =DuplexConstraints
  1399.     }
  1400.     *Option: COLOR
  1401.     {
  1402.         *rcNameID: =IDS_COLOR_TYPE
  1403.         *Command: CmdSelect
  1404.         {
  1405.             *Order: DOC_SETUP.10
  1406.             *Cmd: "<1B>&n6W<64>Color"
  1407.         }
  1408.     }
  1409.     *Option: ENVELOPE
  1410.     {
  1411.         *rcNameID: =IDS_ENVELOPE_TYPE
  1412.         *Command: CmdSelect
  1413.         {
  1414.             *Order: DOC_SETUP.10
  1415.             *Cmd: "<1B>&n9W<64>Envelope"
  1416.         }
  1417.         *InsertBlock: =InputBinConstraints
  1418.         *InsertBlock: =OutputBinConstraints
  1419.         *InsertBlock: =DuplexConstraints
  1420.     }
  1421.     *Option: GLOSS
  1422.     {
  1423.         *rcNameID: =IDS_GLOSS_TYPE
  1424.         *Command: CmdSelect
  1425.         {
  1426.             *Order: DOC_SETUP.10
  1427.             *Cmd: "<1B>&n7W<64>Glossy"
  1428.         }
  1429.     }
  1430.     *Option: HEAVY
  1431.     {
  1432.         *rcNameID: =IDS_HEAVY_28LB_TYPE
  1433.         *Command: CmdSelect
  1434.         {
  1435.             *Order: DOC_SETUP.10
  1436.             *Cmd: "<1B>&n6W<64>Heavy"
  1437.         }
  1438.         *InsertBlock: =InputBinConstraints
  1439.         *InsertBlock: =OutputBinConstraints
  1440.         *InsertBlock: =DuplexConstraints
  1441.     }
  1442.     *Option: LABELS
  1443.     {
  1444.         *rcNameID: =IDS_LABELS_TYPE
  1445.         *Command: CmdSelect
  1446.         {
  1447.             *Order: DOC_SETUP.10
  1448.             *Cmd: "<1B>&n7W<64>Labels"
  1449.         }
  1450.         *InsertBlock: =InputBinConstraints
  1451.         *InsertBlock: =OutputBinConstraints
  1452.         *InsertBlock: =DuplexConstraints
  1453.     }
  1454.     *Option: LETTERHEAD
  1455.     {
  1456.         *rcNameID: =IDS_LETTERHEAD_TYPE
  1457.         *Command: CmdSelect
  1458.         {
  1459.             *Order: DOC_SETUP.10
  1460.             *Cmd: "<1B>&n11W<64>Letterhead"
  1461.         }
  1462.     }
  1463.     *Option: PLAIN
  1464.     {
  1465.         *rcNameID: =IDS_PLAIN_TYPE
  1466.         *Command: CmdSelect
  1467.         {
  1468.             *Order: DOC_SETUP.10
  1469.             *Cmd: "<1B>&n6W<64>Plain"
  1470.         }
  1471.     }
  1472.     *Option: PREPRINTED
  1473.     {
  1474.         *rcNameID: =IDS_PREPRINTED_TYPE
  1475.         *Command: CmdSelect
  1476.         {
  1477.             *Order: DOC_SETUP.10
  1478.             *Cmd: "<1B>&n11W<64>Preprinted"
  1479.         }
  1480.     }
  1481.     *Option: PREPUNCHED
  1482.     {
  1483.         *rcNameID: =IDS_PREPUNCHED_TYPE
  1484.         *Command: CmdSelect
  1485.         {
  1486.             *Order: DOC_SETUP.10
  1487.             *Cmd: "<1B>&n11W<64>Prepunched"
  1488.         }
  1489.     }
  1490.     *Option: RECYCLED
  1491.     {
  1492.         *rcNameID: =IDS_RECYCLED_TYPE
  1493.         *Command: CmdSelect
  1494.         {
  1495.             *Order: DOC_SETUP.10
  1496.             *Cmd: "<1B>&n9W<64>Recycled"
  1497.         }
  1498.     }
  1499.     *Option: TRANSPARENCY
  1500.     {
  1501.         *rcNameID: =TRANSPARENCY_DISPLAY
  1502.         *Command: CmdSelect
  1503.         {
  1504.             *Order: DOC_SETUP.10
  1505.             *Cmd: "<1B>&n13W<64>Transparency"
  1506.         }
  1507.         *InsertBlock: =OutputBinConstraints
  1508.         *InsertBlock: =DuplexConstraints
  1509.         *Constraints: InputBin.TRAY4
  1510.     }
  1511.     *Option: 28_LB_TYPE1
  1512.     {
  1513.         *rcNameID: =IDS_28LB_TYPE1_TYPE
  1514.         *Command: CmdSelect
  1515.         {
  1516.             *Order: DOC_SETUP.10
  1517.             *Cmd: "<1B>&n10W<64>Type28lb1"
  1518.         }
  1519.     }
  1520.     *Option: 28_LB_TYPE2
  1521.     {
  1522.         *rcNameID: =IDS_28LB_TYPE2_TYPE
  1523.         *Command: CmdSelect
  1524.         {
  1525.             *Order: DOC_SETUP.10
  1526.             *Cmd: "<1B>&n10W<64>Type28lb2"
  1527.         }
  1528.     }
  1529. }
  1530.  
  1531. *%-------------------------------------------------------------------------
  1532. *% Printer supports collation only if PrinterHardDisk installed
  1533. *% (see CopyCmd and PrinterHardDisk)
  1534. *%-------------------------------------------------------------------------
  1535. *Feature: Collate
  1536. {
  1537.     *rcNameID: 392 
  1538.  
  1539.     *DefaultOption: OFF
  1540.     *Option: ON
  1541.     {
  1542.         *rcNameID: =ON_DISPLAY
  1543.         *switch: PrinterHardDisk
  1544.         {
  1545.             *case: FALSE
  1546.             {
  1547.                 *Command: CmdSelect
  1548.                 {
  1549.                     *Order: JOB_SETUP.5
  1550.                     *% Collate requested but no disk => printer collate disabled
  1551.                     *% Print Processor will take care of collated copies
  1552.                     *Cmd: ""
  1553.                 }
  1554.             }
  1555.             *case: TRUE
  1556.             {
  1557.                 *Command: CmdSelect
  1558.                 {
  1559.                     *Order: JOB_SETUP.5
  1560.                     *% Collate requested with disk => printer collate enabled
  1561.                     *% Printer will take care of collated copies
  1562.                     *Cmd: "@PJL SET QTY=" %d{NumOfCopies}"<0A>"
  1563.                 }
  1564.             }
  1565.         }
  1566.     }
  1567.     *Option: OFF
  1568.     {
  1569.         *rcNameID: =OFF_DISPLAY
  1570.         *Command: CmdSelect
  1571.         {
  1572.             *Order: JOB_SETUP.5
  1573.             *Cmd: ""
  1574.         }
  1575.     }
  1576. }
  1577.  
  1578. *%-------------------------------------------------------------------------
  1579. *% Resolution Feature - 600 dpi supported
  1580. *%-------------------------------------------------------------------------
  1581. *Feature: Resolution
  1582. {
  1583.     *rcNameID: =RESOLUTION_DISPLAY
  1584.     *DefaultOption: Option1
  1585.     *Option: Option1
  1586.     {
  1587.         *rcNameID: =IDS_600DPI
  1588.         *DPI: PAIR(600, 600)
  1589.         *TextDPI: PAIR(600, 600)
  1590.         *MinStripBlankPixels: 32
  1591.         EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  1592.         *SpotDiameter: 100
  1593.         *Command: CmdBeginRaster { *Cmd : "<1B>*v7S<1B>*r1A" }
  1594.         *Command: CmdEndRaster { *Cmd : "<1B>*rC" }
  1595.         *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  1596.         *Command: CmdSelect
  1597.         {
  1598.             *Order: JOB_SETUP.6
  1599.             *Cmd: "@PJL SET RESOLUTION=600<0A>"
  1600. +                 "@PJL ENTER LANGUAGE=PCL<0A0D1B>E<1B>*t600R"
  1601.         }
  1602.     }
  1603. }
  1604.  
  1605. *%-------------------------------------------------------------------------
  1606. *% The mailbox extension uses all of these output bins in this order
  1607. *%-------------------------------------------------------------------------
  1608. *Feature: OutputBin{*Option:Option1{}  *Option:Option2{}  *Option:Option3{}  *Option:Option4{}
  1609.                     *Option:Option5{}  *Option:Option6{}  *Option:Option7{}  *Option:Option8{} 
  1610.                     *Option:Option9{}  *Option:Option10{} *Option:Option11{} *Option:Option12{} 
  1611.                     *Option:Option13{} *Option:Option14{} *Option:Option15{} *Option:Option16{} 
  1612.                     *Option:Option17{}}
  1613.  
  1614. *Feature: OutputBin
  1615. {
  1616.     *rcNameID: =OUTPUTBIN_DISPLAY
  1617.     *HelpIndex: 12006
  1618.     *DefaultOption: Option1
  1619.     *Option: Option1
  1620.     {
  1621.         *% Auto Select
  1622.         *rcNameID: RESDLL.Pcl5res.271
  1623.         *Command: CmdSelect
  1624.         {
  1625.         }
  1626.     }
  1627.     *Option: Option2
  1628.     {
  1629.         *rcNameID: =IDS_TOP_BIN_FACE_DOWN
  1630.         *Command: CmdSelect
  1631.         {
  1632.             *Order: JOB_SETUP.5
  1633.             *Cmd: "@PJL SET OUTBIN=UPPER<0A>"
  1634.         }
  1635.     }
  1636.     *Option: Option3
  1637.     {
  1638.         *rcNameID: =IDS_LEFT_BIN_FACE_UP
  1639.         *OutputOrderReversed?:  TRUE         
  1640.         *Command: CmdSelect
  1641.         {
  1642.             *Order: JOB_SETUP.5
  1643.             *Cmd: "@PJL SET OUTBIN=LOWER<0A>"
  1644.         }
  1645.     }
  1646.     *Option: Option4
  1647.     {
  1648.         *rcNameID: =IDS_LEFT_BIN_FACE_UP
  1649.         *OutputOrderReversed?:  TRUE
  1650.         *Command: CmdSelect
  1651.         {
  1652.             *Order: JOB_SETUP.5
  1653.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN1<0A>"
  1654.         }
  1655.     }
  1656.     *Option: Option5
  1657.     {
  1658.         *rcNameID: RESDLL.Pcl5res.412                                       *% Mailbox 1
  1659.         *Command: CmdSelect
  1660.         {
  1661.             *Order: JOB_SETUP.5
  1662.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN2<0A>"
  1663.         }
  1664.     }
  1665.     *Option: Option6
  1666.     {
  1667.         *rcNameID: RESDLL.Pcl5res.413                                       *% Mailbox 2
  1668.         *Command: CmdSelect
  1669.         {
  1670.             *Order: JOB_SETUP.5
  1671.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN3<0A>"
  1672.         }
  1673.     }
  1674.     *Option: Option7
  1675.     {
  1676.         *rcNameID: RESDLL.Pcl5res.414                                       *% Mailbox 3
  1677.         *Command: CmdSelect
  1678.         {
  1679.             *Order: JOB_SETUP.5
  1680.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN4<0A>"
  1681.         }
  1682.     }
  1683.     *Option: Option8
  1684.     {
  1685.         *rcNameID: RESDLL.Pcl5res.415                                       *% Mailbox 4   
  1686.         *Command: CmdSelect
  1687.         {
  1688.             *Order: JOB_SETUP.5
  1689.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN5<0A>"
  1690.         }
  1691.     }
  1692.     *Option: Option9
  1693.     {
  1694.         *rcNameID: RESDLL.Pcl5res.416                                       *% Mailbox 5   
  1695.         *Command: CmdSelect
  1696.         {
  1697.             *Order: JOB_SETUP.5
  1698.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN6<0A>"
  1699.         }
  1700.     }
  1701.     *Option: Option10
  1702.     {
  1703.         *rcNameID: RESDLL.Pcl5res.417                                       *% Mailbox 6   
  1704.         *Command: CmdSelect
  1705.         {
  1706.             *Order: JOB_SETUP.5
  1707.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN7<0A>"
  1708.         }
  1709.     }
  1710.     *Option: Option11
  1711.     {
  1712.         *rcNameID: RESDLL.Pcl5res.418                                       *% Mailbox 7
  1713.         *Command: CmdSelect
  1714.         {
  1715.             *Order: JOB_SETUP.5
  1716.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN8<0A>"
  1717.         }
  1718.     }
  1719.     *Option: Option12
  1720.     {
  1721.         *rcNameID: RESDLL.Pcl5res.419                                       *% Mailbox 8
  1722.         *Command: CmdSelect
  1723.         {
  1724.             *Order: JOB_SETUP.5
  1725.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN9<0A>"
  1726.         }
  1727.     }
  1728.  
  1729.     *Option: Option13
  1730.     {
  1731.         *rcNameID: =IDS_STAPLER_BIN
  1732.         *Command: CmdSelect
  1733.         {
  1734.             *Order: JOB_SETUP.5
  1735.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN7<0A>@PJL SET FINISH=STAPLE<0A>"
  1736.         }
  1737.         *Constraints: LIST(MediaType.LABELS, MediaType.TRANSPARENCY)
  1738.     }
  1739.  
  1740.     *Option: Option14
  1741.     {
  1742.         *rcNameID: =IDS_STACKER_BIN
  1743.         *Command: CmdSelect
  1744.         {
  1745.             *Order: JOB_SETUP.5
  1746.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN2<0A>@PJL SET FINISH=NONE<0A>"
  1747.         }
  1748.     }
  1749.     *Option: Option15
  1750.     {
  1751.         *rcNameID: =IDS_JOB_SEPARATOR_BIN
  1752.         *Command: CmdSelect
  1753.         {
  1754.             *Order: JOB_SETUP.5
  1755.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN2<0A>"
  1756.         }
  1757.     }
  1758.     *Option: Option16
  1759.     {
  1760.         *rcNameID: =IDS_COLLATOR_BIN
  1761.         *Command: CmdSelect
  1762.         {
  1763.             *Order: JOB_SETUP.5
  1764.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN2<0A>"
  1765.         }
  1766.     }
  1767.     *Option: Option17
  1768.     {
  1769.         *rcNameID: =IDS_STACKER_BIN_STAPLED
  1770.         *switch: Stapling
  1771.         {
  1772.             *case: 1parallel
  1773.             {
  1774.                 *Command: CmdSelect
  1775.                 {
  1776.                     *Order: JOB_SETUP.5
  1777.                     *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN3<0A>@PJL SET FINISH=STAPLE<0A>@PJL SET STAPLEOPTION=ONE<0A>"
  1778.                 }
  1779.             }
  1780.             *case: 1diagonal
  1781.             {
  1782.                 *Command: CmdSelect
  1783.                 {
  1784.                     *Order: JOB_SETUP.5
  1785.                     *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN3<0A>@PJL SET FINISH=STAPLE<0A>@PJL SET STAPLEOPTION=ONEANGLED<0A>"
  1786.                 }
  1787.             }
  1788.             *case: 2parallel
  1789.             {                                               
  1790.                 *Command: CmdSelect
  1791.                 {
  1792.                     *Order: JOB_SETUP.5
  1793.                     *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN3<0A>@PJL SET FINISH=STAPLE<0A>@PJL SET STAPLEOPTION=TWO<0A>"
  1794.                 }
  1795.             }
  1796.             *case: 3parallel
  1797.             {
  1798.                 *Command: CmdSelect
  1799.                 {
  1800.                     *Order: JOB_SETUP.5
  1801.                     *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN3<0A>@PJL SET FINISH=STAPLE<0A>@PJL SET STAPLEOPTION=THREE<0A>"
  1802.                 }
  1803.             }
  1804.             *case: Stitching
  1805.             {
  1806.                 *Command: CmdSelect
  1807.                 {
  1808.                     *Order: JOB_SETUP.5
  1809.                     *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN3<0A>@PJL SET FINISH=STAPLE<0A>@PJL SET STAPLEOPTION=SIX<0A>"
  1810.                 }
  1811.             }
  1812.             *case: Custom
  1813.             {
  1814.                 *Command: CmdSelect
  1815.                 {
  1816.                     *Order: JOB_SETUP.5
  1817.                     *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN3<0A>@PJL SET FINISH=STAPLE<0A>PJL SET STAPLEOPTION=CUSTOM<0A>"
  1818.                 }
  1819.             }
  1820.       }
  1821.     }
  1822. }
  1823.  
  1824.  
  1825. *%-------------------------------------------------------------------------
  1826. *% The mailbox extension uses this Stapling feature
  1827. *% (needed even for printers not supporting this feature)
  1828. *%-------------------------------------------------------------------------
  1829. *Feature: Stapling
  1830. {
  1831.     *rcNameID: RESDLL.Pcl5res.433       
  1832.     *HelpIndex: 12008
  1833.     *DefaultOption: 1parallel
  1834.  
  1835.     *Option: 1parallel
  1836.     {
  1837.         *rcNameID: RESDLL.Pcl5res.630   
  1838.     }
  1839.     *Option: 1diagonal
  1840.     {
  1841.         *rcNameID: RESDLL.Pcl5res.631   
  1842.     }
  1843.     *Option: 2parallel
  1844.     {
  1845.         *rcNameID: RESDLL.Pcl5res.632   
  1846.     }
  1847.     *Option: 3parallel
  1848.     {
  1849.         *rcNameID: RESDLL.Pcl5res.633   
  1850.     }
  1851.     *Option: Stitching
  1852.     {
  1853.         *rcNameID: RESDLL.Pcl5res.634   
  1854.     }
  1855.     *Option: Custom
  1856.     {
  1857.         *rcNameID: RESDLL.Pcl5res.636   
  1858.     }
  1859. }
  1860.  
  1861.  
  1862. *%-------------------------------------------------------------------------
  1863. *% Installed HCO / OutputBin constraints
  1864. *%-------------------------------------------------------------------------
  1865. *InvalidCombination: LIST(Option20.MBM8, OutputBin.Option3)
  1866. *InvalidCombination: LIST(Option20.MBM8, OutputBin.Option13)
  1867. *InvalidCombination: LIST(Option20.MBM8, OutputBin.Option17)
  1868.  
  1869. *%-------------------------------------------------------------------------
  1870. *% Color Mode Commands
  1871. *%-------------------------------------------------------------------------
  1872. *ChangeColorModeOnDoc?: FALSE
  1873. *Feature: ColorMode
  1874. {
  1875.     *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  1876.     *HelpIndex: 12024
  1877.     *DefaultOption: 24bpp
  1878.     *Option: Mono
  1879.     {
  1880.         *rcNameID: =MONO_DISPLAY
  1881.         *DevNumOfPlanes: 1
  1882.         *DevBPP: 1
  1883.         *Color? : FALSE
  1884.         *Command: CmdSelect
  1885.         {
  1886.             *Order: PAGE_SETUP.16
  1887.             *Cmd: "<1B>&b1M"
  1888.         }
  1889.     }
  1890.     *Option: 24bpp
  1891.     {
  1892.         *rcNameID: =24BPP_DISPLAY
  1893.         *DevNumOfPlanes: 1
  1894.         *DevBPP: 24
  1895.         *DrvBPP: 24
  1896. *%      *Command: CmdEnableDRC { *Cmd : "<1B>*b3M" }
  1897.         *PaletteSize: 256
  1898.         *PaletteProgrammable? : TRUE
  1899.         *Command: CmdDefinePaletteEntry
  1900.         {
  1901.             *Cmd : "<1B>*v" %d{RedValue}"a"
  1902. +                            %d{GreenValue}"b"
  1903. +                            %d{BlueValue}"c"
  1904. +                            %d{PaletteIndexToProgram}"I"
  1905.         }
  1906.         *Command: CmdSelectPaletteEntry { *Cmd : "<1B>*v" %d{CurrentPaletteIndex}"S" }
  1907.         *Command: CmdSetSrcBmpWidth { *Cmd : "<1B>*r" %d{RasterDataWidthInBytes / 3}"S" }
  1908.         *Command: CmdSelect
  1909.         {
  1910.             *Order: PAGE_SETUP.16
  1911.             *Cmd: "<1B>*v1N<1B>*v1O<1B>*l184O<1B>*v6W<000308080808><1B>*v0a0b0c7i255a255b255c0I<1B>*o3W<060406>"
  1912.         }
  1913.     }
  1914. }
  1915.  
  1916.  
  1917.  
  1918. *%-------------------------------------------------------------------------
  1919. *% Halftoning Commands
  1920. *%-------------------------------------------------------------------------
  1921. *Feature: Halftone
  1922. {
  1923.     *rcNameID: =HALFTONING_DISPLAY
  1924.     *HelpIndex: 12025
  1925.     *DefaultOption: HT_PATSIZE_AUTO
  1926.     *Option: HT_PATSIZE_AUTO
  1927.     {
  1928.         *rcNameID: =HT_AUTO_SELECT_DISPLAY
  1929.     }
  1930.     *Option: HT_PATSIZE_SUPERCELL_M
  1931.     {
  1932.         *rcNameID: =HT_SUPERCELL_DISPLAY
  1933.     }
  1934.     *Option: HT_PATSIZE_6x6_M
  1935.     {
  1936.         *rcNameID: =HT_DITHER6X6_DISPLAY
  1937.     }
  1938.     *Option: HT_PATSIZE_8x8_M
  1939.     {
  1940.         *rcNameID: =HT_DITHER8X8_DISPLAY
  1941.     }
  1942. }
  1943.  
  1944.  
  1945. *%-------------------------------------------------------------------------
  1946. *% Doc setup commands
  1947. *%-------------------------------------------------------------------------
  1948. *Command: CmdStartDoc
  1949. {
  1950.     *Order: DOC_SETUP.7
  1951.     *Cmd: "<1B>&u600D<1B>*r0F"
  1952. }
  1953.  
  1954. *Command: CmdStartPage
  1955. {
  1956.     *Order: PAGE_SETUP.1
  1957.     *Cmd: "<1B>*b0M"
  1958. }
  1959.  
  1960. *%-------------------------------------------------------------------------
  1961. *% Job Setup
  1962. *%-------------------------------------------------------------------------
  1963. *Command: CmdStartJob
  1964. {
  1965.     *Order: JOB_SETUP.1
  1966.     *Cmd: "<1B>%%-12345X"
  1967. +         "@PJL COMMENT HP Color LaserJet 8500 PCL<0A>"
  1968. }
  1969.  
  1970. *Command: CmdEndJob
  1971. {
  1972.     *Order: JOB_FINISH.1
  1973.     *Cmd: "<1B>E<1B>%%-12345X"
  1974. }
  1975.  
  1976. *%-------------------------------------------------------------------------
  1977. *% Only set number of copies if printer collation is not possible.
  1978. *% This should mirror the setting of QTY (see *Feature: Collate).
  1979. *% That is if QTY is set, copies should be 1 else NumOfCopies.
  1980. *%-------------------------------------------------------------------------
  1981. *switch: Collate
  1982. {
  1983.     *case: OFF
  1984.     {
  1985.         *Command: CmdCopies
  1986.         {
  1987.             *Order: DOC_SETUP.8
  1988.             *% Uncollated copies!  Set copy count to NumOfCopies
  1989.             *Cmd: "<1B>&l" %d[1,999]{NumOfCopies}"X"
  1990.         }
  1991.     }
  1992.     *case: ON
  1993.     {
  1994.         *switch: PrinterHardDisk
  1995.         {
  1996.             *case: FALSE
  1997.             {
  1998.                 *Command: CmdCopies
  1999.                 {
  2000.                     *Order: DOC_SETUP.8
  2001.                     *% Collate requested but no disk => printer collate disabled
  2002.                     *% WordPad on Whistler does not handle single page documents correctly.  The
  2003.                     *% Printer hard disk switch ensures the user gets the requested copies.
  2004.                     *Cmd: "<1B>&l" %d[1,999]{NumOfCopies}"X"
  2005.                 }
  2006.             }
  2007.             *case: TRUE
  2008.             {
  2009.                 *Command: CmdCopies
  2010.                 {
  2011.                     *Order: DOC_SETUP.8
  2012.                     *% Collate requested with disk => printer collate enabled
  2013.                     *% Printer will take care of collated copies
  2014.                     *Cmd: "<1B>&l1X"
  2015.                 }
  2016.             }
  2017.         }
  2018.     }
  2019. }
  2020.  
  2021. *%-------------------------------------------------------------------------
  2022. *% Cursor and Page Control
  2023. *%-------------------------------------------------------------------------
  2024. *RotateCoordinate?: TRUE
  2025. *RotateRaster?: TRUE
  2026. *RotateFont?: TRUE
  2027. *TextCaps: LIST(TC_CR_90,TC_UA_ABLE)
  2028. *MemoryUsage: LIST(FONT, RASTER, VECTOR)
  2029. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  2030. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  2031. *XMoveThreshold: 0
  2032. *YMoveThreshold: 0
  2033.  
  2034. *XMoveUnit: 600
  2035. *YMoveUnit: 600
  2036. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{(DestX / 2) }"X" }
  2037. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d[0,9600]{max_repeat((DestXRel / 2) )}"X" }
  2038. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d[0,9600]{max_repeat((DestXRel / 2) )}"X" }
  2039. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{(DestY / 2) }"Y" }
  2040. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d[1,12600]{max_repeat((DestYRel / 2) )}"Y" }
  2041. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d[1,12600]{max_repeat((DestYRel / 2) )}"Y" }
  2042.  
  2043. *%-------------------------------------------------------------------------
  2044. *% These 3 commands are required.
  2045. *%-------------------------------------------------------------------------
  2046. *Command: CmdCR { *Cmd : "<0D>" }    *% Carraige Return
  2047. *Command: CmdLF { *Cmd : "<0A>" }    *% Line Feed
  2048. *Command: CmdFF { *Cmd : "<0C>" }    *% Form Feed -- Used also to eject a page.
  2049.  
  2050. *Command: CmdBackSpace { *Cmd : "<08>" }
  2051. *Command: CmdUniDirectionOn { *Cmd : "<00>" }
  2052. *Command: CmdUniDirectionOff { *Cmd : "<00>" }
  2053. *Command: CmdPushCursor { *Cmd : "<1B>&f0S" }
  2054. *Command: CmdPopCursor { *Cmd : "<1B>&f1S" }
  2055. *Command: CmdSetSimpleRotation { *Cmd : "<1B>&a" %d{PrintDirInCCDegrees}"P" }
  2056. *EjectPageWithFF?: TRUE
  2057.  
  2058. *%-------------------------------------------------------------------------
  2059. *% Compression Methods supported
  2060. *%-------------------------------------------------------------------------
  2061. *Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
  2062. *Command: CmdEnableDRC { *Cmd : "<1B>*b3M" }
  2063. *%*Command: CmdEnableFE_RLE { *Cmd : "<1B>*b1M" }
  2064. *Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
  2065.  
  2066. *OutputDataFormat: H_BYTE
  2067. *OptimizeLeftBound?: TRUE
  2068.  
  2069. *%-------------------------------------------------------------------------
  2070. *% Raster control
  2071. *%-------------------------------------------------------------------------
  2072. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  2073. *CursorYAfterSendBlockData: AUTO_INCREMENT
  2074.  
  2075. *%-------------------------------------------------------------------------
  2076. *% Font Control
  2077. *%-------------------------------------------------------------------------
  2078. *FontFormat: HPPCL_OUTLINE
  2079. *Command: CmdSetFontID { *Cmd : "<1B>*c" %d{NextFontID}"D" }
  2080. *Command: CmdSelectFontID { *Cmd : "<1B>(" %d{CurrentFontID}"X" }
  2081. *Command: CmdSetCharCode { *Cmd : "<1B>*c" %d{NextGlyph}"E" }
  2082. *Command: CmdUnderlineOn { *Cmd : "<1B>&d@" }
  2083. *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }
  2084. *Command: CmdWhiteTextOn { *Cmd : "<1B>*v1o1T" }
  2085. *Command: CmdWhiteTextOff { *Cmd : "<1B>*v0o0T" }
  2086. *Command: CmdSelectSingleByteMode { *Cmd : "<1B>&t0P" }
  2087. *Command: CmdSelectDoubleByteMode { *Cmd : "<1B>&t21P" }
  2088.  
  2089.  
  2090. *%-------------------------------------------------------------------------
  2091. *% Imaging Commands
  2092. *%-------------------------------------------------------------------------
  2093. *%*Command: CmdSetR3Code { *Cmd : "<1B>*l" %d{Rop3}"O" }
  2094.  
  2095. *%-------------------------------------------------------------------------
  2096. *% Color Palette commands
  2097. *%-------------------------------------------------------------------------
  2098. *Command: CmdDefinePaletteEntry { *Cmd : "<1B>*v" %d{RedValue}"a"
  2099. +                                                  %d{GreenValue}"b"
  2100. +                                                  %d{BlueValue}"c"
  2101. +                                                  %d{PaletteIndexToProgram}"I" }
  2102.  
  2103. *Command: CmdSelectPaletteEntry { *Cmd : "<1B>*v" %d{CurrentPaletteIndex}"S" }
  2104.  
  2105. *Command: CmdDownloadPattern {*Cmd: "<1B>*c" %d{PatternBrushID}"G" "<1B>*c" %d{PatternBrushSize}"W" }
  2106. *Command: CmdSelectPattern {*Cmd: "<1B>*c" %d{PatternBrushID}"G" "<1B>*v" %d{PatternBrushType}"T" }
  2107. *Command: CmdSelectWhiteBrush { *Cmd : "<1B>*v1o1T" }
  2108. *Command: CmdSelectBlackBrush { *Cmd : "<1B>*v0o0T" }
  2109.  
  2110. *%-------------------------------------------------------------------------
  2111. *% Vector Commands.
  2112. *%-------------------------------------------------------------------------
  2113. *MinGrayFill: 1
  2114. *MaxGrayFill: 100
  2115. *%*Command: CmdSetTransparencyMode { *Cmd : "<1B>*v0N" }
  2116. *%*Command: CmdSetOpaqueMode { *Cmd : "<1B>*v1N" }
  2117. *Command: CmdSetRectWidth { *Cmd : "<1B>*c" %d{RectXSize / 2}"A" }
  2118. *Command: CmdSetRectHeight { *Cmd : "<1B>*c" %d{RectYSize / 2}"B" }
  2119. *Command: CmdRectGrayFill { *Cmd : "<1B>*c" %d{GrayPercentage }"g2P" }
  2120. *Command: CmdRectWhiteFill { *Cmd : "<1B>*c1P" }
  2121. *Command: CmdRectBlackFill { *Cmd : "<1B>*c0P" }
  2122.