I am sorry to bother folk with such an apparently simple query but I am afraid I can't suss it out.

I have a table of data which I need to print out but the best i can do for some sort of edging is - and |.

is there any way i can make it look better?

fprintf(prn_ptr,"------------------------------------------------------------------------------\n");
fprintf(prn_ptr,"|Rec | Cust | Part | Quant | Customer |Balance |Credit |Error|\n");
fprintf(prn_ptr,"|Type| Code | Number | | Name | |Limit |Code |\n");
fprintf(prn_ptr,"| | | | | | | | |\n");
fprintf(prn_ptr,"|----------------------------------------------------------------------------|\n");
fprintf(prn_ptr,"| | | | | | | | |\n");

stanoman