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

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