Thread: how to pause a process

  1. #1
    Registered User
    Join Date
    Oct 2007

    Question how to pause a process

    im working on a printing queue.i cant find out the way of pausing a document in the print list.i would be really greatfull if someone can help me with this


  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    The edge of the known universe
    I'm guessing you want to do this in windows, so moved to the correct forum.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Kernel hacker
    Join Date
    Jul 2007
    Farncombe, Surrey, England
    I'm sorry, I'm a bit confused: which do you want to do, pause a printing queue or a process?

    Also, is this a "pause" caused by the user, or a pause to wait for the printer to catch up with the printing? Or some other pause?

    There are many ways to make something pause, but the correct usage requires understanding of what the actual purpose is.

    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  4. #4
    Registered User
    Join Date
    Mar 2005
    Mountaintop, Pa
    Assuming that you're working with the spooler api... SetPrinter

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. init adopts zombie process?
    By password636 in forum Linux Programming
    Replies: 4
    Last Post: 07-01-2009, 10:05 AM
  2. create a child process that creates a child process
    By cus in forum Linux Programming
    Replies: 9
    Last Post: 01-13-2009, 02:14 PM
  3. Replies: 3
    Last Post: 10-15-2008, 09:24 AM
  4. Problem with forking a process
    By Unitedroad in forum C Programming
    Replies: 10
    Last Post: 10-04-2007, 01:43 AM
  5. process programming
    By St0rM-MaN in forum Linux Programming
    Replies: 2
    Last Post: 09-15-2007, 07:53 AM