home *** CD-ROM | disk | FTP | other *** search
/ 17 Bit Software 1: Collection A / 17Bit_Collection_A.iso / files / 1036.dms / 1036.adf / PrtDriver / data.c < prev    next >
Text File  |  1977-12-31  |  3KB  |  90 lines

  1.  
  2. /* toshiba p351c command data table */
  3.  
  4. char *CommandTable[] = {
  5.     "\x1b\x1a\x49",        /* reset         RIS     */
  6.     "\x1b\x00",        /* initialize           */
  7.     "\x0a",            /* line feed        IND    */
  8.     "\x0d\x0a",        /* CRLF            NEL    */
  9.     "\x0d\x1a",        /* reverse LF        RI    */
  10.  
  11.     "\x1b\x14\x1bJ\x1bM",    /* normal attributes    SGR 0    */
  12.     "\x1b\x12",        /* italics on        SGR 3    */
  13.     "\x1b\x14",        /* italics off        SGR 23  */
  14.     "\x1bI",        /* underline on     SGR 4    */
  15.     "\x1bJ",        /* underline off    SGR 24    */
  16.     "\x1bK\x02",        /* boldface on        SGR 1    */
  17.     "\x1bM",        /* boldface off        SGR 22    */
  18.     "\xff",            /* set foreground colour     */
  19.     "\xff",            /* set background colour     */
  20.  
  21.     "\x1b*0\x1b]\x1b\x22",    /* normal font         SHORP    */
  22.     "\x1b*1",        /* elite on        SHORP    */
  23.     "\x1b*0",        /* elite off        SHORP    */
  24.     "\x1b[",        /* condensed on        SHORP    */
  25.     "\x1b]",        /* condensed off    SHORP    */
  26.     "\x1b!",        /* elongated on        SHORP    */
  27.     "\x1b\x22",        /* elongated off    SHORP    */
  28.  
  29.     "\x1bQ",        /* shadow print on    DEN6    */
  30.     "\x1bM",        /* shadow print on    DEN5    */
  31.     "\x1bK\x02",        /* double strike on    DEN4    */
  32.     "\x1bM",        /* double strike off    DEN3    */
  33.     "\x1b*2",        /* NLQ on        DEN2    */
  34.     "\x1b*0",        /* NLQ off        DEN1    */
  35.  
  36.     "\x1bD",        /* superscript on        */
  37.     "\x1bU",        /* superscript off        */
  38.     "\x1bU",        /* subscript off        */
  39.     "\x1bD",        /* subscript on            */
  40.     "\xff",            /* normalize            */
  41.  
  42.     "\xff",            /* US Char Set            */
  43.     "\xff",            /* French Char Set        */
  44.     "\xff",            /* German Char Set        */
  45.     "\xff",            /* UK Char Set            */
  46.     "\xff",            /* Danish I Char Set        */
  47.     "\xff",            /* Swedish Char Set        */
  48.     "\xff",            /* Italian Char Set        */
  49.     "\xff",            /* Spanish Char Set        */
  50.     "\xff",            /* Japanese Char Set        */
  51.     "\xff",            /* Norweign Char Set        */
  52.     "\xff",            /* Danish II Char Set        */
  53.  
  54.     "\x1b$",        /* Prop. Spacing on    PROP    */
  55.     "\x1b%",        /* Prop. Spacing off    PROP    */
  56.     "\xff",            /* Prop. Clear        PROP    */
  57.     "\xff",            /* Prop. Offset        TSS    */
  58.     "\xff",            /* Auto right justify    JFY5    */    
  59.     "\xff",            /* Auto left justify    JFY7    */    
  60.     "\xff",            /* Auto full justify    JFY6    */    
  61.     "\xff",            /* justify/centre off        */    
  62.     "\xff",            /* place holder        JFY3    */    
  63.     "\xff",            /* Auto Centre on    JFY2    */    
  64.  
  65.     "\x1b\x1e\x06",        /* 1/8" line spacing    VERP    */
  66.     "\x1b\x1e\x08",        /* 1/6" line spacing    VERP    */
  67.     "\xff",            /* set form length    SLPP    */
  68.     "\xff",            /* skip perf on            */
  69.     "\xff",            /* skip perf off        */
  70.  
  71.     "\x1b9",        /* left margin set         */
  72.     "\x1b0",        /* right margin set        */
  73.     "\x1b+",        /* top margin set         */
  74.     "\x1b-",        /* bottom margin set        */
  75.     "\xff",            /* T & B margin set    STBM    */
  76.     "\xff",            /* L & R margin set    SLRM    */
  77.     "\xff",            /* Clear margins        */
  78.     
  79.     "\x1b1",        /* Set Horizontal Tab    HTS    */
  80.     "\xff",            /* Set Vertical tab    VTS    */
  81.     "\x1b8",        /* Clr Horizontal Tab    TBC 0    */
  82.     "\x1b2",        /* Clr All Horiz. Tabs    TBC 3    */
  83.     "\xff",            /* Clr Vertical Tab    TBC 1    */
  84.     "\xff",            /*. Clr All Vert. Tabs    TBC 4    */
  85.     "\x1b8",        /* Clr All V & H Tabs        */
  86.                 /* Set Default Tabs        */
  87.     "\x1b(08,16,24,32,40,48,56,64,72.",
  88.     "\xff",            /* Extended Command        */
  89. };
  90.