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

  1. *GPDSpecVersion: "1.0"
  2. *GPDFileName: "xrn2025.gpd"
  3. *ModelName: "Xerox DocuPrint N2025"
  4. *ResourceDLL: "pcl5eres.dll"
  5. *PrintRatePPM: 20
  6.  
  7.  
  8. *% This GPD is common and included in the N2025 and N2825 printer GPD files.
  9. *% IMPORTANT NOTE Do not include installable option constraints in the GPD.
  10. *% They are handled in the plugin and will conflict if placed in the gpd.
  11. *% Feature / Option constraints must be included.
  12.  
  13. *GPDFileVersion: "1.15"
  14. *Include: "StdNames.gpd"
  15. *Include: "ttfsub.gpd"
  16. *Include: "XRXIDS_1.GPD"
  17. *MasterUnits: PAIR(1200, 1200)
  18. *HelpFile: "XXWH1HLP.HLP"
  19. *PrinterType: PAGE
  20. *MaxCopies: 999
  21.  
  22. *rcInstalledOptionNameID: 443
  23. *rcNotInstalledOptionNameID: 444
  24.  
  25. *% Allow the plugin to process the Xerox Job Type Command
  26. *Command: CmdStartJob
  27. {
  28.     *Order: JOB_SETUP.1
  29.     *CallbackID: =CB_JOB_TYPE
  30. }
  31.  
  32. *Command: CmdStartPage
  33. {
  34.     *Order: PAGE_SETUP.1
  35.     *CallbackID: =CB_SEPERATORS_COVERS
  36. }
  37.  
  38. *Feature: RESDLL
  39. {
  40.     *Option: FirstRes
  41.     {
  42.     *Name: "xpclres1.dll"
  43.     }
  44. }
  45.  
  46. *Feature: Collate
  47. {
  48.     *rcNameID: 366
  49.     *DefaultOption: OFF
  50.     *Option: OFF
  51.     {
  52.                 *rcNameID: =OFF_DISPLAY
  53.                 *Command: CmdCopies
  54.                 {
  55.                         *Order: DOC_SETUP.21
  56.                                 *CallbackID: =CB_COPIES
  57.                 }
  58.     }
  59.     *Option: ON
  60.     {
  61.         *rcNameID: =ON_DISPLAY
  62.     }
  63. }
  64.  
  65. *Feature: Orientation
  66. {
  67.     *rcNameID: =ORIENTATION_DISPLAY
  68.     *DefaultOption: PORTRAIT
  69.     *Option: PORTRAIT
  70.     {
  71.         *rcNameID: =PORTRAIT_DISPLAY
  72.         *Command: CmdSelect
  73.         {
  74.             *Order: DOC_SETUP.25
  75.             *NoPageEject?: TRUE
  76.             *Cmd: "<1B>&l0o1E"
  77.         }
  78.     }
  79.     *Option: LANDSCAPE_CC90
  80.     {
  81.         *rcNameID: =LANDSCAPE_DISPLAY
  82.         *Command: CmdSelect
  83.         {
  84.             *Order: DOC_SETUP.25
  85.             *NoPageEject?: TRUE
  86.             *Cmd: "<1B>&l1o1E"
  87.         }
  88.     }
  89. }
  90. *Feature: InputBin
  91. {
  92.     *rcNameID: =PAPER_SOURCE_DISPLAY
  93.     *DefaultOption: Option1
  94.     *Option: Option1      *% Tray 1
  95.     {
  96.         *rcNameID: 276
  97.         *Command: CmdSelect
  98.         {
  99.             *Order: DOC_SETUP.15
  100.             *Cmd: "<1B>&l1H"
  101.         }
  102.     }
  103.     *Option: Option2     *% Tray 2
  104.     {
  105.         *rcNameID: 277
  106.         *Command: CmdSelect
  107.         {
  108.             *Order: DOC_SETUP.15
  109.             *Cmd: "<1B>&l4H"
  110.         }
  111.     }
  112.     *Option: Option3      *% Tray3
  113.     {
  114.         *rcNameID: 410
  115.         *Command: CmdSelect
  116.         {
  117.             *Order: DOC_SETUP.15
  118.             *Cmd: "<1B>&l5H"
  119.         }
  120.     }
  121.     *Option: MBF
  122.     {
  123.         *rcNameID: 555
  124.         *Command: CmdSelect
  125.         {
  126.             *Order: DOC_SETUP.15
  127.             *Cmd: "<1B>&l8H"
  128.         }
  129.  
  130.     }
  131.     *Option: MANUAL
  132.     {
  133.         *rcNameID: 576
  134.         *Command: CmdSelect
  135.         {
  136.             *Order: DOC_SETUP.15
  137.             *Cmd: "<1B>&l2H"
  138.         }
  139.     }
  140. }
  141. *InvalidCombination: LIST(InputBin.Option2, Tray2.NotInstalled,Tray2HiCap.NotInstalled)
  142. *InvalidCombination: LIST(InputBin.Option3, Tray3.NotInstalled,Tray3HiCap.NotInstalled)
  143. *InvalidCombination: LIST(MediaType.Option5, PaperSize.LETTER,Duplex.VERTICAL)
  144. *InvalidCombination: LIST(MediaType.Option5, PaperSize.LETTER,Duplex.HORIZONTAL)
  145. *InvalidCombination: LIST(MediaType.Option7, PaperSize.LETTER,Duplex.VERTICAL)
  146. *InvalidCombination: LIST(MediaType.Option7, PaperSize.LETTER,Duplex.HORIZONTAL)
  147. *InvalidCombination: LIST(MediaType.Option5, PaperSize.A4,Duplex.VERTICAL)
  148. *InvalidCombination: LIST(MediaType.Option5, PaperSize.A4,Duplex.HORIZONTAL)
  149. *InvalidCombination: LIST(MediaType.Option7, PaperSize.A4,Duplex.VERTICAL)
  150. *InvalidCombination: LIST(MediaType.Option7, PaperSize.A4,Duplex.HORIZONTAL)
  151. *InvalidCombination: LIST(MediaType.Option5, PaperSize.LETTER,Duplex.VERTICAL)
  152. *InvalidCombination: LIST(MediaType.Option5, PaperSize.LETTER,Duplex.HORIZONTAL)
  153. *InvalidCombination: LIST(MediaType.Option7, PaperSize.LETTER,Duplex.VERTICAL)
  154. *InvalidCombination: LIST(MediaType.Option7, PaperSize.LETTER,Duplex.HORIZONTAL)
  155. *InvalidCombination: LIST(MediaType.Option5, PaperSize.A4,Duplex.VERTICAL)
  156. *InvalidCombination: LIST(MediaType.Option5, PaperSize.A4,Duplex.HORIZONTAL)
  157. *InvalidCombination: LIST(MediaType.Option7, PaperSize.A4,Duplex.VERTICAL)
  158. *InvalidCombination: LIST(MediaType.Option7, PaperSize.A4,Duplex.HORIZONTAL)
  159.  
  160. *Feature: Tray2
  161. {
  162.     *rcNameID: 277
  163.     *HelpIndex: 45757
  164.     *FeatureType: PRINTER_PROPERTY
  165.     *DefaultOption: NotInstalled
  166.  
  167.     *Option: Installed
  168.     {
  169.         *rcNameID: 443
  170.     }
  171.     *Option: NotInstalled
  172.     {
  173.         *rcNameID: 444
  174.     }
  175. }
  176. *Feature: Tray2HiCap
  177. {
  178.         *rcNameID: RESDLL.FirstRes.1
  179.     *HelpIndex: 45757
  180.     *FeatureType: PRINTER_PROPERTY
  181.     *DefaultOption: NotInstalled
  182.  
  183.     *Option: Installed
  184.     {
  185.         *rcNameID: 443
  186.     }
  187.     *Option: NotInstalled
  188.     {
  189.         *rcNameID: 444
  190.     }
  191. }
  192.  
  193. *Feature: Tray3
  194. {
  195.     *rcNameID: 410
  196.     *HelpIndex: 45758
  197.     *FeatureType: PRINTER_PROPERTY
  198.     *DefaultOption: NotInstalled
  199.  
  200.     *Option: Installed
  201.     {
  202.         *rcNameID: 443
  203.     }
  204.     *Option: NotInstalled
  205.     {
  206.         *rcNameID: 444
  207.     }
  208. }
  209. *Feature: Tray3HiCap
  210. {
  211.         *rcNameID: RESDLL.FirstRes.2
  212.     *HelpIndex: 45757
  213.     *FeatureType: PRINTER_PROPERTY
  214.     *DefaultOption: NotInstalled
  215.  
  216.     *Option: Installed
  217.     {
  218.         *rcNameID: 443
  219.     }
  220.     *Option: NotInstalled
  221.     {
  222.         *rcNameID: 444
  223.     }
  224. }
  225.  
  226. *Feature: Resolution
  227. {
  228.     *rcNameID: =RESOLUTION_DISPLAY
  229.     *DefaultOption: Option1
  230.     *Option: Option1
  231.     {
  232.         *Name: "600 x 600 " =DOTS_PER_INCH
  233.         *DPI: PAIR(600, 600)
  234.         *TextDPI: PAIR(600, 600)
  235.         *MinStripBlankPixels: 32
  236.         EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  237.         *SpotDiameter: 100
  238.         *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  239.         *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  240.         *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  241.         *Command: CmdSelect
  242.         {
  243.             *Order: JOB_SETUP.7
  244.             *Cmd: "@PJL SET RESOLUTION=600<0A>@PJL ENTER LANGUAGE=PCL<0A0D1B>E<1B>*t600R"
  245.         }
  246.     }
  247.     *Option: Option2
  248.     {
  249.         *Name: "300 x 300 " =DOTS_PER_INCH
  250.         *DPI: PAIR(300, 300)
  251.         *TextDPI: PAIR(300, 300)
  252.         *MinStripBlankPixels: 32
  253.         EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  254.         *SpotDiameter: 100
  255.         *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  256.         *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  257.         *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  258.         *Command: CmdSelect
  259.         {
  260.             *Order: JOB_SETUP.7
  261.             *Cmd: "@PJL SET RESOLUTION=300<0A>@PJL ENTER LANGUAGE=PCL<0A0D1B>E<1B>*t300R"
  262.         }
  263.     }
  264. }
  265.  
  266. *Feature: PaperSize
  267. {
  268.     *rcNameID: =PAPER_SIZE_DISPLAY
  269.     *DefaultOption: LETTER
  270.     *Option: LETTER
  271.     {
  272.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  273.         *switch: Orientation
  274.         {
  275.             *case: PORTRAIT
  276.             {
  277.                 *switch: EdgeToEdge
  278.                 {
  279.                         *case: OFF
  280.                         {
  281.                                 *PrintableArea: PAIR(9600, 12660)
  282.                                 *PrintableOrigin: PAIR(300, 300)
  283.                                 *CursorOrigin: PAIR(300, 220)
  284.                                 *Command: CmdSelect
  285.                                 {
  286.                                         *Order: DOC_SETUP.30
  287.                                         *Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t5760x7656Y"
  288.                                 }
  289.                         }
  290.                         *case: ON
  291.                         {
  292.                                 *PrintableArea: PAIR(10200, 13200)
  293.                                 *PrintableOrigin: PAIR(0, 0)
  294.                                 *CursorOrigin: PAIR(0, 0)
  295.                                 *Command: CmdSelect
  296.                                 {
  297.                                         *Order: DOC_SETUP.30
  298.                                         *Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t6120x7920Y"
  299.                                 }
  300.                         }
  301.                 }
  302.             }
  303.             *case: LANDSCAPE_CC90
  304.             {
  305.                 *switch: EdgeToEdge
  306.                 {
  307.                         *case: OFF
  308.                         {
  309.                                 *PrintableArea: PAIR(9760, 12720)
  310.                                 *PrintableOrigin: PAIR(200, 240)
  311.                                 *CursorOrigin: PAIR(200, 12960)
  312.                                 *Command: CmdSelect
  313.                                 {
  314.                                         *Order: DOC_SETUP.30
  315.                                         *Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t7652x5880Y"
  316.                                 }
  317.                         }
  318.                         *case: ON
  319.                         {
  320.                                 *PrintableArea: PAIR(10200, 13200)
  321.                                 *PrintableOrigin: PAIR(0, 0)
  322.                                 *CursorOrigin: PAIR(0, 13200)
  323.                                 *Command: CmdSelect
  324.                                 {
  325.                                         *Order: DOC_SETUP.30
  326.                                         *Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t7920x6120Y"
  327.                                 }
  328.                         }
  329.                 }
  330.             }
  331.         }
  332.     }
  333.     *Option: LEGAL
  334.     {
  335.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  336.         *switch: Orientation
  337.         {
  338.             *case: PORTRAIT
  339.             {
  340.                 *switch: EdgeToEdge
  341.                 {
  342.                         *case: OFF
  343.                         {
  344.                                 *PrintableArea: PAIR(9600, 16260)
  345.                                 *PrintableOrigin: PAIR(300, 300)
  346.                                 *CursorOrigin: PAIR(300, 180)
  347.                                 *Command: CmdSelect
  348.                                 {
  349.                                         *Order: DOC_SETUP.30
  350.                                         *Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t5760x9864Y"
  351.                                 }
  352.                         }
  353.                         *case: ON
  354.                         {
  355.                                 *PrintableArea: PAIR(10200, 16800)
  356.                                 *PrintableOrigin: PAIR(0, 0)
  357.                                 *CursorOrigin: PAIR(0, 0)
  358.                                 *Command: CmdSelect
  359.                                 {
  360.                                         *Order: DOC_SETUP.30
  361.                                         *Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t6120x10080Y"
  362.                                 }
  363.                         }
  364.                 }
  365.             }
  366.             *case: LANDSCAPE_CC90
  367.             {
  368.                 *switch: EdgeToEdge
  369.                 {
  370.                         *case: OFF
  371.                         {
  372.                                 *PrintableArea: PAIR(9760, 16284)
  373.                                 *PrintableOrigin: PAIR(200, 276)
  374.                                 *CursorOrigin: PAIR(0, 16560)
  375.                                 *Command: CmdSelect
  376.                                 {
  377.                                         *Order: DOC_SETUP.30
  378.                                         *Cmd: "<1B>&l3a8c0E<1B>*p0x0Y<1B>*c0t9792x5880Y"
  379.                                 }
  380.                         }
  381.                         *case: ON
  382.                         {
  383.                                 *PrintableArea: PAIR(10200, 16800)
  384.                                 *PrintableOrigin: PAIR(0, 0)
  385.                                 *CursorOrigin: PAIR(0, 16800)
  386.                                 *Command: CmdSelect
  387.                                 {
  388.                                         *Order: DOC_SETUP.30
  389.                                         *Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t10080x6120Y"
  390.                                 }
  391.                         }
  392.                 }
  393.             }
  394.         }
  395.     }
  396.     *Option: FOLIO  *%8.5 x 13 in
  397.     {
  398.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  399.         *switch: Orientation
  400.         {
  401.             *case: PORTRAIT
  402.             {
  403.                 *switch: EdgeToEdge
  404.                 {
  405.                         *case: OFF
  406.                         {
  407.                                 *PrintableArea: PAIR(9600, 15060)
  408.                                 *PrintableOrigin: PAIR(300, 300)
  409.                                 *CursorOrigin: PAIR(300, 180)
  410.                                 *Command: CmdSelect
  411.                                 {
  412.                                         *Order: DOC_SETUP.30
  413.                                         *Cmd: "<1B>&l10a8c1E<1B>*p0x0Y<1B>*c0t5760x9144Y"
  414.                                 }
  415.                         }
  416.                         *case: ON
  417.                         {
  418.                                 *PrintableArea: PAIR(10200, 15600)
  419.                                 *PrintableOrigin: PAIR(0, 0)
  420.                                 *CursorOrigin: PAIR(0, 0)
  421.                                 *Command: CmdSelect
  422.                                 {
  423.                                         *Order: DOC_SETUP.30
  424.                                         *Cmd: "<1B>&l10a8c1E<1B>*p0x0Y<1B>*c0t6120x9360Y"
  425.                                 }
  426.                         }
  427.                 }
  428.             }
  429.             *case: LANDSCAPE_CC90
  430.             {
  431.                 *switch: EdgeToEdge
  432.                 {
  433.                         *case: OFF
  434.                         {
  435.                                 *PrintableArea: PAIR(9720, 15000)
  436.                                 *PrintableOrigin: PAIR(240, 300)
  437.                                 *CursorOrigin: PAIR(200, 15360)
  438.                                 *Command: CmdSelect
  439.                                 {
  440.                                         *Order: DOC_SETUP.30
  441.                                         *Cmd: "<1B>&l10a8c1E<1B>*p0x0Y<1B>*c0t9042x5880Y"
  442.                                 }
  443.                         }
  444.                         *case: ON
  445.                         {
  446.                                 *PrintableArea: PAIR(10200, 15600)
  447.                                 *PrintableOrigin: PAIR(0, 0)
  448.                                 *CursorOrigin: PAIR(0, 15600)
  449.                                 *Command: CmdSelect
  450.                                 {
  451.                                         *Order: DOC_SETUP.30
  452.                                         *Cmd: "<1B>&l10a8c1E<1B>*p0x0Y<1B>*c0t9360x6120Y"
  453.                                 }
  454.                         }
  455.                 }
  456.             }
  457.         }
  458.     }
  459.     *Option: STATEMENT
  460.     {
  461.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  462.         *switch: Orientation
  463.         {
  464.             *case: PORTRAIT
  465.             {
  466.                 *switch: EdgeToEdge
  467.                 {
  468.                         *case: OFF
  469.                         {
  470.                                 *PrintableArea: PAIR(6000, 9600)
  471.                                 *PrintableOrigin: PAIR(300, 300)
  472.                                 *CursorOrigin: PAIR(300, 300)
  473.                                 *Command: CmdSelect
  474.                                 {
  475.                                         *Order: DOC_SETUP.30
  476.                                         *Cmd: "<1B>&l15a8c1E<1B>*p0x0Y<1B>*c0t3600x5760Y"
  477.                                 }
  478.                         }
  479.                         *case: ON
  480.                         {
  481.                                 *PrintableArea: PAIR(6600, 10200)
  482.                                 *PrintableOrigin: PAIR(0, 0)
  483.                                 *CursorOrigin: PAIR(0, 0)
  484.                                 *Command: CmdSelect
  485.                                 {
  486.                                         *Order: DOC_SETUP.30
  487.                                         *Cmd: "<1B>&l15a8c1E<1B>*p0x0Y<1B>*c0t3960x6120Y"
  488.                                 }
  489.                         }
  490.                 }
  491.             }
  492.             *case: LANDSCAPE_CC90
  493.             {
  494.                 *switch: EdgeToEdge
  495.                 {
  496.                         *case: OFF
  497.                         {
  498.                                 *PrintableArea: PAIR(6000, 9600)
  499.                                 *PrintableOrigin: PAIR(300, 300)
  500.                                 *CursorOrigin: PAIR(300, 9900)
  501.                                 *Command: CmdSelect
  502.                                 {
  503.                                         *Order: DOC_SETUP.30
  504.                                         *Cmd: "<1B>&l15a8c1E<1B>*p0x0Y<1B>*c0t5760x3600Y"
  505.                                 }
  506.                         }
  507.                         *case: ON
  508.                         {
  509.                                 *PrintableArea: PAIR(6600, 10200)
  510.                                 *PrintableOrigin: PAIR(0, 0)
  511.                                 *CursorOrigin: PAIR(0, 10200)
  512.                                 *Command: CmdSelect
  513.                                 {
  514.                                         *Order: DOC_SETUP.30
  515.                                         *Cmd: "<1B>&l15a8c1E<1B>*p0x0Y<1B>*c0t6120x3960Y"
  516.                                 }
  517.                         }
  518.                 }
  519.             }
  520.         }
  521.     }
  522.     *Option: EXECUTIVE
  523.     {
  524.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  525.         *switch: Orientation
  526.         {
  527.             *case: PORTRAIT
  528.             {
  529.                 *switch: EdgeToEdge
  530.                 {
  531.                         *case: OFF
  532.                         {
  533.                                 *PrintableArea: PAIR(8100, 12060)
  534.                                 *PrintableOrigin: PAIR(248, 300)
  535.                                 *CursorOrigin: PAIR(248, 240)
  536.                                 *Command: CmdSelect
  537.                                 {
  538.                                         *Order: DOC_SETUP.30
  539.                                         *Cmd: "<1B>&l1a8c1E<1B>*p0x0Y<1B>*c0t4922x7272Y"
  540.                                 }
  541.                         }
  542.                         *case: ON
  543.                         {
  544.                                 *PrintableArea: PAIR(8700, 12600)
  545.                                 *PrintableOrigin: PAIR(0, 0)
  546.                                 *CursorOrigin: PAIR(0, 0)
  547.                                 *Command: CmdSelect
  548.                                 {
  549.                                         *Order: DOC_SETUP.30
  550.                                         *Cmd: "<1B>&l1a8c1E<1B>*p0x0Y<1B>*c0t5220x7560Y"
  551.                                 }
  552.                         }
  553.                 }
  554.             }
  555.             *case: LANDSCAPE_CC90
  556.             {
  557.                 *switch: EdgeToEdge
  558.                 {
  559.                         *case: OFF
  560.                         {
  561.                                 *PrintableArea: PAIR(8220, 12120)
  562.                                 *PrintableOrigin: PAIR(240, 240)
  563.                                 *CursorOrigin: PAIR(160, 12360)
  564.                                 *Command: CmdSelect
  565.                                 {
  566.                                         *Order: DOC_SETUP.30
  567.                                         *Cmd: "<1B>&l1a8c1E<1B>*p0x0Y<1B>*c0t7272x5028Y"
  568.                                 }
  569.                         }
  570.                         *case: ON
  571.                         {
  572.                                 *PrintableArea: PAIR(8700, 12600)
  573.                                 *PrintableOrigin: PAIR(0, 0)
  574.                                 *CursorOrigin: PAIR(0, 12600)
  575.                                 *Command: CmdSelect
  576.                                 {
  577.                                         *Order: DOC_SETUP.30
  578.                                         *Cmd: "<1B>&l1a8c1E<1B>*p0x0Y<1B>*c0t7560x5220Y"
  579.                                 }
  580.                         }
  581.                 }
  582.             }
  583.         }
  584.     }
  585.     *Option: A4
  586.     {
  587.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  588.         *switch: Orientation
  589.         {
  590.             *case: PORTRAIT
  591.             {
  592.                 *switch: EdgeToEdge
  593.                 {
  594.                         *case: OFF
  595.                         {
  596.                                 *PrintableArea: PAIR(9344, 13488)
  597.                                 *PrintableOrigin: PAIR(248, 300)
  598.                                 *CursorOrigin: PAIR(248, 200)
  599.                                 *Command: CmdSelect
  600.                                 {
  601.                                         *Order: DOC_SETUP.30
  602.                                         *Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t5657x8177Y"
  603.                                 }
  604.                         }
  605.                         *case: ON
  606.                         {
  607.                                 *PrintableArea: PAIR(9924, 14028)
  608.                                 *PrintableOrigin: PAIR(0, 0)
  609.                                 *CursorOrigin: PAIR(0, 0)
  610.                                 *Command: CmdSelect
  611.                                 {
  612.                                         *Order: DOC_SETUP.30
  613.                                         *Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t5954x8416Y"
  614.                                 }
  615.                         }
  616.                 }
  617.             }
  618.             *case: LANDSCAPE_CC90
  619.             {
  620.                 *switch: EdgeToEdge
  621.                 {
  622.                         *case: OFF
  623.                         {
  624.                                 *PrintableArea: PAIR(9424, 13548)
  625.                                 *PrintableOrigin: PAIR(240, 240)
  626.                                 *CursorOrigin: PAIR(160, 13788)
  627.                                 *Command: CmdSelect
  628.                                 {
  629.                                         *Order: DOC_SETUP.30
  630.                                         *Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t8128x5762Y"
  631.                                 }
  632.                         }
  633.                         *case: ON
  634.                         {
  635.                                 *PrintableArea: PAIR(9924, 14028)
  636.                                 *PrintableOrigin: PAIR(0, 0)
  637.                                 *CursorOrigin: PAIR(0, 14028)
  638.                                 *Command: CmdSelect
  639.                                 {
  640.                                         *Order: DOC_SETUP.30
  641.                                         *Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t8416x5954Y"
  642.                                 }
  643.                         }
  644.                 }
  645.             }
  646.         }
  647.     }
  648.     *Option: A6
  649.     {
  650.         *Ifdef: WINNT_50
  651.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  652.         *Else:
  653.  
  654.         *rcNameID: RESDLL.FirstRes.16
  655.         *PageDimensions: PAIR(4956, 6996)
  656.  
  657.         *Endif:
  658.         *switch: Orientation
  659.         {
  660.             *case: PORTRAIT
  661.             {
  662.                 *switch: EdgeToEdge
  663.                 {
  664.                         *case: OFF
  665.                         {
  666.                                 *PrintableArea: PAIR(4360, 6392)
  667.                                 *PrintableOrigin: PAIR(300, 300)
  668.                                 *CursorOrigin: PAIR(300, 252)
  669.                                 *Command: CmdSelect
  670.                                 {
  671.                                         *Order: DOC_SETUP.30
  672.                                         *Cmd: "<1B>&l24a8c1E<1B>*p0x0Y<1B>*c0t2736x3852Y"
  673.                                 }
  674.                         }
  675.                         *case: ON
  676.                         {
  677.                                 *PrintableArea: PAIR(4960, 6992)
  678.                                 *PrintableOrigin: PAIR(0, 0)
  679.                                 *CursorOrigin: PAIR(0, 0)
  680.                                 *Command: CmdSelect
  681.                                 {
  682.                                         *Order: DOC_SETUP.30
  683.                                         *Cmd: "<1B>&l24a8c1E<1B>*p0x0Y<1B>*c0t2976x4194Y"
  684.                                 }
  685.                         }
  686.                 }
  687.             }
  688.             *case: LANDSCAPE_CC90
  689.             {
  690.                 *switch: EdgeToEdge
  691.                 {
  692.                         *case: OFF
  693.                         {
  694.                                 *PrintableArea: PAIR(4360, 6392)
  695.                                 *PrintableOrigin: PAIR(300, 300)
  696.                                 *CursorOrigin: PAIR(200, 6692)
  697.                                 *Command: CmdSelect
  698.                                 {
  699.                                         *Order: DOC_SETUP.30
  700.                                         *Cmd: "<1B>&l24a8c1E<1B>*p0x0Y<1B>*c0t3852x2736Y"
  701.                                 }
  702.                         }
  703.                         *case: ON
  704.                         {
  705.                                 *PrintableArea: PAIR(4960, 6992)
  706.                                 *PrintableOrigin: PAIR(0, 0)
  707.                                 *CursorOrigin: PAIR(0, 6992)
  708.                                 *Command: CmdSelect
  709.                                 {
  710.                                         *Order: DOC_SETUP.30
  711.                                         *Cmd: "<1B>&l24a8c1E<1B>*p0x0Y<1B>*c0t4194x2976Y"
  712.                                 }
  713.                         }
  714.                 }
  715.             }
  716.         }
  717.     }
  718.     *Option: A5
  719.     {
  720.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  721.         *switch: Orientation
  722.         {
  723.             *case: PORTRAIT
  724.             {
  725.                 *switch: EdgeToEdge
  726.                 {
  727.                         *case: OFF
  728.                         {
  729.                                 *PrintableArea: PAIR(6396, 9384)
  730.                                 *PrintableOrigin: PAIR(300, 300)
  731.                                 *CursorOrigin: PAIR(300, 180)
  732.                                 *Command: CmdSelect
  733.                                 {
  734.                                         *Order: DOC_SETUP.30
  735.                                         *Cmd: "<1B>&l25a8c1E<1B>*p0x0Y<1B>*c0t3837x5738Y"
  736.                                 }
  737.                         }
  738.                         *case: ON
  739.                         {
  740.                                 *PrintableArea: PAIR(6996, 9924)
  741.                                 *PrintableOrigin: PAIR(0, 0)
  742.                                 *CursorOrigin: PAIR(0, 0)
  743.                                 *Command: CmdSelect
  744.                                 {
  745.                                         *Order: DOC_SETUP.30
  746.                                         *Cmd: "<1B>&l25a8c1E<1B>*p0x0Y<1B>*c0t4196x5954Y"
  747.                                 }
  748.                         }
  749.                 }
  750.             }
  751.             *case: LANDSCAPE_CC90
  752.             {
  753.                 *switch: EdgeToEdge
  754.                 {
  755.                         *case: OFF
  756.                         {
  757.                                 *PrintableArea: PAIR(6396, 9324)
  758.                                 *PrintableOrigin: PAIR(300, 300)
  759.                                 *CursorOrigin: PAIR(200, 9624)
  760.                                 *Command: CmdSelect
  761.                                 {
  762.                                         *Order: DOC_SETUP.30
  763.                                         *Cmd: "<1B>&l25a8c1E<1B>*p0x0Y<1B>*c0t5594x3957Y"
  764.                                 }
  765.                         }
  766.                         *case: ON
  767.                         {
  768.                                 *PrintableArea: PAIR(6996, 9924)
  769.                                 *PrintableOrigin: PAIR(0, 0)
  770.                                 *CursorOrigin: PAIR(0, 9924)
  771.                                 *Command: CmdSelect
  772.                                 {
  773.                                         *Order: DOC_SETUP.30
  774.                                         *Cmd: "<1B>&l25a8c1E<1B>*p0x0Y<1B>*c0t5954x4196Y"
  775.                                 }
  776.                         }
  777.                 }
  778.             }
  779.         }
  780.     }
  781.     *Option: B5          *%JIS B5
  782.     {
  783.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  784.         *switch: Orientation
  785.         {
  786.             *case: PORTRAIT
  787.             {
  788.                 *switch: EdgeToEdge
  789.                 {
  790.                         *case: OFF
  791.                         {
  792.                                 *PrintableArea: PAIR(7975, 11540)
  793.                                 *PrintableOrigin: PAIR(300, 300)
  794.                                 *CursorOrigin: PAIR(300, 252)
  795.                                 *Command: CmdSelect
  796.                                 {
  797.                                         *Order: DOC_SETUP.30
  798.                                         *Cmd: "<1B>&l45a8c1E<1B>*p0x0Y<1B>*c0t4800x6925Y"
  799.                                 }
  800.                         }
  801.                         *case: ON
  802.                         {
  803.                                 *PrintableArea: PAIR(8600, 12144)
  804.                                 *PrintableOrigin: PAIR(0, 0)
  805.                                 *CursorOrigin: PAIR(0, 0)
  806.                                 *Command: CmdSelect
  807.                                 {
  808.                                         *Order: DOC_SETUP.30
  809.                                         *Cmd: "<1B>&l45a8c0E<1B>*p0x0Y<1B>*c0t4800x6925Y"
  810.                                 }
  811.                         }
  812.                 }
  813.             }
  814.             *case: LANDSCAPE_CC90
  815.             {
  816.                 *switch: EdgeToEdge
  817.                 {
  818.                         *case: OFF
  819.                         {
  820.                                 *PrintableArea: PAIR(8000, 11540)
  821.                                 *PrintableOrigin: PAIR(300, 300)
  822.                                 *CursorOrigin: PAIR(200, 11840)
  823.                                 *Command: CmdSelect
  824.                                 {
  825.                                         *Order: DOC_SETUP.30
  826.                                         *Cmd: "<1B>&l45a8c1E<1B>*p0x0Y<1B>*c0t6925x4800Y"
  827.                                 }
  828.                         }
  829.                         *case: ON
  830.                         {
  831.                                 *PrintableArea: PAIR(8600, 12144)
  832.                                 *PrintableOrigin: PAIR(0, 0)
  833.                                 *CursorOrigin: PAIR(0, 12144)
  834.                                 *Command: CmdSelect
  835.                                 {
  836.                                         *Order: DOC_SETUP.30
  837.                                         *Cmd: "<1B>&l45a8c0E<1B>*p0x0Y<1B>*c0t6925x4800Y"
  838.                                 }
  839.                         }
  840.                 }
  841.             }
  842.         }
  843.     }
  844.      *Option: B4                 *%JIS B4
  845.     {
  846.         *rcNameID: RESDLL.FirstRes.3
  847.                 *PageDimensions: PAIR(12142, 17197)
  848.         *switch: Orientation
  849.         {
  850.             *case: PORTRAIT
  851.             {
  852.                 *switch: EdgeToEdge
  853.                 {
  854.                         *case: OFF
  855.                         {
  856.                                 *PrintableArea: PAIR(11524, 16600)
  857.                                 *PrintableOrigin: PAIR(300, 300)
  858.                                 *CursorOrigin: PAIR(300, 252)
  859.                                 *Command: CmdSelect
  860.                                 {
  861.                                         *Order: DOC_SETUP.30
  862.                                         *Cmd: "<1B>&l46a8c1E<1B>*p0x0Y<1B>*c0t4800x6925Y"
  863.                                 }
  864.                         }
  865.                         *case: ON
  866.                         {
  867.                                 *PrintableArea: PAIR(12144, 17196)
  868.                                 *PrintableOrigin: PAIR(0, 0)
  869.                                 *CursorOrigin: PAIR(0, 0)
  870.                                 *Command: CmdSelect
  871.                                 {
  872.                                         *Order: DOC_SETUP.30
  873.                                         *Cmd: "<1B>&l46a8c0E<1B>*p0x0Y<1B>*c0t4800x6925Y"
  874.                                 }
  875.                         }
  876.                 }
  877.             }
  878.             *case: LANDSCAPE_CC90
  879.             {
  880.                 *switch: EdgeToEdge
  881.                 {
  882.                         *case: OFF
  883.                         {
  884.                                 *PrintableArea: PAIR(11524, 16600)
  885.                                 *PrintableOrigin: PAIR(300, 300)
  886.                                 *CursorOrigin: PAIR(200, 16900)
  887.                                 *Command: CmdSelect
  888.                                 {
  889.                                         *Order: DOC_SETUP.30
  890.                                         *Cmd: "<1B>&l46a8c1E<1B>*p0x0Y<1B>*c0t6925x4800Y"
  891.                                 }
  892.                         }
  893.                         *case: ON
  894.                         {
  895.                                 *PrintableArea: PAIR(12144, 17196)
  896.                                 *PrintableOrigin: PAIR(0, 0)
  897.                                 *CursorOrigin: PAIR(0, 17196)
  898.                                 *Command: CmdSelect
  899.                                 {
  900.                                         *Order: DOC_SETUP.30
  901.                                         *Cmd: "<1B>&l46a8c0E<1B>*p0x0Y<1B>*c0t6925x4800Y"
  902.                                 }
  903.                         }
  904.                 }
  905.             }
  906.         }
  907.     }
  908.       *Option: A3
  909.     {
  910.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  911.         *switch: Orientation
  912.         {
  913.             *case: PORTRAIT
  914.             {
  915.                 *switch: EdgeToEdge
  916.                 {
  917.                         *case: OFF
  918.                         {
  919.                                 *PrintableArea: PAIR(13350, 19250)
  920.                                 *PrintableOrigin: PAIR(300, 300)
  921.                                 *CursorOrigin: PAIR(248, 200)
  922.                                 *Command: CmdSelect
  923.                                 {
  924.                                         *Order: DOC_SETUP.30
  925.                                         *Cmd: "<1B>&l27a8c1E<1B>*p0x0Y<1B>*c0t8056x11520Y"
  926.                                 }
  927.                         }
  928.                         *case: ON
  929.                         {
  930.                                 *PrintableArea: PAIR(14028, 19848)
  931.                                 *PrintableOrigin: PAIR(0, 0)
  932.                                 *CursorOrigin: PAIR(0, 0)
  933.                                 *Command: CmdSelect
  934.                                 {
  935.                                         *Order: DOC_SETUP.30
  936.                                         *Cmd: "<1B>&l27a8c1E<1B>*p0x0Y<1B>*c0t8416x11908Y"
  937.                                 }
  938.                         }
  939.                 }
  940.             }
  941.             *case: LANDSCAPE_CC90
  942.             {
  943.                 *switch: EdgeToEdge
  944.                 {
  945.                         *case: OFF
  946.                         {
  947.                                 *PrintableArea: PAIR(13400, 19250)
  948.                                 *PrintableOrigin: PAIR(300, 300)
  949.                                 *CursorOrigin: PAIR(200, 19550)
  950.                                 *Command: CmdSelect
  951.                                 {
  952.                                         *Order: DOC_SETUP.30
  953.                                         *Cmd: "<1B>&l27a8c1E<1B>*p0x0Y<1B>*c0t11520x8056Y"
  954.                                 }
  955.                         }
  956.                         *case: ON
  957.                         {
  958.                                 *PrintableArea: PAIR(14028, 19848)
  959.                                 *PrintableOrigin: PAIR(0, 0)
  960.                                 *CursorOrigin: PAIR(0, 19848)
  961.                                 *Command: CmdSelect
  962.                                 {
  963.                                         *Order: DOC_SETUP.30
  964.                                         *Cmd: "<1B>&l27a8c1E<1B>*p0x0Y<1B>*c0t11908x8416Y"
  965.                                 }
  966.                         }
  967.                 }
  968.             }
  969.         }
  970.     }
  971.     *Option: LEDGER
  972.     {
  973.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  974.         *RotateSize? : TRUE
  975.         *switch: Orientation
  976.         {
  977.             *case: PORTRAIT
  978.             {
  979.                 *switch: EdgeToEdge
  980.                 {
  981.                         *case: OFF
  982.                         {
  983.                                 *PrintableArea: PAIR(12600, 19860)
  984.                                 *PrintableOrigin: PAIR(300, 300)
  985.                                 *CursorOrigin: PAIR(300, 180)
  986.                                 *Command: CmdSelect
  987.                                 {
  988.                                         *Order: DOC_SETUP.30
  989.                                         *Cmd: "<1B>&l6a8c1E<1B>*p0x0Y<1B>*c0t7560x12024Y"
  990.                                 }
  991.                         }
  992.                         *case: ON
  993.                         {
  994.                                 *PrintableArea: PAIR(13200, 20400)
  995.                                 *PrintableOrigin: PAIR(0, 0)
  996.                                 *CursorOrigin: PAIR(0, 0)
  997.                                 *Command: CmdSelect
  998.                                 {
  999.                                         *Order: DOC_SETUP.30
  1000.                                         *Cmd: "<1B>&l6a8c1E<1B>*p0x0Y<1B>*c0t7920x12240Y"
  1001.                                 }
  1002.                         }
  1003.                 }
  1004.             }
  1005.             *case: LANDSCAPE_CC90
  1006.             {
  1007.                 *switch: EdgeToEdge
  1008.                 {
  1009.                         *case: OFF
  1010.                         {
  1011.                                 *PrintableArea: PAIR(12760, 19920)
  1012.                                 *PrintableOrigin: PAIR(200, 240)
  1013.                                 *CursorOrigin: PAIR(200, 20160)
  1014.                                 *Command: CmdSelect
  1015.                                 {
  1016.                                         *Order: DOC_SETUP.30
  1017.                                         *Cmd: "<1B>&l6a8c1E<1B>*p0x0Y<1B>*c0t11952x7680Y"
  1018.                                 }
  1019.                         }
  1020.                         *case: ON
  1021.                         {
  1022.                                 *PrintableArea: PAIR(13200, 20400)
  1023.                                 *PrintableOrigin: PAIR(0, 0)
  1024.                                 *CursorOrigin: PAIR(0, 20400)
  1025.                                 *Command: CmdSelect
  1026.                                 {
  1027.                                         *Order: DOC_SETUP.30
  1028.                                         *Cmd: "<1B>&l6a8c1E<1B>*p0x0Y<1B>*c0t12240x7920Y"
  1029.                                 }
  1030.                         }
  1031.                 }
  1032.             }
  1033.         }
  1034.     }
  1035.     *Option: ENV_10
  1036.     {
  1037.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  1038.         *switch: Orientation
  1039.         {
  1040.             *case: PORTRAIT
  1041.             {
  1042.                 *switch: EdgeToEdge
  1043.                 {
  1044.                         *case: OFF
  1045.                         {
  1046.                                 *PrintableArea: PAIR(4336, 10800)
  1047.                                 *PrintableOrigin: PAIR(300, 300)
  1048.                                 *CursorOrigin: PAIR(300, 180)
  1049.                                 *Command: CmdSelect
  1050.                                 {
  1051.                                         *Order: DOC_SETUP.30
  1052.                                         *Cmd: "<1B>&l81a8c1E<1B>*p0x0Y<1B>*c0t2614x6624Y"
  1053.                                 }
  1054.                         }
  1055.                         *case: ON
  1056.                         {
  1057.                                 *PrintableArea: PAIR(4956, 11400)
  1058.                                 *PrintableOrigin: PAIR(0, 0)
  1059.                                 *CursorOrigin: PAIR(0, 0)
  1060.                                 *Command: CmdSelect
  1061.                                 {
  1062.                                         *Order: DOC_SETUP.30
  1063.                                         *Cmd: "<1B>&l81a8c1E<1B>*p0x0Y<1B>*c0t2972x6840Y"
  1064.                                 }
  1065.                         }
  1066.                 }
  1067.             }
  1068.             *case: LANDSCAPE_CC90
  1069.             {
  1070.                 *switch: EdgeToEdge
  1071.                 {
  1072.                         *case: OFF
  1073.                         {
  1074.                                 *PrintableArea: PAIR(4356, 10800)
  1075.                                 *PrintableOrigin: PAIR(300, 300)
  1076.                                 *CursorOrigin: PAIR(200, 11100)
  1077.                                 *Command: CmdSelect
  1078.                                 {
  1079.                                         *Order: DOC_SETUP.30
  1080.                                         *Cmd: "<1B>&l81a8c1E<1B>*p0x0Y<1B>*c0t6480x2734Y"
  1081.                                 }
  1082.                         }
  1083.                         *case: ON
  1084.                         {
  1085.                                 *PrintableArea: PAIR(4956, 11400)
  1086.                                 *PrintableOrigin: PAIR(0, 0)
  1087.                                 *CursorOrigin: PAIR(0, 11400)
  1088.                                 *Command: CmdSelect
  1089.                                 {
  1090.                                         *Order: DOC_SETUP.30
  1091.                                         *Cmd: "<1B>&l81a8c1E<1B>*p0x0Y<1B>*c0t6840x2972Y"
  1092.                                 }
  1093.                         }
  1094.                 }
  1095.             }
  1096.         }
  1097.     }
  1098.     *Option: ENV_DL
  1099.     {
  1100.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  1101.         *switch: Orientation
  1102.         {
  1103.             *case: PORTRAIT
  1104.             {
  1105.                 *switch: EdgeToEdge
  1106.                 {
  1107.                         *case: OFF
  1108.                         {
  1109.                                 *PrintableArea: PAIR(4576, 9792)
  1110.                                 *PrintableOrigin: PAIR(300, 300)
  1111.                                 *CursorOrigin: PAIR(300, 180)
  1112.                                 *Command: CmdSelect
  1113.                                 {
  1114.                                         *Order: DOC_SETUP.30
  1115.                                         *Cmd: "<1B>&l90a8c1E<1B>*p0x0Y<1B>*c0t2757x6019Y"
  1116.                                 }
  1117.                         }
  1118.                         *case: ON
  1119.                         {
  1120.                                 *PrintableArea: PAIR(5196, 10392)
  1121.                                 *PrintableOrigin: PAIR(0, 0)
  1122.                                 *CursorOrigin: PAIR(0, 0)
  1123.                                 *Command: CmdSelect
  1124.                                 {
  1125.                                         *Order: DOC_SETUP.30
  1126.                                         *Cmd: "<1B>&l90a8c1E<1B>*p0x0Y<1B>*c0t3116x6234Y"
  1127.                                 }
  1128.                         }
  1129.                 }
  1130.             }
  1131.             *case: LANDSCAPE_CC90
  1132.             {
  1133.                 *switch: EdgeToEdge
  1134.                 {
  1135.                         *case: OFF
  1136.                         {
  1137.                                 *PrintableArea: PAIR(4596, 9792)
  1138.                                 *PrintableOrigin: PAIR(300, 300)
  1139.                                 *CursorOrigin: PAIR(200, 10092)
  1140.                                 *Command: CmdSelect
  1141.                                 {
  1142.                                         *Order: DOC_SETUP.30
  1143.                                         *Cmd: "<1B>&l90a8c1E<1B>*p0x0Y<1B>*c0t5875x2878Y"
  1144.                                 }
  1145.                         }
  1146.                         *case: ON
  1147.                         {
  1148.                                 *PrintableArea: PAIR(5196, 10392)
  1149.                                 *PrintableOrigin: PAIR(0, 0)
  1150.                                 *CursorOrigin: PAIR(0, 10392)
  1151.                                 *Command: CmdSelect
  1152.                                 {
  1153.                                         *Order: DOC_SETUP.30
  1154.                                         *Cmd: "<1B>&l90a8c1E<1B>*p0x0Y<1B>*c0t6234x3116Y"
  1155.                                 }
  1156.                         }
  1157.                 }
  1158.             }
  1159.         }
  1160.     }
  1161.     *Option: ENV_C5
  1162.     {
  1163.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  1164.         *switch: Orientation
  1165.         {
  1166.             *case: PORTRAIT
  1167.             {
  1168.                 *switch: EdgeToEdge
  1169.                 {
  1170.                         *case: OFF
  1171.                         {
  1172.                                 *PrintableArea: PAIR(7036, 10224)
  1173.                                 *PrintableOrigin: PAIR(300, 300)
  1174.                                 *CursorOrigin: PAIR(300, 180)
  1175.                                 *Command: CmdSelect
  1176.                                 {
  1177.                                         *Order: DOC_SETUP.30
  1178.                                         *Cmd: "<1B>&l91a8c1E<1B>*p0x0Y<1B>*c0t4234x6278Y"
  1179.                                 }
  1180.                         }
  1181.                         *case: ON
  1182.                         {
  1183.                                 *PrintableArea: PAIR(7656, 10824)
  1184.                                 *PrintableOrigin: PAIR(0, 0)
  1185.                                 *CursorOrigin: PAIR(0, 0)
  1186.                                 *Command: CmdSelect
  1187.                                 {
  1188.                                         *Order: DOC_SETUP.30
  1189.                                         *Cmd: "<1B>&l91a8c1E<1B>*p0x0Y<1B>*c0t4592x6494Y"
  1190.                                 }
  1191.                         }
  1192.                 }
  1193.             }
  1194.             *case: LANDSCAPE_CC90
  1195.             {
  1196.                 *switch: EdgeToEdge
  1197.                 {
  1198.                         *case: OFF
  1199.                         {
  1200.                                 *PrintableArea: PAIR(7056, 10224)
  1201.                                 *PrintableOrigin: PAIR(300, 300)
  1202.                                 *CursorOrigin: PAIR(200, 10524)
  1203.                                 *Command: CmdSelect
  1204.                                 {
  1205.                                         *Order: DOC_SETUP.30
  1206.                                         *Cmd: "<1B>&l91a8c1E<1B>*p0x0Y<1B>*c0t6134x4354Y"
  1207.                                 }
  1208.                         }
  1209.                         *case: ON
  1210.                         {
  1211.                                 *PrintableArea: PAIR(7656, 10824)
  1212.                                 *PrintableOrigin: PAIR(0, 0)
  1213.                                 *CursorOrigin: PAIR(0, 10824)
  1214.                                 *Command: CmdSelect
  1215.                                 {
  1216.                                         *Order: DOC_SETUP.30
  1217.                                         *Cmd: "<1B>&l91a8c1E<1B>*p0x0Y<1B>*c0t6494x4592Y"
  1218.                                 }
  1219.                         }
  1220.                 }
  1221.             }
  1222.         }
  1223.     }
  1224.     *Option: ENV_MONARCH
  1225.     {
  1226.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  1227.         *switch: Orientation
  1228.         {
  1229.             *case: PORTRAIT
  1230.             {
  1231.                 *switch: EdgeToEdge
  1232.                 {
  1233.                         *case: OFF
  1234.                         {
  1235.                                 *PrintableArea: PAIR(4036, 8400)
  1236.                                 *PrintableOrigin: PAIR(300, 300)
  1237.                                 *CursorOrigin: PAIR(300, 180)
  1238.                                 *Command: CmdSelect
  1239.                                 {
  1240.                                         *Order: DOC_SETUP.30
  1241.                                         *Cmd: "<1B>&l80a8c1E<1B>*p0x0Y<1B>*c0t2434x5184Y"
  1242.                                 }
  1243.                         }
  1244.                         *case: ON
  1245.                         {
  1246.                                 *PrintableArea: PAIR(4656, 9000)
  1247.                                 *PrintableOrigin: PAIR(0, 0)
  1248.                                 *CursorOrigin: PAIR(0, 0)
  1249.                                 *Command: CmdSelect
  1250.                                 {
  1251.                                         *Order: DOC_SETUP.30
  1252.                                         *Cmd: "<1B>&l80a8c1E<1B>*p0x0Y<1B>*c0t2792x5400Y"
  1253.                                 }
  1254.                         }
  1255.                 }
  1256.             }
  1257.             *case: LANDSCAPE_CC90
  1258.             {
  1259.                 *switch: EdgeToEdge
  1260.                 {
  1261.                         *case: OFF
  1262.                         {
  1263.                                 *PrintableArea: PAIR(4056, 8400)
  1264.                                 *PrintableOrigin: PAIR(300, 300)
  1265.                                 *CursorOrigin: PAIR(200, 8700)
  1266.                                 *Command: CmdSelect
  1267.                                 {
  1268.                                         *Order: DOC_SETUP.30
  1269.                                         *Cmd: "<1B>&l80a8c1E<1B>*p0x0Y<1B>*c0t5040x2557Y"
  1270.                                 }
  1271.                         }
  1272.                         *case: ON
  1273.                         {
  1274.                                 *PrintableArea: PAIR(4656, 9000)
  1275.                                 *PrintableOrigin: PAIR(0, 0)
  1276.                                 *CursorOrigin: PAIR(0, 9000)
  1277.                                 *Command: CmdSelect
  1278.                                 {
  1279.                                         *Order: DOC_SETUP.30
  1280.                                         *Cmd: "<1B>&l80a8c1E<1B>*p0x0Y<1B>*c0t5400x2792Y"
  1281.                                 }
  1282.                         }
  1283.                 }
  1284.             }
  1285.         }
  1286.     }
  1287. }
  1288.  
  1289. *Feature: MediaType
  1290. {
  1291.     *rcNameID: =MEDIA_TYPE_DISPLAY
  1292.     *DefaultOption: Option1
  1293.     *Option: Option1
  1294.     {
  1295.         *rcNameID: 271
  1296.     }
  1297.     *Option: Option2
  1298.     {
  1299.         *rcNameID: 435
  1300.         *Command: CmdSelect
  1301.         {
  1302.             *Order: DOC_SETUP.11
  1303.             *Cmd: "<1B>&n6WdPlain"
  1304.         }
  1305.     }
  1306.     *Option: Option5
  1307.     {
  1308.         *rcNameID: =TRANSPARENCY_DISPLAY
  1309.         *Command: CmdSelect
  1310.         {
  1311.             *Order: DOC_SETUP.11
  1312.             *Cmd: "<1B>&n13WdTransparency"
  1313.         }
  1314.     }
  1315.     *Option: Option7
  1316.     {
  1317.         *rcNameID: 439
  1318.         *Command: CmdSelect
  1319.         {
  1320.             *Order: DOC_SETUP.11
  1321.             *Cmd: "<1B>&n7WdLabels"
  1322.         }
  1323.     }
  1324.     *Option: Option3
  1325.     {
  1326.         *rcNameID: 436
  1327.         *Command: CmdSelect
  1328.         {
  1329.             *Order: DOC_SETUP.11
  1330.             *Cmd: "<1B>&n11WdPreprinted"
  1331.         }
  1332.     }
  1333.     *Option: Option4
  1334.     {
  1335.         *rcNameID: 437
  1336.         *Command: CmdSelect
  1337.         {
  1338.             *Order: DOC_SETUP.11
  1339.             *Cmd: "<1B>&n11WdLetterhead"
  1340.         }
  1341.     }
  1342.     *Option: Option6
  1343.     {
  1344.         *rcNameID: 438
  1345.         *Command: CmdSelect
  1346.         {
  1347.             *Order: DOC_SETUP.11
  1348.             *Cmd: "<1B>&n11WdPrepunched"
  1349.         }
  1350.     }
  1351.     *Option: Option8
  1352.     {
  1353.         *rcNameID: 269
  1354.         *Command: CmdSelect
  1355.         {
  1356.             *Order: DOC_SETUP.11
  1357.             *Cmd: "<1B>&n5WdBond"
  1358.         }
  1359.     }
  1360.     *Option: Option9
  1361.     {
  1362.         *rcNameID: 440
  1363.         *Command: CmdSelect
  1364.         {
  1365.             *Order: DOC_SETUP.11
  1366.             *Cmd: "<1B>&n9WdRecycled"
  1367.         }
  1368.     }
  1369.     *Option: Option10
  1370.     {
  1371.         *rcNameID: 441
  1372.         *Command: CmdSelect
  1373.         {
  1374.             *Order: DOC_SETUP.11
  1375.             *Cmd: "<1B>&n6WdColor"
  1376.         }
  1377.     }
  1378.     *Option: Option11
  1379.     {
  1380.         *rcNameID: 442
  1381.         *Command: CmdSelect
  1382.         {
  1383.             *Order: DOC_SETUP.11
  1384.             *Cmd: "<1B>&n11WdCard Stock"
  1385.         }
  1386.     }
  1387. *% The Plugin will hide and handle the next 5 media types
  1388.     *Option: Option12
  1389.     {
  1390.         *rcNameID: 624
  1391.         *Command: CmdSelect
  1392.         {
  1393.             *Order: DOC_SETUP.11
  1394.                         *CallbackID: =CB_UDT_1
  1395.         }
  1396.     }
  1397.     *Option: Option13
  1398.     {
  1399.         *rcNameID: 625
  1400.         *Command: CmdSelect
  1401.         {
  1402.             *Order: DOC_SETUP.11
  1403.                         *CallbackID: =CB_UDT_2
  1404.         }
  1405.     }
  1406.     *Option: Option14
  1407.     {
  1408.         *rcNameID: 626
  1409.         *Command: CmdSelect
  1410.         {
  1411.             *Order: DOC_SETUP.11
  1412.                         *CallbackID: =CB_UDT_3
  1413.         }
  1414.     }
  1415.     *Option: Option15
  1416.     {
  1417.         *rcNameID: 627
  1418.         *Command: CmdSelect
  1419.         {
  1420.             *Order: DOC_SETUP.11
  1421.                         *CallbackID: =CB_UDT_4
  1422.         }
  1423.     }
  1424.         *Option: Option16
  1425.     {
  1426.         *rcNameID: 628
  1427.         *Command: CmdSelect
  1428.         {
  1429.             *Order: DOC_SETUP.11
  1430.                         *CallbackID: =CB_UDT_5
  1431.         }
  1432.     }
  1433. }
  1434.  
  1435. *Feature: PrintQuality
  1436. {
  1437.     *rcNameID: 705
  1438.     *HelpIndex: 45761
  1439.     *DefaultOption: Option3
  1440.     *Option: Option1
  1441.     {
  1442.         *rcNameID: 478
  1443.         *Command: CmdSelect
  1444.         {
  1445.             *Order: JOB_SETUP.4
  1446.             *Cmd: "@PJL SET RET=OFF<0D0A>@PJL SET ECONOMODE=ON<0D0A>"
  1447.         }
  1448.     }
  1449.     *Option: Option2
  1450.     {
  1451.         *rcNameID: 621
  1452.         *Command: CmdSelect
  1453.         {
  1454.             *Order: JOB_SETUP.4
  1455.             *Cmd: "@PJL SET ECONOMODE=OFF<0D0A>@PJL SET RET=ON<0D0A>"
  1456.         }
  1457.     }
  1458.     *Option: Option3
  1459.     {
  1460.         *rcNameID: 622
  1461.         *Command: CmdSelect
  1462.         {
  1463.             *Order: JOB_SETUP.4
  1464.             *Cmd: "@PJL SET RET=OFF<0D0A>@PJL SET ECONOMODE=OFF<0D0A>"
  1465.         }
  1466.     }
  1467. }
  1468.  
  1469. *Feature: OutputBin
  1470. {
  1471.     *rcNameID: =OUTPUTBIN_DISPLAY
  1472.     *HelpIndex: 45762
  1473.     *DefaultOption: Option1
  1474.     *Option: Option1         *%Automatic
  1475.     {
  1476.         *rcNameID: 577
  1477.         *Command: CmdSelect
  1478.         {
  1479.             *Order: DOC_SETUP.20
  1480.             *Cmd: "<1B>&l0G"
  1481.         }
  1482.     }
  1483.     *Option: Option2         *%StandardBin
  1484.     {
  1485.         *rcNameID: 578
  1486.         *Command: CmdSelect
  1487.         {
  1488.             *Order: DOC_SETUP.20
  1489.             *Cmd: "<1B>&l1G"
  1490.         }
  1491.     }
  1492.     *Option: Option3      *%OffsetBin
  1493.     {
  1494.         *rcNameID: 579
  1495.         *Command: CmdSelect
  1496.         {
  1497.             *Order: DOC_SETUP.20
  1498.             *Cmd: "<1B>&l2G"
  1499.         }
  1500.         *Constraints: LIST(MediaType.Option5, MediaType.Option7, PaperSize.LEGAL, PaperSize.FOLIO, PaperSize.A6, PaperSize.B4, PaperSize.A3, PaperSize.LEDGER, PaperSize.ENV_10, PaperSize.ENV_DL, PaperSize.ENV_C5, PaperSize.ENV_MONARCH )
  1501.     }
  1502.  
  1503. }
  1504.  
  1505. *Feature: OffsetBin
  1506. {
  1507.     *rcNameID: 579
  1508.     *HelpIndex: 45759
  1509.     *FeatureType: PRINTER_PROPERTY
  1510.     *DefaultOption: NotInstalled
  1511.  
  1512.     *Option: Installed
  1513.     {
  1514.         *rcNameID: 443
  1515.     }
  1516.     *Option: NotInstalled
  1517.     {
  1518.         *rcNameID: 444
  1519.         *Constraints: LIST(OutputBin.Option3)
  1520.     }
  1521. }
  1522.  
  1523. *Feature: Halftone
  1524. {
  1525.     *rcNameID: =HALFTONING_DISPLAY
  1526.     *DefaultOption: HT_PATSIZE_AUTO
  1527.     *Option: HT_PATSIZE_AUTO
  1528.     {
  1529.         *rcNameID: =HT_AUTO_SELECT_DISPLAY
  1530.     }
  1531.     *Option: HT_PATSIZE_SUPERCELL_M
  1532.     {
  1533.         *rcNameID: =HT_SUPERCELL_DISPLAY
  1534.     }
  1535.     *Option: HT_PATSIZE_6x6_M
  1536.     {
  1537.         *rcNameID: =HT_DITHER6X6_DISPLAY
  1538.     }
  1539.     *Option: HT_PATSIZE_8x8_M
  1540.     {
  1541.         *rcNameID: =HT_DITHER8X8_DISPLAY
  1542.     }
  1543. }
  1544.  
  1545.  *Feature: EdgeToEdge
  1546. {
  1547.     *rcNameID: 580
  1548.     *HelpIndex: 45644
  1549.     *DefaultOption: OFF
  1550.     *Option: OFF
  1551.     {
  1552.         *rcNameID: =OFF_DISPLAY
  1553.         *Command: CmdSelect
  1554.         {
  1555.             *Order: JOB_SETUP.5
  1556.             *Cmd: "@PJL SET XEDGETOEDGE=OFF<0A>"
  1557.  
  1558.         }
  1559.     }
  1560.     *Option: ON
  1561.     {
  1562.         *rcNameID: =ON_DISPLAY
  1563.         *Command: CmdSelect
  1564.         {
  1565.             *Order: JOB_SETUP.5
  1566.             *Cmd: "@PJL SET XEDGETOEDGE=ON<0A>"
  1567.  
  1568.         }
  1569.     }
  1570. }
  1571.  
  1572. *Feature: Duplex
  1573. {
  1574.     *rcNameID: =TWO_SIDED_PRINTING_DISPLAY
  1575.     *DefaultOption: NONE
  1576.     *Option: NONE
  1577.     {
  1578.         *rcNameID: =NONE_DISPLAY
  1579.         *Command: CmdSelect
  1580.         {
  1581.             *Order: DOC_SETUP.10
  1582.             *Cmd: "<1B>&l0S"
  1583.         }
  1584.     }
  1585.     *Option: VERTICAL
  1586.     {
  1587.         *rcNameID: =FLIP_ON_LONG_EDGE_DISPLAY
  1588.         *Command: CmdSelect
  1589.         {
  1590.             *Order: DOC_SETUP.10
  1591.             *Cmd: "<1B>&l1S"
  1592.         }
  1593.         *Constraints: LIST(PaperSize.ENV_10, PaperSize.ENV_DL, PaperSize.ENV_MONARCH, PaperSize.ENV_C5, PaperSize.A6)
  1594.     }
  1595.     *Option: HORIZONTAL
  1596.     {
  1597.         *rcNameID: =FLIP_ON_SHORT_EDGE_DISPLAY
  1598.         *Command: CmdSelect
  1599.         {
  1600.             *Order: DOC_SETUP.10
  1601.             *Cmd: "<1B>&l2S"
  1602.         }
  1603.         *Constraints: LIST(PaperSize.ENV_10, PaperSize.ENV_DL, PaperSize.ENV_MONARCH, PaperSize.ENV_C5, PaperSize.A6)
  1604.     }
  1605. }
  1606. *Feature: DuplexUnit
  1607. {
  1608.     *rcNameID: 581
  1609.     *HelpIndex: 15572
  1610.     *FeatureType: PRINTER_PROPERTY
  1611.     *DefaultOption: NotInstalled
  1612.  
  1613.     *Option: Installed
  1614.     {
  1615.         *rcNameID: 443
  1616.     }
  1617.     *Option: NotInstalled
  1618.     {
  1619.         *rcNameID: 444
  1620.         *DisabledFeatures: LIST(Duplex)
  1621.                 *Constraints: LIST(Duplex.VERTICAL,Duplex.HORIZONTAL)
  1622.     }
  1623.  }
  1624. *Feature: HardDisk
  1625. {
  1626.     *rcNameID: 430
  1627.     *HelpIndex: 45659
  1628.     *FeatureType: PRINTER_PROPERTY
  1629.     *DefaultOption: NotInstalled
  1630.  
  1631.     *Option: Installed
  1632.     {
  1633.         *rcNameID: 443
  1634.     }
  1635.     *Option: NotInstalled
  1636.     {
  1637.         *rcNameID: 444
  1638.     }
  1639.  
  1640. }
  1641.  
  1642. *Feature: Memory
  1643. {
  1644.     *rcNameID: =PRINTER_MEMORY_DISPLAY
  1645.         *HelpIndex: 45660
  1646.     *DefaultOption: 32767KB
  1647.     *Option: 32767KB
  1648.     {
  1649.         *Name: "32MB"
  1650.         *MemoryConfigKB: PAIR(32767, 32767)
  1651.     }
  1652.     *Option: 49152KB
  1653.     {
  1654.         *Name: "48MB"
  1655.         *MemoryConfigKB: PAIR(49152, 49152)
  1656.     }
  1657.     *Option: 65536KB
  1658.     {
  1659.         *Name: "64MB"
  1660.         *MemoryConfigKB: PAIR(65536, 65419)
  1661.     }
  1662.     *Option: 81920KB
  1663.     {
  1664.         *Name: "80MB"
  1665.         *MemoryConfigKB: PAIR(81920, 81920)
  1666.     }
  1667.     *Option: 98304KB
  1668.     {
  1669.         *Name: "96MB"
  1670.         *MemoryConfigKB: PAIR(98304, 98304)
  1671.     }
  1672.     *Option: 102400KB
  1673.     {
  1674.         *Name: "112MB"
  1675.         *MemoryConfigKB: PAIR(114688, 114688)
  1676.     }
  1677.     *Option: 106496KB
  1678.     {
  1679.         *Name: "128MB"
  1680.         *MemoryConfigKB: PAIR(131072, 131072)
  1681.     }
  1682.     *Option: 147456KB
  1683.     {
  1684.         *Name: "144MB"
  1685.         *MemoryConfigKB: PAIR( 147456, 146456)
  1686.     }
  1687.     *Option: 163840KB
  1688.     {
  1689.         *Name: "160MB"
  1690.         *MemoryConfigKB: PAIR(163840, 162840)
  1691.     }
  1692.     *Option: 180224KB
  1693.     {
  1694.         *Name: "176MB"
  1695.         *MemoryConfigKB: PAIR(180224, 179224)
  1696.     }
  1697.     *Option: 196608KB
  1698.     {
  1699.         *Name: "192MB"
  1700.         *MemoryConfigKB: PAIR(196608, 195608)
  1701.     }
  1702.  
  1703. }
  1704.  
  1705. *Command: CmdStartDoc
  1706. {
  1707.     *Order: DOC_SETUP.9
  1708.     *Cmd: "<1B>&u600D<1B>*r0F"
  1709. }
  1710. *Command: CmdStartPage
  1711. {
  1712.     *Order: PAGE_SETUP.1
  1713.     *Cmd: "<1B>*b0M<0D>"
  1714. }
  1715. *Command: CmdEndJob
  1716. {
  1717.     *Order: JOB_FINISH.1
  1718.     *Cmd: "<1B>E<1B>%%-12345X@PJL EOJ<0D0A1B>%%-12345X"
  1719. }
  1720.  
  1721.  
  1722. *RotateCoordinate?: TRUE
  1723. *RotateRaster?: TRUE
  1724. *RotateFont?: TRUE
  1725. *TextCaps: LIST(TC_CR_90,TC_UA_ABLE)
  1726. *MemoryUsage: LIST(FONT)
  1727. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  1728. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  1729. *XMoveThreshold: 0
  1730. *YMoveThreshold: 0
  1731. *XMoveUnit: 600
  1732. *YMoveUnit: 600
  1733. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{(DestX / 2) }"X" }
  1734. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d[0,9600]{max_repeat((DestXRel / 2) )}"X" }
  1735. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d[0,9600]{max_repeat((DestXRel / 2) )}"X" }
  1736. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{(DestY / 2) }"Y" }
  1737. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d{(DestYRel / 2) }"Y" }
  1738. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d{(DestYRel / 2) }"Y" }
  1739. *Command: CmdCR { *Cmd : "<0D>" }
  1740. *Command: CmdLF { *Cmd : "<0A>" }
  1741. *Command: CmdFF { *Cmd : "<0C>" }
  1742. *Command: CmdBackSpace { *Cmd : "<08>" }
  1743. *Command: CmdUniDirectionOn { *Cmd : "<00>" }
  1744. *Command: CmdUniDirectionOff { *Cmd : "<00>" }
  1745. *Command: CmdPushCursor { *Cmd : "<1B>&f0S" }
  1746. *Command: CmdPopCursor { *Cmd : "<1B>&f1S" }
  1747. *Command: CmdSetSimpleRotation { *Cmd : "<1B>&a" %d{PrintDirInCCDegrees}"P" }
  1748. *EjectPageWithFF?: TRUE
  1749. *Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
  1750. *Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
  1751. *Command: CmdEnableDRC { *Cmd : "<1B>*b3M" }
  1752. *OutputDataFormat: H_BYTE
  1753. *OptimizeLeftBound?: TRUE
  1754. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  1755. *CursorYAfterSendBlockData: AUTO_INCREMENT
  1756. *DefaultFont: 136
  1757. *DefaultCTT: 0
  1758. *CharPosition: BASELINE
  1759. *TTFSEnabled?: TRUE
  1760. *DeviceFonts: LIST(136,138,146,147,148,149,150,151,152,153,154,155,156,157,164,165,
  1761. +                   166,196,197,198,199,200,201,202,203,209,210,211,212,213,214,215,
  1762. +                   216,217,218,219,220,221,222,223,224,225,226,227,228,229,230)
  1763. *MinFontID: 16534
  1764. *MaxFontID: 32768
  1765.  
  1766. *switch: Resolution
  1767. {
  1768.     *case: Option1
  1769.     {
  1770.     *% NT 4.0 font d/l workaround
  1771.         *Ifdef: WINNT_40
  1772.                 *FontFormat: HPPCL_RES
  1773.         *Else:
  1774.                 *FontFormat: HPPCL_OUTLINE
  1775.         *Endif:
  1776.     }
  1777.     *case: Option2
  1778.     {
  1779.         *FontFormat: HPPCL_RES
  1780.     }
  1781. }
  1782.  
  1783. *Command: CmdSetFontID { *Cmd : "<1B>*c" %d{NextFontID}"D" }
  1784. *Command: CmdSelectFontID { *Cmd : "<1B>(" %d{CurrentFontID}"X" }
  1785. *Command: CmdSetCharCode { *Cmd : "<1B>*c" %d{NextGlyph}"E" }
  1786. *Command: CmdUnderlineOn { *Cmd : "<1B>&dD" }
  1787. *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }
  1788. *Command: CmdWhiteTextOn { *Cmd : "<1B>*v1o1T" }
  1789. *Command: CmdWhiteTextOff { *Cmd : "<1B>*v0o0T" }
  1790. *MinGrayFill: 1
  1791. *MaxGrayFill: 100
  1792. *Command: CmdSetRectWidth { *Cmd : "<1B>*c" %d{(RectXSize / 2) }"A" }
  1793. *Command: CmdSetRectHeight { *Cmd : "<1B>*c" %d{(RectYSize / 2) }"B" }
  1794. *Command: CmdRectGrayFill { *Cmd : "<1B>*c" %d{GrayPercentage }"g2P" }
  1795. *Command: CmdRectWhiteFill { *Cmd : "<1B>*c1P" }
  1796. *Command: CmdRectBlackFill { *Cmd : "<1B>*c0P" }
  1797.