Originally posted by Salem
> FILE *printer = fopen("LPT1","w");
You dont check to see if this is NULL
And typically, to see anything printed, you have to finish off by sending a form feed
fprintf( printer, "\f" );
to flush the printer buffer onto the page.
I tried making the changes you specified but now I'm recieving 7 errors. I don't think I have implemented these changes in the proper locations. I have tried several scenarios but still no luck. Could you take a look at the updated function and see if you know where I'm going wrong?
Thx in advance. Peace.