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

  1. /* DEC LN03+ command table */
  2.  
  3. /****** printer.device/printers/ LN03+ functions **************************
  4.  *
  5.  *      Name
  6.  *      DEC LN03+
  7.  *              written Bernie Mentink Christchurch  New Zealand 1/2/88
  8.  *
  9.  *      N.B The Near letter quality mode command (DEN2) enables the large
  10.  *      font of the ln03+ printer... to be used by SHORP6 !!
  11.  *
  12.  **************************************************************************/
  13.  
  14. char *CommandTable[] = {
  15.         "\033\143",             /* reset        RIS     */
  16.         "\233\041\160",         /* initialize   RIN     */
  17.         "\012",                 /* index        IND     */
  18.         "\015\012",             /* new line     NEL     */
  19.         "\215",                 /* rev index    RI      */
  20.         "\233\060\155",         /* norm ch set  SGR0    */
  21.         "\233\063\155",         /* italics on   SGR3    */
  22.         "\233\062\063\155",     /* italics off  SGR23   */
  23.         "\233\064\155",         /* underline on SGR4    */
  24.         "\233\062\064\155",     /* underlin off SGR24   */
  25.         "\233\061\155",         /* bold on      SGR1    */
  26.         "\233\062\062\155",     /* bold off     SGR22   */
  27.         "\377",                 /* set fore col SFC     */
  28.         "\377",                 /* set back col SBC     */
  29.         "\377",                 /* norm space   SHORP0  */
  30.         "\23314m",              /* elite on     SHORP2  */
  31.         "\23310m",              /* elite off    SHORP1  */
  32.         "\23315m",              /*  fine on     SHORP4  */
  33.         "\23310m",              /*  fine off    SHORP3  */
  34.         "\23319m",              /* enlarged on SHORP6   */
  35.         "\23310m",              /* enlarged off SHORP5  */
  36.         "\377",                 /* shadow print on DEN6 */
  37.         "\377",                 /* shadow print off DEN5        */
  38.         "\377",                 /* double strike on DEN4        */
  39.         "\377",                 /* double strike off DEN3       */
  40.         "\2200;0;1yDMDRGTHH03WK00GG;\234\2201;19}DMDRGTHH03WK00GG\234",
  41.                                 /* NLQ on DEN2  */
  42.         "\377",                 /* NLQ off DEN1 */
  43.         "\377",                 /* superscript on SUS2  */
  44.         "\377",                 /* superscript off SUS1 */
  45.         "\377",                 /* subscript on SUS4    */
  46.         "\377",                 /* subscript off SUS3   */
  47.         "\377",                 /* normalize the line SUS0      */
  48.         "\213",                 /* partial line up PLU  */
  49.         "\214",                 /* partial line down PLD        */
  50.         "\033(B",               /* US Character Set FNT0        */
  51.         "\033(R",               /* French Character set FNT1    */
  52.         "\033(K",               /* German Character setFNT2     */
  53.         "\033(A",               /* UK character set FNT3        */
  54.         "\033(E",               /* Danish I character set FNT4  */
  55.         "\033(H",               /* Swedish character set FNT5   */
  56.         "\033(Y",               /* Italian char set     FNT6    */
  57.         "\033(Z",               /* Spanish char set     FNT7    */
  58.         "\033(J",               /* Jap char set         FNT8    */
  59.         "\033(6",               /* Norw char set        FNT9    */
  60.         "\033(C",               /* Danish II char set   FNT10   */
  61.         "\233\077\062\067\150", /* Prop on              PROP2   */
  62.         "\233\077\062\067\154", /* Prop off             PROP1   */
  63.         "\377",                 /* prop clear           PROP0   */
  64.         "\377",                 /* set prop offset      TSS     */
  65.         "\377",                 /* auto left justify    JFY5    */
  66.         "\377",                 /* auto right justify   JFY7    */
  67.         "\377",                 /* auto full justify    JFY6    */
  68.         "\377",                 /* auto justify off     JFY0    */
  69.         "\377",                 /* letter space (justify) JFY3  */
  70.         "\377",                 /* word fill (auto center) JFY1 */
  71.         "\233\062\172",         /* 8LPI                 VERP0   */
  72.         "\233\061\172",         /* 6LPI                 VERP1   */
  73.         "\377",                 /* set lines/page       SLPP    */
  74.         "\377",                 /* perf skip            PERF    */
  75.         "\377",                 /* perf skip off        PERF0   */
  76.         "\377",                 /* left margin set      LMS     */
  77.         "\377",                 /* right margin set     RMS     */
  78.         "\377",                 /* top margin set       TMS     */
  79.         "\377",                 /* bottom margin set    BMS     */
  80.         "\377",                 /* set t&b margin       STBM    */
  81.         "\377",                 /* set l&r margin       SLRM    */
  82.         "\0334",                /* clear all margins    CAM     */
  83.         "\210",                 /* horizontal tab set   HTS     */
  84.         "\212",                 /* vertical tab set     VTS     */
  85.         "\233\060\147",         /* clear horiz tab      TBC0    */
  86.         "\233\063\147",         /* clear all horiz tabs TBC3    */
  87.         "\233\061\147",         /* clear vert tab       TBC1    */
  88.         "\233\064\147",         /* clear all vert tabs  TBC4    */
  89.         "\377",                 /* clear all tabs       TBCALL  */
  90.         "\377",                 /* set default tabs     TBSALL  */
  91.         "\377"                  /* extended commands    EXTEND  */
  92. };
  93.