Advertisement

There's no such thing as a stupid question, but they're the easiest to answer.
Login
Search

Advertisement

Windows 7 Windows 7
Search Search
Search for:
Tech Support Guy > > >

batch print


(!)

victorxbox1980's Avatar
victorxbox1980 victorxbox1980 is offline
Member with 4 posts.
THREAD STARTER
 
Join Date: Sep 2012
Experience: Beginner
13-Sep-2012, 09:59 PM #1
batch print
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 -
DaveA's Avatar
Computer Specs
Trusted Advisor with 11,255 posts.
 
Join Date: Nov 1999
Location: Renton, Washington
Experience: Advanced
13-Sep-2012, 10:43 PM #2
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.
victorxbox1980's Avatar
victorxbox1980 victorxbox1980 is offline
Member with 4 posts.
THREAD STARTER
 
Join Date: Sep 2012
Experience: Beginner
13-Sep-2012, 11:21 PM #3
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

BBC, Reader's Digest, PC Magazine, Today Show, Money Magazine
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.


(clock)
THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


WELCOME
You Are Using: Server ID
Trusted Website Back to the Top ↑