Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Print problem

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
How can I send to printer the CString array from the class derived from CDialog?
 
hi,
using Win32 API's you can easily achieve this i think... you can send the data to the printer using WritePrinter()... and pass it the character array wich can be obtained from CString...
check out the sequence of calls needed before actually calling WritePrinter... like GetPrinterDC,StartDoc, StartPage, etc...
if this was not what you wanted, i am sorry, and also may be you could be a bit more descriptive in your query...
thanks,
sgopinath
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top