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

  1. *%
  2. *%  Core GPD file for RICOH PCL5e printer
  3. *%    Created:  1999/05/10
  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: 16384KB
  23.     *Option: 16384KB
  24.     {
  25.         *Name: "16MB"
  26.         *MemoryConfigKB: PAIR(16384, 13950)
  27.     }
  28.     *Option: 49152KB
  29.     {
  30.         *Name: "48MB"
  31.         *MemoryConfigKB: PAIR(49152, 42750)
  32.     }
  33.     *Option: 81920KB
  34.     {
  35.         *Name: "80MB"
  36.         *MemoryConfigKB: PAIR(81920, 71520)
  37.     }
  38. }
  39.  
  40. *%======== Hard Disk (custom feature) ========
  41. *Feature: HardDisk
  42. {
  43.     *rcNameID: 380          *%%% "Hard Disk"
  44.     *FeatureType: PRINTER_PROPERTY
  45.     *DefaultOption: NotInstalled
  46.     *Option: NotInstalled
  47.     {
  48.         *rcNameID: 329
  49.         *DisabledFeatures: LIST(Collate)
  50.     }
  51.     *Option: Installed
  52.     {
  53.         *rcNameID: 330
  54.     }
  55. }
  56.  
  57. *%======== Output Upper Tray (custom feature) ========
  58. *Feature: UpperTray
  59. {
  60.     *rcNameID: 382          *%%% "Upper Tray"
  61.     *FeatureType: PRINTER_PROPERTY
  62.     *DefaultOption: NotInstalled
  63.     *Option: NotInstalled
  64.     {
  65.         *rcNameID: 329
  66.         *Constraints: OutputBin.UpperTray
  67.     }
  68.     *Option: Installed
  69.     {
  70.         *rcNameID: 330
  71.         *NotInstalledConstraints: OutputBin.UpperTray
  72.     }
  73. }
  74.  
  75. *%======== Orientation ========
  76. *Feature: Orientation
  77. {
  78.     *rcNameID: =ORIENTATION_DISPLAY
  79.     *DefaultOption: PORTRAIT
  80.     *Option: PORTRAIT
  81.     {
  82.         *rcNameID: =PORTRAIT_DISPLAY
  83.     }
  84.     *Option: LANDSCAPE_CC90
  85.     {
  86.         *rcNameID: =LANDSCAPE_DISPLAY
  87.     }
  88. }
  89.  
  90. *%======== InputBin ========
  91. *Macros: CmdStrings_InputBin
  92. {
  93.     PRECMD_INPUTBIN_PORT: "<1B>&l0O"
  94.     PRECMD_INPUTBIN_LAND: "<1B>&l1O"
  95. }
  96. *Feature: InputBin
  97. {
  98.     *rcNameID: =PAPER_SOURCE_DISPLAY
  99.     *DefaultOption: AUTO
  100.     *Option: AUTO
  101.     {
  102.         *rcNameID: 267          *%%% "Auto Select by Printer"
  103.         *switch: Orientation
  104.         {
  105.             *case: PORTRAIT
  106.             {
  107.                 *Command: CmdSelect
  108.                 {
  109.                     *Order: DOC_SETUP.30
  110.                     *NoPageEject?: TRUE
  111.                     *Cmd: =PRECMD_INPUTBIN_PORT "<1B>&l7H"
  112.                 }
  113.             }
  114.             *case: LANDSCAPE_CC90
  115.             {
  116.                 *Command: CmdSelect
  117.                 {
  118.                     *Order: DOC_SETUP.30
  119.                     *NoPageEject?: TRUE
  120.                     *Cmd: =PRECMD_INPUTBIN_LAND "<1B>&l7H"
  121.                 }
  122.             }
  123.         }
  124.     }
  125.     *Option: BypassTray
  126.     {
  127.         *rcNameID: 272          *%%% "Bypass Tray"
  128.         *switch: Orientation
  129.         {
  130.             *case: PORTRAIT
  131.             {
  132.                 *Command: CmdSelect
  133.                 {
  134.                     *Order: DOC_SETUP.30
  135.                     *NoPageEject?: TRUE
  136.                     *Cmd: =PRECMD_INPUTBIN_PORT "<1B>&l2H"
  137.                 }
  138.             }
  139.             *case: LANDSCAPE_CC90
  140.             {
  141.                 *Command: CmdSelect
  142.                 {
  143.                     *Order: DOC_SETUP.30
  144.                     *NoPageEject?: TRUE
  145.                     *Cmd: =PRECMD_INPUTBIN_LAND "<1B>&l2H"
  146.                 }
  147.             }
  148.         }
  149.     }
  150.     *Option: Tray1
  151.     {
  152.         *rcNameID: 268          *%%% "Tray 1"
  153.         *switch: Orientation
  154.         {
  155.             *case: PORTRAIT
  156.             {
  157.                 *Command: CmdSelect
  158.                 {
  159.                     *Order: DOC_SETUP.30
  160.                     *NoPageEject?: TRUE
  161.                     *Cmd: =PRECMD_INPUTBIN_PORT "<1B>&l8H"
  162.                 }
  163.             }
  164.             *case: LANDSCAPE_CC90
  165.             {
  166.                 *Command: CmdSelect
  167.                 {
  168.                     *Order: DOC_SETUP.30
  169.                     *NoPageEject?: TRUE
  170.                     *Cmd: =PRECMD_INPUTBIN_LAND "<1B>&l8H"
  171.                 }
  172.             }
  173.         }
  174.     }
  175.     *Option: Tray2
  176.     {
  177.         *rcNameID: 269          *%%% "Tray 2"
  178.         *Installable?: TRUE
  179.         *rcInstallableFeatureNameID: 269
  180.         *switch: Orientation
  181.         {
  182.             *case: PORTRAIT
  183.             {
  184.                 *Command: CmdSelect
  185.                 {
  186.                     *Order: DOC_SETUP.30
  187.                     *NoPageEject?: TRUE
  188.                     *Cmd: =PRECMD_INPUTBIN_PORT "<1B>&l1H"
  189.                 }
  190.             }
  191.             *case: LANDSCAPE_CC90
  192.             {
  193.                 *Command: CmdSelect
  194.                 {
  195.                     *Order: DOC_SETUP.30
  196.                     *NoPageEject?: TRUE
  197.                     *Cmd: =PRECMD_INPUTBIN_LAND "<1B>&l1H"
  198.                 }
  199.             }
  200.         }
  201.     }
  202.     *Option: Tray3
  203.     {
  204.         *rcNameID: 270          *%%% "Tray 3"
  205.         *Installable?: TRUE
  206.         *rcInstallableFeatureNameID: 270
  207.         *switch: Orientation
  208.         {
  209.             *case: PORTRAIT
  210.             {
  211.                 *Command: CmdSelect
  212.                 {
  213.                     *Order: DOC_SETUP.30
  214.                     *NoPageEject?: TRUE
  215.                     *Cmd: =PRECMD_INPUTBIN_PORT "<1B>&l4H"
  216.                 }
  217.             }
  218.             *case: LANDSCAPE_CC90
  219.             {
  220.                 *Command: CmdSelect
  221.                 {
  222.                     *Order: DOC_SETUP.30
  223.                     *NoPageEject?: TRUE
  224.                     *Cmd: =PRECMD_INPUTBIN_LAND "<1B>&l4H"
  225.                 }
  226.             }
  227.         }
  228.     }
  229. }
  230.  
  231. *%======== MediaType ========
  232. *Feature: MediaType
  233. {
  234.     *rcNameID: =MEDIA_TYPE_DISPLAY
  235.     *DefaultOption: STANDARD
  236.     *Option: STANDARD
  237.     {
  238.         *rcNameID: =PLAIN_PAPER_DISPLAY
  239.         *Command: CmdSelect
  240.         {
  241.             *Order: JOB_SETUP.80
  242.             *Cmd: "@PJL SET FUSERCONTROL=PLAINPAPER<0A>"
  243.         }
  244.     }
  245.     *Option: ThickPaper         *%%% custom option
  246.     {
  247.         *rcNameID: 378          *%%% "Thick Paper"
  248.         *Command: CmdSelect
  249.         {
  250.             *Order: JOB_SETUP.80
  251.             *Cmd: "@PJL SET FUSERCONTROL=THICK<0A>"
  252.         }
  253.     }
  254. }
  255. *InvalidCombination: LIST(InputBin.AUTO, MediaType.ThickPaper)
  256. *InvalidCombination: LIST(InputBin.Tray1, MediaType.ThickPaper)
  257. *InvalidCombination: LIST(InputBin.Tray2, MediaType.ThickPaper)
  258. *InvalidCombination: LIST(InputBin.Tray3, MediaType.ThickPaper)
  259.  
  260. *%======== Resolution ========
  261. *Feature: Resolution
  262. {
  263.     *rcNameID: =RESOLUTION_DISPLAY
  264.     *DefaultOption: 600dpi
  265.     *Option: 600dpi
  266.     {
  267.         *rcNameID: 395          *%%% "600 dpi"
  268.         *DPI: PAIR(600, 600)
  269.         *TextDPI: PAIR(600, 600)
  270.         *MinStripBlankPixels: 32
  271.         EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  272.         *SpotDiameter: 100
  273.         *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  274.         *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  275.         *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  276.         *Command: CmdSelect
  277.         {
  278.             *Order: JOB_SETUP.90
  279.             *Cmd: "@PJL SET RESOLUTION=600<0A>@PJL ENTER LANGUAGE=PCL<0A0D1B>E<1B>*t600R"
  280.         }
  281.     }
  282.     *Option: 300dpi
  283.     {
  284.         *rcNameID: 396          *%%% "300 dpi"
  285.         *DPI: PAIR(300, 300)
  286.         *TextDPI: PAIR(300, 300)
  287.         *MinStripBlankPixels: 32
  288.         EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  289.         *SpotDiameter: 100
  290.         *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  291.         *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  292.         *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  293.         *Command: CmdSelect
  294.         {
  295.             *Order: JOB_SETUP.90
  296.             *Cmd: "@PJL SET RESOLUTION=300<0A>@PJL ENTER LANGUAGE=PCL<0A0D1B>E<1B>*t300R"
  297.         }
  298.     }
  299. }
  300.  
  301. *%======== PaperSize ========
  302. *Feature: PaperSize
  303. {
  304.     *rcNameID: =PAPER_SIZE_DISPLAY
  305.     *DefaultOption: LETTER
  306.     *Option: 11X17
  307.     {
  308.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  309.         *switch: Orientation
  310.         {
  311.             *case: PORTRAIT
  312.             {
  313.                 *PrintableArea: PAIR(12600, 19800)
  314.                 *PrintableOrigin: PAIR(300, 300)
  315.                 *CursorOrigin: PAIR(300, 200)
  316.                 *Command: CmdSelect
  317.                 {
  318.                     *Order: DOC_SETUP.40
  319.                     *Cmd: "<1B>&l6a8c1E<1B>*p0x0Y<1B>*c0t7560x12000Y"
  320.                 }
  321.             }
  322.             *case: LANDSCAPE_CC90
  323.             {
  324.                 *PrintableArea: PAIR(12600, 19800)
  325.                 *PrintableOrigin: PAIR(300, 300)
  326.                 *CursorOrigin: PAIR(200, 20100)
  327.                 *Command: CmdSelect
  328.                 {
  329.                     *Order: DOC_SETUP.40
  330.                     *Cmd: "<1B>&l6a8c1E<1B>*p0x0Y<1B>*c0t11880x7680Y"
  331.                 }
  332.             }
  333.         }
  334.     }
  335.     *Option: LETTER
  336.     {
  337.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  338.         *switch: Orientation
  339.         {
  340.             *case: PORTRAIT
  341.             {
  342.                 *PrintableArea: PAIR(9600, 12648)
  343.                 *PrintableOrigin: PAIR(300, 300)
  344.                 *CursorOrigin: PAIR(300, 180)
  345.                 *Command: CmdSelect
  346.                 {
  347.                     *Order: DOC_SETUP.40
  348.                     *Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t5760x7704Y"
  349.                 }
  350.             }
  351.             *case: LANDSCAPE_CC90
  352.             {
  353.                 *PrintableArea: PAIR(9760, 12688)
  354.                 *PrintableOrigin: PAIR(200, 272)
  355.                 *CursorOrigin: PAIR(200, 12960)
  356.                 *Command: CmdSelect
  357.                 {
  358.                     *Order: DOC_SETUP.40
  359.                     *Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t7632x5880Y"
  360.                 }
  361.             }
  362.         }
  363.     }
  364.     *Option: LEGAL
  365.     {
  366.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  367.         *switch: Orientation
  368.         {
  369.             *case: PORTRAIT
  370.             {
  371.                 *PrintableArea: PAIR(9600, 16248)
  372.                 *PrintableOrigin: PAIR(300, 300)
  373.                 *CursorOrigin: PAIR(300, 180)
  374.                 *Command: CmdSelect
  375.                 {
  376.                     *Order: DOC_SETUP.40
  377.                     *Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t5760x9864Y"
  378.                 }
  379.             }
  380.             *case: LANDSCAPE_CC90
  381.             {
  382.                 *PrintableArea: PAIR(9760, 16284)
  383.                 *PrintableOrigin: PAIR(200, 276)
  384.                 *CursorOrigin: PAIR(200, 16560)
  385.                 *Command: CmdSelect
  386.                 {
  387.                     *Order: DOC_SETUP.40
  388.                     *Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t9792x5880Y"
  389.                 }
  390.             }
  391.         }
  392.     }
  393.     *Option: EXECUTIVE
  394.     {
  395.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  396.         *switch: Orientation
  397.         {
  398.             *case: PORTRAIT
  399.             {
  400.                 *PrintableArea: PAIR(8100, 12048)
  401.                 *PrintableOrigin: PAIR(300, 300)
  402.                 *CursorOrigin: PAIR(300, 180)
  403.                 *Command: CmdSelect
  404.                 {
  405.                     *Order: DOC_SETUP.40
  406.                     *Cmd: "<1B>&l1a8c1E<1B>*p0x0Y<1B>*c0t4860x7344Y"
  407.                 }
  408.             }
  409.             *case: LANDSCAPE_CC90
  410.             {
  411.                 *PrintableArea: PAIR(8220, 12080)
  412.                 *PrintableOrigin: PAIR(240, 280)
  413.                 *CursorOrigin: PAIR(200, 12360)
  414.                 *Command: CmdSelect
  415.                 {
  416.                     *Order: DOC_SETUP.40
  417.                     *Cmd: "<1B>&l1a8c1E<1B>*p0x0Y<1B>*c0t7272x4980Y"
  418.                 }
  419.             }
  420.         }
  421.     }
  422.     *Option: STATEMENT
  423.     {
  424.         *rcNameID: 394          *%%% "5.5x8.5"
  425.         *switch: Orientation
  426.         {
  427.             *case: PORTRAIT
  428.             {
  429.                 *PrintableArea: PAIR(6000, 9600)
  430.                 *PrintableOrigin: PAIR(300, 300)
  431.                 *CursorOrigin: PAIR(300, 180)
  432.                 *Command: CmdSelect
  433.                 {
  434.                     *Order: DOC_SETUP.40
  435.                     *Cmd: "<1B>&l2008a8c1E<1B>*p0x0Y<1B>*c0t3618x5778Y"
  436.                 }
  437.             }
  438.             *case: LANDSCAPE_CC90
  439.             {
  440.                 *PrintableArea: PAIR(6000, 9600)
  441.                 *PrintableOrigin: PAIR(300, 300)
  442.                 *CursorOrigin: PAIR(200, 9900)
  443.                 *Command: CmdSelect
  444.                 {
  445.                     *Order: DOC_SETUP.40
  446.                     *Cmd: "<1B>&l2008a8c1E<1B>*p0x0Y<1B>*c0t5778x3618Y"
  447.                 }
  448.             }
  449.         }
  450.     }
  451.     *Option: A3
  452.     {
  453.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  454.         *switch: Orientation
  455.         {
  456.             *case: PORTRAIT
  457.             {
  458.                 *PrintableArea: PAIR(13428, 19308)
  459.                 *PrintableOrigin: PAIR(300, 300)
  460.                 *CursorOrigin: PAIR(300, 180)
  461.                 *Command: CmdSelect
  462.                 {
  463.                     *Order: DOC_SETUP.40
  464.                     *Cmd: "<1B>&l27a8c1E<1B>*p0x0Y<1B>*c0t8057x11693Y"
  465.                 }
  466.             }
  467.             *case: LANDSCAPE_CC90
  468.             {
  469.                 *PrintableArea: PAIR(13588, 19368)
  470.                 *PrintableOrigin: PAIR(200, 240)
  471.                 *CursorOrigin: PAIR(200, 19608)
  472.                 *Command: CmdSelect
  473.                 {
  474.                     *Order: DOC_SETUP.40
  475.                     *Cmd: "<1B>&l27a8c1E<1B>*p0x0Y<1B>*c0t11621x8177Y"
  476.                 }
  477.             }
  478.         }
  479.     }
  480.     *Option: A4
  481.     {
  482.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  483.         *switch: Orientation
  484.         {
  485.             *case: PORTRAIT
  486.             {
  487.                 *PrintableArea: PAIR(9292, 13476)
  488.                 *PrintableOrigin: PAIR(300, 300)
  489.                 *CursorOrigin: PAIR(300, 180)
  490.                 *Command: CmdSelect
  491.                 {
  492.                     *Order: DOC_SETUP.40
  493.                     *Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t5594x8201Y"
  494.                 }
  495.             }
  496.             *case: LANDSCAPE_CC90
  497.             {
  498.                 *PrintableArea: PAIR(9464, 13516)
  499.                 *PrintableOrigin: PAIR(220, 272)
  500.                 *CursorOrigin: PAIR(200, 13788)
  501.                 *Command: CmdSelect
  502.                 {
  503.                     *Order: DOC_SETUP.40
  504.                     *Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t8129x5714Y"
  505.                 }
  506.             }
  507.         }
  508.     }
  509.     *Option: A5
  510.     {
  511.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  512.         *switch: Orientation
  513.         {
  514.             *case: PORTRAIT
  515.             {
  516.                 *PrintableArea: PAIR(6416, 9420)
  517.                 *PrintableOrigin: PAIR(300, 300)
  518.                 *CursorOrigin: PAIR(300, 180)
  519.                 *Command: CmdSelect
  520.                 {
  521.                     *Order: DOC_SETUP.40
  522.                     *Cmd: "<1B>&l2000a8c1E<1B>*p0x0Y<1B>*c0t3868x5670Y"
  523.                 }
  524.             }
  525.             *case: LANDSCAPE_CC90
  526.             {
  527.                 *PrintableArea: PAIR(6416, 9420)
  528.                 *PrintableOrigin: PAIR(280, 204)
  529.                 *CursorOrigin: PAIR(200, 9624)
  530.                 *Command: CmdSelect
  531.                 {
  532.                     *Order: DOC_SETUP.40
  533.                     *Cmd: "<1B>&l2000a8c1E<1B>*p0x0Y<1B>*c0t5670x3868Y"
  534.                 }
  535.             }
  536.         }
  537.     }
  538.     *Option: A6
  539.     {
  540.         *rcNameID: 259          *%%% "A6"
  541.         *PageDimensions: PAIR(4956, 6996)
  542.         *switch: Orientation
  543.         {
  544.             *case: PORTRAIT
  545.             {
  546.                 *PrintableArea: PAIR(4360, 6416)
  547.                 *PrintableOrigin: PAIR(300, 300)
  548.                 *CursorOrigin: PAIR(300, 180)
  549.                 *Command: CmdSelect
  550.                 {
  551.                     *Order: DOC_SETUP.40
  552.                     *Cmd: "<1B>&l2001a8c1E<1B>*p0x0Y<1B>*c0t2634x3868Y"
  553.                 }
  554.             }
  555.             *case: LANDSCAPE_CC90
  556.             {
  557.                 *PrintableArea: PAIR(4360, 6416)
  558.                 *PrintableOrigin: PAIR(296, 280)
  559.                 *CursorOrigin: PAIR(200, 6696)
  560.                 *Command: CmdSelect
  561.                 {
  562.                     *Order: DOC_SETUP.40
  563.                     *Cmd: "<1B>&l2001a8c1E<1B>*p0x0Y<1B>*c0t3868x2634Y"
  564.                 }
  565.             }
  566.         }
  567.     }
  568.     *Option: B4
  569.     {
  570.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  571.         *switch: Orientation
  572.         {
  573.             *case: PORTRAIT
  574.             {
  575.                 *PrintableArea: PAIR(11544, 16656)
  576.                 *PrintableOrigin: PAIR(300, 300)
  577.                 *CursorOrigin: PAIR(300, 180)
  578.                 *Command: CmdSelect
  579.                 {
  580.                     *Order: DOC_SETUP.40
  581.                     *Cmd: "<1B>&l46a8c1E<1B>*p0x0Y<1B>*c0t6926x10102Y"
  582.                 }
  583.             }
  584.             *case: LANDSCAPE_CC90
  585.             {
  586.                 *PrintableArea: PAIR(11704, 16716)
  587.                 *PrintableOrigin: PAIR(200, 240)
  588.                 *CursorOrigin: PAIR(200, 16956)
  589.                 *Command: CmdSelect
  590.                 {
  591.                     *Order: DOC_SETUP.40
  592.                     *Cmd: "<1B>&l46a8c1E<1B>*p0x0Y<1B>*c0t10030x7046Y"
  593.                 }
  594.             }
  595.         }
  596.     }
  597.     *Option: B5
  598.     {
  599.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  600.         *switch: Orientation
  601.         {
  602.             *case: PORTRAIT
  603.             {
  604.                 *PrintableArea: PAIR(8004, 11604)
  605.                 *PrintableOrigin: PAIR(300, 300)
  606.                 *CursorOrigin: PAIR(300, 180)
  607.                 *Command: CmdSelect
  608.                 {
  609.                     *Order: DOC_SETUP.40
  610.                     *Cmd: "<1B>&l45a8c1E<1B>*p0x0Y<1B>*c0t4802x7070Y"
  611.                 }
  612.             }
  613.             *case: LANDSCAPE_CC90
  614.             {
  615.                 *PrintableArea: PAIR(8144, 11664)
  616.                 *PrintableOrigin: PAIR(220, 240)
  617.                 *CursorOrigin: PAIR(200, 11904)
  618.                 *Command: CmdSelect
  619.                 {
  620.                     *Order: DOC_SETUP.40
  621.                     *Cmd: "<1B>&l45a8c1E<1B>*p0x0Y<1B>*c0t6998x4922Y"
  622.                 }
  623.             }
  624.         }
  625.     }
  626.     *Option: ENV_10
  627.     {
  628.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  629.         *switch: Orientation
  630.         {
  631.             *case: PORTRAIT
  632.             {
  633.                 *PrintableArea: PAIR(4296, 10800)
  634.                 *PrintableOrigin: PAIR(300, 300)
  635.                 *CursorOrigin: PAIR(300, 160)
  636.                 *Command: CmdSelect
  637.                 {
  638.                     *Order: DOC_SETUP.40
  639.                     *Cmd: "<1B>&l81a8c1E<1B>*p0x0Y<1B>*c0t2614x6648Y"
  640.                 }
  641.             }
  642.             *case: LANDSCAPE_CC90
  643.             {
  644.                 *PrintableArea: PAIR(4356, 10800)
  645.                 *PrintableOrigin: PAIR(300, 300)
  646.                 *CursorOrigin: PAIR(200, 11100)
  647.                 *Command: CmdSelect
  648.                 {
  649.                     *Order: DOC_SETUP.40
  650.                     *Cmd: "<1B>&l81a8c1E<1B>*p0x0Y<1B>*c0t6480x2734Y"
  651.                 }
  652.             }
  653.         }
  654.     }
  655.     *Option: ENV_DL
  656.     {
  657.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  658.         *switch: Orientation
  659.         {
  660.             *case: PORTRAIT
  661.             {
  662.                 *PrintableArea: PAIR(4596, 9792)
  663.                 *PrintableOrigin: PAIR(300, 300)
  664.                 *CursorOrigin: PAIR(300, 160)
  665.                 *Command: CmdSelect
  666.                 {
  667.                     *Order: DOC_SETUP.40
  668.                     *Cmd: "<1B>&l90a8c1E<1B>*p0x0Y<1B>*c0t2758x6043Y"
  669.                 }
  670.             }
  671.             *case: LANDSCAPE_CC90
  672.             {
  673.                 *PrintableArea: PAIR(4596, 9792)
  674.                 *PrintableOrigin: PAIR(300, 300)
  675.                 *CursorOrigin: PAIR(200, 10092)
  676.                 *Command: CmdSelect
  677.                 {
  678.                     *Order: DOC_SETUP.40
  679.                     *Cmd: "<1B>&l90a8c1E<1B>*p0x0Y<1B>*c0t5875x2878Y"
  680.                 }
  681.             }
  682.         }
  683.     }
  684.     *Option: ENV_MONARCH
  685.     {
  686.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  687.         *switch: Orientation
  688.         {
  689.             *case: PORTRAIT
  690.             {
  691.                 *PrintableArea: PAIR(3996, 8400)
  692.                 *PrintableOrigin: PAIR(300, 300)
  693.                 *CursorOrigin: PAIR(300, 200)
  694.                 *Command: CmdSelect
  695.                 {
  696.                     *Order: DOC_SETUP.40
  697.                     *Cmd: "<1B>&l80a8c1E<1B>*p0x0Y<1B>*c0t2434x5160Y"
  698.                 }
  699.             }
  700.             *case: LANDSCAPE_CC90
  701.             {
  702.                 *PrintableArea: PAIR(4056, 8400)
  703.                 *PrintableOrigin: PAIR(300, 300)
  704.                 *CursorOrigin: PAIR(200, 8700)
  705.                 *Command: CmdSelect
  706.                 {
  707.                     *Order: DOC_SETUP.40
  708.                     *Cmd: "<1B>&l80a8c1E<1B>*p0x0Y<1B>*c0t5040x2554Y"
  709.                 }
  710.             }
  711.         }
  712.     }
  713.     *Option: ENV_C5
  714.     {
  715.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  716.         *switch: Orientation
  717.         {
  718.             *case: PORTRAIT
  719.             {
  720.                 *PrintableArea: PAIR(7036, 10224)
  721.                 *PrintableOrigin: PAIR(300, 300)
  722.                 *CursorOrigin: PAIR(300, 180)
  723.                 *Command: CmdSelect
  724.                 {
  725.                     *Order: DOC_SETUP.40
  726.                     *Cmd: "<1B>&l91a8c1E<1B>*p0x0Y<1B>*c0t4234x6278Y"
  727.                 }
  728.             }
  729.             *case: LANDSCAPE_CC90
  730.             {
  731.                 *PrintableArea: PAIR(7056, 10224)
  732.                 *PrintableOrigin: PAIR(300, 300)
  733.                 *CursorOrigin: PAIR(200, 10524)
  734.                 *Command: CmdSelect
  735.                 {
  736.                     *Order: DOC_SETUP.40
  737.                     *Cmd: "<1B>&l91a8c1E<1B>*p0x0Y<1B>*c0t6134x4354Y"
  738.                 }
  739.             }
  740.         }
  741.     }
  742.     *Option: ENV_C6
  743.     {
  744.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  745.         *switch: Orientation
  746.         {
  747.             *case: PORTRAIT
  748.             {
  749.                 *PrintableArea: PAIR(4768, 7040)
  750.                 *PrintableOrigin: PAIR(300, 300)
  751.                 *CursorOrigin: PAIR(300, 180)
  752.                 *Command: CmdSelect
  753.                 {
  754.                     *Order: DOC_SETUP.40
  755.                     *Cmd: "<1B>&l2022a8c1E<1B>*p0x0Y<1B>*c0t2879x4242Y"
  756.                 }
  757.             }
  758.             *case: LANDSCAPE_CC90
  759.             {
  760.                 *PrintableArea: PAIR(4768, 7040)
  761.                 *PrintableOrigin: PAIR(320, 316)
  762.                 *CursorOrigin: PAIR(200, 7356)
  763.                 *Command: CmdSelect
  764.                 {
  765.                     *Order: DOC_SETUP.40
  766.                     *Cmd: "<1B>&l2022a8c1E<1B>*p0x0Y<1B>*c0t4242x2879Y"
  767.                 }
  768.             }
  769.         }
  770.     }
  771.     *Option: GovernmentLegal
  772.     {
  773.         *rcNameID: 393          *%%% "8x13"
  774.         *PageDimensions: PAIR(9600, 15600)
  775.         *switch: Orientation
  776.         {
  777.             *case: PORTRAIT
  778.             {
  779.                 *PrintableArea: PAIR(9000, 15000)
  780.                 *PrintableOrigin: PAIR(300, 300)
  781.                 *CursorOrigin: PAIR(300, 180)
  782.                 *Command: CmdSelect
  783.                 {
  784.                     *Order: DOC_SETUP.40
  785.                     *Cmd: "<1B>&l2011a8c1E<1B>*p0x0Y<1B>*c0t5418x9018Y"
  786.                 }
  787.             }
  788.             *case: LANDSCAPE_CC90
  789.             {
  790.                 *PrintableArea: PAIR(9000, 15000)
  791.                 *PrintableOrigin: PAIR(300, 300)
  792.                 *CursorOrigin: PAIR(200, 15300)
  793.                 *Command: CmdSelect
  794.                 {
  795.                     *Order: DOC_SETUP.40
  796.                     *Cmd: "<1B>&l2011a8c1E<1B>*p0x0Y<1B>*c0t9018x5418Y"
  797.                 }
  798.             }
  799.         }
  800.     }
  801.     *Option: Foolscap
  802.     {
  803.         *rcNameID: 392          *%%% "8.25x13"
  804.         *PageDimensions: PAIR(9900, 15600)
  805.         *switch: Orientation
  806.         {
  807.             *case: PORTRAIT
  808.             {
  809.                 *PrintableArea: PAIR(9300, 15000)
  810.                 *PrintableOrigin: PAIR(300, 300)
  811.                 *CursorOrigin: PAIR(300, 180)
  812.                 *Command: CmdSelect
  813.                 {
  814.                     *Order: DOC_SETUP.40
  815.                     *Cmd: "<1B>&l2012a8c1E<1B>*p0x0Y<1B>*c0t5598x9018Y"
  816.                 }
  817.             }
  818.             *case: LANDSCAPE_CC90
  819.             {
  820.                 *PrintableArea: PAIR(9300, 15000)
  821.                 *PrintableOrigin: PAIR(300, 300)
  822.                 *CursorOrigin: PAIR(200, 15300)
  823.                 *Command: CmdSelect
  824.                 {
  825.                     *Order: DOC_SETUP.40
  826.                     *Cmd: "<1B>&l2012a8c1E<1B>*p0x0Y<1B>*c0t9018x5598Y"
  827.                 }
  828.             }
  829.         }
  830.     }
  831.     *Option: FOLIO
  832.     {
  833.         *rcNameID: 391          *%%% "8.5x13"
  834.         *switch: Orientation
  835.         {
  836.             *case: PORTRAIT
  837.             {
  838.                 *PrintableArea: PAIR(9600, 15000)
  839.                 *PrintableOrigin: PAIR(300, 300)
  840.                 *CursorOrigin: PAIR(300, 180)
  841.                 *Command: CmdSelect
  842.                 {
  843.                     *Order: DOC_SETUP.40
  844.                     *Cmd: "<1B>&l2007a8c1E<1B>*p0x0Y<1B>*c0t5760x9018Y"
  845.                 }
  846.             }
  847.             *case: LANDSCAPE_CC90
  848.             {
  849.                 *PrintableArea: PAIR(9600, 15000)
  850.                 *PrintableOrigin: PAIR(300, 300)
  851.                 *CursorOrigin: PAIR(200, 15300)
  852.                 *Command: CmdSelect
  853.                 {
  854.                     *Order: DOC_SETUP.40
  855.                     *Cmd: "<1B>&l2007a8c1E<1B>*p0x0Y<1B>*c0t9018x5880Y"
  856.                 }
  857.             }
  858.         }
  859.     }
  860.     *Option: CUSTOMSIZE
  861.     {
  862.         *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  863.         *MinSize: PAIR(4251, 6992)
  864.         *MaxSize: PAIR(14032, 20410)
  865.         *MaxPrintableWidth: 14032
  866.         *MinLeftMargin: 100
  867.         *CenterPrintable?: FALSE
  868.         *PageProtectMem: 1692
  869.         *switch: Orientation
  870.         {
  871.             *case: PORTRAIT
  872.             {
  873.                 *CustCursorOriginX: %d{300}
  874.                 *CustCursorOriginY:  %d{200}
  875.                 *CustPrintableOriginX: %d{300}
  876.                 *CustPrintableOriginY: %d{300}
  877.                 *CustPrintableSizeX: %d{PhysPaperWidth - 300}
  878.                 *CustPrintableSizeY: %d{PhysPaperLength - 200}
  879.                 *Command: CmdSelect
  880.                 {
  881.                     *Order: DOC_SETUP.40
  882.                     *Cmd: "<1B>&l101a4d1E<1B>*p0x0Y<1B>*c0t"
  883. +                         %d{(((PhysPaperWidth - 300) * 6) / 10)}"x"
  884. +                         %d{(((PhysPaperLength - 200) * 6) / 10)}"Y"
  885.                 }
  886.             }
  887.             *case: LANDSCAPE_CC90
  888.             {
  889.                 *CustCursorOriginX: %d{300}
  890.                 *CustCursorOriginY:  %d{PhysPaperLength - 240}
  891.                 *CustPrintableOriginX: %d{300}
  892.                 *CustPrintableOriginY: %d{240}
  893.                 *CustPrintableSizeX: %d{PhysPaperWidth - 300}
  894.                 *CustPrintableSizeY: %d{PhysPaperLength - 480}
  895.                 *Command: CmdSelect
  896.                 {
  897.                     *Order: DOC_SETUP.40
  898.                     *Cmd: "<1B>&l101a4d1E<1B>*p0x0Y<1B>*c0t"
  899. +                         %d{(((PhysPaperLength - 480) * 6) / 10)}"x"
  900. +                         %d{(((PhysPaperWidth - 300) * 6) / 10)}"Y"
  901. *%%% Win9x monolithic driver emits following param.
  902. *%%% +                    %d{(((PhysPaperLength - 240) * 6) / 10)}"x"
  903. *%%% +                    %d{(((PhysPaperWidth - 200) * 6) / 10)}"Y"
  904.                 }
  905.             }
  906.         }
  907.     }
  908. }
  909. *InvalidCombination: LIST(InputBin.Tray1, PaperSize.A6)
  910. *InvalidCombination: LIST(InputBin.Tray1, PaperSize.ENV_10)
  911. *InvalidCombination: LIST(InputBin.Tray1, PaperSize.ENV_DL)
  912. *InvalidCombination: LIST(InputBin.Tray1, PaperSize.ENV_MONARCH)
  913. *InvalidCombination: LIST(InputBin.Tray1, PaperSize.ENV_C5)
  914. *InvalidCombination: LIST(InputBin.Tray1, PaperSize.ENV_C6)
  915. *InvalidCombination: LIST(InputBin.Tray1, PaperSize.CUSTOMSIZE)
  916. *InvalidCombination: LIST(InputBin.Tray2, PaperSize.A6)
  917. *InvalidCombination: LIST(InputBin.Tray2, PaperSize.ENV_10)
  918. *InvalidCombination: LIST(InputBin.Tray2, PaperSize.ENV_DL)
  919. *InvalidCombination: LIST(InputBin.Tray2, PaperSize.ENV_MONARCH)
  920. *InvalidCombination: LIST(InputBin.Tray2, PaperSize.ENV_C5)
  921. *InvalidCombination: LIST(InputBin.Tray2, PaperSize.ENV_C6)
  922. *InvalidCombination: LIST(InputBin.Tray2, PaperSize.CUSTOMSIZE)
  923. *InvalidCombination: LIST(InputBin.Tray3, PaperSize.A6)
  924. *InvalidCombination: LIST(InputBin.Tray3, PaperSize.ENV_10)
  925. *InvalidCombination: LIST(InputBin.Tray3, PaperSize.ENV_DL)
  926. *InvalidCombination: LIST(InputBin.Tray3, PaperSize.ENV_MONARCH)
  927. *InvalidCombination: LIST(InputBin.Tray3, PaperSize.ENV_C5)
  928. *InvalidCombination: LIST(InputBin.Tray3, PaperSize.ENV_C6)
  929. *InvalidCombination: LIST(InputBin.Tray3, PaperSize.CUSTOMSIZE)
  930.  
  931. *%======== OutputBin ========
  932. *Feature: OutputBin
  933. {
  934.     *rcNameID: =OUTPUTBIN_DISPLAY
  935.     *DefaultOption: PrinterDefault
  936.     *Option: PrinterDefault
  937.     {
  938.         *rcNameID: 291          *%%% "Printer Default"
  939.         *Command: CmdSelect
  940.         {
  941.             *Order: JOB_SETUP.40
  942.             *Cmd: ""
  943.         }
  944.     }
  945.     *Option: StandardTray
  946.     {
  947.         *rcNameID: 381          *%%% "Standard Tray"
  948.         *Command: CmdSelect
  949.         {
  950.             *Order: JOB_SETUP.40
  951.             *Cmd: "@PJL SET OUTBIN=UPPER<0A>"
  952.         }
  953.     }
  954.     *Option: UpperTray
  955.     {
  956.         *rcNameID: 382          *%%% "Upper Tray"
  957.         *Command: CmdSelect
  958.         {
  959.             *Order: JOB_SETUP.40
  960.             *Cmd: "@PJL SET OUTBIN=INNER<0A>"
  961.         }
  962.     }
  963. }
  964.  
  965. *%======== Collate ========
  966. *Feature: Collate
  967. {
  968.     *Name: "Collated"       *%%% This string isn't used in UI.
  969.     *DefaultOption: OFF
  970.     *Option: ON
  971.     {
  972.         *rcNameID: =ON_DISPLAY
  973.         *switch: HardDisk
  974.         {
  975.             *case: NotInstalled
  976.             {
  977.                 *Command: CmdSelect
  978.                 {
  979.                     *Order: JOB_SETUP.50
  980.                     *Cmd: "@PJL SET QTY=1<0A>"
  981.                 }
  982.             }
  983.             *case: Installed
  984.             {
  985.                 *Command: CmdSelect
  986.                 {
  987.                     *Order: JOB_SETUP.50
  988.                     *Cmd: "@PJL SET QTY=" %d{NumOfCopies}"<0A>"
  989.                 }
  990.             }
  991.         }
  992.     }
  993.     *Option: OFF
  994.     {
  995.         *rcNameID: =OFF_DISPLAY
  996.         *Command: CmdSelect
  997.         {
  998.             *Order: JOB_SETUP.50
  999.             *Cmd: "@PJL SET QTY=1<0A>"
  1000.         }
  1001.     }
  1002. }
  1003.  
  1004. *%======== PrintQuality ========
  1005. *Feature: PrintQuality
  1006. {
  1007.     *rcNameID: =TEXT_QUALITY_DISPLAY
  1008.     *DefaultOption: SmoothingOn
  1009.     *Option: SmoothingOff
  1010.     {
  1011.         *rcNameID: 306          *%%% "Edge Smoothing - Off"
  1012.         *Command: CmdSelect
  1013.         {
  1014.             *Order: JOB_SETUP.20
  1015.             *Cmd: "@PJL SET SMOOTHING=OFF<0A>"
  1016.         }
  1017.     }
  1018.     *Option: SmoothingOn
  1019.     {
  1020.         *rcNameID: 305          *%%% "Edge Smoothing - On"
  1021.         *Command: CmdSelect
  1022.         {
  1023.             *Order: JOB_SETUP.20
  1024.             *Cmd: "@PJL SET SMOOTHING=ON<0A>"
  1025.         }
  1026.     }
  1027. }
  1028.  
  1029. *%======== PrintDensity ========
  1030. *Feature: PrintDensity
  1031. {
  1032.     *rcNameID: =PRINTDENSITY_DISPLAY
  1033.     *DefaultOption: EconomodeOff
  1034.     *Option: EconomodeOff
  1035.     {
  1036.         *rcNameID: 322          *%%% "Toner Saver - Off"
  1037.         *Command: CmdSelect
  1038.         {
  1039.             *Order: JOB_SETUP.30
  1040.             *Cmd: "@PJL SET ECONOMODE=OFF<0A>"
  1041.         }
  1042.     }
  1043.     *Option: EconomodeOn
  1044.     {
  1045.         *rcNameID: 323          *%%% "Toner Saver - On"
  1046.         *Command: CmdSelect
  1047.         {
  1048.             *Order: JOB_SETUP.30
  1049.             *Cmd: "@PJL SET SMOOTHING=OFF<0A>@PJL SET ECONOMODE=ON<0A>"
  1050.         }
  1051.     }
  1052. }
  1053.  
  1054. *%======== Halftone ========
  1055. *Feature: Halftone
  1056. {
  1057.     *rcNameID: =HALFTONING_DISPLAY
  1058.     *DefaultOption: HT_PATSIZE_AUTO
  1059.     *Option: HT_PATSIZE_AUTO
  1060.     {
  1061.         *rcNameID: =HT_AUTO_SELECT_DISPLAY
  1062.     }
  1063.     *Option: HT_PATSIZE_6x6_M
  1064.     {
  1065.         *rcNameID: =HT_DITHER6X6_DISPLAY
  1066.     }
  1067.     *Option: HT_PATSIZE_8x8_M
  1068.     {
  1069.         *rcNameID: =HT_DITHER8X8_DISPLAY
  1070.     }
  1071.     *Option: HT_PATSIZE_10x10_M
  1072.     {
  1073.         *rcNameID: 397          *%%% "Dither 10x10"
  1074.     }
  1075. }
  1076.  
  1077. *%======== StartJob ========
  1078. *switch: InputBin
  1079. {
  1080.     *case: AUTO
  1081.     {
  1082.         *Command: CmdStartJob
  1083.         {
  1084.             *Order: JOB_SETUP.10
  1085.             *Cmd: "<1B>%%-12345X@PJL SET AUTOTRAYCHANGE=ON<0A>"
  1086.         }
  1087.     }
  1088.     *default:
  1089.     {
  1090.         *Command: CmdStartJob
  1091.         {
  1092.             *Order: JOB_SETUP.10
  1093.             *Cmd: "<1B>%%-12345X@PJL SET AUTOTRAYCHANGE=OFF<0A>"
  1094.         }
  1095.     }
  1096. }
  1097.  
  1098. *%======== StartDoc ========
  1099. *Command: CmdStartDoc
  1100. {
  1101.     *Order: DOC_SETUP.10
  1102.     *Cmd: "<1B>&u600D<1B>*r0F"
  1103. }
  1104.  
  1105. *%======== StartPage ========
  1106. *Command: CmdStartPage
  1107. {
  1108.     *Order: PAGE_SETUP.10
  1109.     *Cmd: "<1B>*b0M<0D>"
  1110. }
  1111.  
  1112. *%======== EndJob ========
  1113. *Command: CmdEndJob
  1114. {
  1115.     *Order: JOB_FINISH.10
  1116.     *Cmd: "<1B>E<1B>%%-12345X"
  1117. }
  1118.  
  1119. *%======== Copies ========
  1120. *switch: Collate
  1121. {
  1122.     *case: OFF
  1123.     {
  1124.         *Command: CmdCopies
  1125.         {
  1126.             *Order: DOC_SETUP.50
  1127.             *Cmd: "<1B>&l" %d[1,999]{NumOfCopies}"X"
  1128.         }
  1129.     }
  1130.     *case: ON
  1131.     {
  1132.         *Command: CmdCopies
  1133.         {
  1134.             *Order: DOC_SETUP.50
  1135.             *Cmd: "<1B>&l1X"
  1136.         }
  1137.     }
  1138. }
  1139.  
  1140. *%======== Capabilities ========
  1141. *RotateCoordinate?: TRUE
  1142. *RotateRaster?: TRUE
  1143. *RotateFont?: TRUE
  1144. *TextCaps: LIST(TC_CR_90,TC_UA_ABLE)
  1145. *MemoryUsage: LIST(FONT)
  1146.  
  1147. *%======== Cursor Control ========
  1148. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  1149. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  1150. *XMoveThreshold: 0
  1151. *YMoveThreshold: 0
  1152. *XMoveUnit: 600
  1153. *YMoveUnit: 600
  1154. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{(DestX / 2) }"X" }
  1155. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d[0,9600]{max_repeat((DestXRel / 2) )}"X" }
  1156. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d[0,9600]{max_repeat((DestXRel / 2) )}"X" }
  1157. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{(DestY / 2) }"Y" }
  1158. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d{(DestYRel / 2) }"Y" }
  1159. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d{(DestYRel / 2) }"Y" }
  1160. *Command: CmdCR { *Cmd : "<0D>" }
  1161. *Command: CmdLF { *Cmd : "<0A>" }
  1162. *Command: CmdFF { *Cmd : "<0C>" }
  1163. *Command: CmdBackSpace { *Cmd : "<08>" }
  1164. *Command: CmdUniDirectionOn { *Cmd : "<00>" }
  1165. *Command: CmdUniDirectionOff { *Cmd : "<00>" }
  1166. *Command: CmdPushCursor { *Cmd : "<1B>&f0S" }
  1167. *Command: CmdPopCursor { *Cmd : "<1B>&f1S" }
  1168. *Command: CmdSetSimpleRotation { *Cmd : "<1B>&a" %d{PrintDirInCCDegrees}"P" }
  1169. *EjectPageWithFF?: TRUE
  1170.  
  1171. *%======== Raster Data ========
  1172. *Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
  1173. *Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
  1174. *Command: CmdEnableDRC { *Cmd : "<1B>*b3M" }
  1175. *OutputDataFormat: H_BYTE
  1176. *OptimizeLeftBound?: TRUE
  1177. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  1178. *CursorYAfterSendBlockData: AUTO_INCREMENT
  1179.  
  1180. *%======== Font ========
  1181. *DefaultFont: =RC_FONT_COURIERR
  1182. *DeviceFonts: =ALL_DEVICEFONTS
  1183. *DefaultCTT: 0
  1184. *CharPosition: BASELINE
  1185. *TTFSEnabled?: TRUE
  1186. *MinFontID: 16534
  1187. *MaxFontID: 32768
  1188. *switch: Resolution
  1189. {
  1190.     *case: 600dpi
  1191.     {
  1192.         *FontFormat: HPPCL_OUTLINE
  1193.     }
  1194.     *case: 300dpi
  1195.     {
  1196.         *FontFormat: HPPCL_RES
  1197.     }
  1198. }
  1199. *Command: CmdSetFontID { *Cmd : "<1B>*c" %d{NextFontID}"D" }
  1200. *Command: CmdSelectFontID { *Cmd : "<1B>(" %d{CurrentFontID}"X" }
  1201. *Command: CmdSetCharCode { *Cmd : "<1B>*c" %d{NextGlyph}"E" }
  1202. *Command: CmdUnderlineOn { *Cmd : "<1B>&dD" }
  1203. *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }
  1204. *Command: CmdWhiteTextOn { *Cmd : "<1B>*v1o1T" }
  1205. *Command: CmdWhiteTextOff { *Cmd : "<1B>*v0o0T" }
  1206.  
  1207. *%======== RectFill ========
  1208. *MinGrayFill: 1
  1209. *MaxGrayFill: 100
  1210. *Command: CmdSetRectWidth { *Cmd : "<1B>*c" %d{(RectXSize / 2) }"A" }
  1211. *Command: CmdSetRectHeight { *Cmd : "<1B>*c" %d{(RectYSize / 2) }"B" }
  1212. *Command: CmdRectGrayFill { *Cmd : "<1B>*c" %d{GrayPercentage }"g2P" }
  1213. *Command: CmdRectWhiteFill { *Cmd : "<1B>*c1P" }
  1214.  
  1215. *Ifdef: WINNT_51
  1216. *Personality: =PERSONALITY_HPGL2
  1217. *%======== HP-GL/2 Graphics Mode ========
  1218. *Feature: GraphicsMode
  1219. {
  1220.     *rcNameID: =GRAPHICSMODE_DISPLAY
  1221.     *DefaultOption: HPGL2MODE
  1222.     *Option: HPGL2MODE
  1223.     {
  1224.         *rcNameID: =GRAPHICSMODE_HPGL2_DISPLAY
  1225.     }
  1226.     *Option: RASTERMODE
  1227.     {
  1228.         *rcNameID: =GRAPHICSMODE_RASTER_DISPLAY
  1229.     }
  1230. }
  1231. *Endif:
  1232.