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.

109 lines
3.1 KiB

  1. *% Macros for Japanese (ESC/PAGE version)
  2. *Macros: CmdStrings
  3. {
  4. CMD_STARTDOC_INI : "<1B01>@EJL <0A>@EJL EN LA=ESC/PAGE<0A>"
  5. + "<1B01>@EJL <0A>@EJL SE LA=ESC/PAGE<0A>"
  6. + "@EJL SET EC=ON PU=1 ZO=OFF RS=FN<0A>"
  7. CMD_STARTDOC_FIN : "@EJL EN LA=ESC/PAGE<0A>"
  8. + "<1D>rhE<1D>0;0.12muE<1D>14isE<1D>2iaF<1D>24ifF<1D>1ipP"
  9. CMD_EJL_SET : "@EJL SET"
  10. CMD_EJL_DEF : " EC=ON ZO=OFF PU=1"
  11. CMD_EJL_FINE : " RS=FN"
  12. CMD_EJL_QUICK : " RS=QK"
  13. CMD_EJL_NORMAL : " PK=NM"
  14. CMD_EJL_THICK : " PK=TH"
  15. CMD_EJL_THICK_N : " PK=TN"
  16. CMD_EJL_OHP : " PK=TR"
  17. CMD_EJL_END : "<0A>"
  18. }
  19. *% BlockMacros for PaperSize feature:Japanese
  20. *BlockMacro: BM_PS_POST
  21. {
  22. *rcNameID: =JAPANESE_POSTCARD_DISPLAY
  23. *switch: Orientation
  24. {
  25. *case: PORTRAIT
  26. {
  27. *PrintableArea: PAIR(4244, 6512)
  28. *PrintableOrigin: PAIR(240, 240)
  29. *CursorOrigin: PAIR(240, 240)
  30. *Command: CmdSelect
  31. {
  32. *Order: DOC_SETUP.40
  33. *Cmd: "<1D>38psE"
  34. }
  35. }
  36. *case: LANDSCAPE_CC90
  37. {
  38. *PrintableArea: PAIR(4244, 6512)
  39. *PrintableOrigin: PAIR(240, 240)
  40. *CursorOrigin: PAIR(240, 6752)
  41. *Command: CmdSelect
  42. {
  43. *Order: DOC_SETUP.40
  44. *Cmd: "<1D>38psE<1D>1poE"
  45. }
  46. }
  47. }
  48. }
  49. *BlockMacro: BM_PS_A3W
  50. {
  51. *rcNameID: =RC_STR_A3W
  52. *PageDimensions: PAIR(15496, 21400)
  53. *switch: Orientation
  54. {
  55. *case: PORTRAIT
  56. {
  57. *PrintableArea: PAIR(15016, 20920)
  58. *PrintableOrigin: PAIR(240, 240)
  59. *CursorOrigin: PAIR(240, 240)
  60. *Command: CmdSelect
  61. {
  62. *Order: DOC_SETUP.40
  63. *Cmd: "<1D>75psE"
  64. }
  65. }
  66. *case: LANDSCAPE_CC90
  67. {
  68. *PrintableArea: PAIR(15016, 20920)
  69. *PrintableOrigin: PAIR(240, 240)
  70. *CursorOrigin: PAIR(240, 21160)
  71. *Command: CmdSelect
  72. {
  73. *Order: DOC_SETUP.40
  74. *Cmd: "<1D>75psE<1D>1poE"
  75. }
  76. }
  77. }
  78. }
  79. *BlockMacro: BM_PS_A3P
  80. {
  81. *rcNameID: =RC_STR_A3P
  82. *PageDimensions: PAIR(15540, 22816)
  83. *switch: Orientation
  84. {
  85. *case: PORTRAIT
  86. {
  87. *PrintableArea: PAIR(15060, 22336)
  88. *PrintableOrigin: PAIR(240, 240)
  89. *CursorOrigin: PAIR(240, 240)
  90. *Command: CmdSelect
  91. {
  92. *Order: DOC_SETUP.40
  93. *Cmd: "<1D>72psE"
  94. }
  95. }
  96. *case: LANDSCAPE_CC90
  97. {
  98. *PrintableArea: PAIR(15060, 22336)
  99. *PrintableOrigin: PAIR(240, 240)
  100. *CursorOrigin: PAIR(240, 22576)
  101. *Command: CmdSelect
  102. {
  103. *Order: DOC_SETUP.40
  104. *Cmd: "<1D>72psE<1D>1poE"
  105. }
  106. }
  107. }
  108. }