1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

batch print

Discussion in 'Windows 7' started by victorxbox1980, Sep 13, 2012.

Thread Status:
Not open for further replies.
Advertisement
  1. victorxbox1980

    victorxbox1980 Thread Starter

    Joined:
    Sep 13, 2012
    Messages:
    4
    Hello I am new to CMD but I would like to make a batch printing solution.

    I know that using:

    Code:
    "C:\Program Files (x86)\Adobe\Reader 10.0\Reader\AcroRd32.exe" /t "C:\file_1.pdf"
    I can print file_1.pdf but what I really need is to print multiple files, let's say file_2, file_3... file_n, therefore my instruction will change to:

    Code:
    "C:\Program Files (x86)\Adobe\Reader 10.0\Reader\AcroRd32.exe" /t "C:\XXXX.pdf"
    I thought about making a TEXT file where I could write the name of the files that I need to print. Then in a batch file make a loop that will read each line of the TEXT and change my variable XXXX for the name of the file specified in each row of the TEXT.

    Is this possible? I'm not stupid and I learn fast so, if any body can point me in the right direction of how to do variables in batch files, and how to read information form a TEXT it would be fantastic!!

    Thank you very much

    and have a great day.

    - victor -
     
  2. DaveA

    DaveA David Trusted Advisor

    Joined:
    Nov 16, 1999
    Messages:
    11,858
    Have you tried selecting 2 files then right click one of the selected files,then select print?
    This should be done from Windows Explorer, and both files should pe printed to te default printer.

    If this works, then you can try more than two files.
     
  3. victorxbox1980

    victorxbox1980 Thread Starter

    Joined:
    Sep 13, 2012
    Messages:
    4
    Hello DaveA

    your answer seems to be good when you have just a few files, but when we are talking about hundreds or thousands then it starts getting more complicated than that.

    Thank you any way...

    - victor -
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Similar Threads
  1. rick8x10
    Replies:
    4
    Views:
    290
  2. dee1ne
    Replies:
    2
    Views:
    598
  3. BigFred
    Replies:
    1
    Views:
    394
  4. sprinke
    Replies:
    4
    Views:
    428
  5. tofriedel
    Replies:
    3
    Views:
    1,123
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/1068887