home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume20 / epf / part03 / tabepson.c < prev    next >
Encoding:
C/C++ Source or Header  |  1989-10-24  |  1.1 KB  |  65 lines

  1. /*
  2.  * EPSON        -       FOR 10 CHAR/INCH, PICA
  3.  * nroff driving tables
  4.  * width and code tables
  5.  */
  6.  
  7. #define INCH    240
  8.  
  9. struct {
  10.     int bset;
  11.     int breset;
  12.     int Hor;
  13.     int Vert;
  14.     int Newline;
  15.     int Char;
  16.     int Em;
  17.     int Halfline;
  18.     int Adj;
  19.     char *twinit;
  20.     char *twrest;
  21.     char *twnl;
  22.     char *hlr;
  23.     char *hlf;
  24.     char *flr;
  25.     char *bdon;
  26.     char *bdoff;
  27.     char *iton;
  28.     char *itoff;
  29.     char *ploton;
  30.     char *plotoff;
  31.     char *up;
  32.     char *down;
  33.     char *right;
  34.     char *left;
  35.     char *codetab[256-32];
  36.     int zzz;
  37.     } t = {
  38. /*bset    */        00,
  39. /*breset  */        00,
  40. /*Hor     */        INCH/10,
  41. /*Vert    */        INCH/12,
  42. /*Newline */        INCH/6,
  43. /*Char    */        INCH/10,
  44. /*Em      */        INCH/10,
  45. /*Halfline*/        INCH/12,
  46. /*Adj     */        INCH/10,
  47. /*twinit  */        "\016{\017",    /* pica */
  48. /*twrest  */        "",
  49. /*twnl    */        "\r\n",
  50. /*hlr     */        "\0338",
  51. /*hlf     */        "\0339",
  52. /*flr     */        "\0337",
  53. /*bdon    */        "",        /* "\016v\017", */
  54. /*bdoff   */        "",        /* "\016w\017", */
  55. /*iton    */        "",        /* "\016|\017", */
  56. /*itoff   */        "",        /* "\016}\017", */
  57. /*ploton  */        "",
  58. /*plotoff */        "",
  59. /*up      */        "",
  60. /*down    */        "",
  61. /*right   */        "",
  62. /*left    */        "",
  63. /*codetab*/
  64. #include "code.epson"
  65.