Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
Tony Tony is offline
external usenet poster
 
Posts: 79
Default Batch print not working

Hi. I used to be able to print a considerable (about 100) number of separate
doc files by selecting them all and right-clicking and selecting print, but
this has stopped working. When I do that now, the icon changes to an
hourglass for about 3 seconds but then it goes back to an arrow and nothing
happens.

Nothing has changed with the computer or the printer. I can print single
doc files fine. Any ideas why this happened and any ideas of how to fix it?
Or, I guess, any recommendations for a batch print program?


  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default Batch print not working

Printing in the manner described is not something I have ever had cause to
do so I don't know when or why the behaviour changed - however you can print
out all the documents in a selected folder using the following macro:

http://www.gmayor.com/installing_macro.htm

Sub BatchProcess()
Dim strFilename As String
Dim strPath As String
Dim oDoc As Document
Dim fDialog As FileDialog
Set fDialog = Application.FileDialog(msoFileDialogFolderPicker)

With fDialog
.Title = "Select folder and click OK"
.AllowMultiSelect = False
.InitialView = msoFileDialogViewList
If .Show -1 Then
MsgBox "Cancelled By User", , _
"List Folder Contents"
Exit Sub
End If
strPath = fDialog.SelectedItems.Item(1)
If Right(strPath, 1) "\" _
Then strPath = strPath + "\"
End With

If Documents.Count 0 Then
Documents.Close SaveChanges:=wdPromptToSaveChanges
End If
If Left(strPath, 1) = Chr(34) Then
strPath = Mid(strPath, 2, Len(strPath) - 2)
End If
strFilename = Dir$(strPath & "*.doc")

While Len(strFilename) 0
Set oDoc = Documents.Open(strPath & strFilename)
oDoc.PrintOut
oDoc.Close SaveChanges:=wdSaveChanges
strFilename = Dir$()
Wend
End Sub


--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org



"Tony" wrote in message
news
Hi. I used to be able to print a considerable (about 100) number of
separate
doc files by selecting them all and right-clicking and selecting print,
but
this has stopped working. When I do that now, the icon changes to an
hourglass for about 3 seconds but then it goes back to an arrow and
nothing
happens.

Nothing has changed with the computer or the printer. I can print single
doc files fine. Any ideas why this happened and any ideas of how to fix
it?
Or, I guess, any recommendations for a batch print program?




  #3   Report Post  
Posted to microsoft.public.word.docmanagement
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default Batch print not working


Printing in the manner described is not something I have ever had cause to
do so I don't know when or why the behaviour changed - however you can print
out all the documents in a selected folder using the following macro:

http://www.gmayor.com/installing_macro.htm

Sub BatchProcess()
Dim strFilename As String
Dim strPath As String
Dim oDoc As Document
Dim fDialog As FileDialog
Set fDialog = Application.FileDialog(msoFileDialogFolderPicker)

With fDialog
.Title = "Select folder and click OK"
.AllowMultiSelect = False
.InitialView = msoFileDialogViewList
If .Show -1 Then
MsgBox "Cancelled By User", , _
"List Folder Contents"
Exit Sub
End If
strPath = fDialog.SelectedItems.Item(1)
If Right(strPath, 1) "\" _
Then strPath = strPath + "\"
End With

If Documents.Count 0 Then
Documents.Close SaveChanges:=wdPromptToSaveChanges
End If
If Left(strPath, 1) = Chr(34) Then
strPath = Mid(strPath, 2, Len(strPath) - 2)
End If
strFilename = Dir$(strPath & "*.doc")

While Len(strFilename) 0
Set oDoc = Documents.Open(strPath & strFilename)
oDoc.PrintOut
oDoc.Close SaveChanges:=wdSaveChanges
strFilename = Dir$()
Wend
End Sub


--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org



"Tony" wrote in message
news
Hi. I used to be able to print a considerable (about 100) number of
separate
doc files by selecting them all and right-clicking and selecting print,
but
this has stopped working. When I do that now, the icon changes to an
hourglass for about 3 seconds but then it goes back to an arrow and
nothing
happens.

Nothing has changed with the computer or the printer. I can print single
doc files fine. Any ideas why this happened and any ideas of how to fix
it?
Or, I guess, any recommendations for a batch print program?




  #4   Report Post  
Posted to microsoft.public.word.docmanagement
Tony Tony is offline
external usenet poster
 
Posts: 79
Default Batch print not working

Thanks, Graham.

"Graham Mayor" wrote:

Printing in the manner described is not something I have ever had cause to
do so I don't know when or why the behaviour changed - however you can print
out all the documents in a selected folder using the following macro:

http://www.gmayor.com/installing_macro.htm

Sub BatchProcess()
Dim strFilename As String
Dim strPath As String
Dim oDoc As Document
Dim fDialog As FileDialog
Set fDialog = Application.FileDialog(msoFileDialogFolderPicker)

With fDialog
.Title = "Select folder and click OK"
.AllowMultiSelect = False
.InitialView = msoFileDialogViewList
If .Show -1 Then
MsgBox "Cancelled By User", , _
"List Folder Contents"
Exit Sub
End If
strPath = fDialog.SelectedItems.Item(1)
If Right(strPath, 1) "\" _
Then strPath = strPath + "\"
End With

If Documents.Count 0 Then
Documents.Close SaveChanges:=wdPromptToSaveChanges
End If
If Left(strPath, 1) = Chr(34) Then
strPath = Mid(strPath, 2, Len(strPath) - 2)
End If
strFilename = Dir$(strPath & "*.doc")

While Len(strFilename) 0
Set oDoc = Documents.Open(strPath & strFilename)
oDoc.PrintOut
oDoc.Close SaveChanges:=wdSaveChanges
strFilename = Dir$()
Wend
End Sub


--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org



"Tony" wrote in message
news
Hi. I used to be able to print a considerable (about 100) number of
separate
doc files by selecting them all and right-clicking and selecting print,
but
this has stopped working. When I do that now, the icon changes to an
hourglass for about 3 seconds but then it goes back to an arrow and
nothing
happens.

Nothing has changed with the computer or the printer. I can print single
doc files fine. Any ideas why this happened and any ideas of how to fix
it?
Or, I guess, any recommendations for a batch print program?




.

  #5   Report Post  
Posted to microsoft.public.word.docmanagement
Tony Tony is offline
external usenet poster
 
Posts: 79
Default Batch print not working


Thanks, Graham.

"Graham Mayor" wrote:

Printing in the manner described is not something I have ever had cause to
do so I don't know when or why the behaviour changed - however you can print
out all the documents in a selected folder using the following macro:

http://www.gmayor.com/installing_macro.htm

Sub BatchProcess()
Dim strFilename As String
Dim strPath As String
Dim oDoc As Document
Dim fDialog As FileDialog
Set fDialog = Application.FileDialog(msoFileDialogFolderPicker)

With fDialog
.Title = "Select folder and click OK"
.AllowMultiSelect = False
.InitialView = msoFileDialogViewList
If .Show -1 Then
MsgBox "Cancelled By User", , _
"List Folder Contents"
Exit Sub
End If
strPath = fDialog.SelectedItems.Item(1)
If Right(strPath, 1) "\" _
Then strPath = strPath + "\"
End With

If Documents.Count 0 Then
Documents.Close SaveChanges:=wdPromptToSaveChanges
End If
If Left(strPath, 1) = Chr(34) Then
strPath = Mid(strPath, 2, Len(strPath) - 2)
End If
strFilename = Dir$(strPath & "*.doc")

While Len(strFilename) 0
Set oDoc = Documents.Open(strPath & strFilename)
oDoc.PrintOut
oDoc.Close SaveChanges:=wdSaveChanges
strFilename = Dir$()
Wend
End Sub


--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org



"Tony" wrote in message
news
Hi. I used to be able to print a considerable (about 100) number of
separate
doc files by selecting them all and right-clicking and selecting print,
but
this has stopped working. When I do that now, the icon changes to an
hourglass for about 3 seconds but then it goes back to an arrow and
nothing
happens.

Nothing has changed with the computer or the printer. I can print single
doc files fine. Any ideas why this happened and any ideas of how to fix
it?
Or, I guess, any recommendations for a batch print program?




.

Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PRINT MULTIPLE DOCUMENTS FROM WORD IN ONE PRINT BATCH GRMREAPER81 Microsoft Word Help 2 February 26th 10 07:03 AM
Batch print to PDF? Colleen M Microsoft Word Help 5 September 21st 06 12:18 AM
How do I print more than one Word document (batch print)? Spitfire VII Microsoft Word Help 1 September 12th 06 05:15 PM
Batch-Insert for Master Doc -- code not working [email protected] Page Layout 3 September 12th 06 10:29 AM
batch print from word Mark Kelton Mailmerge 2 May 29th 06 01:39 AM


All times are GMT +1. The time now is 04:22 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"