There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
Business Applications
Tag Cloud
acer asus bios bsod computer crash dns driver drivers error ethernet excel freeze gaming hard drive hardware hdmi internet java laptop malware memory missing monitor motherboard mouse music network operating system printer problem ram registry router slow software sound svchost.exe trojan usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless
Search
Search for:
Tech Support Guy Forums > Software & Hardware > Business Applications >
Print multiple pdf files in a folder

Reply  
Thread Tools
BobGOKC's Avatar
Junior Member with 4 posts.
 
Join Date: Sep 2010
02-Sep-2010, 08:56 PM #1
Print multiple pdf files in a folder
I need to print about 10-20 pdf files in a specific folder as needed. I'm running WinXP Pro and thought I could drag the files onto a printer icon on the desktop, but this doesn't work. I'd prefer to have a simple program or batch file which would print all the pdf files in the folder. I found a Closed Link with a solution from 'Rollin_Again', but when I ran the vbx file, it printed only the 2 sample 'vbx' files in the folder, not the pdf's. Because this is my first post, I am not allowed to send a message to Rollin_Again until I've made multiple posts. I don't understand that part, but I'm told those are the rules.

Any help out there, or could someone contact Rollin_Again and ask him to respond to me here?

Thanks,
Bob
WendyM's Avatar
Distinguished Member with 3,420 posts.
 
Join Date: Jun 2003
02-Sep-2010, 09:06 PM #2
Hi Bob,
Welcome to TSG. Can you post a link to the closed thread so we can see what Rollin recommended? Thanks.
BobGOKC's Avatar
Junior Member with 4 posts.
 
Join Date: Sep 2010
03-Sep-2010, 12:38 AM #3
slurpee55's Avatar
Computer Specs
Distinguished Member with 7,837 posts.
 
Join Date: Oct 2004
Location: Southwest Iowa....
Experience: Currently stupid...
03-Sep-2010, 11:33 AM #4
First, Be sure you use the exact text he wrote and paste it into Notepad, then do a Save As and give it a .vbs (note:not vbx) extension.
It will then print anything that is in "C:\TEST" or whatever folder you decide to use. Frankly, it is such simple code that it shouldn't not work....
__________________
Iowa? I could have sworn this was heaven.
Well, I think I can answer this question most successfully in mime.
My theme song... | Affero - rate me!
BobGOKC's Avatar
Junior Member with 4 posts.
 
Join Date: Sep 2010
03-Sep-2010, 01:19 PM #5
I agree. I am pretty computer literate but nothing with VBS. In fact there were two postings, slightly different, and I tried each. Both work to print the 3 non-pdf files in the folder (2 *.vbs's and 1 *.bat file), but they don't print the 2 pdf files named 1.pdf and 2.pdf.

Here's the code in the *.vbs I used for my folder I:\1\Temp:

set shApp = createobject("shell.application")
set shFolder = shApp.namespace("I:\1\Temp")
set vItems = shFolder.Items()
for each vItem in vItems
vItem.invokeverb "&Print"
next

And here are the 5 files in that folder:
PrintAny.bat
1.pdf
2.pdf
bulk file.vbs
bulk file2.vbs

See anything here?
slurpee55's Avatar
Computer Specs
Distinguished Member with 7,837 posts.
 
Join Date: Oct 2004
Location: Southwest Iowa....
Experience: Currently stupid...
03-Sep-2010, 01:38 PM #6
Nope. But at http://www.biopdf.com/guide/examples/batch_printing/ there is a download that may help you.
BobGOKC's Avatar
Junior Member with 4 posts.
 
Join Date: Sep 2010
03-Sep-2010, 02:08 PM #7
When I tried that, the 'create_documents.vbs' did create 10 sample '.txt' files in the 'In' subfolder. But when I ran the 'Example.vbs' program, with my default printer set to a physical printer (as opposed to a pdf), I got a Windows Script Host error of: ActiveX component can't create object: 'bioPDF.PDFPrinterSettings' Code: 800A01AD Source: Microsoft VBScript runtime error.

So still no luck.
slurpee55's Avatar
Computer Specs
Distinguished Member with 7,837 posts.
 
Join Date: Oct 2004
Location: Southwest Iowa....
Experience: Currently stupid...
03-Sep-2010, 06:36 PM #8
You might try this small change
Code:
set shApp = createobject("shell.application") 
set shFolder = shApp.namespace("C:\Documents and Settings\Administrator\Desktop\Form 
Generator\PrintAll") 
set shItems = shFolder.Items() 
for each shItem in shItems 
shItem.invokeverb "&Print" 
next
Reply

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)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.
Thread Tools


Similar Threads
Title Thread Starter Forum Replies Last Post
Print multiple files at once, browse for files function & browse for printer Matty77 Business Applications 8 18-Jun-2010 01:37 PM
Solved: Printing Multiple PDF files from a folder LostinKansas Business Applications 11 25-Feb-2010 04:42 PM
Solved: Outlook opens .pdf files in word DublinSasha Web & Email 2 05-Jun-2009 12:04 PM
Crowling through PDF files nesr Software Development 11 15-Apr-2009 06:21 PM
Printing Same Excel File in different HP Laser Printers bordia Business Applications 4 04-Jul-2008 11:23 AM


Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 12:22 PM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.