I tried just putting the printDocument1 object on my form and
doing this:
printDocument1.DocumentName = "C:\\Tablerep.prn";
printDocument1.print();
it just prints a blank page every time. But I can open this file up in the
dos EDIT.EXE and print and it prints fine.
This can't be that difficult. The file is already ready to just be simply
dumped to the default printer. Someone please help!
Thanks,
David
Refer to the link
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemdrawingprintingprintdocumentclasstopic.asp
Hope that helps you.
David
"Reshma Prabhu" <Reshma...@discussions.microsoft.com> wrote in message
news:6A8C154E-E20E-4C62...@microsoft.com...