CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    May 2003
    Posts
    18

    How can I get the number of copies to be printed from the document being printed now?

    I'm developing application for managing print spooler and faced with the following problem. I need to get info about how many copies of the specific document which is being printed now were requested? Could you tell me the idea how to do it?

  2. #2
    Join Date
    Apr 2009
    Posts
    57

    Re: How can I get the number of copies to be printed from the document being printed

    Your question is not very clear but try:


    Code:
    pInfo->GetMaxPage();
     
    in
     
    CView::OnPrint(..);

  3. #3
    Join Date
    Aug 2008
    Location
    India
    Posts
    186

    Re: How can I get the number of copies to be printed from the document being printed

    You can use PRINTER_INFO_2 standard printer info structure(cJobs member of this structure specifies the no of print jobs for that specific printer) ....

    Also make use of following functions OpenPrinter(), GetPrinter()....

    Hope this helps,

    Thanks...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured