how do i print a string from my program to the printer
This is a discussion on printer within the C Programming forums, part of the General Programming Boards category; how do i print a string from my program to the printer...
how do i print a string from my program to the printer
void print_it(char printwhat[size])
{
FILE *the_printer = fopen("LTP1", "w");
fprintf( the_printer, "%s", printwhat );
fclose( the_printer );
}
Now if I can just figure out how to colour the text first I should be sorted too!
![]()