CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: manjut19

Search: Search took 0.03 seconds.

  1. Re: Sending a text file to the printer using win32 API

    Thank you for your kind replay.Its working now

    Thanks & Regards
    Manju
  2. Re: Sending a text file to the printer using win32 API

    unicode
  3. Re: Sending a text file to the printer using win32 API

    How to convert std::string to LPCWSTR.
    if(!(TextOut(hPrinter,100,100*iI,line,wcslen(line))))
  4. Re: Sending a text file to the printer using win32 API

    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 ...
  5. Re: Sending a text file to the printer using win32 API

    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"); ...
  6. Re: Sending a text file to the printer using win32 API

    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...
  7. Sending a text file to the printer using win32 API

    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...
Results 1 to 7 of 7





Click Here to Expand Forum to Full Width

Featured