Windows XP Printer files printing out of sequence

Posted on 2010-01-07
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
    LVL 34

    Expert Comment

    by:Gary Patterson
    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

    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 34

    Expert Comment

    by:Gary Patterson
    LVL 37

    Accepted Solution

    Under printer Proprties > Advanced, tick the buttons for "Start printing after last page is spooled" and "Print spooled documents first"

    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    Join & Write a Comment

    As the title indicates, I have done this before. It chills me everytime I update the OS on my phone, ( because one time I did this and I essentially had a bricked …
    I use more than 1 computer in my office for various reasons. Multiple keyboards and mice take up more than just extra space, they make working a little more complicated. Using one mouse and keyboard for all of my computers makes life easier. This co…
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    731 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

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now