Mail Archives: djgpp/1993/11/03/16:11:18
Section I:
screen output: 20 20 2
printer output: 234567890 testing
1234567890 testing
Section II:
screen output: 21 21 2
printer output: [tab]1234567890 testing
[tab]1234567890 testing
Section III:
screen output: 1 20 20 2
printer output: 234567890 testing
1234567890 testing
Why is the number '1' missing from the section I (and III)?
Zortech C doesn't have the same problem though.
Thanks,
vl
vly AT netcom DOT com
#include <stdio.h>
#include <ctype.h>
#include <time.h>
void main(void)
{
/* section I */
/*
printf("%d ", fprintf(stdprn, "1234567890 testing\r\n") );
printf("%d ", fprintf(stdprn, "1234567890 testing\r\n") );
printf("%d \n", fprintf(stdprn, "\f\x1B") );
*/
/* section II */
/*
printf("%d ", fprintf(stdprn, "\t1234567890 testing\r\n") );
printf("%d ", fprintf(stdprn, "\t1234567890 testing\r\n") );
printf("%d \n", fprintf(stdprn, "\f\x1B") );
*/
/* section III */
/*
printf("%d ", fprintf(stdprn, "\x1B") );
printf("%d ", fprintf(stdprn, "1234567890 testing\r\n") );
printf("%d ", fprintf(stdprn, "1234567890 testing\r\n") );
printf("%d \n", fprintf(stdprn, "\f\x1B") );
*/
}
- Raw text -