Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

140 lines
3.6 KiB

  1. *%%
  2. *%% NEC PICTY760
  3. *%%
  4. *%% Copyright 1998-1999 Hewlett-Packard Co.
  5. *%% Copyright 1998-2001 Microsoft.
  6. *%% All Rights Reserved.
  7. *%%
  8. *Include: "hpfdj84x.gpd"
  9. *%%
  10. *%% Global Entries
  11. *%%
  12. *GPDSpecVersion: "1.0"
  13. *GPDFileVersion: "1.0"
  14. *%% *ModelName: "HP DeskJet 840C/841C/842C/843C"
  15. *%% *GPDFileName: "HPFDJ840.GPD"
  16. *ModelName: "NEC PICTY760"
  17. *GPDFileName: "NCFDJ760.GPD"
  18. *PrintRate: 8
  19. *PrintRateUnit: PPM
  20. *%%
  21. *%% Japanese specific entries
  22. *%%
  23. *Feature: PaperSize
  24. {
  25. *Option: JENV_CHOU3
  26. {
  27. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  28. *Command: CmdSelect
  29. {
  30. *Order: DOC_SETUP.30
  31. *Cmd: "<1B>&l110A"
  32. }
  33. *switch: Orientation
  34. {
  35. *case: PORTRAIT
  36. {
  37. *PrintableArea: PAIR(2682, 5232)
  38. *PrintableOrigin: PAIR(76, 42)
  39. *CursorOrigin: PAIR(76, 42)
  40. }
  41. *case: LANDSCAPE_CC270
  42. {
  43. *PrintableArea: PAIR(2682, 5232)
  44. *PrintableOrigin: PAIR(76, 42)
  45. *CursorOrigin: PAIR(2758, 42)
  46. }
  47. }
  48. }
  49. *Option: JENV_CHOU4
  50. {
  51. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  52. *Command: CmdSelect
  53. {
  54. *Order: DOC_SETUP.30
  55. *Cmd: "<1B>&l111A"
  56. }
  57. *switch: Orientation
  58. {
  59. *case: PORTRAIT
  60. {
  61. *PrintableArea: PAIR(1972, 4524)
  62. *PrintableOrigin: PAIR(76, 42)
  63. *CursorOrigin: PAIR(76, 42)
  64. }
  65. *case: LANDSCAPE_CC270
  66. {
  67. *PrintableArea: PAIR(1972, 4524)
  68. *PrintableOrigin: PAIR(76, 42)
  69. *CursorOrigin: PAIR(2048, 42)
  70. }
  71. }
  72. }
  73. *Option: JENV_YOU2
  74. {
  75. *rcNameID: 1291
  76. *PageDimensions: PAIR(2692, 3826)
  77. *Command: CmdSelect
  78. {
  79. *Order: DOC_SETUP.30
  80. *Cmd: "<1B>&l112A"
  81. }
  82. *switch: Orientation
  83. {
  84. *case: PORTRAIT
  85. {
  86. *PrintableArea: PAIR(2540, 3508)
  87. *PrintableOrigin: PAIR(76, 42)
  88. *CursorOrigin: PAIR(76, 42)
  89. }
  90. *case: LANDSCAPE_CC270
  91. {
  92. *PrintableArea: PAIR(2540, 3508)
  93. *PrintableOrigin: PAIR(76, 42)
  94. *CursorOrigin: PAIR(2616, 42)
  95. }
  96. }
  97. }
  98. *Option: CUSTOMSIZE
  99. {
  100. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  101. *MinSize: PAIR(1800, 3000)
  102. *MaxSize: PAIR(5100, 8400)
  103. *MaxPrintableWidth: 1
  104. *MinLeftMargin: 76
  105. *CenterPrintable?: FALSE
  106. *Command: CmdSelect
  107. {
  108. *Order: DOC_SETUP.30
  109. *Cmd: =PCL_US_LEGAL
  110. }
  111. *switch: Orientation
  112. {
  113. *case: PORTRAIT
  114. {
  115. *CustCursorOriginX: %d{76}
  116. *CustCursorOriginY: %d{24}
  117. *CustPrintableOriginX: %d{76}
  118. *CustPrintableOriginY: %d{24}
  119. *CustPrintableSizeX: %d{PhysPaperWidth - 152}
  120. *CustPrintableSizeY: %d{PhysPaperLength - 324}
  121. }
  122. *case: LANDSCAPE_CC270
  123. {
  124. *CustCursorOriginX: %d{PhysPaperWidth - 76}
  125. *CustCursorOriginY: %d{24}
  126. *CustPrintableOriginX: %d{76}
  127. *CustPrintableOriginY: %d{24}
  128. *CustPrintableSizeX: %d{PhysPaperWidth - 152}
  129. *CustPrintableSizeY: %d{PhysPaperLength - 324}
  130. }
  131. }
  132. }
  133. }