• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 633
  • Last Modified:

Windows XP Printer files printing out of sequence

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 )

  • 2
1 Solution
Gary PattersonVP Technology / Senior Consultant Commented:
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
templecombeAuthor Commented:
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.

Gary PattersonVP Technology / Senior Consultant Commented:
Under printer Proprties > Advanced, tick the buttons for "Start printing after last page is spooled" and "Print spooled documents first"
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now