How to print

Hii.
Can I send my present output screen for print.
I have made a billing program so if I can send it to print then it will be perfect.. thankyou
Alternatively you can try this:
1
2
3
4
FILE *stdprn;
stdprn = fopen("prn","wb");
fprintf(stdprn,"This should appear on the printer");
fclose(stdprn);


My printer is not working so I can't test.
Topic archived. No new replies allowed.