Printing Multiple Files

Posted on 2010-01-04
Last Modified: 2012-05-08
I have a directory with about 40 files of assorted file types.  (*.doc, *.pdf, *.xls).  How can I select all the files and have them print without opening them individually in their indigenous applications?  I would like to just select them all and send them to the printer.  I am using XP and have a Canon i960 printer.

Question by:msis2002
    LVL 6

    Expert Comment

    If you select all the files and click-and-drag them to the printer they will print. The application will open, send its print command, then close.

    Author Comment

    Hi coalnine.  Your suggestion was slightly successful with one caveat.  Scenario: I have 25 files in a folder.  They are either pdf or excel files.  I did as you suggested and selected six assorted files just as a sample and dragged them to the printer icon. Only three of the files printed.  I repeated this scenario with four files of the same format (i.e. pdf) and only three printed.  Maybe its the printer?  Suggestions?


    LVL 12

    Accepted Solution

    i had this VB code lying about in my drives
    if the select+drag to printer icon does not work, do have a try with this and let us know...

    Put the following code into a notepad file and rename the file extension to .VBS
    Make sure to change the file path to the path of your actual directory. Then save the VBS file and double click to execute.

    -----code start-----
    set shApp = createobject("shell.application")
    set shFolder = shApp.namespace("C:\TEST")
    set ****ems = shFolder.Items()
    for each ****em in ****ems
      ****em.invokeverb "&Print"
    -----code end-----

    LVL 6

    Assisted Solution

    My guess would be printer memory on why only 3 jobs will print. Give hathehariken's VB script a try and see how that works.
    LVL 2

    Expert Comment

    LVL 12

    Expert Comment


    i may be having a dumb moment, but isnt the link you posted above an Apple Mac resource, and isnt this thread a Windows thread??
    LVL 22

    Expert Comment

    You can only print files that are identical in type.
    You can not print the mixture.
    Also,I think you can only print 15 files at once.
    That is the maximum if I remember correctly....
    LVL 5

    Expert Comment

    by:Khalid Mehmood Awan
    the best way would be to sort all files "by Type"
    then select all pdf files first (suppose) then excel then word ;-)
    LVL 12

    Expert Comment

    you are most welcome!

    so my code worked for you??

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Top 6 Sources for Identifying Threat Actor TTPs

    Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

    INTRODUCTION The purpose of this document is to demonstrate the Installation and configuration of the Data Protection Manager product. Note that this demonstration was prepared on the basis of Windows OS is 2008 R2 and DPM 2010. DATA PROTECTI…
    This very simple solution applies to a narrow cross-section of the "needs to close" variety. In this case, the full message in Event Viewer was in applog, Event ID 1000: Faulting application iexplore.exe, version 8.0.6001.18702, faulting module …
    In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
    The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …

    794 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