January 8th, 2014, 01:49 AM
Thank you for your kind replay.Its working now
Thanks & Regards
Manju
January 6th, 2014, 01:10 AM
January 4th, 2014, 07:48 AM
How to convert std::string to LPCWSTR.
if(!(TextOut(hPrinter,100,100*iI,line,wcslen(line))))
January 4th, 2014, 06:42 AM
If iam calling StartPage/EndPage multiple time multiple page can print.But i don't know howmany lines will be there in 1 page.How to get that number?Is it printer depended or programatically setting ...
January 4th, 2014, 01:25 AM
I tryed with wcstok to split the text file content line by line .
memset( &di, 0, sizeof(DOCINFO) );
di.cbSize = sizeof(DOCINFO);
di.lpszDocName = (LPCTSTR)TEXT("Printing Test"); ...
January 3rd, 2014, 01:26 AM
Thanks for your great comment.I tryed that sample code with PrimoPDF and i can generate a pdf file also.Next my question is how to pass a file(text )content into the TextOut function.Any help would...
January 2nd, 2014, 12:46 AM
32213Hi all,
I got a project in that,Text file creating by application should get in to print.So i want to send the text file to the printer using win 32 API.I don't have any idea about Printer...