My book says you can print something using stprn. So I wrote the following program but I get errors when I compiler. It is on the line with fprintf.
#include <stdio.h>
int main()
{
char array [100];
printf("Enter string to be printed\n\n");
fgets( array, 100, stdin);
fprintf(stdprn, array);
system("pause");
return 0;
}
how do I make this go to the printer? Any help would be appreciated.