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.

166 lines
4.4 KiB

  1. *%%
  2. *%% NEC PICTY960
  3. *%%
  4. *%% Copyright 1999, Hewlett-Packard Co.
  5. *%% Copyright 1999-2001 Microsoft.
  6. *%% All Rights Reserved.
  7. *%%
  8. *Include: "hpfdj95x.gpd"
  9. *%%
  10. *%% Global Entries
  11. *%%
  12. *GPDSpecVersion: "1.0"
  13. *GPDFileVersion: "1.0"
  14. *%% *ModelName: "HP DeskJet 957C"
  15. *%% *GPDFileName: "HPFDJ957.GPD"
  16. *ModelName: "NEC PICTY960"
  17. *GPDFileName: "NCFDJ960.GPD"
  18. *PrintRate: 11
  19. *PrintRateUnit: PPM
  20. *%%
  21. *%% Japanese specific entries
  22. *%%
  23. *Feature: PaperSize
  24. {
  25. *Option: DBL_JAPANESE_POSTCARD_ROTATED
  26. {
  27. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  28. *Command: CmdSelect
  29. {
  30. *Order: DOC_SETUP.30
  31. *Cmd: "<1B>&l26A"
  32. }
  33. *switch: Orientation
  34. {
  35. *case: PORTRAIT
  36. {
  37. *PrintableArea: PAIR(6688, 8808)
  38. *PrintableOrigin: PAIR(152, 84)
  39. *CursorOrigin: PAIR(152, 84)
  40. }
  41. *case: LANDSCAPE_CC270
  42. {
  43. *PrintableArea: PAIR(6688, 8808)
  44. *PrintableOrigin: PAIR(152, 84)
  45. *CursorOrigin: PAIR(6840, 84)
  46. }
  47. }
  48. }
  49. *Option: JENV_CHOU3
  50. {
  51. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  52. *Command: CmdSelect
  53. {
  54. *Order: DOC_SETUP.30
  55. *Cmd: "<1B>&l110A"
  56. }
  57. *switch: Orientation
  58. {
  59. *case: PORTRAIT
  60. {
  61. *PrintableArea: PAIR(5364, 10464)
  62. *PrintableOrigin: PAIR(152, 84)
  63. *CursorOrigin: PAIR(152, 84)
  64. }
  65. *case: LANDSCAPE_CC270
  66. {
  67. *PrintableArea: PAIR(5364, 10464)
  68. *PrintableOrigin: PAIR(152, 84)
  69. *CursorOrigin: PAIR(5516, 84)
  70. }
  71. }
  72. }
  73. *Option: JENV_CHOU4
  74. {
  75. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  76. *Command: CmdSelect
  77. {
  78. *Order: DOC_SETUP.30
  79. *Cmd: "<1B>&l111A"
  80. }
  81. *switch: Orientation
  82. {
  83. *case: PORTRAIT
  84. {
  85. *PrintableArea: PAIR(3944, 9048)
  86. *PrintableOrigin: PAIR(152, 84)
  87. *CursorOrigin: PAIR(152, 84)
  88. }
  89. *case: LANDSCAPE_CC270
  90. {
  91. *PrintableArea: PAIR(3944, 9048)
  92. *PrintableOrigin: PAIR(152, 84)
  93. *CursorOrigin: PAIR(4096, 84)
  94. }
  95. }
  96. }
  97. *Option: JENV_YOU2
  98. {
  99. *rcNameID: 1291
  100. *PageDimensions: PAIR(5384, 7652)
  101. *Command: CmdSelect
  102. {
  103. *Order: DOC_SETUP.30
  104. *Cmd: "<1B>&l92A"
  105. }
  106. *switch: Orientation
  107. {
  108. *case: PORTRAIT
  109. {
  110. *PrintableArea: PAIR(5080, 7016)
  111. *PrintableOrigin: PAIR(152, 84)
  112. *CursorOrigin: PAIR(152, 84)
  113. }
  114. *case: LANDSCAPE_CC270
  115. {
  116. *PrintableArea: PAIR(5080, 7016)
  117. *PrintableOrigin: PAIR(152, 84)
  118. *CursorOrigin: PAIR(5232, 84)
  119. }
  120. }
  121. }
  122. *Option: CUSTOMSIZE
  123. {
  124. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  125. *MinSize: PAIR(4124, 6356)
  126. *MaxSize: PAIR(9600, 16164)
  127. *MaxPrintableWidth: 1
  128. *MinLeftMargin: 150
  129. *CenterPrintable?: FALSE
  130. *Command: CmdSelect
  131. {
  132. *Order: DOC_SETUP.30
  133. *Cmd: =PCL_CUSTOMSIZE
  134. }
  135. *switch: Orientation
  136. {
  137. *case: PORTRAIT
  138. {
  139. *CustCursorOriginX: %d{200}
  140. *CustCursorOriginY: %d{100}
  141. *CustPrintableOriginX: %d{200}
  142. *CustPrintableOriginY: %d{100}
  143. *CustPrintableSizeX: %d{PhysPaperWidth - 400}
  144. *CustPrintableSizeY: %d{PhysPaperLength - 700}
  145. }
  146. *case: LANDSCAPE_CC270
  147. {
  148. *CustCursorOriginX: %d{PhysPaperWidth - 200}
  149. *CustCursorOriginY: %d{100}
  150. *CustPrintableOriginX: %d{200}
  151. *CustPrintableOriginY: %d{100}
  152. *CustPrintableSizeX: %d{PhysPaperWidth - 400}
  153. *CustPrintableSizeY: %d{PhysPaperLength - 700}
  154. }
  155. }
  156. *InsertBlock: =DUPLEX_CONSTRAINT
  157. }
  158. }