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

  1. *%%
  2. *%% HP LaserJet 4000 Series PCL
  3. *%%
  4. *%% Copyright 1998 - 1999, Microsoft Corp.
  5. *%% All Rights Reserved.
  6. *%%
  7.  
  8. *%%
  9. *%% Global Entries
  10. *%%
  11. *GPDSpecVersion: "1.0"
  12. *GPDFileVersion: "1.0"
  13.  
  14. *%%% ======================
  15. *%%% Include standard GPD files
  16. *%%% =====================
  17. *Include: "StdNames.gpd"
  18. *Include: "ttfsub.gpd"
  19.  
  20. *%%
  21. *%% Model Specific Global Entries
  22. *%%
  23. *GPDFileName: "HPLJ45P6.GPD"
  24. *ModelName:   "HP LaserJet 4050 Series PCL6"
  25. *MaxCopies: 999
  26. *PrintRate: 17
  27. *PrintRatePPM: 17
  28. *PrintRateUnit: PPM
  29.  
  30.  
  31. *%%% ======================
  32. *%%% Macros
  33. *%%% ======================
  34. *Include: "pjl.gpd"
  35. *Include: "p6font.gpd"
  36. *Include: "p6disp.gpd"
  37.  
  38. *%%% ======================
  39. *%%% Main
  40. *%%% ======================
  41. *Include: "pclxl.gpd"
  42.  
  43. *%%% ======================
  44. *%%% DOC_SETUP, PAGE_FINISH
  45. *%%% , JOB_FINISH
  46. *%%% ======================
  47. *Macros: PCLXLCommand
  48. {
  49. *%%% ---------------------------------------------------------------------------
  50. *%%% PCL XL Stream Header
  51. *%%% ---------------------------------------------------------------------------
  52. PCLXL_StreamHeader: ") HP-PCL XL;2;0;"
  53. +                   "Comment Copyright(c) 1999 Microsoft Corporation<0A>"
  54.  
  55. PCLXL_OpenDataSource: =ubyte "<00>" =attr_ubyte =SourceType =ubyte "<01>" =attr_ubyte =DataOrg =OpenDataSource
  56.  
  57. *%%% ---------------------------------------------------------------------------
  58. *%%% BeginSession
  59. *%%%     Measure(ubyte) & UnitsPerMeasure(uint16_xy) & {ErrorReport(ubyte)}
  60. *%%% ---------------------------------------------------------------------------
  61. PCLXL_BeginSession1200: =uint16_xy "<b004b004>" =attr_ubyte =UnitsPerMeasure =ubyte
  62. + =eInch =attr_ubyte =Measure =ubyte =eBackChAndErrPage =attr_ubyte =ErrorReport =BeginSession
  63.  
  64. PCLXL_BeginSession600: =uint16_xy "<58025802>" =attr_ubyte =UnitsPerMeasure =ubyte
  65. + =eInch =attr_ubyte =Measure =ubyte =eBackChAndErrPage =attr_ubyte =ErrorReport =BeginSession
  66.  
  67. PCLXL_BeginSession300: =uint16_xy "<2c012c01>" =attr_ubyte =UnitsPerMeasure =ubyte
  68. + =eInch =attr_ubyte =Measure =ubyte =eBackChAndErrPage =attr_ubyte =ErrorReport =BeginSession
  69.  
  70. Width: %m{ RasterDataWidthInBytes }
  71. Height: %m{ RasterDataHeightInPixels }
  72. DataSize: %l{ NumOfDataBytes }
  73. FntHeight: %l{ FontHeight*600/TextYRes }
  74. FntNextGlyph: %l{ NextGlyph }
  75.  
  76. *%%% ---------------------------------------------------------------------------
  77. *%%% BeginRaster
  78. *%%%     ColorDepth(ubyte) & ColorMapping(ubyte) & SourceWidth(uint16) &
  79. *%%%     SourceWidth(uint16) & SourceHeight(uint16)
  80. *%%% ---------------------------------------------------------------------------
  81. PCLXL_CmdBeginRaster: =ubyte =e1Bit =attr_ubyte =ColorDepth
  82. +                     =ubyte =eDirectPixel =attr_ubyte =ColorMapping
  83. +                     =uint16 =Width =attr_ubyte =SourceWidth
  84. +                     =uint16 =Height =attr_ubyte =SourceHeight
  85. +                     =uint16_xy =Width =Height =attr_ubyte =DestinationSize
  86. +                     =BeginImage
  87. +                     =ubyte =eNoCompression =attr_ubyte =CompressMode
  88. +                     =ubyte "<00>" =attr_ubyte =StartLine
  89. +                     =uint16 =Height =attr_ubyte =BlockHeight
  90. +                     =ReadImage
  91.  
  92. PCLXL_CmdSendBlockData: =dataLength =DataSize "<0000>"
  93.  
  94. DestinationX: %l{DestX}
  95. DestinationY: %l{DestY}
  96. DestinationXRel: %l{DestYRel}
  97. DestinationYRel: %l{DestXRel}
  98. NumOfCopy: %l{NumOfCopies}
  99. PrintDir: %l{PrintDirInCCDegrees}
  100. FntName: =ubyte_array =uint16 "<1000>" "MS PCLXLFont " %3d{CurrentFontID}
  101. }
  102.  
  103. *%%% ======================
  104. *%%% Features and Options
  105. *%%% ======================
  106.  
  107. *%% Orientation
  108. *Feature: Orientation
  109. {
  110.     *rcNameID: =ORIENTATION_DISPLAY
  111.     *DefaultOption: PORTRAIT
  112.     *Option: PORTRAIT
  113.     {
  114.         *rcNameID: =PORTRAIT_DISPLAY
  115.     }
  116.     *Option: LANDSCAPE_CC90
  117.     {
  118.         *rcNameID: =LANDSCAPE_DISPLAY
  119.     }
  120. }
  121.  
  122. *Command: CmdStartJob
  123. {
  124.     *Order: JOB_SETUP.1
  125.     *Cmd: =PJL_STARTJOB =PJL_COMMENT 
  126. }
  127.  
  128. *%%% ======================
  129. *%%% DOC_SETUP
  130. *%%% ======================
  131.  
  132. *%%% ======================
  133. *%%% DOC_SETUP.1
  134. *%%% START PLJ JOB
  135. *%%% PAGEPROTECT
  136. *%%% TIMEOUT
  137. *Feature: PageProtect
  138. {
  139.     *rcNameID: =PAGE_PROTECTION_DISPLAY
  140.     *DefaultOption: OFF
  141.     *Option: ON
  142.     {
  143.         *rcNameID: =ON_DISPLAY
  144.         *Command: CmdSelect
  145.         {
  146.             *Order: JOB_SETUP.2
  147.             *Cmd: =PJL_PAGEPROTECT_ON =PJL_TIMEOUT_90
  148.         }
  149.     }
  150.     *Option: OFF
  151.     {
  152.         *rcNameID: =OFF_DISPLAY
  153.         *Command: CmdSelect
  154.         {
  155.             *Order: JOB_SETUP.2
  156.             *Cmd: =PJL_PAGEPROTECT_ON =PJL_TIMEOUT_90
  157.         }
  158.     }
  159. }
  160. *%%% ======================
  161. *%%% DOC_SETUP.2
  162. *%%% ECONOMODE
  163. *Feature: Economode
  164. {
  165.     *rcNameID: =ECONOMODE_DISPLAY
  166.     *DefaultOption: Option1
  167.     *Option: Option1
  168.     {
  169.         *rcNameID: =ECONOMODE_DEFAULT_DISPLAY
  170.     }
  171.     *Option: Option2
  172.     {
  173.         *rcNameID: =ECONOMODE_OFF_DISPLAY
  174.         *Command: CmdSelect
  175.         {
  176.             *Order: JOB_SETUP.3
  177.             *Cmd: =PJL_ECONOMODE_OFF
  178.         }
  179.     }
  180.     *Option: Option3
  181.     {
  182.         *rcNameID: =ECONOMODE_ON_DISPLAY
  183.         *Command: CmdSelect
  184.         {
  185.             *Order: JOB_SETUP.3
  186.             *Cmd: =PJL_ECONOMODE_ON
  187.         }
  188.     }
  189. }
  190.  
  191. *%%% ======================
  192. *%%% DOC_SETUP.3
  193. *%%% RET
  194. *Feature: RET
  195. {
  196.     *rcNameID: =PRINT_QUALITY
  197.     *DefaultOption: Option1
  198.     *Option: Option1
  199.     {
  200.         *rcNameID: =PRINT_QUALITY_DEFAULT
  201.     }
  202.     *Option: Option2
  203.     {
  204.         *rcNameID: =PRINT_QUALITY_LIGHT
  205.         *Command: CmdSelect
  206.         {
  207.             *Order: JOB_SETUP.4
  208.             *Cmd: =PJL_RET_LIGHT
  209.         }
  210.     }
  211.     *Option: Option3
  212.     {
  213.         *rcNameID: =PRINT_QUALITY_MEDIUM
  214.         *Command: CmdSelect
  215.         {
  216.             *Order: JOB_SETUP.4
  217.             *Cmd: =PJL_RET_MEDIUM
  218.         }
  219.     }
  220.     *Option: Option4
  221.     {
  222.         *rcNameID: =PRINT_QUALITY_DARK
  223.         *Command: CmdSelect
  224.         {
  225.             *Order: JOB_SETUP.4
  226.             *Cmd: =PJL_RET_DARK
  227.         }
  228.     }
  229.     *Option: Option5
  230.     {
  231.         *rcNameID: =PRINT_QUALITY_OFF
  232.         *Command: CmdSelect
  233.         {
  234.             *Order: JOB_SETUP.4
  235.             *Cmd: =PJL_RET_OFF
  236.         }
  237.     }
  238. }
  239.  
  240. *%%% ======================
  241. *%%% DOC_SETUP.4
  242. *%%% Collate
  243. *Feature: Collate
  244. {
  245.     *rcNameID: =COLLATOR_DISPLAY *% this shouldn't appear...
  246.  
  247.     *DefaultOption: OFF
  248.     *Option: ON
  249.     {
  250.         *rcNameID: =ON_DISPLAY
  251.        *switch: PrinterHardDisk
  252.         {
  253.            *case: FALSE
  254.      {
  255.  
  256.        *Switch:  Memory  *% need 16MB to collate w/o harddisk
  257.         {
  258.               *Case: 4MB
  259.                  {
  260.              *Command: CmdSelect
  261.                             {
  262.                               *Order: JOB_SETUP.5
  263.                               *Cmd: =PJL_COLLATE_OFF
  264.                              }
  265.            }
  266.                            *Case: 8MB
  267.            {
  268.                  *Command: CmdSelect
  269.                            {
  270.                               *Order: JOB_SETUP.5
  271.                               *Cmd: =PJL_COLLATE_OFF
  272.                           }
  273.                        }
  274.                           *Case: 12MB
  275.            {
  276.                  *Command: CmdSelect
  277.                            {
  278.                               *Order: JOB_SETUP.5
  279.                               *Cmd: =PJL_COLLATE_OFF
  280.                           }
  281.                        }
  282.         *default
  283.            {
  284.                  *Command: CmdSelect
  285.                            {
  286.                               *Order: JOB_SETUP.5
  287.                               *Cmd: =PJL_COLLATE_ON
  288.                           }
  289.                        }
  290.          }
  291.              }
  292.             *case: TRUE
  293.             {
  294.                 *Command: CmdSelect
  295.                 {
  296.                     *Order: JOB_SETUP.5
  297.                     *Cmd: =PJL_COLLATE_ON
  298.                 }
  299.             }
  300.         }
  301.     }
  302.     *Option: OFF
  303.     {
  304.         *rcNameID:=OFF_DISPLAY
  305.         *Command: CmdSelect
  306.         {
  307.             *Order: JOB_SETUP.5
  308.             *Cmd: =PJL_COLLATE_OFF
  309.         }
  310.     }
  311. }
  312.  
  313. *Feature: JobRetention
  314. {
  315.     *rcNameID: =JOB_RETENTION_DISPLAY *% Job Retention
  316.     *DefaultOption: Option1
  317.     *Option: Option1
  318.     {
  319.         *rcNameID: =OFF_DISPLAY
  320.         *Command: CmdSelect
  321.         {
  322.             *Order: JOB_SETUP.6
  323.             *Cmd: "@PJL SET HOLD=OFF<0A>"
  324.         }
  325.     }
  326.     *Option: Option2
  327.     {
  328.         *rcNameID: =QUICK_COPY_DISPLAY
  329.         *Command: CmdSelect
  330.         {
  331.             *Order: JOB_SETUP.6
  332.             *Cmd: "@PJL SET HOLD=ON<0A>"
  333.         }
  334.     }
  335.     *Option: Option3
  336.     {
  337.         *rcNameID: =PROOF_HOLD_DISPLAY
  338.         *Command: CmdSelect
  339.         {
  340.            *Order: JOB_SETUP.6
  341.             *Cmd: "@PJL SET HOLD=PROOF<0A>"
  342.         }
  343.     }
  344.     *Option: Option4
  345.     {
  346.         *rcNameID: =STORE_JOB_DISPLAY
  347.         *Command: CmdSelect
  348.         {
  349.             *Order: JOB_SETUP.6
  350.             *Cmd: "@PJL SET HOLD=STORE<0A>"
  351.          }
  352.       }
  353. }
  354.  
  355. *Feature: JobRetentionUserID
  356. {
  357.     *rcNameID: =JOB_RETENTION_USERID_DISPLAY *%"Job Retention User ID"
  358.     *DefaultOption: Option1
  359.     *Option: Option1
  360.     {
  361.         *Name: "1"
  362.         *Command: CmdSelect
  363.         {
  364.             *Order: JOB_SETUP.7
  365.             *Cmd: "@PJL SET USERNAME=<22>1<22><0A>"
  366.         }
  367.     }
  368.     *Option: Option2
  369.     {
  370.         *Name: "2"
  371.         *Command: CmdSelect
  372.         {
  373.             *Order: JOB_SETUP.7
  374.             *Cmd: "@PJL SET USERNAME=<22>2<22><0A>"
  375.         }
  376.     }
  377.     *Option: Option3
  378.     {
  379.         *Name: "3"
  380.         *Command: CmdSelect
  381.         {
  382.             *Order: JOB_SETUP.7
  383.             *Cmd: "@PJL SET USERNAME=<22>3<22><0A>"
  384.         }
  385.     }
  386.     *Option: Option4
  387.     {
  388.         *Name: "4"
  389.         *Command: CmdSelect
  390.         {
  391.             *Order: JOB_SETUP.7
  392.             *Cmd: "@PJL SET USERNAME=<22>4<22><0A>"
  393.         }
  394.     }
  395.     *Option: Option5
  396.     {
  397.         *Name: "5"
  398.         *Command: CmdSelect
  399.         {
  400.             *Order: JOB_SETUP.7
  401.             *Cmd: "@PJL SET USERNAME=<22>5<22><0A>"
  402.         }
  403.     }
  404.     *Option: Option6
  405.     {
  406.         *Name: "6"
  407.         *Command: CmdSelect
  408.         {
  409.             *Order: JOB_SETUP.7
  410.             *Cmd: "@PJL SET USERNAME=<22>6<22><0A>"
  411.         }
  412.     }
  413.     *Option: Option7
  414.     {
  415.         *Name: "7"
  416.         *Command: CmdSelect
  417.         {
  418.             *Order: JOB_SETUP.7
  419.             *Cmd: "@PJL SET USERNAME=<22>7<22><0A>"
  420.         }
  421.     }
  422.     *Option: Option8
  423.     {
  424.         *Name: "8"
  425.         *Command: CmdSelect
  426.         {
  427.             *Order: JOB_SETUP.7
  428.             *Cmd: "@PJL SET USERNAME=<22>8<22><0A>"
  429.         }
  430.     }
  431.     *Option: Option9
  432.     {
  433.         *Name: "9"
  434.         *Command: CmdSelect
  435.         {
  436.             *Order: JOB_SETUP.7
  437.             *Cmd: "@PJL SET USERNAME=<22>9<22><0A>"
  438.         }
  439.     }
  440.     *Option: Option10
  441.     {
  442.         *Name: "10"
  443.         *Command: CmdSelect
  444.         {
  445.             *Order: JOB_SETUP.7
  446.             *Cmd: "@PJL SET USERNAME=<22>10<22><0A>"
  447.         }
  448.     }
  449.     *Option: Option11
  450.     {
  451.         *Name: "11"
  452.         *Command: CmdSelect
  453.         {
  454.             *Order: JOB_SETUP.7
  455.             *Cmd: "@PJL SET USERNAME=<22>11<22><0A>"
  456.         }
  457.     }
  458.     *Option: Option12
  459.     {
  460.         *Name: "12"
  461.         *Command: CmdSelect
  462.         {
  463.             *Order: JOB_SETUP.7
  464.             *Cmd: "@PJL SET USERNAME=<22>12<22><0A>"
  465.         }
  466.     }
  467.     *Option: Option13
  468.     {
  469.         *Name: "13"
  470.         *Command: CmdSelect
  471.         {
  472.             *Order: JOB_SETUP.7
  473.             *Cmd: "@PJL SET USERNAME=<22>13<22><0A>"
  474.         }
  475.     }
  476.     *Option: Option14
  477.     {
  478.         *Name: "14"
  479.         *Command: CmdSelect
  480.         {
  481.             *Order: JOB_SETUP.7
  482.             *Cmd: "@PJL SET USERNAME=<22>14<22><0A>"
  483.         }
  484.     }
  485.     *Option: Option15
  486.     {
  487.         *Name: "15"
  488.         *Command: CmdSelect
  489.         {
  490.             *Order: JOB_SETUP.7
  491.             *Cmd: "@PJL SET USERNAME=<22>15<22><0A>"
  492.         }
  493.     }
  494.     *Option: Option16
  495.     {
  496.         *Name: "16"
  497.         *Command: CmdSelect
  498.         {
  499.             *Order: JOB_SETUP.7
  500.             *Cmd: "@PJL SET USERNAME=<22>16<22><0A>"
  501.         }
  502.     }
  503.     *Option: Option17
  504.     {
  505.         *Name: "17"
  506.         *Command: CmdSelect
  507.         {
  508.             *Order: JOB_SETUP.7
  509.             *Cmd: "@PJL SET USERNAME=<22>17<22><0A>"
  510.         }
  511.     }
  512.     *Option: Option18
  513.     {
  514.         *Name: "18"
  515.         *Command: CmdSelect
  516.         {
  517.             *Order: JOB_SETUP.7
  518.             *Cmd: "@PJL SET USERNAME=<22>18<22><0A>"
  519.         }
  520.     }
  521.     *Option: Option19
  522.     {
  523.         *Name: "19"
  524.         *Command: CmdSelect
  525.         {
  526.             *Order: JOB_SETUP.7
  527.             *Cmd: "@PJL SET USERNAME=<22>19<22><0A>"
  528.         }
  529.     }
  530.     *Option: Option20
  531.     {
  532.         *Name: "20"
  533.         *Command: CmdSelect
  534.         {
  535.             *Order: JOB_SETUP.7
  536.             *Cmd: "@PJL SET USERNAME=<22>20<22><0A>"
  537.         }
  538.     }
  539. }
  540.  
  541. *% constrain all but option 1 when no hard disk installed
  542. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetention.Option2)
  543. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetention.Option3)
  544. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetention.Option4)
  545.  
  546. *% constrain all but option 1 when no hard disk installed
  547. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option2)
  548. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option3)
  549. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option4)
  550. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option5)
  551. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option6)
  552. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option7)
  553. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option8)
  554. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option9)
  555. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option10)
  556. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option11)
  557. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option12)
  558. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option13)
  559. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option14)
  560. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option15)
  561. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option16)
  562. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option17)
  563. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option18)
  564. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option19)
  565. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option20)
  566.  
  567. *%%% ======================
  568. *%%% DOC_SETUP.5
  569. *%%%     RESOLUTION
  570. *%%%     ENTER LANGUAGE=PCLXL
  571. *%%%     PCL XL Stream Header
  572. *%%%     BeginSession
  573. *%%% CmdEndRaster
  574. *%%%     EndImage
  575. *%%% CmdSendBlockData
  576. *%%%     EndImage
  577. *Feature: Resolution
  578. {
  579.     *rcNameID: =RESOLUTION_DISPLAY
  580.     *DefaultOption: Option1
  581.     *Option: Option1
  582.     {
  583.         *Name: "1200 x 1200 " =DOTS_PER_INCH
  584.         *DPI: PAIR(1200, 1200)
  585.         *TextDPI: PAIR(1200, 1200)
  586.         *MinStripBlankPixels: 32
  587.         EXTERN_GLOBAL: *StripBlanks: LIST(LEADING, ENCLOSED,TRAILING)
  588.         *SpotDiameter: 120
  589.         *Command: CmdBeginRaster
  590.         {
  591.             *Cmd : =PCLXL_CmdBeginRaster
  592.         }
  593.  
  594.         *Command: CmdSendBlockData
  595.         {
  596.             *Cmd : =PCLXL_CmdBeginRaster =PCLXL_CmdSendBlockData
  597.         }
  598.  
  599.         *% EndImage(0xb2)
  600.         *%
  601.         *Command: CmdEndBlockData { *Cmd : =EndImage}
  602.  
  603.         *Command: CmdSelect
  604.         {
  605.             *Order: JOB_SETUP.9
  606.             *Cmd: =PJL_RESOLUTION_1200 =PJL_ENTER_PCLXL =PCLXL_StreamHeader =PCLXL_BeginSession1200 =PCLXL_OpenDataSource
  607.         }
  608.     }
  609.     *Option: Option2
  610.     {
  611.         *Name: "600 x 600 " =DOTS_PER_INCH
  612.         *DPI: PAIR(600, 600)
  613.         *TextDPI: PAIR(600, 600)
  614.         *MinStripBlankPixels: 32
  615.         EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  616.         *SpotDiameter: 100
  617.         *Command: CmdBeginRaster
  618.         {
  619.             *Cmd : =PCLXL_CmdBeginRaster
  620.         }
  621.  
  622.         *Command: CmdEndRaster { *Cmd : =EndImage }
  623.         *Command: CmdSendBlockData
  624.         {
  625.             *Cmd: =PCLXL_CmdSendBlockData
  626.         }
  627.  
  628.         *Command: CmdSelect
  629.         {
  630.             *Order: JOB_SETUP.9
  631.             *Cmd: =PJL_RESOLUTION_600 =PJL_BITSPERPIXEL_2 =PJL_ENTER_PCLXL =PCLXL_StreamHeader =PCLXL_BeginSession600 =PCLXL_OpenDataSource
  632.         }
  633.     }
  634.     *Option: Option3
  635.     {
  636.         *Name: "300 x 300 " =DOTS_PER_INCH
  637.         *DPI: PAIR(300, 300)
  638.         *TextDPI: PAIR(300, 300)
  639.         *MinStripBlankPixels: 32
  640.         EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  641.         *SpotDiameter: 100
  642.         *Command: CmdBeginRaster
  643.         {
  644.             *Cmd : =PCLXL_CmdBeginRaster
  645.         }
  646.  
  647.         *Command: CmdEndRaster { *Cmd : =EndImage }
  648.         *Command: CmdSendBlockData
  649.         {
  650.             *Cmd: =PCLXL_CmdSendBlockData
  651.         }
  652.  
  653.         *Command: CmdSelect
  654.         {
  655.             *Order: JOB_SETUP.9
  656.             *Cmd: =PJL_RESOLUTION_300 =PJL_BITSPERPIXEL_2 =PJL_ENTER_PCLXL =PCLXL_StreamHeader =PCLXL_BeginSession300 =PCLXL_OpenDataSource
  657.         }
  658.     }
  659. }
  660.  
  661. *%%% ======================
  662. *%%% PAGE_FINISH
  663. *%%% ======================
  664.  
  665. *%%% ======================
  666. *%%% PAGE_FINISH.3
  667. *Command: CmdEndPage
  668. {
  669.     *Order: PAGE_FINISH.1
  670.     *Cmd: =uint16 =NumOfCopy =attr_ubyte =PageCopies =EndPage
  671. }
  672.  
  673. *%%% ======================
  674. *%%% JOB_FINISH.1
  675. *%%% CmdEndJob
  676. *Command: CmdEndJob
  677. {
  678.     *Order: JOB_FINISH.1
  679.     *Cmd: =CloseDataSource =EndSession =PJL_ENDJOB
  680. }
  681.  
  682. *%%% ======================
  683. *%%% PAGE_SETUP
  684. *%%% ======================
  685.  
  686. *%%% ======================
  687. *%%% PAGE_SETUP.1
  688. *%%% BeginPage(0x43)
  689. *%%%     Orientation(40), MediaSize(37), MediaSource(38)
  690. *%%%     ubyte            ubyte          ubyte
  691.  
  692. *BlockMacro: PaperConstraints
  693. {
  694.     *Constraints: LIST(InputBin.Option3, InputBin.Option4, InputBin.Option5)
  695. }
  696.  
  697. *Feature: PaperSize
  698. {
  699.     *rcNameID: =PAPER_SIZE_DISPLAY
  700.     *DefaultOption: LETTER
  701.     *Option: LETTER
  702.     {
  703.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME  *% rcid 1000
  704.         *Constraints: InputBin.Option6
  705.         *PageProtectMem: 4109
  706.         *switch: Orientation
  707.         {
  708.             *case: PORTRAIT
  709.             {
  710.                 *PrintableArea: PAIR(9600, 12800)
  711.                 *PrintableOrigin: PAIR(300, 200)
  712.                 *CursorOrigin: PAIR(300, 200)
  713.                 *Command: CmdSelect
  714.                 {
  715.                     *Order: PAGE_SETUP.4
  716.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  717. +                         =ubyte_array =sLetterPaper =attr_ubyte =MediaSize =BeginPage
  718. +                         =sint16_xy %l{((300*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  719.  
  720.                 }
  721.             }
  722.             *case: LANDSCAPE_CC90
  723.             {
  724.                 *PrintableArea: PAIR(9800, 12720)
  725.                 *PrintableOrigin: PAIR(200, 240)
  726.                 *CursorOrigin: PAIR(200, 12960)
  727.                 *Command: CmdSelect
  728.                 {
  729.                     *Order: PAGE_SETUP.4
  730.                     *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  731. +                         =ubyte_array =sLetterPaper =attr_ubyte =MediaSize =BeginPage
  732. +                         =sint16_xy %l{((240*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  733.  
  734.                 }
  735.             }
  736.         }
  737.     }
  738.     *Option: LEGAL
  739.     {
  740.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  741.         *Constraints: InputBin.Option6
  742.         *PageProtectMem: 5230
  743.         *switch: Orientation
  744.         {
  745.             *case: PORTRAIT
  746.             {
  747.                 *PrintableArea: PAIR(9600, 16400)
  748.                 *PrintableOrigin: PAIR(300, 200)
  749.                 *CursorOrigin: PAIR(300, 200)
  750.                 *Command: CmdSelect
  751.                 {
  752.                     *Order: PAGE_SETUP.4
  753.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  754. +                         =ubyte_array =sLegalPaper =attr_ubyte =MediaSize =BeginPage
  755. +                         =sint16_xy %l{((300*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  756.  
  757.                 }
  758.             }
  759.             *case: LANDSCAPE_CC90
  760.             {
  761.                 *PrintableArea: PAIR(9760, 16320)
  762.                 *PrintableOrigin: PAIR(200, 240)
  763.                 *CursorOrigin: PAIR(200, 16560)
  764.                 *Command: CmdSelect
  765.                 {
  766.                     *Order: PAGE_SETUP.4
  767.                     *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  768. +                         =ubyte_array =sLegalPaper =attr_ubyte =MediaSize =BeginPage
  769. +                         =sint16_xy %l{((240*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  770.  
  771.                 }
  772.             }
  773.         }
  774.     }
  775.     *Option: EXECUTIVE
  776.     {
  777.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  778.         *Constraints: InputBin.Option6
  779.         *PageProtectMem: 4109
  780.         *switch: Orientation
  781.         {
  782.             *case: PORTRAIT
  783.             {
  784.                 *PrintableArea: PAIR(8050, 12180)
  785.                 *PrintableOrigin: PAIR(300, 140)
  786.                 *CursorOrigin: PAIR(240, 140)
  787.                 *Command: CmdSelect
  788.                 {
  789.                     *Order: PAGE_SETUP.4
  790.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  791. +                         =ubyte_array =sExecPaper =attr_ubyte =MediaSize =BeginPage
  792. +                         =sint16_xy %l{((300*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  793.  
  794.                 }
  795.             }
  796.             *case: LANDSCAPE_CC90
  797.             {
  798.                 *PrintableArea: PAIR(8220, 12120)
  799.                 *PrintableOrigin: PAIR(240, 240)
  800.                 *CursorOrigin: PAIR(160, 12360)
  801.                 *Command: CmdSelect
  802.                 {
  803.                     *Order: PAGE_SETUP.4
  804.                     *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  805. +                         =ubyte_array =sExecPaper =attr_ubyte =MediaSize =BeginPage
  806. +                         =sint16_xy %l{((240*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  807.  
  808.                 }
  809.             }
  810.         }
  811.     }
  812.  
  813.     *Option: A4
  814.     {
  815.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME  *%  1008
  816.         *Constraints: InputBin.Option6
  817.         *PageProtectMem: 4249
  818.         *switch: Orientation
  819.         {
  820.             *case: PORTRAIT
  821.             {
  822.                 *PrintableArea: PAIR(9314, 13598)
  823.                 *PrintableOrigin: PAIR(280, 152)
  824.                 *CursorOrigin: PAIR(240, 152)
  825.                 *Command: CmdSelect
  826.                 {
  827.                     *Order: PAGE_SETUP.4
  828.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  829. +                         =ubyte_array =sA4Paper =attr_ubyte =MediaSize =BeginPage
  830. +                         =sint16_xy %l{((284*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  831.  
  832.                 }
  833.             }
  834.             *case: LANDSCAPE_CC90
  835.             {
  836.                 *PrintableArea: PAIR(9464, 13548)
  837.                 *PrintableOrigin: PAIR(200, 200)
  838.                 *CursorOrigin: PAIR(160, 13788)
  839.                 *Command: CmdSelect
  840.                 {
  841.                     *Order: PAGE_SETUP.4
  842.                     *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  843. +                         =ubyte_array =sA4Paper =attr_ubyte =MediaSize =BeginPage
  844. +                         =sint16_xy %l{((236*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  845.  
  846.                 }
  847.             }
  848.         }
  849.     }
  850.     *Option: A5
  851.     {
  852.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  853.         *Constraints: InputBin.Option6
  854.         *PageProtectMem: 2125
  855.         *switch: Orientation
  856.         {
  857.             *case: PORTRAIT
  858.             {
  859.                 *PrintableArea: PAIR(6396, 9494)
  860.                 *PrintableOrigin: PAIR(300, 152)
  861.                 *CursorOrigin: PAIR(300, 152)
  862.                 *Command: CmdSelect
  863.                 {
  864.                     *Order: PAGE_SETUP.4
  865.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  866. +                         =ubyte_array =sA5Paper =attr_ubyte =MediaSize =BeginPage
  867. +                         =sint16_xy %l{((284*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  868.  
  869.                 }
  870.  
  871.             }
  872.             *case: LANDSCAPE_CC90
  873.             {
  874.                 *PrintableArea: PAIR(6456, 9324)
  875.                 *PrintableOrigin: PAIR(240, 300)
  876.                 *CursorOrigin: PAIR(200, 9624)
  877.                 *Command: CmdSelect
  878.                 {
  879.                     *Order: PAGE_SETUP.4
  880.                     *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  881. +                         =ubyte_array =sA5Paper =attr_ubyte =MediaSize =BeginPage
  882. +                         =sint16_xy %l{((236*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  883.  
  884.                 }
  885.             }
  886.         }
  887.     }
  888.     *Option: B5
  889.     {
  890.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  891.         *PageProtectMem: 3198
  892.         *Constraints: InputBin.Option6
  893.         *switch: Orientation
  894.         {
  895.             *case: PORTRAIT
  896.             {
  897.                 *PrintableArea: PAIR(8004, 11714)
  898.                 *PrintableOrigin: PAIR(300, 152)
  899.                 *CursorOrigin: PAIR(300, 152)
  900.                 *Command: CmdSelect
  901.                 {
  902.                     *Order: PAGE_SETUP.4
  903.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  904. +                         =ubyte_array =sJB5Paper =attr_ubyte =MediaSize =BeginPage
  905. +                         =sint16_xy %l{((284*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  906.  
  907.                 }
  908.             }
  909.             *case: LANDSCAPE_CC90
  910.             {
  911.                 *PrintableArea: PAIR(8104, 11624)
  912.                 *PrintableOrigin: PAIR(260, 240)
  913.                 *CursorOrigin: PAIR(200, 11904)
  914.                 *Command: CmdSelect
  915.                 {
  916.                     *Order: PAGE_SETUP.4
  917.                     *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  918. +                         =ubyte_array =sJB5Paper =attr_ubyte =MediaSize =BeginPage
  919. +                         =sint16_xy %l{((236*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  920.  
  921.                 }
  922.             }
  923.         }
  924.     }
  925.     *Option: ENV_10
  926.     {
  927.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME  *%  1019
  928.         *InsertBlock: =PaperConstraints
  929.         *Constraints: Duplex.VERTICAL
  930.         *Constraints: Duplex.HORIZONTAL
  931.         *PageProtectMem: 4109
  932.         *switch: Orientation
  933.         {
  934.             *case: PORTRAIT
  935.             {
  936.                 *PrintableArea: PAIR(4336, 10950)
  937.                 *PrintableOrigin: PAIR(300, 152)
  938.                 *CursorOrigin: PAIR(300, 152)
  939.                 *Command: CmdSelect
  940.                 {
  941.                     *Order: PAGE_SETUP.4
  942.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  943. +                         =ubyte_array =sCOM10Envelope =attr_ubyte =MediaSize =BeginPage
  944. +                         =sint16_xy %l{((300*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  945.  
  946.                 }
  947.             }
  948.             *case: LANDSCAPE_CC90
  949.             {
  950.                 *PrintableArea: PAIR(4416, 10800)
  951.                 *PrintableOrigin: PAIR(240, 300)
  952.                 *CursorOrigin: PAIR(200, 11100)
  953.                 *Command: CmdSelect
  954.                 {
  955.                     *Order: PAGE_SETUP.4
  956.                     *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  957. +                         =ubyte_array =sCOM10Envelope =attr_ubyte =MediaSize =BeginPage
  958. +                         =sint16_xy %l{((240*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  959.  
  960.                 }
  961.             }
  962.         }
  963.     }
  964.     *Option: ENV_DL
  965.     {
  966.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME  *%  1026
  967.         *InsertBlock: =PaperConstraints
  968.         *Constraints: Duplex.VERTICAL
  969.         *Constraints: Duplex.HORIZONTAL
  970.         *PageProtectMem: 4109
  971.         *switch: Orientation
  972.         {
  973.             *case: PORTRAIT
  974.             {
  975.                 *PrintableArea: PAIR(4576, 9952)
  976.                 *PrintableOrigin: PAIR(300, 140)
  977.                 *CursorOrigin: PAIR(300, 140)
  978.                 *Command: CmdSelect
  979.                 {
  980.                     *Order: PAGE_SETUP.4
  981.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  982. +                         =ubyte_array =sDLEnvelope =attr_ubyte =MediaSize =BeginPage
  983. +                         =sint16_xy %l{((284*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  984.  
  985.                 }
  986.             }
  987.             *case: LANDSCAPE_CC90
  988.             {
  989.                 *PrintableArea: PAIR(4676, 9792)
  990.                 *PrintableOrigin: PAIR(220, 300)
  991.                 *CursorOrigin: PAIR(200, 10092)
  992.                 *Command: CmdSelect
  993.                 {
  994.                     *Order: PAGE_SETUP.4
  995.                     *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  996. +                         =ubyte_array =sDLEnvelope =attr_ubyte =MediaSize =BeginPage
  997. +                         =sint16_xy %l{((236*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  998.  
  999.                 }
  1000.             }
  1001.         }
  1002.     }
  1003.     *Option: ENV_C5
  1004.     {
  1005.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME  *%  1027
  1006.         *InsertBlock: =PaperConstraints
  1007.         *Constraints: Duplex.VERTICAL
  1008.         *Constraints: Duplex.HORIZONTAL
  1009.         *PageProtectMem: 4109
  1010.         *switch: Orientation
  1011.         {
  1012.             *case: PORTRAIT
  1013.             {
  1014.                 *PrintableArea: PAIR(7036, 10384)
  1015.                 *PrintableOrigin: PAIR(300, 140)
  1016.                 *CursorOrigin: PAIR(300, 140)
  1017.                 *Command: CmdSelect
  1018.                 {
  1019.                     *Order: PAGE_SETUP.4
  1020.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  1021. +                         =ubyte_array =sC5Envelope =attr_ubyte =MediaSize =BeginPage
  1022. +                         =sint16_xy %l{((284*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  1023.  
  1024.                 }
  1025.             }
  1026.             *case: LANDSCAPE_CC90
  1027.             {
  1028.                 *PrintableArea: PAIR(7116, 10224)
  1029.                 *PrintableOrigin: PAIR(240, 300)
  1030.                 *CursorOrigin: PAIR(200, 10524)
  1031.                 *Command: CmdSelect
  1032.                 {
  1033.                     *Order: PAGE_SETUP.4
  1034.                     *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  1035. +                         =ubyte_array =sC5Envelope =attr_ubyte =MediaSize =BeginPage
  1036. +                         =sint16_xy %l{((236*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  1037.  
  1038.                 }
  1039.             }
  1040.         }
  1041.     }
  1042.     *Option: ENV_MONARCH
  1043.     {
  1044.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME  *%  1036
  1045.         *InsertBlock: =PaperConstraints
  1046.         *Constraints: Duplex.VERTICAL
  1047.         *Constraints: Duplex.HORIZONTAL
  1048.         *PageProtectMem: 4109
  1049.         *switch: Orientation
  1050.         {
  1051.             *case: PORTRAIT
  1052.             {
  1053.                 *PrintableArea: PAIR(4036, 8560)
  1054.                 *PrintableOrigin: PAIR(300, 140)
  1055.                 *CursorOrigin: PAIR(300, 140)
  1056.                 *Command: CmdSelect
  1057.                 {
  1058.                     *Order: PAGE_SETUP.4
  1059.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  1060. +                         =ubyte_array =sMonarchEnvelope =attr_ubyte =MediaSize =BeginPage
  1061. +                         =sint16_xy %l{((300*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  1062.  
  1063.                 }
  1064.             }
  1065.             *case: LANDSCAPE_CC90
  1066.             {
  1067.                 *PrintableArea: PAIR(4116, 8400)
  1068.                 *PrintableOrigin: PAIR(240, 300)
  1069.                 *CursorOrigin: PAIR(200, 8700)
  1070.                 *Command: CmdSelect
  1071.                 {
  1072.                     *Order: PAGE_SETUP.4
  1073.                     *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  1074. +                         =ubyte_array =sMonarchEnvelope =attr_ubyte =MediaSize =BeginPage
  1075. +                         =sint16_xy %l{((240*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  1076.  
  1077.                 }
  1078.             }
  1079.         }
  1080.     }
  1081.     *Option: ENV_B5
  1082.     {
  1083.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  1084.         *PageProtectMem: 4109
  1085.         *InsertBlock: =PaperConstraints
  1086.         *Constraints: Duplex.VERTICAL
  1087.         *Constraints: Duplex.HORIZONTAL
  1088.         *switch: Orientation
  1089.         {
  1090.             *case: PORTRAIT
  1091.             {
  1092.                 *PrintableArea: PAIR(7716, 11368)
  1093.                 *PrintableOrigin: PAIR(300, 140)
  1094.                 *CursorOrigin: PAIR(300, 140)
  1095.                 *Command: CmdSelect
  1096.                 {
  1097.                     *Order: PAGE_SETUP.4
  1098.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  1099. +                         =ubyte_array =sB5Envelope =attr_ubyte =MediaSize =BeginPage
  1100. +                         =sint16_xy %l{((284*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  1101.  
  1102.                 }
  1103.             }
  1104.             *case: LANDSCAPE_CC90
  1105.             {
  1106.                 *PrintableArea: PAIR(7776, 11208)
  1107.                 *PrintableOrigin: PAIR(240, 300)
  1108.                 *CursorOrigin: PAIR(200, 11508)
  1109.                 *Command: CmdSelect
  1110.                 {
  1111.                     *Order: PAGE_SETUP.4
  1112.                     *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  1113. +                         =ubyte_array =sB5Envelope =attr_ubyte =MediaSize =BeginPage
  1114. +                         =sint16_xy %l{((236*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  1115.  
  1116.                 }
  1117.             }
  1118.         }
  1119.     }
  1120.     *Option: 16K
  1121.     {
  1122.         *rcNameID: =SIXTEEN_K_DISPLAY
  1123.         *Constraints: InputBin.Option6
  1124.         *PageDimensions: PAIR(9300, 12900)
  1125.         *PageProtectMem: 4109
  1126.         *switch: Orientation
  1127.         {
  1128.             *case: PORTRAIT
  1129.             {
  1130.                 *PrintableArea: PAIR(8700, 12300)
  1131.                 *PrintableOrigin: PAIR(300, 300)
  1132.                 *CursorOrigin: PAIR(300, 180)
  1133.                 *Command: CmdSelect
  1134.                 {
  1135.                     *Order: PAGE_SETUP.4
  1136.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  1137. +                         =ubyte_array =uint16 "<0600>" "ROC16K" =attr_ubyte =MediaSize
  1138.                 }
  1139.             }
  1140.             *case: LANDSCAPE_CC90
  1141.             {
  1142.                 *PrintableArea: PAIR(8900, 12420)
  1143.                 *PrintableOrigin: PAIR(200, 240)
  1144.                 *CursorOrigin: PAIR(200, 12660)
  1145.                 *Command: CmdSelect
  1146.                 {
  1147.                     *Order: PAGE_SETUP.4
  1148.                     *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  1149. +                         =ubyte_array =uint16 "<0600>" "ROC16K" =attr_ubyte =MediaSize
  1150.                 }
  1151.             }
  1152.         }
  1153.     }
  1154.     *Option: EXECUTIVE_JIS
  1155.     {
  1156.         *rcNameID: =EXECTUTIVE_JIS_DISPLAY
  1157.         *PageDimensions: PAIR(10200, 15588)
  1158.         *Constraints: InputBin.Option6
  1159.         *PageProtectMem: 4109
  1160.         *switch: Orientation
  1161.         {
  1162.             *case: PORTRAIT
  1163.             {
  1164.                 *PrintableArea: PAIR(9600, 14988)
  1165.                 *PrintableOrigin: PAIR(300, 300)
  1166.                 *CursorOrigin: PAIR(300, 180)
  1167.                 *Command: CmdSelect
  1168.                 {
  1169.                     *Order: PAGE_SETUP.1
  1170.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  1171. +                         =ubyte_array =uint16 "<0700>" "JISEXEC" =attr_ubyte =MediaSize
  1172.                 }
  1173.             }
  1174.             *case: LANDSCAPE_CC90
  1175.             {
  1176.                 *PrintableArea: PAIR(9800, 15108)
  1177.                 *PrintableOrigin: PAIR(200, 240)
  1178.                 *CursorOrigin: PAIR(200, 15348)
  1179.                 *Command: CmdSelect
  1180.                 {
  1181.                     *Order: PAGE_SETUP.1
  1182.                     *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  1183. +                         =ubyte_array =uint16 "<0700>" "JISEXEC" =attr_ubyte =MediaSize
  1184.                 }
  1185.             }
  1186.         }
  1187.     }
  1188.     *Option: CUSTOMSIZE
  1189.     {
  1190.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME  *%  1255
  1191.         *MinSize: PAIR(4200, 6000)
  1192.         *MaxSize: PAIR(10200, 16800)
  1193.         *MaxPrintableWidth: 10200
  1194.         *MinLeftMargin: 100
  1195.         *CenterPrintable?: FALSE
  1196.         *PageProtectMem: 1692
  1197.         *InsertBlock: =PaperConstraints
  1198.         *switch: Orientation
  1199.         {
  1200.             *case: PORTRAIT
  1201.             {
  1202.                 *CustCursorOriginX:  %d{((PhysPaperWidth - 10200) / 2) + 300 }
  1203.                 *CustCursorOriginY:   %d{140 }
  1204.                 *CustPrintableOriginX:  %d{300 }
  1205.                 *CustPrintableOriginY:  %d{300}
  1206.                 *CustPrintableSizeX:   %d{ PhysPaperWidth - 600 }
  1207.                 *CustPrintableSizeY:  %d{ PhysPaperLength - 600 }
  1208.                 *Command: CmdSelect
  1209.                 {
  1210.                     *Order: PAGE_SETUP.4
  1211.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  1212. +                         =uint16_xy %l{(PhysPaperWidth / 1200)}%l{(PhysPaperLength / 1200)} =attr_ubyte =CustomMediaSize
  1213. +                         =ubyte =eInch =attr_ubyte =CustomMediaSizeUnits =BeginPage
  1214. +                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  1215.  
  1216.                 }
  1217.             }
  1218.             *case: LANDSCAPE_CC90
  1219.             {
  1220.                 *CustCursorOriginX:  %d{((PhysPaperWidth - 10200) / 2) + 200 }
  1221.                 *CustCursorOriginY:   %d{16560 }
  1222.                 *CustPrintableOriginX:  %d{200 }
  1223.                 *CustPrintableOriginY:  %d{240}
  1224.                 *CustPrintableSizeX:   %d{ PhysPaperWidth - 400 }
  1225.                 *CustPrintableSizeY:  %d{ PhysPaperLength - 480 }
  1226.                 *Command: CmdSelect
  1227.                 {
  1228.                     *Order: PAGE_SETUP.4
  1229.                     *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  1230. +                         =uint16_xy %l{(PhysPaperWidth / 1200)}%l{(PhysPaperLength / 1200)} =attr_ubyte =CustomMediaSize
  1231. +                         =ubyte =eInch =attr_ubyte =CustomMediaSizeUnits =BeginPage
  1232. +                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  1233.  
  1234.                 }
  1235.             }
  1236.         }
  1237.     }
  1238. }
  1239.  
  1240. *%%% ======================
  1241. *%%% PAGE_SETUP.2
  1242. *%%% BeginPage(0x43)
  1243. *%%%     Orientation(0x40), MediaSize(0x37), MediaSource(0x38)
  1244. *%%%     ubyte               ubyte             ubyte
  1245. *%%%     MediaSource
  1246. *Feature: InputBin
  1247. {
  1248.     *rcNameID: =PAPER_SOURCE_DISPLAY
  1249.     *DefaultOption: Option1
  1250.     *Option: Option1
  1251.     {
  1252.         *rcNameID: =AUTO_DISPLAY
  1253.         *Command: CmdSelect
  1254.         {
  1255.             *Order: PAGE_SETUP.1
  1256.             *Cmd: =ubyte =eAutoSelect =attr_ubyte =MediaSource
  1257.         }
  1258.     }
  1259.     *Option: Option2
  1260.     {
  1261.         *rcNameID: =TRAY1_DISPLAY
  1262.         *Command: CmdSelect
  1263.         {
  1264.             *Order: PAGE_SETUP.1
  1265.             *Cmd: =ubyte =eMultiPurposeTray =attr_ubyte =MediaSource
  1266.         }
  1267.     }
  1268.     *Option: Option3
  1269.     {
  1270.         *rcNameID: =TRAY2_DISPLAY
  1271.         *Command: CmdSelect
  1272.         {
  1273.             *Order: PAGE_SETUP.1
  1274.             *Cmd: =ubyte =eUpperCassette =attr_ubyte =MediaSource
  1275.         }
  1276.     }
  1277.     *Option: Option4
  1278.     {
  1279.         *rcNameID: =TRAY3_DISPLAY
  1280.         *Command: CmdSelect
  1281.         {
  1282.             *Order: PAGE_SETUP.1
  1283.             *Cmd: =ubyte =eThirdCassette =attr_ubyte =MediaSource
  1284.         }
  1285.     }
  1286.     *Option: Option5
  1287.     {
  1288.         *rcNameID: =TRAY4_DISPLAY
  1289.         *Command: CmdSelect
  1290.         {
  1291.             *Order: PAGE_SETUP.1
  1292.             *Cmd: =ubyte =eLowerCassette =attr_ubyte =MediaSource
  1293.         }
  1294.     }
  1295.     *Option: Option6
  1296.     {
  1297.         *rcNameID: =ENV_FEED_DISPLAY
  1298.         *Command: CmdSelect
  1299.         {
  1300.             *Order: PAGE_SETUP.1
  1301.             *Cmd: =ubyte =eEnvelopeTray =attr_ubyte =MediaSource
  1302.         }
  1303.     }
  1304.     *Option: Option7
  1305.     {
  1306.         *rcNameID: =MANUAL_FEED_DISPLAY
  1307.         *Command: CmdSelect
  1308.         {
  1309.             *Order: PAGE_SETUP.1
  1310.             *Cmd: =ubyte =eManualFeed =attr_ubyte =MediaSource
  1311.         }
  1312.     }
  1313. }
  1314.  
  1315. *%%% ======================
  1316. *%%% PAGE_SETUP.3
  1317. *%%% BeginPage(0x43)
  1318. *%%%     Orientation(0x40), MediaSize(0x37), MediaSource(0x38), MediaType
  1319. *%%%     ubyte               ubyte             ubyte
  1320. *%%%     MediaType
  1321. *Feature: MediaType
  1322. {
  1323.     *rcNameID: =MEDIA_TYPE_DISPLAY
  1324.     *DefaultOption: AutoSelect
  1325.  
  1326.     *Option: AutoSelect
  1327.     {
  1328.         *rcNameID: =AUTO_SELECT_DISPLAY
  1329.     }
  1330.     *Option: Plain
  1331.     {
  1332.         *rcNameID: =PLAIN_DISPLAY
  1333.         *Command: CmdSelect
  1334.         {
  1335.             *Order: PAGE_SETUP.3
  1336.             *Cmd: =ubyte_array =uint16 "<0500>" =ePlain =attr_ubyte =MediaType
  1337.         }
  1338.     }
  1339.     *Option: Preprinted
  1340.     {
  1341.         *rcNameID: =PREPRINTED_DISPLAY
  1342.         *Command: CmdSelect
  1343.         {
  1344.             *Order: PAGE_SETUP.3
  1345.             *Cmd: =ubyte_array =uint16 "<0a00>" =ePreprinted =attr_ubyte =MediaType
  1346.         }
  1347.     }
  1348.     *Option: Letterhead
  1349.     {
  1350.         *rcNameID: =LETTERHEAD_DISPLAY
  1351.         *Command: CmdSelect
  1352.         {
  1353.             *Order: PAGE_SETUP.3
  1354.             *Cmd: =ubyte_array =uint16 "<0a00>" =eLetterhead =attr_ubyte =MediaType
  1355.         }
  1356.     }
  1357.     *Option: Transparency
  1358.     {
  1359.         *rcNameID: =TRANSPARENCY_DISPLAY
  1360.     *Constraints: LIST(Duplex.VERTICAL,Duplex.HORIZONTAL)
  1361.         *Command: CmdSelect
  1362.         {
  1363.             *Order: PAGE_SETUP.3
  1364.             *Cmd: =ubyte_array =uint16 "<0c00>" =eTransparency =attr_ubyte =MediaType
  1365.         }
  1366.     }
  1367.     *Option: Prepunched
  1368.     {
  1369.         *rcNameID: =PREPUNCHED_DISPLAY
  1370.         *Command: CmdSelect
  1371.         {
  1372.             *Order: PAGE_SETUP.3
  1373.             *Cmd: =ubyte_array =uint16 "<0a00>" =ePrepunched =attr_ubyte =MediaType
  1374.         }
  1375.     }
  1376.     *Option: Labels
  1377.     {
  1378.         *rcNameID: =LABELS_DISPLAY
  1379.     *Constraints: LIST(Duplex.VERTICAL,Duplex.HORIZONTAL)
  1380.         *Command: CmdSelect
  1381.         {
  1382.             *Order: PAGE_SETUP.3
  1383.             *Cmd: =ubyte_array =uint16 "<0600>" =eLabels =attr_ubyte =MediaType
  1384.         }
  1385.     }
  1386.     *Option: Bond
  1387.     {
  1388.         *rcNameID: =BOND_DISPLAY
  1389.         *Command: CmdSelect
  1390.         {
  1391.             *Order: PAGE_SETUP.3
  1392.             *Cmd: =ubyte_array =uint16 "<0400>" =eBond =attr_ubyte =MediaType
  1393.         }
  1394.     }
  1395.     *Option: Recycled
  1396.     {
  1397.         *rcNameID: =RECYCLED_DISPLAY
  1398.         *Command: CmdSelect
  1399.         {
  1400.             *Order: PAGE_SETUP.3
  1401.             *Cmd: =ubyte_array =uint16 "<0800>" =eRecycled =attr_ubyte =MediaType
  1402.         }
  1403.     }
  1404.     *Option: Color
  1405.     {
  1406.         *rcNameID: =COLOR_DISPLAY
  1407.         *Command: CmdSelect
  1408.         {
  1409.             *Order: PAGE_SETUP.3
  1410.             *Cmd: =ubyte_array =uint16 "<0500>" =eColor =attr_ubyte =MediaType
  1411.         }
  1412.     }
  1413.     *Option: CardStock
  1414.     {
  1415.         *rcNameID: =CARDSTOCK_DISPLAY
  1416.         *Command: CmdSelect
  1417.         {
  1418.             *Order: PAGE_SETUP.3
  1419.             *Cmd: =ubyte_array =uint16 "<0a00>" =eCardstock =attr_ubyte =MediaType
  1420.         }
  1421.     }
  1422.     *Option: Rough
  1423.     {
  1424.         *rcNameID: =ROUGH_DISPLAY
  1425.         *Command: CmdSelect
  1426.         {
  1427.             *Order: PAGE_SETUP.3
  1428.             *Cmd: =ubyte_array =uint16 "<0500>" =eRough =attr_ubyte =MediaType
  1429.         }
  1430.     }
  1431. }
  1432.  
  1433. *%%% ======================
  1434. *%%% PAGE_SETUP.3
  1435. *%%% DuplexPageMode(53(0x35))
  1436. *Feature: Duplex
  1437. {
  1438.     *rcNameID: =TWO_SIDED_PRINTING_DISPLAY
  1439.     *DefaultOption: NONE
  1440.     *Option: NONE
  1441.     {
  1442.         *rcNameID: =NONE_DISPLAY
  1443.         *Command: CmdSelect
  1444.         {
  1445.             *Order: JOB_SETUP.8
  1446.             *Cmd: "@PJL SET DUPLEX=OFF<0A>"
  1447.         }
  1448.     }
  1449.     *Option: VERTICAL
  1450.     {
  1451.         *rcNameID: =FLIP_ON_LONG_EDGE_DISPLAY
  1452.         *Command: CmdSelect
  1453.         {
  1454.             *Order: JOB_SETUP.8
  1455.             *Cmd: "@PJL SET DUPLEX=ON<0A>@PJL SET BINDING=LONGEDGE<0A>"
  1456.         }
  1457.     }
  1458.     *Option: HORIZONTAL
  1459.     {
  1460.         *rcNameID: =FLIP_ON_SHORT_EDGE_DISPLAY
  1461.         *Command: CmdSelect
  1462.         {
  1463.             *Order: JOB_SETUP.8
  1464.             *Cmd: "@PJL SET DUPLEX=ON<0A>@PJL SET BINDING=SHORTEDGE<0A>"
  1465.         }
  1466.     }
  1467. }
  1468.  
  1469. *%%% ======================
  1470. *%%% PAGE_SETUP.4
  1471. *%%% SetPageOrigin
  1472. *%%%     PageOrigin
  1473. *%%% SetPageScale
  1474. *Command: CmdStartPage
  1475. {
  1476.     *Order: PAGE_SETUP.4
  1477.     *Cmd: =real32_xy "<0000803f><0000803f>" =attr_ubyte =PageScale =SetPageScale
  1478. +         =ubyte "<01>" =attr_ubyte =ColorSpace =SetColorSpace
  1479. }
  1480.  
  1481. *%%% ======================
  1482. *%%% PAGE_SETUP.5
  1483. *%%% Feature
  1484. *%%% Dither
  1485. *Feature: Dither
  1486. {
  1487.     *rcNameID: =DITHER_QUALITY_DISPLAY
  1488.     *DefaultOption: HIQUALITY
  1489.     *Option: HIQUALITY
  1490.     {
  1491.         *rcNameID: =DITHER_QUALITY_HIGH_DISPLAY
  1492.         *Command: CmdSelect
  1493.         {
  1494.             *Order: PAGE_SETUP.5
  1495.             *Cmd:
  1496. +         =ubyte "<00>" =attr_ubyte =DitherMatrixDataType
  1497. +         =uint16_xy "<10001000>" =attr_ubyte =DitherMatrixSize
  1498. +         =ubyte "<02>" =attr_ubyte =DitherMatrixDepth
  1499. +         =SetHalftoneMethod
  1500. +         =dataLength "<00010000>"
  1501. +         "<42786A3C2B1B1E2E4175673A2A1A1D2D>"
  1502. +         "<88FDE8531703042484F8E35116030424>"
  1503. +         "<99FFD45E1302072195FFCE5B12010721>"
  1504. +         "<4ABFAB36280B0F3248BAA735270A0E31>"
  1505. +         "<28171B2B3D6C5F3729191C2C3F716439>"
  1506. +         "<130203227AEBD64B1502032380F3DE4E>"
  1507. +         "<0F01051F8AFFC2551101062090FFC958>"
  1508. +         "<2525080B2F43AE9B3226090D3046B5A234>"
  1509. +         "<4073653A29191D2D4276693B2A1A1E2E>"
  1510. +         "<82F5E1501502042386FAE65216030424>"
  1511. +         "<92FFCC5A1101062097FFD15D12020721>"
  1512. +         "<47B8A435260A0D3049BDA936270A0E31>"
  1513. +         "<29181C2C3E6F623828181C2B3D6E6138>"
  1514. +         "<140203237EF0DB4D140203227CEED94C>"
  1515. +         "<1001051F8EFFC7571001051F8CFFC456>"
  1516. +         "<26090C2F45B3A0342525080C2F44B09D33>"
  1517.         }
  1518.     }
  1519.     *Option: LOQUALITY
  1520.     {
  1521.         *rcNameID: =DITHER_QUALITY_LOW_DISPLAY
  1522.     }
  1523. }
  1524.  
  1525.  
  1526. *%%% ======================
  1527. *%%% Feature
  1528. *%%% Memory
  1529. *Feature: Memory
  1530. {
  1531.     *rcNameID: =PRINTER_MEMORY_DISPLAY
  1532.     *DefaultOption: 4MB
  1533. *% 4MB Standard memory, 3 memory slots with 4, 8, 16 or 32 MB dimms avail.
  1534. *% Max memory 96 (+4 on board) = 100
  1535.         *MemConfigMB: PAIR(4, 3)
  1536.         *MemConfigMB: PAIR(8, 7)
  1537.         *MemConfigMB: PAIR(12, 10)
  1538.         *MemConfigMB: PAIR(16, 13)
  1539.         *MemConfigMB: PAIR(20, 17)
  1540.         *MemConfigMB: PAIR(24, 21)
  1541.         *MemConfigMB: PAIR(28, 24)
  1542.         *MemConfigMB: PAIR(32, 28)
  1543.         *MemConfigMB: PAIR(36, 31)
  1544.         *MemConfigMB: PAIR(40, 35)
  1545.         *MemConfigMB: PAIR(44, 39)
  1546.         *MemConfigMB: PAIR(48, 42)
  1547.         *MemConfigMB: PAIR(52, 46)
  1548.         *MemConfigMB: PAIR(56, 49)
  1549.         *MemConfigMB: PAIR(60, 52)
  1550.         *MemConfigMB: PAIR(68, 59)
  1551.         *MemConfigMB: PAIR(72, 64)
  1552.         *MemConfigMB: PAIR(76, 67)
  1553.         *MemConfigMB: PAIR(84, 75)
  1554.         *MemConfigMB: PAIR(100, 89)
  1555. }
  1556.  
  1557. *%%% ======================
  1558. *%%% Device fonts
  1559. *%%% ======================
  1560.  
  1561. *DefaultFont: =RC_FONT_COURIERR
  1562. *DefaultCTT: 0
  1563.  
  1564. *DeviceFonts: LIST(
  1565. +   =RC_FONT_ALBERTR,   
  1566. +   =RC_FONT_ALBERTX,   
  1567. +   =RC_FONT_AOLIVEB,   
  1568. +   =RC_FONT_AOLIVEI,   
  1569. +   =RC_FONT_AOLIVER,   
  1570. +   =RC_FONT_ARIALB,    
  1571. +   =RC_FONT_ARIALI,    
  1572. +   =RC_FONT_ARIALJ,    
  1573. +   =RC_FONT_ARIALR,    
  1574. +   =RC_FONT_CGOMEGAB,  
  1575. +   =RC_FONT_CGOMEGAI,  
  1576. +   =RC_FONT_CGOMEGAJ,  
  1577. +   =RC_FONT_CGOMEGAR,  
  1578. +   =RC_FONT_CGTIMESB,  
  1579. +   =RC_FONT_CGTIMESI,  
  1580. +   =RC_FONT_CGTIMESJ,  
  1581. +   =RC_FONT_CGTIMESR,  
  1582. +   =RC_FONT_CLARCD,    
  1583. +   =RC_FONT_CORONETR,  
  1584. +   =RC_FONT_COURIERB,  
  1585. +   =RC_FONT_COURIERI,  
  1586. +   =RC_FONT_COURIERJ,  
  1587. +   =RC_FONT_COURIERR,  
  1588. +   =RC_FONT_GARMONDB,  
  1589. +   =RC_FONT_GARMONDI,  
  1590. +   =RC_FONT_GARMONDJ,  
  1591. +   =RC_FONT_GARMONDR,  
  1592. +   =RC_FONT_LETGOTHB,  
  1593. +   =RC_FONT_LETGOTHI,  
  1594. +   =RC_FONT_LETGOTHR,  
  1595. +   =RC_FONT_MARGOLDR,  
  1596. +   =RC_FONT_TIMESNRB,  
  1597. +   =RC_FONT_TIMESNRI,  
  1598. +   =RC_FONT_TIMESNRJ,  
  1599. +   =RC_FONT_TIMESNRR,  
  1600. +   =RC_FONT_UNIVERCB,  
  1601. +   =RC_FONT_UNIVERCI,  
  1602. +   =RC_FONT_UNIVERCJ,  
  1603. +   =RC_FONT_UNIVERCR,  
  1604. +   =RC_FONT_UNIVERSA,  
  1605. +   =RC_FONT_UNIVERSB,  
  1606. +   =RC_FONT_UNIVERSC,  
  1607. +   =RC_FONT_UNIVERSD,  
  1608. +   =RC_FONT_UNIVERSE,  
  1609. +   =RC_FONT_UNIVERSI,  
  1610. +   =RC_FONT_UNIVERSJ,  
  1611. +   =RC_FONT_UNIVERSR,  
  1612. +   =RC_FONT_WINGDINGS, 
  1613. +   =RC_FONT_SYMBOL)
  1614.  
  1615. *% TT font Substituition table for our device fonts
  1616. *% Arial and TNR are substituted in ttfsub.gpd
  1617. *TTFS: AlbertusM
  1618. {
  1619.   *TTFontName: "Albertus Medium"
  1620.   *DevFontName: "Albertus Medium"
  1621. }
  1622. *TTFS: AlbertusX
  1623. {
  1624.   *TTFontName: "Albertus Extra Bold"
  1625.   *DevFontName: "Albertus Extra Bold"
  1626. }
  1627. *TTFS: AntiqueOlive
  1628. {
  1629.   *TTFontName: "Antique Olive"
  1630.   *DevFontName: "Antique Olive"
  1631. }
  1632. *TTFS: CGOmega
  1633. {
  1634.   *TTFontName: "CG Omega"
  1635.   *DevFontName: "CG Omega"
  1636. }
  1637. *TTFS: CGTimes
  1638. {
  1639.   *TTFontName: "CG Times"
  1640.   *DevFontName: "CG Times"
  1641. }
  1642. *TTFS: ClarendonCD
  1643. {
  1644.   *TTFontName: "Clarendon Condensed Bold"
  1645.  *DevFontName: "Clarendon Condensed"
  1646. }
  1647. *TTFS: Coronet
  1648. {
  1649.   *TTFontName: "Coronet"
  1650.   *DevFontName: "Coronet"
  1651. }
  1652. *TTFS: Garamond
  1653. {
  1654.   *TTFontName: "Garamond"
  1655.   *DevFontName: "Garamond"
  1656. }
  1657. *TTFS: LetterGothic
  1658. {
  1659.   *TTFontName: "Letter Gothic"
  1660.   *DevFontName: "Letter Gothic"
  1661. }
  1662. *TTFS: Marigold
  1663. {
  1664.   *TTFontName: "Marigold"
  1665.   *DevFontName: "Marigold"
  1666. }
  1667. *TTFS: Univers
  1668. {
  1669.   *TTFontName: "Univers Medium"
  1670.   *DevFontName: "Univers"
  1671. }
  1672. *TTFS: UniversCD
  1673. {
  1674.   *TTFontName: "Univers Condensed Medium"
  1675.   *DevFontName: "Univers Condensed"
  1676. }
  1677. *TTFS: CourierNew
  1678. {
  1679.   *TTFontName: "Courier New"
  1680.   *DevFontName: "Courier New"
  1681. }
  1682. *% These 4 fonts need to be substituted to match the name that applications use to select the font.  For
  1683. *% some reason the names are different.
  1684. *TTFS: ClarendonCD1
  1685. {
  1686.   *TTFontName: "Clarendon Condensed"
  1687.  *DevFontName: "Clarendon Condensed"
  1688. }
  1689. *TTFS: Univers1
  1690. {
  1691.   *TTFontName: "Univers"
  1692.   *DevFontName: "Univers"
  1693. }
  1694. *TTFS: UniversCD1
  1695. {
  1696.   *TTFontName: "Univers Condensed"
  1697.   *DevFontName: "Univers Condensed"
  1698. }
  1699.  
  1700. *%% =======================
  1701. *%% Optional Input Trays
  1702. *%% =======================
  1703. *Feature: TRAY3
  1704. {
  1705.     *rcNameID: =TRAY3_DISPLAY
  1706.     *FeatureType: PRINTER_PROPERTY
  1707.     *DefaultOption: FALSE
  1708.     *Option: FALSE
  1709.     {
  1710.         *rcNameID: =NOT_INSTALLED_DISPLAY
  1711.     }
  1712.     *Option: TRUE
  1713.     {
  1714.         *rcNameID: =INSTALLED_DISPLAY
  1715.     }
  1716. }
  1717. *InvalidCombination: LIST(TRAY3.FALSE,InputBin.Option4)
  1718.  
  1719. *Feature: TRAY4
  1720. {
  1721.     *rcNameID: =TRAY4_DISPLAY
  1722.     *FeatureType: PRINTER_PROPERTY
  1723.     *DefaultOption: FALSE
  1724.     *Option: FALSE
  1725.     {
  1726.         *rcNameID: =NOT_INSTALLED_DISPLAY
  1727.     }
  1728.     *Option: TRUE
  1729.     {
  1730.         *rcNameID: =INSTALLED_DISPLAY
  1731.     }
  1732. }
  1733. *InvalidCombination: LIST(TRAY4.FALSE,InputBin.Option5)
  1734. *InvalidCombination: LIST(TRAY4.TRUE,TRAY3.FALSE)
  1735.  
  1736. *Feature: EnvFeeder
  1737. {
  1738.     *rcNameID: =ENV_FEED_DISPLAY
  1739.     *FeatureType: PRINTER_PROPERTY
  1740.     *DefaultOption: FALSE
  1741.     *Option: FALSE
  1742.     {
  1743.         *rcNameID: =NOT_INSTALLED_DISPLAY
  1744.     }
  1745.     *Option: TRUE
  1746.     {
  1747.         *rcNameID: =INSTALLED_DISPLAY
  1748.     }
  1749. }
  1750. *InvalidCombination: LIST(EnvFeeder.FALSE,InputBin.Option6)
  1751.  
  1752. *%% =======================
  1753. *%% Optional Duplex Unit
  1754. *%% =======================
  1755. *Feature: DuplexUnit
  1756. {
  1757.     *FeatureType: PRINTER_PROPERTY
  1758.     *rcNameID: =DUPLEX_UNIT_DISPLAY
  1759.     *DefaultOption: NotInstalled
  1760.     *Option: NotInstalled
  1761.     {
  1762.         *rcNameID: =NOT_INSTALLED_DISPLAY
  1763.         *DisabledFeatures: LIST(Duplex.VERTICAL,Duplex.HORIZONTAL)
  1764.         *Constraints: LIST(Duplex.VERTICAL,Duplex.HORIZONTAL)
  1765.     }
  1766.  
  1767.     *Option: Installed
  1768.     {
  1769.         *rcNameID: =INSTALLED_DISPLAY
  1770.     }
  1771. }
  1772.  
  1773. *%% =======================
  1774. *%% Optional Hard Disk
  1775. *%% =======================
  1776. *Feature: PrinterHardDisk
  1777. {
  1778.     *rcNameID: =PRINTER_HARDDISK_DISPLAY
  1779.     *FeatureType: PRINTER_PROPERTY
  1780.     *DefaultOption: FALSE
  1781.     *Option: FALSE
  1782.     {
  1783.         *rcNameID: =NOT_INSTALLED_DISPLAY
  1784.         *DisabledFeatures: LIST(Collate)
  1785.     }
  1786.     *Option: TRUE
  1787.     {
  1788.         *rcNameID: =INSTALLED_DISPLAY
  1789.     }
  1790. }
  1791.  
  1792.  
  1793. *%%% ======================
  1794. *%%% PCL XL GPD file main
  1795. *%%% ======================
  1796.  
  1797. *%%% ======================
  1798. *%%% Global Entries
  1799. *%%% Attributes
  1800. *%%% ======================
  1801. *MasterUnits: PAIR(1200, 1200)
  1802. *CodePage: 1252
  1803. *ResourceDLL: "pclxl.dll"
  1804. *PrinterType: PAGE
  1805. *Personality: =PERSONALITY_PCLXL
  1806. *rcPersonalityID: =PERSONALITY_PCLXL_DISPLAY
  1807. *%%% *rcPrinterIconID:
  1808. *%%% *HelpFile:
  1809.  
  1810. *%%% ======================
  1811. *%%% Printing attributes
  1812. *%%% ======================
  1813. *RotateCoordinate?: TRUE
  1814. *RotateRaster?: TRUE
  1815. *RotateFont?: TRUE
  1816. *EjectPageWithFF?: FALSE
  1817.  
  1818. *TextCaps: LIST(TC_CR_ANY,TC_CR_90,TC_SF_X_YINDEP,TC_SA_CONTIN,TC_IA_ABLE,TC_UA_ABLE)
  1819. *MemoryUsage: LIST(FONT)
  1820. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  1821. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  1822. *CursorYAfterSendBlockData: AUTO_INCREMENT
  1823. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  1824. *XMoveThreshold: 0
  1825. *YMoveThreshold: 0
  1826. *XMoveUnit: 1200
  1827. *YMoveUnit: 1200
  1828.  
  1829. *%%% *MinGrayFill: 1
  1830. *%%% *MaxGrayFill: 100
  1831.  
  1832. *%%% *OutputDataFormat: H_BYTE
  1833. *%%% *OptimizeLeftBound?: TRUE
  1834.  
  1835. *%%% ======================
  1836. *%%% TrueType fonts
  1837. *%%% ======================
  1838.  
  1839. *Feature: TrueTypeFormat
  1840. {
  1841.     *rcNameID: =TRUETYPE_FORMAT
  1842.     *DefaultOption: OUTLINE
  1843.     *Option: OUTLINE
  1844.     {
  1845.         *rcNameID: =TRUETYPE_OUTLINE
  1846.     }
  1847.     *Option: BITMAP
  1848.     {
  1849.         *rcNameID: =TRUETYPE_BITMAP
  1850.     }
  1851.     *Option: GRAPHICS
  1852.     {
  1853.         *rcNameID: =TRUETYPE_GRAPHICS
  1854.     }
  1855. }
  1856.  
  1857. *switch: TrueTypeFormat
  1858. {
  1859.     *case: OUTLINE
  1860.     {
  1861.         *FontFormat: HPPCL_OUTLINE
  1862.     }
  1863.     *case: BITMAP
  1864.     {
  1865.         *FontFormat: HPPCL
  1866.     }
  1867.     *case: GRAPHICS
  1868.     {
  1869.     }
  1870. }
  1871. *CharPosition: BASELINE
  1872. *TTFSEnabled?: TRUE
  1873. *MinFontID: 1
  1874. *MaxFontID: 65535
  1875. *MinGlyphID: 1
  1876. *MaxGlyphID: 1000
  1877.  
  1878. *%%% ======================
  1879. *%%% Cursor commands
  1880. *%%% ======================
  1881.  
  1882. *Command: CmdCR { *Cmd: "" }
  1883. *Command: CmdLF { *Cmd: "" }
  1884. *Command: CmdFF { *Cmd: "" }
  1885.  
  1886. *%%% SetCursor(0x6b)
  1887. *%%%     Point(76(0x40c)) uint_16
  1888. *%%% SetCursorRel(0x6c)
  1889. *%%%     Point(76(0x40c)) uint_16
  1890. *Command: CmdXMoveAbsolute
  1891. {
  1892.     *Cmd: ""
  1893. }
  1894. *Command: CmdXMoveRelRight
  1895. {
  1896.     *Cmd: ""
  1897.     *Params: LIST(DestXRel, TextXRes)
  1898. }
  1899. *Command: CmdXMoveRelLeft
  1900. {
  1901.     *Cmd: ""
  1902.     *Params: LIST(DestXRel, TextXRes)
  1903. }
  1904. *Command: CmdYMoveAbsolute
  1905. {
  1906.     *Cmd: ""
  1907.     *Params: LIST(DestY, TextYRes)
  1908. }
  1909. *Command: CmdYMoveRelDown
  1910. {
  1911.     *Cmd: ""
  1912.     *Params: LIST(DestYRel, TextYRes)
  1913. }
  1914. *Command: CmdYMoveRelUp
  1915. {
  1916.     *Cmd: ""
  1917.     *Params: LIST(DestYRel, TextYRes)
  1918. }
  1919. *%%% *Command: CmdPushCursor
  1920. *%%% *Command: CmdPopCursor
  1921.  
  1922. *%%% =======================
  1923. *%%% Font commands
  1924. *%%% =======================
  1925.  
  1926. *Command: CmdSetFontID { *Cmd : "" }
  1927. *Command: CmdSelectFontID
  1928. {
  1929.     *Cmd: ""
  1930.     *Params: LIST(FontHeight, CurrentFontID, TextYRes)
  1931. }
  1932.  
  1933. *Command: CmdSetCharCode
  1934. {
  1935.     *Cmd : ""
  1936. }
  1937.  
  1938. *Command: CmdBoldOn
  1939. {
  1940.     *Cmd : ""
  1941. }
  1942. *Command: CmdBoldOff
  1943. {
  1944.     *Cmd : ""
  1945. }
  1946. *%%% *Command: CmdItalicOn: "=real32_xy "<3ea1e4f700000000>" =attr_ubyte =eCharShear =SetCharShear"
  1947. *%%% *Command: CmdItalicOff: "=real32_xy "<0000000000000000>" =attr_ubyte =eCharShear =SetCharShear"
  1948. *%%% *Command: CmdWhiteTextOn:
  1949. *%%% *Command: CmdWhiteTextOff:
  1950. *%%% *Command: CmdSelectSingleByteMode:
  1951. *%%% *Command: CmdSelectDoubleByteMode:
  1952. *Command: CmdSetAnyRotation
  1953. {
  1954.     *Cmd: ""
  1955.     *Params: LIST(PrintDirInCCDegrees)
  1956. }
  1957. *Command: CmdSetSimpleRotation
  1958. {
  1959.     *Cmd: ""
  1960.     *Params: LIST(PrintDirInCCDegrees)
  1961. }
  1962.