1.use 'OpenPrinter' to get a printer handle
2.use 'startdocprinter' with this handle to start a printer job.
3.use 'writeprinter' to write strings out.
4.use 'enddocprinter' to end printer job
5.use 'closeprinter' to close printer handle
if you have any problem, just read msdn...
if you still have problem, mail me you code...