AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How can I print all the documents in the whole folders

 
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
Printermm
Guest





PostPosted: Tue Jan 19, 2010 8:03 pm    Post subject: How can I print all the documents in the whole folders Reply with quote

I have 5 folders documents need to be printed out.
Total is almost 6k files.

How can I print them in batch.
I mean I do not need to click and open each file.

Thanks so much.
Back to top
HotKeyIt



Joined: 18 Jun 2008
Posts: 4652
Location: AHK Forum

PostPosted: Tue Jan 19, 2010 8:08 pm    Post subject: Reply with quote

Try:
Code:
Loop, c:\Temp\*.doc
 RunWait print "%A_LoopFileFullPath%"

_________________
AHK_H (2alpha) AHF TT _Struct WatchDir Yaml _Input ObjTree RapidHotkey DynaRun Wink
Back to top
View user's profile Send private message
Guest






PostPosted: Tue Jan 19, 2010 8:14 pm    Post subject: Reply with quote

I do not need to set default printer?
Back to top
Guest






PostPosted: Tue Jan 19, 2010 8:17 pm    Post subject: Reply with quote

I tried the script, and it did not work.
Back to top
Dbof



Joined: 13 Jan 2009
Posts: 31

PostPosted: Tue Jan 19, 2010 8:24 pm    Post subject: Reply with quote

Anonymous wrote:
I do not need to set default printer?

Sure, you have to set a default printer.

What kind of files are you trying to print? Is it possible to print them with the popup menu?
Back to top
View user's profile Send private message
Guest






PostPosted: Tue Jan 19, 2010 9:17 pm    Post subject: Reply with quote

.eml files

emails
Back to top
Guest






PostPosted: Wed Jan 20, 2010 2:54 am    Post subject: Reply with quote

could any one give me some idea?


HotKeyIt wrote:
Try:
Code:
Loop, c:\Temp\*.doc
 RunWait print "%A_LoopFileFullPath%"
Back to top
HotKeyIt



Joined: 18 Jun 2008
Posts: 4652
Location: AHK Forum

PostPosted: Wed Jan 20, 2010 10:04 am    Post subject: Reply with quote

Have you changed to the right folder?
When you right mouse click on the file, is there a print command?
Code:
Loop, c:\Temp\*.eml,0,1
 RunWait print "%A_LoopFileFullPath%"

_________________
AHK_H (2alpha) AHF TT _Struct WatchDir Yaml _Input ObjTree RapidHotkey DynaRun Wink
Back to top
View user's profile Send private message
Guest






PostPosted: Wed Jan 20, 2010 1:40 pm    Post subject: Reply with quote

There is no Print when I right click the mouse.

The file format is .eml
Back to top
Guest






PostPosted: Wed Jan 20, 2010 1:44 pm    Post subject: Reply with quote

can outlook read eml files?
if yes, then just highlight all the files and press print
Back to top
Guest






PostPosted: Wed Jan 20, 2010 1:57 pm    Post subject: Reply with quote

I select all the files
But there is not print option.

I have t open each email and print it now.

I have almost 6000 emails.
Back to top
HotKeyIt



Joined: 18 Jun 2008
Posts: 4652
Location: AHK Forum

PostPosted: Wed Jan 20, 2010 6:24 pm    Post subject: Reply with quote

Looks like there is no option to print eml file.
How about to convert to *.msg or *.doc and print then using outlook or word?
_________________
AHK_H (2alpha) AHF TT _Struct WatchDir Yaml _Input ObjTree RapidHotkey DynaRun Wink
Back to top
View user's profile Send private message
Hasso



Joined: 23 Mar 2005
Posts: 321
Location: Germany

PostPosted: Mon Jan 25, 2010 2:29 pm    Post subject: Reply with quote

Maybe this link could be helpful:

http://www.emlviewer.com/convert-eml-to-pdf.html
_________________
Hasso

Programmers don't die, they GOSUB without RETURN
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group