Im using C++ builder 6 and need to print off some text. The text will be in the form of strings. I guess I need to use TPrinter.

Can someone point me in the right direction on how to print stuff out from C++. I need to be able to print out on other computers/printers. I am guessing I need to use the co-ordinate system to tell the printer where to start printing. Where does the print area begin? I need to be able to set the margins in, if Company Letter Head is used.


Your best start is by reading the documentation to your compiler. There's no native support for printers in C++, and your compiler probably offers several ways to do it.

This question has already been answered. Start a new discussion instead.