Results 1 to 3 of 3

Thread: Checking printer queue (jobs)

  1. #1
    Join Date
    Feb 2008
    Posts
    79
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    8

    Default Checking printer queue (jobs)

    Hello to all,

    I want to check if there are any jobs left in printer queue. I cannot find a Qt function that would do that. Am I missing something? If it is not possible with Qt functions - which other approaches do you recommend?

    Thank you

  2. #2
    Join Date
    Oct 2008
    Posts
    70
    Thanks
    1
    Thanked 9 Times in 9 Posts

    Default Re: Checking printer queue (jobs)

    Hello!

    I think, you can use QPrinter:rinterState method for that. Please see description of enum QPrinter::PrinterState for more details.

  3. #3
    Join Date
    Feb 2008
    Posts
    79
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    8

    Default Re: Checking printer queue (jobs)

    Hmm, does not seem to work. I always get Idle, even if the printer is printing. If I print out printerName I get a name of default printer, so I am observing the correct printer.

Similar Threads

  1. QPSQL problem
    By LoneWolf in forum Installation and Deployment
    Replies: 60
    Last Post: 4th November 2009, 15:22

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.