Learn how to a build a cloud-first strategyRegister Now


Windows XP Printer files printing out of sequence

Posted on 2010-01-07
Medium Priority
Last Modified: 2013-12-06
I have a vb application which sends word 2000 documents to an infoprint 1332. There may be as many as 100 documents that print. These documents need to be matched with paperwork produced on another system which supplied the data for the documents.

My problem is that as the documents queue up in print manager some of the newer documents print before they are first in the queue. This is clearly visible by watching the files on print manager as you can see the status of a document lower in the queue, change to printing while those above have a blank status.

I would like to know how I can prevent this from happening (apart from showing the print generation process in the vb program )

Question by:templecombe
  • 2
LVL 36

Expert Comment

by:Gary Patterson
ID: 26199817
Anyway, it would be a lot easier to make suggestions if we could see the code.  I don't know of any way to "fix" this without changing the program doing the printing.

I think the trick is going to be to turn off background printing, and then make your VB program pause between each print job at least until the previous print job is on the print queue and started.  Another option would be to programatically combine the list of documents into a single document, and then print that master document.  Word supports this feature of master documents and sub-documents, so you could write a little program that took the list of documents, created a master document that linked them one after the other, and then printed the master document.

Here's an article related to a similar problem in a Word VBA Macro:


This is a related problem when just selecting a bunch of files in Explorer and right-clicking and selecting Print:


BTW, why is this tagged as an AS/400 question?  Looks like VB to me.

- Gary Patterson

Author Comment

ID: 26202380
Hi Gary

Sorry I meant slowing the print process not showing and I didn't mean the question to be in the IBM i section although that is where the data for the document comes from, via bookmarks. So you seem to be confirming what I thought, that I need to put a delay in.

I will have a look at the master/sub document possibility as there is no point having a fast printer if I have to slow the print process down so that I can print properly.

LVL 36

Expert Comment

by:Gary Patterson
ID: 26202516
LVL 39

Accepted Solution

hdhondt earned 2000 total points
ID: 26206110
Under printer Proprties > Advanced, tick the buttons for "Start printing after last page is spooled" and "Print spooled documents first"

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This seems to be a very common error related to the Samsung printer driver. First, this is the error we're talking about: Log: System Type: Error Event: 7000 Agent Time: 3:37:24 am 22-Apr-09 Event Time: 6:07:24 pm 21-Apr-09 UTC Source: Se…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Suggested Courses

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question