home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-385-Vol-1of3.iso / p / pmail235.zip / CHARSET.ZIP / PMALTEXT.SRC < prev    next >
Text File  |  1992-09-07  |  5KB  |  226 lines

  1. %%*  [ Lines beginning with '%%*' are comments ]
  2. %%*
  3. %%*  Sample remapping file for PMail/PC's SMTP
  4. %%*  translation table and PostScript headers.
  5. %%*  (c) 1992, David Harris, All Rights Reserved.
  6. %%*
  7. %%*  Compile this file using PMail's TCOM text
  8. %%*  resource compiler using the command 
  9. %%*
  10. %%*      TCOM PMALTEXT.SRC FOO PMALTEXT.DAT
  11. %%*
  12. %%*  then copy the resulting PMALTEXT.DAT file
  13. %%*  into the same directory as PMAIL.EXE.
  14. %%*
  15. %% TEXT_SMTP_TABLE, 0, SMTP translation table.
  16. ÇC üue ée âa äae àa åa çc êe ëe èe ïi îi ìi ÄAE ÅA
  17. ÉE æee ÆAE ôo öoe òo ûu ùu ÿy ÖOE ÜUE ¢c £stlg ¥yen 
  18. ₧peseta ƒflorin áa íi óo úu ñn ÑN ªa ºo ¿? ⌐+ ¬+ 
  19. ½.5 ¼.25 ¡! «<< »>> │| ┤| ╡| ╢| ╖+ ╕+ ╣| ║| ╗+ ╝+
  20. ╜+ ╛+ ┐+ └+ ┴- ┬- ├| ─- ┼+ ╞| ╟| ╚+ ╔+ ╩- ╦- ╠| ═-
  21. ╬+ ╧- ╨- ╤- ╥- ╙+ ╘+ ╒+ ╓+ ╫+ ╪+ ┘+ ┌+ αa ßsz πpi
  22. ΣSigma σRho τTau ΘTheta ΩOmega δdelta φo εEpsilon
  23. ≡= ±+/- ≥>= ≤<= ÷/ ∙o ·. √sqrt ⁿ^n ²^2 
  24. %%*
  25. %%*   The following two entries are PMail's PostScript
  26. %%*   headers. Be aware that the %% required to indicate
  27. %%*   a PostScript header string must be entered in this 
  28. %%*   file as \%% to stop TCOM from regarding it as an 
  29. %%*   end of section. The \ will be stripped out.
  30. %%*
  31. %%*   The first entry is the PostScript PMail uses
  32. %%*   to create the banner page (if any).
  33. %%*
  34. %% PR_PS_BANNER, 0, PostScript Banner page.
  35. %!PS-Adobe-2.0
  36. \%%Creator:Pmail233
  37. \%%EndComments
  38. save
  39. newpath
  40. 144 425 moveto
  41. 0 162 rlineto
  42. 340 0 rlineto
  43. 0 -162 rlineto
  44. closepath
  45. 1 setlinewidth
  46. stroke
  47.  
  48. /Helvetica-Bold findfont 24 scalefont setfont
  49. 240 605 moveto
  50. (Banner Page) show
  51. /Times-Italic findfont 18 scalefont setfont
  52. 265 630 moveto
  53. (Mail Printout) show
  54. 180 540 moveto
  55. (User:) show 
  56. 180 504 moveto 
  57. (Date:) show
  58. 180 468 moveto 
  59. (From:) show
  60. /Times-Roman findfont 18 scalefont setfont
  61. 240 540 moveto
  62. (~u) show 
  63. 240 504 moveto 
  64. (~d) show
  65. 240 468 moveto 
  66. (~f) show
  67. showpage restore
  68. %%*
  69. %%*  The next entry is the Prep header PMail uses
  70. %%*  when printing messages to PostScript printers.
  71. %%*
  72. %% PR_PS_HEADER, 0, PostScript header.
  73. %!PS-Adobe-2.0
  74. \%%Creator:Pmail233
  75. \%%EndComments
  76. /reencsmalldict 12 dict def
  77. /ReEncodeSmall
  78.   { reencsmalldict begin
  79.     /newcodesandnames exch def
  80.     /newfontname exch def
  81.     /basefontname exch def
  82.     /basefontdict basefontname findfont def
  83.     /newfont basefontdict maxlength dict def
  84.     basefontdict
  85.       { exch dup /FID ne
  86.         { dup /Encoding eq
  87.           { exch dup length array copy
  88.             newfont 3 1 roll put }
  89.           { exch newfont 3 1 roll put }
  90.           ifelse
  91.         }
  92.         { pop pop }
  93.         ifelse
  94.       } forall
  95.     newfont /FontName newfontname put
  96.     newcodesandnames aload pop
  97.     newcodesandnames length 2 idiv
  98.       { newfont /Encoding get 3 1 roll put }
  99.       repeat
  100.     newfontname newfont definefont pop
  101.     end
  102.   } def
  103.  
  104. /pcvec [
  105.   128 /Ccedilla
  106.   129 /udieresis
  107.   130 /eacute
  108.   131 /acircumflex
  109.   132 /adieresis
  110.   133 /agrave
  111.   134 /aring
  112.   135 /ccedilla
  113.   136 /ecircumflex
  114.   137 /edieresis
  115.   138 /egrave
  116.   139 /idieresis
  117.   140 /icircumflex
  118.   141 /igrave
  119.   142 /Adieresis
  120.   143 /Aring
  121.   144 /Eacute
  122.   145 /ae
  123.   146 /AE
  124.   147 /ocircumflex
  125.   148 /odieresis
  126.   149 /ograve
  127.   150 /ucircumflex
  128.   151 /ugrave
  129.   152 /ydieresis
  130.   153 /Odieresis
  131.   154 /Udieresis
  132.   155 /cent
  133.   156 /sterling
  134.   157 /yen
  135.   159 /florin
  136.   160 /aacute
  137.   161 /iacute
  138.   162 /oacute
  139.   163 /uacute
  140.   164 /ntilde
  141.   165 /Ntilde
  142.   166 /ordfeminine
  143.   167 /ordmasculine
  144.   168 /questiondown
  145.   173 /exclamdown
  146.   174 /guillemotleft
  147.   175 /guillemotright
  148.   179 /bar
  149.   180 /plus
  150.   181 /plus
  151.   182 /plus
  152.   183 /plus
  153.   184 /plus
  154.   185 /plus
  155.   186 /bar
  156.   187 /plus
  157.   188 /plus
  158.   189 /plus
  159.   190 /plus
  160.   191 /plus
  161.   192 /plus
  162.   193 /plus
  163.   194 /plus
  164.   195 /plus
  165.   196 /endash
  166.   197 /plus
  167.   198 /plus
  168.   199 /plus
  169.   200 /plus
  170.   201 /plus
  171.   202 /plus
  172.   203 /plus
  173.   204 /plus
  174.   205 /endash
  175.   206 /plus
  176.   207 /plus
  177.   208 /plus
  178.   209 /plus
  179.   210 /plus
  180.   211 /plus
  181.   212 /plus
  182.   213 /plus
  183.   214 /plus
  184.   215 /plus
  185.   216 /plus
  186.   217 /plus
  187.   218 /plus
  188.   225 /germandbls
  189.   240 /equal
  190.   248 /ring
  191.   249 /bullet
  192.   250 /dotaccent
  193.   ] def
  194.  
  195. /leftmargin { 40 } bind def
  196. /bot { 54 } bind def /top {  } bind def
  197. /cw { 40 } bind def
  198. /xtab
  199.   {currentpoint exch dup cvi
  200.   leftmargin cvi sub cvi
  201.   cw cvi mod sub
  202.   cw add
  203.   exch moveto
  204.   } bind def
  205. /ptsize { 12 } bind def /lead { 12 } bind def
  206. /F { findfont exch scalefont setfont } bind def
  207. /newline {
  208.   currentpoint exch pop lead sub
  209.   dup bot lt {
  210.     pop showpage restore save
  211.     top
  212.     } if
  213.   leftmargin exch moveto
  214.   } bind def
  215. \%%Endprolog
  216. \%%BeginSetup
  217. /| /|-PC pcvec
  218.    ReEncodeSmall
  219. ptsize /|-PC F
  220. save
  221. leftmargin top moveto
  222. \%%EndSetup
  223.  
  224. %%
  225. %%*
  226.