Print jobs get out of order between workstation and printer

From: Ook (usenet_at_nospam.emberts.com)
Date: 12/07/04


Date: Tue, 7 Dec 2004 15:41:27 -0800

We have an app running on WinXP workstations, app is hosted on a Win2003
server. Printer is connected to theWin2003 server. Application does this:

For lnCounter = 1 to 3
    report form <myreport> range 1,1 to printer noconsole
Endfor

For lnCounter = 2 to lnMaxPages
    report form <myreport> range lnCounter, lnCounter to printer noconsole
Endfor

The basic idea here is that each page prints three times: Page 1 prints 3
times, page 2 prints 3 times, etc. Normally, we don't have any more then 2
pages to print, so it comes out on the printer as 1,1,1,2,2,2. (why wasn't
this done in one loop? I didn't write the code...).

Last night we rebuilt the app and deployed it to the server. The server
hasn't changed, the report hasn't changed, the printer hasn't changed, the
printer driver, the code that prints this report hasn't changed. The only
thing that changed is that we rebuilt the app because of changes in areas
unrelated to this particular report. Today, the report prints like this:
1,2,1,1,2,2. I examined the code, and don't see what would cause this. If I
pause the print queue on the server while they print, and then unpause it
after the app is done, it comes out in the proper order. If I print to a
different server, it prints fine. My theory is that the app is printing in
the proper order like it always has, and the server is somehow mixing up the
order that they should print.

The windows guys have no clue what to do about it. We have no clue why it
started doing this just today, and why it does this on just this one server,
let alone how to control it. I believe I can fix this in the app by putting
a SET PRINTER TO after the printing of each page, and if necessary by
putting a pause of a second or so between each page: 1,1,1, <set printer
to><pause 2 seconds>2,2,2<set printer to><pause 2 seconds>.

But it just worries me that after weeks and weeks of testing, it just now is
starting to do this for no reason that we can discern.



Relevant Pages

  • Re: Print jobs get out of order between workstation and printer
    ... After sending the report to the printer you have no control what windows ... Set the number of copies instead of printing 3 times. ... > We have an app running on WinXP workstations, app is hosted on a Win2003 ... Printer is connected to theWin2003 server. ...
    (microsoft.public.fox.programmer.exchange)
  • Re: Print jobs get out of order between workstation and printer
    ... risk of the printer or the server messing with our pages. ... > We have an app running on WinXP workstations, app is hosted on a Win2003 ... the code that prints this report hasn't changed. ... > after the app is done, it comes out in the proper order. ...
    (microsoft.public.fox.programmer.exchange)
  • Re: Homegrown synchronization
    ... to check for update files in the Import DropBox for the server. ... similar to the import code used to update a remote backend). ... code to close the "sync" app. ... synch app, but only one at a time would be able to do synchs. ...
    (microsoft.public.access.replication)
  • Re: Print jobs get out of order between workstation and printer
    ... needs to do and hands the whole shooting match off to Print Manager. ... Your app no longer has to "talk to" the printer. ... > Last night we rebuilt the app and deployed it to the server. ... > server hasn't changed, the report hasn't changed, the printer hasn't ...
    (microsoft.public.fox.programmer.exchange)
  • RE: Beginners Questions
    ... We do use Windows form on the presentation layer which is on ... terminal server and call web services on the business logic side. ... of using "proxy" authentication on SQL Server. ... > I have written an app with a Windows Forms UI that is deployed to clients ...
    (microsoft.public.dotnet.distributed_apps)