Hi, a question about format for printing a report to the printer. how do we use C to format a printed report.....
Say we have the report headings
printed across page second line down...How do we use fprintf to format this. I was thinking along the lines of .....
Department Weekly Expenses 99 99 99
remembering grid for print page is 110 by 42.
prnt = fopen("PRN", "w");
fprintf(prnt,"\n%50s %02d %02d %02d\n",
"Department Weekly Expenses", day, month, year);
Any advice would be greatly appreciated...