Re: Order of the jobs in a printer queue

From: Joseph M. Newcomer (newcomer_at_flounder.com)
Date: 04/05/04


Date: Mon, 05 Apr 2004 15:46:39 -0400

I'm not claiming to be an expert in the print spooler, but I don't believe you have much
control over this. The print spooler ultimately decides what is going out, and when. So
you are talking about the "physical device" when in fact there are several more layers of
software between you and the printer; in a network it can be your local spooler and the
remote spooler. Jobs might even be dequeued in the order their randomly-generated
temporary file names are found in the spooler queue. While I find the behavior you
describe a bit unusual, it doesn't surprise me that print job order is not maintained.

It may be possible to control the order, but I wouldn't set any high expectations that
this is going to be possible.

I've seen this in a lot of print spoolers in a lot of operating systems over the years,
and Windows does not strike me as being dissimilar in any way from the systems I've used.
You might be able to play games with priorities or something like that, but as I say,
don't set your hopes too high on this.
                                joe

On Mon, 5 Apr 2004 19:22:22 +0200, "Raymond BIANCONE"
<raymond.biancone@NO_SPAMsipe-informatique.com> wrote:

>We have developped a CAD application with Visual C++ version 6 and MFC. We
>need to print drawings page by page (A4 format). It is necessary for us to
>print the drawings as one job by page. We are observing on some printers
>that the order in which we send the pages are not respected in the physical
>output. So we are wondering if it is possible to manage the sorting of the
>jobs through the programmatic tools founded in the MFC or if it is possible
>to externally set configurations parameters through the properties of the
>printer.
>The program is running under Windows 2000 professional edition and the
>printer is accessed through a network on a Windows NT Server.
>
>Thank's for a help.
>
>Raymond.
>

Joseph M. Newcomer [MVP]
email: newcomer@flounder.com
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm



Relevant Pages

  • Print Jobs stuck in queue on Windows 2003 SP1 server
    ... I'm running a Windows 2003 SP1 server as a new print server. ... At random, but fairly frequent intervals, jobs get stuck in one of the ... configured to exclude the print spooler directory. ...
    (microsoft.public.windows.server.general)
  • RE: Ahhh printing
    ... Patrick Rouse ... Microsoft MVP - Terminal Server ... Again I have to restart the print spooler for printing to ... >> print jobs get stuck in the queues on the TS and I have to restart the print ...
    (microsoft.public.windows.terminal_services)
  • Re: Problems with networked printer
    ... The usual suspects would be jobs stuck in the queue. ... Faxes and make sure the printer doesn't show any jobs. ... I recommend getting an HP jetdirect USB print spooler instead of hosting the ... 2003SBS network. ...
    (microsoft.public.windows.server.sbs)
  • Re: Order of the jobs in a printer queue
    ... Thank's Joseph ... The print spooler ultimately decides what is going out, ... Jobs might even be dequeued in the order their ... >>printer is accessed through a network on a Windows NT Server. ...
    (microsoft.public.vc.mfc)
  • Re: Evening Printer Disconnects...Help!!
    ... Quick and dirty solution would be to ad a scheduled task to restart the ... print spooler periodically, every 10 mins over the interval of the problem. ... > I have the same problem, Dell 1600SC Server running ... Print jobs seem to ...
    (microsoft.public.windows.server.general)