Printing in C++ (USB port)
Posted on 2004-08-24
I am outputing the follwoing info to screen in the following format,
i need to send it to printer to print, how do i go about printing.
cout << setiosflags(ios::left)<<setw(5)<<AccountNumber<< setw(28)<<name;
cout << setw(17)<<Curr<<setw(12)<<calcu<<setw(8)<<code;
PS:This is my first attempt to print in c++ so i do not have a clue, please explain everything and if code can be provided would be great.