Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Applications / Word / May 2007



Tip: Looking for answers? Try searching our database.

batch print

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Othermatt - 26 May 2007 05:45 GMT
Does anybody know how to batch print a folder full of Word docs
without negotiating that confounding print dialog box?

Thanks!
Othermatt - 26 May 2007 06:21 GMT
> Does anybody know how to batch print a folder full of Word docs
> without negotiating that confounding print dialog box?
>
> Thanks!

This is a workable macro:

Sub batch_print()
'
' batch_print Macro
' Macro created 5/26/07 by Matthew Smith
'

For I = 1 To 110
   ActiveDocument.PrintOut
   'Dialogs(wdDialogFilePrint).Show
   ActiveWindow.Close
Next I
End Sub

It's not quite the elegant solution I am seeking, though.  I was
hoping to drag and drop onto a droplet.
CyberTaz - 26 May 2007 12:28 GMT
Hi Matt -

Unless you've not disclosed a specific _need_ to do this programmatically
here are a couple of ideas:

1- Navigate to the folder in a Finder window rather than from within Word,
Command+A to select all, then Control-Click & choose Print from the
contextual menu,

2- Use Printer Setup Utility to create one or more Desktop Printer Icons -
you can create one for your regular printer, one for PDFs, etc. - select
your docs in Finder & drag 'em to the icon.

HTH |:>)
Bob Jones
[MVP] Office:Mac

On 5/26/07 1:21 AM, in article
1180156909.540106.303050@p77g2000hsh.googlegroups.com, "Othermatt"
<smithmj@mac.com> wrote:

>> Does anybody know how to batch print a folder full of Word docs
>> without negotiating that confounding print dialog box?
[quoted text clipped - 18 lines]
> It's not quite the elegant solution I am seeking, though.  I was
> hoping to drag and drop onto a droplet.
Othermatt - 27 May 2007 14:51 GMT
> Hi Matt -
>
[quoted text clipped - 39 lines]
> > It's not quite the elegant solution I am seeking, though.  I was
> > hoping to drag and drop onto a droplet.

Bob,

Neither of these approaches work with MS Word files on a Mac.  I know
it works with every other file type, and I know it works on a PC.  The
problem is that each file opens the print dialogue window which must
be negotiated to continue.

Thanks anyway,
M
CyberTaz - 27 May 2007 17:46 GMT
Sorry Matt - misunderstood the point. Based on how Word works I'm not sure
how you can bypass the dialog altogether other than what you're already
trying. I'm not sure whether it can be done by Apple Script or not.

Regards |:>)
Bob Jones
[MVP] Office:Mac

On 5/27/07 9:51 AM, in article
1180273891.193171.132880@g4g2000hsf.googlegroups.com, "Othermatt"
<smithmj@mac.com> wrote:

>> Hi Matt -
>>
[quoted text clipped - 49 lines]
> Thanks anyway,
> M
Othermatt - 29 May 2007 02:02 GMT
> Sorry Matt - misunderstood the point. Based on how Word works I'm not sure
> how you can bypass the dialog altogether other than what you're already
[quoted text clipped - 61 lines]
> > Thanks anyway,
> > M

Oh, this is good.  I just received this AppleScript from a wise and
kind individual in the Apple Discussions.  The link to the discussion
is:

http://discussions.apple.com/message.jspa?messageID=4621548

The AppleScript (which I'm guessing invokes visual basic?) follows:

on run
display dialog "Print out Word 2004 documents" & return & return & ¬
"Drag Word documents (xxx.doc) onto this droplet to print out each
one. " buttons {"OK"} default button 1
end run

on open the_Droppings
repeat with a_Doc in the_Droppings
tell application "Finder" to open file a_Doc
tell application "Microsoft Word"
repeat until name of active document is ((info for a_Doc)'s name as
string)
end repeat
print out active document print copies 1
close active document saving no
end tell
end repeat
end open

Regards!
Matthew
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.