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

  1. *%
  2. *%  Core GPD file for RICOH PCL5e printer
  3. *%    Created:  1999/05/26
  4. *%    Modified: 2000/10/11
  5. *%
  6. *%    Copyright (c) 1999 - 2000 RICOH Co., Ltd.
  7. *%    All rights reserved.
  8. *%
  9. *Include: "TTFSUB.GPD"
  10. *Include: "RIAF5MAC.GPD"
  11. *MasterUnits: PAIR(1200, 1200)
  12. *ResourceDLL: "RIAFRES.DLL"
  13. *PrinterType: PAGE
  14. *MaxCopies: 999
  15. *rcInstalledOptionNameID: 330       *%%% "Installed"
  16. *rcNotInstalledOptionNameID: 329    *%%% "Not Installed"
  17.  
  18. *%======== Memory ========
  19. *Feature: Memory
  20. {
  21.     *rcNameID: =PRINTER_MEMORY_DISPLAY
  22.     *DefaultOption: 8192KB
  23.     *Option: 8192KB
  24.     {
  25.         *Name: "8MB"
  26.         *MemoryConfigKB: PAIR(8192, 6750)
  27.     }
  28. }
  29.  
  30. *%======== Finisher (custom feature) ========
  31. *Feature: Finisher
  32. {
  33.     *rcNameID: 287          *%%% "Finisher"
  34.     *FeatureType: PRINTER_PROPERTY
  35.     *DefaultOption: NotInstalled
  36.     *Option: NotInstalled
  37.     {
  38.         *rcNameID: 329
  39.         *Constraints: OutputBin.FinisherProofTray
  40.         *Constraints: OutputBin.FinisherShiftTray
  41.         *Constraints: Stapling.TopLeftSlant
  42.         *Constraints: Stapling.TopLeftVertical
  43.         *Constraints: Stapling.TopLeftHorizontal
  44.         *Constraints: Stapling.Top2
  45.         *Constraints: Stapling.Left2
  46.         *Constraints: Punching.Left
  47.         *Constraints: Punching.Top
  48.         *DisabledFeatures: LIST(Stapling)
  49.     }
  50.     *Option: Finisher1000
  51.     {
  52.         *rcNameID: 351          *%%% "Finisher 1000"
  53.         *Constraints: OutputBin.FinisherProofTray
  54.         *Constraints: Stapling.TopLeftVertical
  55.         *Constraints: Stapling.TopLeftHorizontal
  56.         *Constraints: Stapling.Top2
  57.         *Constraints: Stapling.Left2
  58.         *Constraints: Punching.Left
  59.         *Constraints: Punching.Top
  60.     }
  61.     *Option: Finisher3000
  62.     {
  63.         *rcNameID: 352          *%%% "Finisher 3000"
  64.         *Constraints: Punching.Left
  65.         *Constraints: Punching.Top
  66.     }
  67.     *Option: Finisher3000withPunchUnit
  68.     {
  69.         *rcNameID: 353          *%%% "Finisher 3000 with Punch Unit"
  70.     }
  71. }
  72.  
  73. *%======== Mailbox (custom feature) ========
  74. *Feature: Mailbox
  75. {
  76.     *rcNameID: 354          *%%% "Mailbox"
  77.     *FeatureType: PRINTER_PROPERTY
  78.     *DefaultOption: NotInstalled
  79.     *Option: NotInstalled
  80.     {
  81.         *rcNameID: 329
  82.         *Constraints: OutputBin.OutputBin1
  83.         *Constraints: OutputBin.OutputBin2
  84.         *Constraints: OutputBin.OutputBin3
  85.         *Constraints: OutputBin.OutputBin4
  86.         *Constraints: OutputBin.OutputBin5
  87.         *Constraints: OutputBin.OutputBin6
  88.         *Constraints: OutputBin.OutputBin7
  89.         *Constraints: OutputBin.OutputBin8
  90.         *Constraints: OutputBin.OutputBin9
  91.         *Constraints: OutputBin.MailboxProofTray
  92.     }
  93.     *Option: Installed
  94.     {
  95.         *rcNameID: 330
  96.     }
  97. }
  98. *InvalidCombination: LIST(Finisher.Finisher1000, Mailbox.Installed)
  99.  
  100. *IgnoreBlock
  101. {   *%%% Disabled ->
  102. *%======== External Output Tray (custom feature) ========
  103. *Feature: ExternalTray
  104. {
  105.     *rcNameID: 279          *%%% "External Tray"
  106.     *FeatureType: PRINTER_PROPERTY
  107.     *DefaultOption: NotInstalled
  108.     *Option: NotInstalled
  109.     {
  110.         *rcNameID: 329
  111.         *Constraints: OutputBin.ExternalTray
  112.     }
  113.     *Option: Installed
  114.     {
  115.         *rcNameID: 330
  116.     }
  117. }
  118. *InvalidCombination: LIST(Finisher.Finisher1000, ExternalTray.Installed)
  119. *InvalidCombination: LIST(Finisher.Finisher3000, ExternalTray.Installed)
  120. *InvalidCombination: LIST(Finisher.Finisher3000withPunchUnit, ExternalTray.Installed)
  121. *InvalidCombination: LIST(Mailbox.Installed, ExternalTray.Installed)
  122.  
  123. *%======== Inner Output Tray2 (custom feature) ========
  124. *Feature: InnerTray2
  125. {
  126.     *rcNameID: 356          *%%% "Inner Tray 2"
  127.     *FeatureType: PRINTER_PROPERTY
  128.     *DefaultOption: NotInstalled
  129.     *Option: NotInstalled
  130.     {
  131.         *rcNameID: 329
  132.         *Constraints: OutputBin.InnerTray2
  133.     }
  134.     *Option: Installed
  135.     {
  136.         *rcNameID: 330
  137.     }
  138. }
  139. }   *%%% Disabled <-
  140.  
  141. *%======== Orientation ========
  142. *Feature: Orientation
  143. {
  144.     *rcNameID: =ORIENTATION_DISPLAY
  145.     *DefaultOption: PORTRAIT
  146.     *Option: PORTRAIT
  147.     {
  148.         *rcNameID: =PORTRAIT_DISPLAY
  149.     }
  150.     *Option: LANDSCAPE_CC90
  151.     {
  152.         *rcNameID: =LANDSCAPE_DISPLAY
  153.     }
  154. }
  155.  
  156. *%======== InputBin ========
  157. *Macros: CmdStrings_InputBin
  158. {
  159.     PRECMD_INPUTBIN_PORT: "<1B>&l0O"
  160.     PRECMD_INPUTBIN_LAND: "<1B>&l1O"
  161. }
  162. *Feature: InputBin
  163. {
  164.     *rcNameID: =PAPER_SOURCE_DISPLAY
  165.     *DefaultOption: AUTO
  166.     *Option: AUTO
  167.     {
  168.         *rcNameID: 267          *%%% "Auto Select by Printer"
  169.         *switch: Orientation
  170.         {
  171.             *case: PORTRAIT
  172.             {
  173.                 *Command: CmdSelect
  174.                 {
  175.                     *Order: DOC_SETUP.30
  176.                     *NoPageEject?: TRUE
  177.                     *Cmd: =PRECMD_INPUTBIN_PORT "<1B>&l7H"
  178.                 }
  179.             }
  180.             *case: LANDSCAPE_CC90
  181.             {
  182.                 *Command: CmdSelect
  183.                 {
  184.                     *Order: DOC_SETUP.30
  185.                     *NoPageEject?: TRUE
  186.                     *Cmd: =PRECMD_INPUTBIN_LAND "<1B>&l7H"
  187.                 }
  188.             }
  189.         }
  190.     }
  191.     *Option: BypassTray
  192.     {
  193.         *rcNameID: 272          *%%% "Bypass Tray"
  194.         *switch: Orientation
  195.         {
  196.             *case: PORTRAIT
  197.             {
  198.                 *Command: CmdSelect
  199.                 {
  200.                     *Order: DOC_SETUP.30
  201.                     *NoPageEject?: TRUE
  202.                     *Cmd: =PRECMD_INPUTBIN_PORT "<1B>&l2H"
  203.                 }
  204.             }
  205.             *case: LANDSCAPE_CC90
  206.             {
  207.                 *Command: CmdSelect
  208.                 {
  209.                     *Order: DOC_SETUP.30
  210.                     *NoPageEject?: TRUE
  211.                     *Cmd: =PRECMD_INPUTBIN_LAND "<1B>&l2H"
  212.                 }
  213.             }
  214.         }
  215.     }
  216.     *Option: LARGECAPACITY
  217.     {
  218.         *rcNameID: 379          *%%% "Large Capacity Tray"
  219.         *Installable?: TRUE
  220.         *rcInstallableFeatureNameID: 379
  221.         *switch: Orientation
  222.         {
  223.             *case: PORTRAIT
  224.             {
  225.                 *Command: CmdSelect
  226.                 {
  227.                     *Order: DOC_SETUP.30
  228.                     *NoPageEject?: TRUE
  229.                     *Cmd: =PRECMD_INPUTBIN_PORT "<1B>&l5H"
  230.                 }
  231.             }
  232.             *case: LANDSCAPE_CC90
  233.             {
  234.                 *Command: CmdSelect
  235.                 {
  236.                     *Order: DOC_SETUP.30
  237.                     *NoPageEject?: TRUE
  238.                     *Cmd: =PRECMD_INPUTBIN_LAND "<1B>&l5H"
  239.                 }
  240.             }
  241.         }
  242.     }
  243.     *Option: Tray1
  244.     {
  245.         *rcNameID: 268          *%%% "Tray 1"
  246.         *switch: Orientation
  247.         {
  248.             *case: PORTRAIT
  249.             {
  250.                 *Command: CmdSelect
  251.                 {
  252.                     *Order: DOC_SETUP.30
  253.                     *NoPageEject?: TRUE
  254.                     *Cmd: =PRECMD_INPUTBIN_PORT "<1B>&l8H"
  255.                 }
  256.             }
  257.             *case: LANDSCAPE_CC90
  258.             {
  259.                 *Command: CmdSelect
  260.                 {
  261.                     *Order: DOC_SETUP.30
  262.                     *NoPageEject?: TRUE
  263.                     *Cmd: =PRECMD_INPUTBIN_LAND "<1B>&l8H"
  264.                 }
  265.             }
  266.         }
  267.     }
  268.     *Option: Tray2
  269.     {
  270.         *rcNameID: 269          *%%% "Tray 2"
  271.         *switch: Orientation
  272.         {
  273.             *case: PORTRAIT
  274.             {
  275.                 *Command: CmdSelect
  276.                 {
  277.                     *Order: DOC_SETUP.30
  278.                     *NoPageEject?: TRUE
  279.                     *Cmd: =PRECMD_INPUTBIN_PORT "<1B>&l1H"
  280.                 }
  281.             }
  282.             *case: LANDSCAPE_CC90
  283.             {
  284.                 *Command: CmdSelect
  285.                 {
  286.                     *Order: DOC_SETUP.30
  287.                     *NoPageEject?: TRUE
  288.                     *Cmd: =PRECMD_INPUTBIN_LAND "<1B>&l1H"
  289.                 }
  290.             }
  291.         }
  292.     }
  293.     *Option: Tray3
  294.     {
  295.         *rcNameID: 270          *%%% "Tray 3"
  296.         *Installable?: TRUE
  297.         *rcInstallableFeatureNameID: 270
  298.         *switch: Orientation
  299.         {
  300.             *case: PORTRAIT
  301.             {
  302.                 *Command: CmdSelect
  303.                 {
  304.                     *Order: DOC_SETUP.30
  305.                     *NoPageEject?: TRUE
  306.                     *Cmd: =PRECMD_INPUTBIN_PORT "<1B>&l4H"
  307.                 }
  308.             }
  309.             *case: LANDSCAPE_CC90
  310.             {
  311.                 *Command: CmdSelect
  312.                 {
  313.                     *Order: DOC_SETUP.30
  314.                     *NoPageEject?: TRUE
  315.                     *Cmd: =PRECMD_INPUTBIN_LAND "<1B>&l4H"
  316.                 }
  317.             }
  318.         }
  319.     }
  320.     *Option: Tray4
  321.     {
  322.         *rcNameID: 271          *%%% "Tray 4"
  323.         *Installable?: TRUE
  324.         *rcInstallableFeatureNameID: 271
  325.         *switch: Orientation
  326.         {
  327.             *case: PORTRAIT
  328.             {
  329.                 *Command: CmdSelect
  330.                 {
  331.                     *Order: DOC_SETUP.30
  332.                     *NoPageEject?: TRUE
  333.                     *Cmd: =PRECMD_INPUTBIN_PORT "<1B>&l30H"
  334.                 }
  335.             }
  336.             *case: LANDSCAPE_CC90
  337.             {
  338.                 *Command: CmdSelect
  339.                 {
  340.                     *Order: DOC_SETUP.30
  341.                     *NoPageEject?: TRUE
  342.                     *Cmd: =PRECMD_INPUTBIN_LAND "<1B>&l30H"
  343.                 }
  344.             }
  345.         }
  346.     }
  347. }
  348.  
  349. *%======== MediaType ========
  350. *Feature: MediaType
  351. {
  352.     *rcNameID: =MEDIA_TYPE_DISPLAY
  353.     *DefaultOption: STANDARD
  354.     *Option: STANDARD
  355.     {
  356.         *rcNameID: =PLAIN_PAPER_DISPLAY
  357.         *Command: CmdSelect
  358.         {
  359.             *Order: JOB_SETUP.80
  360.             *Cmd: "@PJL SET FUSERCONTROL=PLAINPAPER<0A>"
  361.         }
  362.     }
  363.     *Option: TRANSPARENCY
  364.     {
  365.         *rcNameID: =TRANSPARENCY_DISPLAY
  366.         *Command: CmdSelect
  367.         {
  368.             *Order: JOB_SETUP.80
  369.             *Cmd: "@PJL SET FUSERCONTROL=TRANSPARENCY<0A>"
  370.         }
  371.     }
  372.     *Option: ThickPaper         *%%% custom option
  373.     {
  374.         *rcNameID: 378          *%%% "Thick Paper"
  375.         *Command: CmdSelect
  376.         {
  377.             *Order: JOB_SETUP.80
  378.             *Cmd: "@PJL SET FUSERCONTROL=THICK<0A>"
  379.         }
  380.     }
  381. }
  382. *InvalidCombination: LIST(InputBin.AUTO, MediaType.ThickPaper)
  383. *InvalidCombination: LIST(InputBin.AUTO, MediaType.TRANSPARENCY)
  384. *InvalidCombination: LIST(InputBin.LARGECAPACITY, MediaType.ThickPaper)
  385. *InvalidCombination: LIST(InputBin.LARGECAPACITY, MediaType.TRANSPARENCY)
  386. *InvalidCombination: LIST(InputBin.Tray1, MediaType.ThickPaper)
  387. *InvalidCombination: LIST(InputBin.Tray1, MediaType.TRANSPARENCY)
  388. *InvalidCombination: LIST(InputBin.Tray2, MediaType.ThickPaper)
  389. *InvalidCombination: LIST(InputBin.Tray2, MediaType.TRANSPARENCY)
  390. *InvalidCombination: LIST(InputBin.Tray3, MediaType.ThickPaper)
  391. *InvalidCombination: LIST(InputBin.Tray3, MediaType.TRANSPARENCY)
  392. *InvalidCombination: LIST(InputBin.Tray4, MediaType.ThickPaper)
  393. *InvalidCombination: LIST(InputBin.Tray4, MediaType.TRANSPARENCY)
  394.  
  395. *%======== Resolution ========
  396. *Feature: Resolution
  397. {
  398.     *rcNameID: =RESOLUTION_DISPLAY
  399.     *DefaultOption: 600dpi
  400.     *Option: 600dpi
  401.     {
  402.         *rcNameID: 395          *%%% "600 dpi"
  403.         *DPI: PAIR(600, 600)
  404.         *TextDPI: PAIR(600, 600)
  405.         *MinStripBlankPixels: 32
  406.         EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  407.         *SpotDiameter: 100
  408.         *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  409.         *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  410.         *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  411.         *Command: CmdSelect
  412.         {
  413.             *Order: JOB_SETUP.90
  414.             *Cmd: "@PJL SET RESOLUTION=600<0A>@PJL ENTER LANGUAGE=PCL<0A0D1B>E<1B>*t600R"
  415.         }
  416.     }
  417.     *Option: 300dpi
  418.     {
  419.         *rcNameID: 396          *%%% "300 dpi"
  420.         *DPI: PAIR(300, 300)
  421.         *TextDPI: PAIR(300, 300)
  422.         *MinStripBlankPixels: 32
  423.         EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  424.         *SpotDiameter: 100
  425.         *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  426.         *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  427.         *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  428.         *Command: CmdSelect
  429.         {
  430.             *Order: JOB_SETUP.90
  431.             *Cmd: "@PJL SET RESOLUTION=300<0A>@PJL ENTER LANGUAGE=PCL<0A0D1B>E<1B>*t300R"
  432.         }
  433.     }
  434. }
  435.  
  436. *%======== PaperSize ========
  437. *Feature: PaperSize
  438. {
  439.     *rcNameID: =PAPER_SIZE_DISPLAY
  440.     *DefaultOption: LETTER
  441.     *Option: 11X17
  442.     {
  443.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  444.         *switch: Orientation
  445.         {
  446.             *case: PORTRAIT
  447.             {
  448.                 *PrintableArea: PAIR(12600, 19800)
  449.                 *PrintableOrigin: PAIR(300, 300)
  450.                 *CursorOrigin: PAIR(300, 200)
  451.                 *Command: CmdSelect
  452.                 {
  453.                     *Order: DOC_SETUP.40
  454.                     *Cmd: "<1B>&l6a8c1E<1B>*p0x0Y<1B>*c0t7560x12000Y"
  455.                 }
  456.             }
  457.             *case: LANDSCAPE_CC90
  458.             {
  459.                 *PrintableArea: PAIR(12600, 19800)
  460.                 *PrintableOrigin: PAIR(300, 300)
  461.                 *CursorOrigin: PAIR(200, 20100)
  462.                 *Command: CmdSelect
  463.                 {
  464.                     *Order: DOC_SETUP.40
  465.                     *Cmd: "<1B>&l6a8c1E<1B>*p0x0Y<1B>*c0t11880x7680Y"
  466.                 }
  467.             }
  468.         }
  469.     }
  470.     *Option: LETTER
  471.     {
  472.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  473.         *switch: Orientation
  474.         {
  475.             *case: PORTRAIT
  476.             {
  477.                 *PrintableArea: PAIR(9600, 12648)
  478.                 *PrintableOrigin: PAIR(300, 300)
  479.                 *CursorOrigin: PAIR(300, 180)
  480.                 *Command: CmdSelect
  481.                 {
  482.                     *Order: DOC_SETUP.40
  483.                     *Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t5760x7704Y"
  484.                 }
  485.             }
  486.             *case: LANDSCAPE_CC90
  487.             {
  488.                 *PrintableArea: PAIR(9760, 12688)
  489.                 *PrintableOrigin: PAIR(200, 272)
  490.                 *CursorOrigin: PAIR(200, 12960)
  491.                 *Command: CmdSelect
  492.                 {
  493.                     *Order: DOC_SETUP.40
  494.                     *Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t7632x5880Y"
  495.                 }
  496.             }
  497.         }
  498.     }
  499.     *Option: LEGAL
  500.     {
  501.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  502.         *switch: Orientation
  503.         {
  504.             *case: PORTRAIT
  505.             {
  506.                 *PrintableArea: PAIR(9600, 16248)
  507.                 *PrintableOrigin: PAIR(300, 300)
  508.                 *CursorOrigin: PAIR(300, 180)
  509.                 *Command: CmdSelect
  510.                 {
  511.                     *Order: DOC_SETUP.40
  512.                     *Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t5760x9864Y"
  513.                 }
  514.             }
  515.             *case: LANDSCAPE_CC90
  516.             {
  517.                 *PrintableArea: PAIR(9760, 16284)
  518.                 *PrintableOrigin: PAIR(200, 276)
  519.                 *CursorOrigin: PAIR(200, 16560)
  520.                 *Command: CmdSelect
  521.                 {
  522.                     *Order: DOC_SETUP.40
  523.                     *Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t9792x5880Y"
  524.                 }
  525.             }
  526.         }
  527.     }
  528.     *Option: EXECUTIVE
  529.     {
  530.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  531.         *switch: Orientation
  532.         {
  533.             *case: PORTRAIT
  534.             {
  535.                 *PrintableArea: PAIR(8100, 12048)
  536.                 *PrintableOrigin: PAIR(300, 300)
  537.                 *CursorOrigin: PAIR(300, 180)
  538.                 *Command: CmdSelect
  539.                 {
  540.                     *Order: DOC_SETUP.40
  541.                     *Cmd: "<1B>&l1a8c1E<1B>*p0x0Y<1B>*c0t4860x7344Y"
  542.                 }
  543.             }
  544.             *case: LANDSCAPE_CC90
  545.             {
  546.                 *PrintableArea: PAIR(8220, 12080)
  547.                 *PrintableOrigin: PAIR(240, 280)
  548.                 *CursorOrigin: PAIR(200, 12360)
  549.                 *Command: CmdSelect
  550.                 {
  551.                     *Order: DOC_SETUP.40
  552.                     *Cmd: "<1B>&l1a8c1E<1B>*p0x0Y<1B>*c0t7272x4980Y"
  553.                 }
  554.             }
  555.         }
  556.     }
  557.     *Option: STATEMENT
  558.     {
  559.         *rcNameID: 394          *%%% "5.5x8.5"
  560.         *switch: Orientation
  561.         {
  562.             *case: PORTRAIT
  563.             {
  564.                 *PrintableArea: PAIR(6000, 9600)
  565.                 *PrintableOrigin: PAIR(300, 300)
  566.                 *CursorOrigin: PAIR(300, 180)
  567.                 *Command: CmdSelect
  568.                 {
  569.                     *Order: DOC_SETUP.40
  570.                     *Cmd: "<1B>&l2008a8c1E<1B>*p0x0Y<1B>*c0t3618x5778Y"
  571.                 }
  572.             }
  573.             *case: LANDSCAPE_CC90
  574.             {
  575.                 *PrintableArea: PAIR(6000, 9600)
  576.                 *PrintableOrigin: PAIR(300, 300)
  577.                 *CursorOrigin: PAIR(200, 9900)
  578.                 *Command: CmdSelect
  579.                 {
  580.                     *Order: DOC_SETUP.40
  581.                     *Cmd: "<1B>&l2008a8c1E<1B>*p0x0Y<1B>*c0t5778x3618Y"
  582.                 }
  583.             }
  584.         }
  585.     }
  586.     *Option: A3
  587.     {
  588.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  589.         *switch: Orientation
  590.         {
  591.             *case: PORTRAIT
  592.             {
  593.                 *PrintableArea: PAIR(13428, 19308)
  594.                 *PrintableOrigin: PAIR(300, 300)
  595.                 *CursorOrigin: PAIR(300, 180)
  596.                 *Command: CmdSelect
  597.                 {
  598.                     *Order: DOC_SETUP.40
  599.                     *Cmd: "<1B>&l27a8c1E<1B>*p0x0Y<1B>*c0t8057x11693Y"
  600.                 }
  601.             }
  602.             *case: LANDSCAPE_CC90
  603.             {
  604.                 *PrintableArea: PAIR(13588, 19368)
  605.                 *PrintableOrigin: PAIR(200, 240)
  606.                 *CursorOrigin: PAIR(200, 19608)
  607.                 *Command: CmdSelect
  608.                 {
  609.                     *Order: DOC_SETUP.40
  610.                     *Cmd: "<1B>&l27a8c1E<1B>*p0x0Y<1B>*c0t11621x8177Y"
  611.                 }
  612.             }
  613.         }
  614.     }
  615.     *Option: A4
  616.     {
  617.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  618.         *switch: Orientation
  619.         {
  620.             *case: PORTRAIT
  621.             {
  622.                 *PrintableArea: PAIR(9292, 13476)
  623.                 *PrintableOrigin: PAIR(300, 300)
  624.                 *CursorOrigin: PAIR(300, 180)
  625.                 *Command: CmdSelect
  626.                 {
  627.                     *Order: DOC_SETUP.40
  628.                     *Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t5594x8201Y"
  629.                 }
  630.             }
  631.             *case: LANDSCAPE_CC90
  632.             {
  633.                 *PrintableArea: PAIR(9464, 13516)
  634.                 *PrintableOrigin: PAIR(220, 272)
  635.                 *CursorOrigin: PAIR(200, 13788)
  636.                 *Command: CmdSelect
  637.                 {
  638.                     *Order: DOC_SETUP.40
  639.                     *Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t8129x5714Y"
  640.                 }
  641.             }
  642.         }
  643.     }
  644.     *Option: A5
  645.     {
  646.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  647.         *switch: Orientation
  648.         {
  649.             *case: PORTRAIT
  650.             {
  651.                 *PrintableArea: PAIR(6416, 9420)
  652.                 *PrintableOrigin: PAIR(300, 300)
  653.                 *CursorOrigin: PAIR(300, 180)
  654.                 *Command: CmdSelect
  655.                 {
  656.                     *Order: DOC_SETUP.40
  657.                     *Cmd: "<1B>&l2000a8c1E<1B>*p0x0Y<1B>*c0t3868x5670Y"
  658.                 }
  659.             }
  660.             *case: LANDSCAPE_CC90
  661.             {
  662.                 *PrintableArea: PAIR(6416, 9420)
  663.                 *PrintableOrigin: PAIR(280, 204)
  664.                 *CursorOrigin: PAIR(200, 9624)
  665.                 *Command: CmdSelect
  666.                 {
  667.                     *Order: DOC_SETUP.40
  668.                     *Cmd: "<1B>&l2000a8c1E<1B>*p0x0Y<1B>*c0t5670x3868Y"
  669.                 }
  670.             }
  671.         }
  672.     }
  673.     *Option: A6
  674.     {
  675.         *rcNameID: 259          *%%% "A6"
  676.         *PageDimensions: PAIR(4956, 6996)
  677.         *switch: Orientation
  678.         {
  679.             *case: PORTRAIT
  680.             {
  681.                 *PrintableArea: PAIR(4360, 6416)
  682.                 *PrintableOrigin: PAIR(300, 300)
  683.                 *CursorOrigin: PAIR(300, 180)
  684.                 *Command: CmdSelect
  685.                 {
  686.                     *Order: DOC_SETUP.40
  687.                     *Cmd: "<1B>&l2001a8c1E<1B>*p0x0Y<1B>*c0t2634x3868Y"
  688.                 }
  689.             }
  690.             *case: LANDSCAPE_CC90
  691.             {
  692.                 *PrintableArea: PAIR(4360, 6416)
  693.                 *PrintableOrigin: PAIR(296, 280)
  694.                 *CursorOrigin: PAIR(200, 6696)
  695.                 *Command: CmdSelect
  696.                 {
  697.                     *Order: DOC_SETUP.40
  698.                     *Cmd: "<1B>&l2001a8c1E<1B>*p0x0Y<1B>*c0t3868x2634Y"
  699.                 }
  700.             }
  701.         }
  702.     }
  703.     *Option: B4
  704.     {
  705.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  706.         *switch: Orientation
  707.         {
  708.             *case: PORTRAIT
  709.             {
  710.                 *PrintableArea: PAIR(11544, 16656)
  711.                 *PrintableOrigin: PAIR(300, 300)
  712.                 *CursorOrigin: PAIR(300, 180)
  713.                 *Command: CmdSelect
  714.                 {
  715.                     *Order: DOC_SETUP.40
  716.                     *Cmd: "<1B>&l46a8c1E<1B>*p0x0Y<1B>*c0t6926x10102Y"
  717.                 }
  718.             }
  719.             *case: LANDSCAPE_CC90
  720.             {
  721.                 *PrintableArea: PAIR(11704, 16716)
  722.                 *PrintableOrigin: PAIR(200, 240)
  723.                 *CursorOrigin: PAIR(200, 16956)
  724.                 *Command: CmdSelect
  725.                 {
  726.                     *Order: DOC_SETUP.40
  727.                     *Cmd: "<1B>&l46a8c1E<1B>*p0x0Y<1B>*c0t10030x7046Y"
  728.                 }
  729.             }
  730.         }
  731.     }
  732.     *Option: B5
  733.     {
  734.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  735.         *switch: Orientation
  736.         {
  737.             *case: PORTRAIT
  738.             {
  739.                 *PrintableArea: PAIR(8004, 11604)
  740.                 *PrintableOrigin: PAIR(300, 300)
  741.                 *CursorOrigin: PAIR(300, 180)
  742.                 *Command: CmdSelect
  743.                 {
  744.                     *Order: DOC_SETUP.40
  745.                     *Cmd: "<1B>&l45a8c1E<1B>*p0x0Y<1B>*c0t4802x7070Y"
  746.                 }
  747.             }
  748.             *case: LANDSCAPE_CC90
  749.             {
  750.                 *PrintableArea: PAIR(8144, 11664)
  751.                 *PrintableOrigin: PAIR(220, 240)
  752.                 *CursorOrigin: PAIR(200, 11904)
  753.                 *Command: CmdSelect
  754.                 {
  755.                     *Order: DOC_SETUP.40
  756.                     *Cmd: "<1B>&l45a8c1E<1B>*p0x0Y<1B>*c0t6998x4922Y"
  757.                 }
  758.             }
  759.         }
  760.     }
  761.     *Option: GovernmentLegal
  762.     {
  763.         *rcNameID: 393          *%%% "8x13"
  764.         *PageDimensions: PAIR(9600, 15600)
  765.         *switch: Orientation
  766.         {
  767.             *case: PORTRAIT
  768.             {
  769.                 *PrintableArea: PAIR(9000, 15000)
  770.                 *PrintableOrigin: PAIR(300, 300)
  771.                 *CursorOrigin: PAIR(300, 180)
  772.                 *Command: CmdSelect
  773.                 {
  774.                     *Order: DOC_SETUP.40
  775.                     *Cmd: "<1B>&l2011a8c1E<1B>*p0x0Y<1B>*c0t5418x9018Y"
  776.                 }
  777.             }
  778.             *case: LANDSCAPE_CC90
  779.             {
  780.                 *PrintableArea: PAIR(9000, 15000)
  781.                 *PrintableOrigin: PAIR(300, 300)
  782.                 *CursorOrigin: PAIR(200, 15300)
  783.                 *Command: CmdSelect
  784.                 {
  785.                     *Order: DOC_SETUP.40
  786.                     *Cmd: "<1B>&l2011a8c1E<1B>*p0x0Y<1B>*c0t9018x5418Y"
  787.                 }
  788.             }
  789.         }
  790.     }
  791.     *Option: Foolscap
  792.     {
  793.         *rcNameID: 392          *%%% "8.25x13"
  794.         *PageDimensions: PAIR(9900, 15600)
  795.         *switch: Orientation
  796.         {
  797.             *case: PORTRAIT
  798.             {
  799.                 *PrintableArea: PAIR(9300, 15000)
  800.                 *PrintableOrigin: PAIR(300, 300)
  801.                 *CursorOrigin: PAIR(300, 180)
  802.                 *Command: CmdSelect
  803.                 {
  804.                     *Order: DOC_SETUP.40
  805.                     *Cmd: "<1B>&l2012a8c1E<1B>*p0x0Y<1B>*c0t5598x9018Y"
  806.                 }
  807.             }
  808.             *case: LANDSCAPE_CC90
  809.             {
  810.                 *PrintableArea: PAIR(9300, 15000)
  811.                 *PrintableOrigin: PAIR(300, 300)
  812.                 *CursorOrigin: PAIR(200, 15300)
  813.                 *Command: CmdSelect
  814.                 {
  815.                     *Order: DOC_SETUP.40
  816.                     *Cmd: "<1B>&l2012a8c1E<1B>*p0x0Y<1B>*c0t9018x5598Y"
  817.                 }
  818.             }
  819.         }
  820.     }
  821.     *Option: FOLIO
  822.     {
  823.         *rcNameID: 391          *%%% "8.5x13"
  824.         *switch: Orientation
  825.         {
  826.             *case: PORTRAIT
  827.             {
  828.                 *PrintableArea: PAIR(9600, 15000)
  829.                 *PrintableOrigin: PAIR(300, 300)
  830.                 *CursorOrigin: PAIR(300, 180)
  831.                 *Command: CmdSelect
  832.                 {
  833.                     *Order: DOC_SETUP.40
  834.                     *Cmd: "<1B>&l2007a8c1E<1B>*p0x0Y<1B>*c0t5760x9018Y"
  835.                 }
  836.             }
  837.             *case: LANDSCAPE_CC90
  838.             {
  839.                 *PrintableArea: PAIR(9600, 15000)
  840.                 *PrintableOrigin: PAIR(300, 300)
  841.                 *CursorOrigin: PAIR(200, 15300)
  842.                 *Command: CmdSelect
  843.                 {
  844.                     *Order: DOC_SETUP.40
  845.                     *Cmd: "<1B>&l2007a8c1E<1B>*p0x0Y<1B>*c0t9018x5880Y"
  846.                 }
  847.             }
  848.         }
  849.     }
  850. }
  851. *InvalidCombination: LIST(InputBin.LARGECAPACITY, PaperSize.11X17)
  852. *InvalidCombination: LIST(InputBin.LARGECAPACITY, PaperSize.LEGAL)
  853. *InvalidCombination: LIST(InputBin.LARGECAPACITY, PaperSize.EXECUTIVE)
  854. *InvalidCombination: LIST(InputBin.LARGECAPACITY, PaperSize.STATEMENT)
  855. *InvalidCombination: LIST(InputBin.LARGECAPACITY, PaperSize.A3)
  856. *InvalidCombination: LIST(InputBin.LARGECAPACITY, PaperSize.A5)
  857. *InvalidCombination: LIST(InputBin.LARGECAPACITY, PaperSize.A6)
  858. *InvalidCombination: LIST(InputBin.LARGECAPACITY, PaperSize.B4)
  859. *InvalidCombination: LIST(InputBin.LARGECAPACITY, PaperSize.B5)
  860. *InvalidCombination: LIST(InputBin.LARGECAPACITY, PaperSize.GovernmentLegal)
  861. *InvalidCombination: LIST(InputBin.LARGECAPACITY, PaperSize.Foolscap)
  862. *InvalidCombination: LIST(InputBin.LARGECAPACITY, PaperSize.FOLIO)
  863. *InvalidCombination: LIST(InputBin.Tray1, PaperSize.EXECUTIVE)
  864. *InvalidCombination: LIST(InputBin.Tray1, PaperSize.A6)
  865. *InvalidCombination: LIST(InputBin.Tray2, PaperSize.EXECUTIVE)
  866. *InvalidCombination: LIST(InputBin.Tray2, PaperSize.A6)
  867. *InvalidCombination: LIST(InputBin.Tray3, PaperSize.EXECUTIVE)
  868. *InvalidCombination: LIST(InputBin.Tray3, PaperSize.A6)
  869. *InvalidCombination: LIST(InputBin.Tray4, PaperSize.EXECUTIVE)
  870. *InvalidCombination: LIST(InputBin.Tray4, PaperSize.A6)
  871.  
  872. *%======== OutputBin ========
  873. *Feature: OutputBin
  874. {
  875.     *rcNameID: =OUTPUTBIN_DISPLAY
  876.     *DefaultOption: PrinterDefault
  877.     *Option: PrinterDefault
  878.     {
  879.         *rcNameID: 291          *%%% "Printer Default"
  880.         *Command: CmdSelect
  881.         {
  882.             *Order: JOB_SETUP.40
  883.             *Cmd: ""
  884.         }
  885.     }
  886.     *Option: StandardTray
  887.     {
  888.         *rcNameID: 381          *%%% "Standard Tray"
  889.         *Command: CmdSelect
  890.         {
  891.             *Order: JOB_SETUP.40
  892.             *Cmd: "@PJL SET OUTBIN=UPPER<0A>"
  893.         }
  894.     }
  895. *IgnoreBlock
  896. {   *%%% Disabled ->
  897.     *Option: InnerTray1
  898.     {
  899.         *rcNameID: 355          *%%% "Inner Tray 1"
  900.         *Command: CmdSelect
  901.         {
  902.             *Order: JOB_SETUP.40
  903.             *Cmd: "@PJL SET OUTBIN=UPPER<0A>"
  904.         }
  905.     }
  906.     *Option: InnerTray2
  907.     {
  908.         *rcNameID: 356          *%%% "Inner Tray 2"
  909.         *Command: CmdSelect
  910.         {
  911.             *Order: JOB_SETUP.40
  912.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTPUTBIN11<0A>"
  913.         }
  914.     }
  915.     *Option: ExternalTray
  916.     {
  917.         *rcNameID: 279          *%%% "External Tray"
  918.         *Command: CmdSelect
  919.         {
  920.             *Order: JOB_SETUP.40
  921.             *Cmd: "@PJL SET OUTBIN=LOWER<0A>"
  922.         }
  923.     }
  924. }   *%%% Disabled <-
  925.     *Option: FinisherProofTray
  926.     {
  927.         *rcNameID: 357          *%%% "Finisher Proof Tray"
  928.         *Command: CmdSelect
  929.         {
  930.             *Order: JOB_SETUP.40
  931.             *Cmd: "@PJL SET OUTBIN=LOWER<0A>"
  932.         }
  933.     }
  934.     *Option: FinisherShiftTray
  935.     {
  936.         *rcNameID: 358          *%%% "Finisher Shift Tray"
  937.         *Command: CmdSelect
  938.         {
  939.             *Order: JOB_SETUP.40
  940.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTPUTBIN12<0A>"
  941.         }
  942.     }
  943.     *Option: MailboxProofTray
  944.     {
  945.         *rcNameID: 359          *%%% "Mailbox Proof Tray"
  946.         *Command: CmdSelect
  947.         {
  948.             *Order: JOB_SETUP.40
  949.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTPUTBIN1<0A>"
  950.         }
  951.     }
  952.     *Option: OutputBin1
  953.     {
  954.         *rcNameID: 360          *%%% "Mailbox Tray 1"
  955.         *Command: CmdSelect
  956.         {
  957.             *Order: JOB_SETUP.40
  958.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTPUTBIN2<0A>"
  959.         }
  960.     }
  961.     *Option: OutputBin2
  962.     {
  963.         *rcNameID: 361          *%%% "Mailbox Tray 2"
  964.         *Command: CmdSelect
  965.         {
  966.             *Order: JOB_SETUP.40
  967.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTPUTBIN3<0A>"
  968.         }
  969.     }
  970.     *Option: OutputBin3
  971.     {
  972.         *rcNameID: 362          *%%% "Mailbox Tray 3"
  973.         *Command: CmdSelect
  974.         {
  975.             *Order: JOB_SETUP.40
  976.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTPUTBIN4<0A>"
  977.         }
  978.     }
  979.     *Option: OutputBin4
  980.     {
  981.         *rcNameID: 363          *%%% "Mailbox Tray 4"
  982.         *Command: CmdSelect
  983.         {
  984.             *Order: JOB_SETUP.40
  985.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTPUTBIN5<0A>"
  986.         }
  987.     }
  988.     *Option: OutputBin5
  989.     {
  990.         *rcNameID: 364          *%%% "Mailbox Tray 5"
  991.         *Command: CmdSelect
  992.         {
  993.             *Order: JOB_SETUP.40
  994.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTPUTBIN6<0A>"
  995.         }
  996.     }
  997.     *Option: OutputBin6
  998.     {
  999.         *rcNameID: 365          *%%% "Mailbox Tray 6"
  1000.         *Command: CmdSelect
  1001.         {
  1002.             *Order: JOB_SETUP.40
  1003.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTPUTBIN7<0A>"
  1004.         }
  1005.     }
  1006.     *Option: OutputBin7
  1007.     {
  1008.         *rcNameID: 366          *%%% "Mailbox Tray 7"
  1009.         *Command: CmdSelect
  1010.         {
  1011.             *Order: JOB_SETUP.40
  1012.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTPUTBIN8<0A>"
  1013.         }
  1014.     }
  1015.     *Option: OutputBin8
  1016.     {
  1017.         *rcNameID: 367          *%%% "Mailbox Tray 8"
  1018.         *Command: CmdSelect
  1019.         {
  1020.             *Order: JOB_SETUP.40
  1021.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTPUTBIN9<0A>"
  1022.         }
  1023.     }
  1024.     *Option: OutputBin9
  1025.     {
  1026.         *rcNameID: 368          *%%% "Mailbox Tray 9"
  1027.         *Command: CmdSelect
  1028.         {
  1029.             *Order: JOB_SETUP.40
  1030.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTPUTBIN10<0A>"
  1031.         }
  1032.     }
  1033. }
  1034.  
  1035. *%======== Collate ========
  1036. *Feature: Collate
  1037. {
  1038.     *Name: "Collated"       *%%% This string isn't used in UI.
  1039.     *DefaultOption: OFF
  1040.     *Option: ON
  1041.     {
  1042.         *rcNameID: =ON_DISPLAY
  1043.         *switch: Finisher
  1044.         {
  1045.             *case: NotInstalled
  1046.             {
  1047.                 *Command: CmdSelect
  1048.                 {
  1049.                     *Order: JOB_SETUP.50
  1050.                     *Cmd: "@PJL SET QTY=" %d{NumOfCopies}"<0A>@PJL SET JOBOFFSET=ROTATE<0A>"
  1051.                 }
  1052.             }
  1053.             *default:
  1054.             {
  1055.                 *Command: CmdSelect
  1056.                 {
  1057.                     *Order: JOB_SETUP.50
  1058.                     *Cmd: "@PJL SET QTY=" %d{NumOfCopies}"<0A>@PJL SET JOBOFFSET=SHIFT<0A>"
  1059.                 }
  1060.             }
  1061.         }
  1062.     }
  1063.     *Option: OFF
  1064.     {
  1065.         *rcNameID: =OFF_DISPLAY
  1066.         *Command: CmdSelect
  1067.         {
  1068.             *Order: JOB_SETUP.50
  1069.             *Cmd: "@PJL SET JOBOFFSET=OFF<0A>"
  1070.         }
  1071.     }
  1072. }
  1073.  
  1074. *%======== Stapling ========
  1075. *Macros: CmdStrings_Stapling
  1076. {
  1077.     PRECMD_STAPLE: "@PJL SET QTY=" %d{NumOfCopies}"<0A>@PJL SET OUTBIN=OPTIONALOUTPUTBIN12<0A>@PJL SET JOBOFFSET=OFF<0A>"
  1078. }
  1079. *Feature: Stapling
  1080. {
  1081.     *rcNameID: 369              *%%% "Staple"
  1082.     *DefaultOption: OFF
  1083.     *Option: OFF
  1084.     {
  1085.         *rcNameID: =OFF_DISPLAY
  1086.         *Command: CmdSelect
  1087.         {
  1088.             *Order: JOB_SETUP.60
  1089.             *Cmd: "@PJL SET STAPLE=OFF<0A>"
  1090.         }
  1091.     }
  1092.     *Option: TopLeftSlant
  1093.     {
  1094.         *rcNameID: 370          *%%% "Top Left Slant"
  1095.         *switch: Orientation
  1096.         {
  1097.             *case: PORTRAIT
  1098.             {
  1099.                 *Command: CmdSelect
  1100.                 {
  1101.                     *Order: JOB_SETUP.60
  1102.                     *Cmd: =PRECMD_STAPLE "@PJL SET STAPLE=LEFTTOPSLANTPORT<0A>"
  1103.                 }
  1104.             }
  1105.             *case: LANDSCAPE_CC90
  1106.             {
  1107.                 *Command: CmdSelect
  1108.                 {
  1109.                     *Order: JOB_SETUP.60
  1110.                     *Cmd: =PRECMD_STAPLE "@PJL SET STAPLE=LEFTTOPSLANTLAND<0A>"
  1111.                 }
  1112.             }
  1113.         }
  1114.     }
  1115.     *Option: TopLeftHorizontal
  1116.     {
  1117.         *rcNameID: 372          *%%% "Top Left Horizontal"
  1118.         *switch: Orientation
  1119.         {
  1120.             *case: PORTRAIT
  1121.             {
  1122.                 *Command: CmdSelect
  1123.                 {
  1124.                     *Order: JOB_SETUP.60
  1125.                     *Cmd: =PRECMD_STAPLE "@PJL SET STAPLE=LEFTTOPHORIZPORT<0A>"
  1126.                 }
  1127.             }
  1128.             *case: LANDSCAPE_CC90
  1129.             {
  1130.                 *Command: CmdSelect
  1131.                 {
  1132.                     *Order: JOB_SETUP.60
  1133.                     *Cmd: =PRECMD_STAPLE "@PJL SET STAPLE=LEFTTOPHORIZLAND<0A>"
  1134.                 }
  1135.             }
  1136.         }
  1137.     }
  1138.     *Option: TopLeftVertical
  1139.     {
  1140.         *rcNameID: 371          *%%% "Top Left Vertical"
  1141.         *switch: Orientation
  1142.         {
  1143.             *case: PORTRAIT
  1144.             {
  1145.                 *Command: CmdSelect
  1146.                 {
  1147.                     *Order: JOB_SETUP.60
  1148.                     *Cmd: =PRECMD_STAPLE "@PJL SET STAPLE=LEFTTOPVERTPORT<0A>"
  1149.                 }
  1150.             }
  1151.             *case: LANDSCAPE_CC90
  1152.             {
  1153.                 *Command: CmdSelect
  1154.                 {
  1155.                     *Order: JOB_SETUP.60
  1156.                     *Cmd: =PRECMD_STAPLE "@PJL SET STAPLE=LEFTTOPVERTLAND<0A>"
  1157.                 }
  1158.             }
  1159.         }
  1160.     }
  1161.     *Option: Top2
  1162.     {
  1163.         *rcNameID: 373          *%%% "Top 2"
  1164.         *switch: Orientation
  1165.         {
  1166.             *case: PORTRAIT
  1167.             {
  1168.                 *Command: CmdSelect
  1169.                 {
  1170.                     *Order: JOB_SETUP.60
  1171.                     *Cmd: =PRECMD_STAPLE "@PJL SET STAPLE=TOP2PORT<0A>"
  1172.                 }
  1173.             }
  1174.             *case: LANDSCAPE_CC90
  1175.             {
  1176.                 *Command: CmdSelect
  1177.                 {
  1178.                     *Order: JOB_SETUP.60
  1179.                     *Cmd: =PRECMD_STAPLE "@PJL SET STAPLE=TOP2LAND<0A>"
  1180.                 }
  1181.             }
  1182.         }
  1183.     }
  1184.     *Option: Left2
  1185.     {
  1186.         *rcNameID: 374          *%%% "Left 2"
  1187.         *switch: Orientation
  1188.         {
  1189.             *case: PORTRAIT
  1190.             {
  1191.                 *Command: CmdSelect
  1192.                 {
  1193.                     *Order: JOB_SETUP.60
  1194.                     *Cmd: =PRECMD_STAPLE "@PJL SET STAPLE=LEFT2PORT<0A>"
  1195.                 }
  1196.             }
  1197.             *case: LANDSCAPE_CC90
  1198.             {
  1199.                 *Command: CmdSelect
  1200.                 {
  1201.                     *Order: JOB_SETUP.60
  1202.                     *Cmd: =PRECMD_STAPLE "@PJL SET STAPLE=LEFT2LAND<0A>"
  1203.                 }
  1204.             }
  1205.         }
  1206.     }
  1207. }
  1208. *InvalidCombination: LIST(InputBin.BypassTray, Stapling.TopLeftSlant)
  1209. *InvalidCombination: LIST(InputBin.BypassTray, Stapling.TopLeftVertical)
  1210. *InvalidCombination: LIST(InputBin.BypassTray, Stapling.TopLeftHorizontal)
  1211. *InvalidCombination: LIST(InputBin.BypassTray, Stapling.Top2)
  1212. *InvalidCombination: LIST(InputBin.BypassTray, Stapling.Left2)
  1213.  
  1214. *%======== Punching (custom feature) ========
  1215. *Macros: CmdStrings_Punching
  1216. {
  1217.     PRECMD_PUNCH: "@PJL SET OUTBIN=OPTIONALOUTPUTBIN12<0A>"
  1218. }
  1219. *Feature: Punching
  1220. {
  1221.     *rcNameID: 375          *%%% "Punch"
  1222.     *FeatureType: DOC_PROPERTY
  1223.     *DefaultOption: OFF
  1224.     *Option: OFF
  1225.     {
  1226.         *rcNameID: =OFF_DISPLAY
  1227.         *Command: CmdSelect
  1228.         {
  1229.             *Order: JOB_SETUP.70
  1230.             *Cmd: "@PJL SET PUNCH=OFF<0A>"
  1231.         }
  1232.     }
  1233.     *Option: Left
  1234.     {
  1235.         *rcNameID: 376          *%%% "Left"
  1236.         *switch: Orientation
  1237.         {
  1238.             *case: PORTRAIT
  1239.             {
  1240.                 *Command: CmdSelect
  1241.                 {
  1242.                     *Order: JOB_SETUP.70
  1243.                     *Cmd: =PRECMD_PUNCH "@PJL SET PUNCH=LEFTPORT<0A>"
  1244.                 }
  1245.             }
  1246.             *case: LANDSCAPE_CC90
  1247.             {
  1248.                 *Command: CmdSelect
  1249.                 {
  1250.                     *Order: JOB_SETUP.70
  1251.                     *Cmd: =PRECMD_PUNCH "@PJL SET PUNCH=LEFTLAND<0A>"
  1252.                 }
  1253.             }
  1254.         }
  1255.     }
  1256.     *Option: Top
  1257.     {
  1258.         *rcNameID: 377          *%%% "Top"
  1259.         *switch: Orientation
  1260.         {
  1261.             *case: PORTRAIT
  1262.             {
  1263.                 *Command: CmdSelect
  1264.                 {
  1265.                     *Order: JOB_SETUP.70
  1266.                     *Cmd: =PRECMD_PUNCH "@PJL SET PUNCH=TOPPORT<0A>"
  1267.                 }
  1268.             }
  1269.             *case: LANDSCAPE_CC90
  1270.             {
  1271.                 *Command: CmdSelect
  1272.                 {
  1273.                     *Order: JOB_SETUP.70
  1274.                     *Cmd: =PRECMD_PUNCH "@PJL SET PUNCH=TOPLAND<0A>"
  1275.                 }
  1276.             }
  1277.         }
  1278.     }
  1279. }
  1280. *InvalidCombination: LIST(InputBin.BypassTray, Punching.Left)
  1281. *InvalidCombination: LIST(InputBin.BypassTray, Punching.Top)
  1282.  
  1283. *%======== Duplex ========
  1284. *Feature: Duplex
  1285. {
  1286.     *rcNameID: =TWO_SIDED_PRINTING_DISPLAY
  1287.     *DefaultOption: NONE
  1288.     *Option: NONE
  1289.     {
  1290.         *rcNameID: =NONE_DISPLAY
  1291.         *Command: CmdSelect
  1292.         {
  1293.             *Order: DOC_SETUP.20
  1294.             *Cmd: "<1B>&l0S"
  1295.         }
  1296.     }
  1297.     *Option: VERTICAL
  1298.     {
  1299.         *rcNameID: =FLIP_ON_LONG_EDGE_DISPLAY
  1300.         *Command: CmdSelect
  1301.         {
  1302.             *Order: DOC_SETUP.20
  1303.             *Cmd: "<1B>&l1S"
  1304.         }
  1305.     }
  1306.     *Option: HORIZONTAL
  1307.     {
  1308.         *rcNameID: =FLIP_ON_SHORT_EDGE_DISPLAY
  1309.         *Command: CmdSelect
  1310.         {
  1311.             *Order: DOC_SETUP.20
  1312.             *Cmd: "<1B>&l2S"
  1313.         }
  1314.     }
  1315. }
  1316. *InvalidCombination: LIST(InputBin.BypassTray, Duplex.VERTICAL)
  1317. *InvalidCombination: LIST(InputBin.BypassTray, Duplex.HORIZONTAL)
  1318.  
  1319. *%======== PrintQuality ========
  1320. *Feature: PrintQuality
  1321. {
  1322.     *rcNameID: =TEXT_QUALITY_DISPLAY
  1323.     *DefaultOption: SmoothingOn
  1324.     *Option: SmoothingOff
  1325.     {
  1326.         *rcNameID: 306          *%%% "Edge Smoothing - Off"
  1327.         *Command: CmdSelect
  1328.         {
  1329.             *Order: JOB_SETUP.20
  1330.             *Cmd: "@PJL SET SMOOTHING=OFF<0A>"
  1331.         }
  1332.     }
  1333.     *Option: SmoothingOn
  1334.     {
  1335.         *rcNameID: 305          *%%% "Edge Smoothing - On"
  1336.         *Command: CmdSelect
  1337.         {
  1338.             *Order: JOB_SETUP.20
  1339.             *Cmd: "@PJL SET SMOOTHING=ON<0A>"
  1340.         }
  1341.     }
  1342. }
  1343.  
  1344. *%======== PrintDensity ========
  1345. *Feature: PrintDensity
  1346. {
  1347.     *rcNameID: =PRINTDENSITY_DISPLAY
  1348.     *DefaultOption: EconomodeOff
  1349.     *Option: EconomodeOff
  1350.     {
  1351.         *rcNameID: 322          *%%% "Toner Saver - Off"
  1352.         *Command: CmdSelect
  1353.         {
  1354.             *Order: JOB_SETUP.30
  1355.             *Cmd: "@PJL SET ECONOMODE=OFF<0A>"
  1356.         }
  1357.     }
  1358.     *Option: EconomodeOn
  1359.     {
  1360.         *rcNameID: 323          *%%% "Toner Saver - On"
  1361.         *Command: CmdSelect
  1362.         {
  1363.             *Order: JOB_SETUP.30
  1364.             *Cmd: "@PJL SET ECONOMODE=ON<0A>"
  1365.         }
  1366.     }
  1367. }
  1368.  
  1369. *%======== Halftone ========
  1370. *Feature: Halftone
  1371. {
  1372.     *rcNameID: =HALFTONING_DISPLAY
  1373.     *DefaultOption: HT_PATSIZE_AUTO
  1374.     *Option: HT_PATSIZE_AUTO
  1375.     {
  1376.         *rcNameID: =HT_AUTO_SELECT_DISPLAY
  1377.     }
  1378.     *Option: HT_PATSIZE_6x6_M
  1379.     {
  1380.         *rcNameID: =HT_DITHER6X6_DISPLAY
  1381.     }
  1382.     *Option: HT_PATSIZE_8x8_M
  1383.     {
  1384.         *rcNameID: =HT_DITHER8X8_DISPLAY
  1385.     }
  1386.     *Option: HT_PATSIZE_10x10_M
  1387.     {
  1388.         *rcNameID: 397          *%%% "Dither 10x10"
  1389.     }
  1390. }
  1391.  
  1392. *%======== StartJob ========
  1393. *switch: InputBin
  1394. {
  1395.     *case: AUTO
  1396.     {
  1397.         *Command: CmdStartJob
  1398.         {
  1399.             *Order: JOB_SETUP.10
  1400.             *Cmd: "<1B>%%-12345X@PJL SET AUTOTRAYCHANGE=ON<0A>"
  1401.         }
  1402.     }
  1403.     *default:
  1404.     {
  1405.         *Command: CmdStartJob
  1406.         {
  1407.             *Order: JOB_SETUP.10
  1408.             *Cmd: "<1B>%%-12345X@PJL SET AUTOTRAYCHANGE=OFF<0A>"
  1409.         }
  1410.     }
  1411. }
  1412.  
  1413. *%======== StartDoc ========
  1414. *Command: CmdStartDoc
  1415. {
  1416.     *Order: DOC_SETUP.10
  1417.     *Cmd: "<1B>&u600D<1B>*r0F"
  1418. }
  1419.  
  1420. *%======== StartPage ========
  1421. *Command: CmdStartPage
  1422. {
  1423.     *Order: PAGE_SETUP.10
  1424.     *Cmd: "<1B>*b0M<0D>"
  1425. }
  1426.  
  1427. *%======== EndJob ========
  1428. *Command: CmdEndJob
  1429. {
  1430.     *Order: JOB_FINISH.10
  1431.     *Cmd: "<1B>E<1B>%%-12345X"
  1432. }
  1433.  
  1434. *%======== Copies ========
  1435. *switch: Collate
  1436. {
  1437.     *case: OFF
  1438.     {
  1439.         *switch: Stapling
  1440.         {
  1441.             *case: OFF
  1442.             {
  1443.                 *Command: CmdCopies
  1444.                 {
  1445.                     *Order: DOC_SETUP.50
  1446.                     *Cmd: "<1B>&l" %d[1,999]{NumOfCopies}"X"
  1447.                 }
  1448.             }
  1449.             *default:
  1450.             {
  1451.                 *Command: CmdCopies
  1452.                 {
  1453.                     *Order: DOC_SETUP.50
  1454.                     *Cmd: "<1B>&l1X"
  1455.                 }
  1456.             }
  1457.         }
  1458.     }
  1459.     *case: ON
  1460.     {
  1461.         *Command: CmdCopies
  1462.         {
  1463.             *Order: DOC_SETUP.50
  1464.             *Cmd: "<1B>&l1X"
  1465.         }
  1466.     }
  1467. }
  1468.  
  1469. *%======== Capabilities ========
  1470. *RotateCoordinate?: TRUE
  1471. *RotateRaster?: TRUE
  1472. *RotateFont?: TRUE
  1473. *TextCaps: LIST(TC_CR_90,TC_UA_ABLE)
  1474. *MemoryUsage: LIST(FONT)
  1475.  
  1476. *%======== Cursor Control ========
  1477. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  1478. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  1479. *XMoveThreshold: 0
  1480. *YMoveThreshold: 0
  1481. *XMoveUnit: 600
  1482. *YMoveUnit: 600
  1483. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{(DestX / 2) }"X" }
  1484. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d[0,9600]{max_repeat((DestXRel / 2) )}"X" }
  1485. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d[0,9600]{max_repeat((DestXRel / 2) )}"X" }
  1486. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{(DestY / 2) }"Y" }
  1487. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d{(DestYRel / 2) }"Y" }
  1488. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d{(DestYRel / 2) }"Y" }
  1489. *Command: CmdCR { *Cmd : "<0D>" }
  1490. *Command: CmdLF { *Cmd : "<0A>" }
  1491. *Command: CmdFF { *Cmd : "<0C>" }
  1492. *Command: CmdBackSpace { *Cmd : "<08>" }
  1493. *Command: CmdUniDirectionOn { *Cmd : "<00>" }
  1494. *Command: CmdUniDirectionOff { *Cmd : "<00>" }
  1495. *Command: CmdPushCursor { *Cmd : "<1B>&f0S" }
  1496. *Command: CmdPopCursor { *Cmd : "<1B>&f1S" }
  1497. *Command: CmdSetSimpleRotation { *Cmd : "<1B>&a" %d{PrintDirInCCDegrees}"P" }
  1498. *EjectPageWithFF?: TRUE
  1499.  
  1500. *%======== Raster Data ========
  1501. *Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
  1502. *Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
  1503. *Command: CmdEnableDRC { *Cmd : "<1B>*b3M" }
  1504. *OutputDataFormat: H_BYTE
  1505. *OptimizeLeftBound?: TRUE
  1506. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  1507. *CursorYAfterSendBlockData: AUTO_INCREMENT
  1508.  
  1509. *%======== Font ========
  1510. *DefaultFont: =RC_FONT_COURIERR
  1511. *DeviceFonts: =ALL_DEVICEFONTS
  1512. *DefaultCTT: 0
  1513. *CharPosition: BASELINE
  1514. *TTFSEnabled?: TRUE
  1515. *MinFontID: 16534
  1516. *MaxFontID: 32768
  1517. *switch: Resolution
  1518. {
  1519.     *case: 600dpi
  1520.     {
  1521.         *FontFormat: HPPCL_OUTLINE
  1522.     }
  1523.     *case: 300dpi
  1524.     {
  1525.         *FontFormat: HPPCL_RES
  1526.     }
  1527. }
  1528. *Command: CmdSetFontID { *Cmd : "<1B>*c" %d{NextFontID}"D" }
  1529. *Command: CmdSelectFontID { *Cmd : "<1B>(" %d{CurrentFontID}"X" }
  1530. *Command: CmdSetCharCode { *Cmd : "<1B>*c" %d{NextGlyph}"E" }
  1531. *Command: CmdUnderlineOn { *Cmd : "<1B>&dD" }
  1532. *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }
  1533. *Command: CmdWhiteTextOn { *Cmd : "<1B>*v1o1T" }
  1534. *Command: CmdWhiteTextOff { *Cmd : "<1B>*v0o0T" }
  1535.  
  1536. *%======== RectFill ========
  1537. *MinGrayFill: 1
  1538. *MaxGrayFill: 100
  1539. *Command: CmdSetRectWidth { *Cmd : "<1B>*c" %d{(RectXSize / 2) }"A" }
  1540. *Command: CmdSetRectHeight { *Cmd : "<1B>*c" %d{(RectYSize / 2) }"B" }
  1541. *Command: CmdRectGrayFill { *Cmd : "<1B>*c" %d{GrayPercentage }"g2P" }
  1542. *Command: CmdRectWhiteFill { *Cmd : "<1B>*c1P" }
  1543.  
  1544. *Ifdef: WINNT_51
  1545. *Personality: =PERSONALITY_HPGL2
  1546. *%======== HP-GL/2 Graphics Mode ========
  1547. *Feature: GraphicsMode
  1548. {
  1549.     *rcNameID: =GRAPHICSMODE_DISPLAY
  1550.     *DefaultOption: HPGL2MODE
  1551.     *Option: HPGL2MODE
  1552.     {
  1553.         *rcNameID: =GRAPHICSMODE_HPGL2_DISPLAY
  1554.     }
  1555.     *Option: RASTERMODE
  1556.     {
  1557.         *rcNameID: =GRAPHICSMODE_RASTER_DISPLAY
  1558.     }
  1559. }
  1560. *Endif:
  1561.