home *** CD-ROM | disk | FTP | other *** search
- /***( primative.c )*************************************************************
- * *
- * Written: Brent Faulkner - June 20, 1989 *
- * Updated: Brent Faulkner - June 20, 1989 *
- * *
- ********************************************************************************
- * *
- * Contents: emit_seq() - emit a prtcap sequence to the printer device *
- * *
- *******************************************************************************/
- /* include files */
- #include <stdio.h>
- #include <bench.h>
- #include "prt.h"
-
- /*
- * Emit a prtcap sequence to the printer device
- */
- void emit_seq(seqidx)
- int seqidx;
- {
- int i;
-
- #ifdef PDEBUG
- if(sizdef[seqidx] == 0)
- fprintf(stderr, "DEBUG: warning - sequence with index %d is not defined\n", seqidx);
- #endif
- /* wail out the requested sequence */
- for(i = 0; i < sizdef[seqidx]; i++)
- fputc(prtdef[seqidx][i], devfp);
- }
-
-
-