Home |
Search |
Today's Posts |
|
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Delay Print
This is probably simple, but here goes;
I want to delay a print job until sometime in the middle of the night. The document I want to print is a Word doc, and the printer is a network shared printer, not a locally connected printer. |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Delay Print
Nathan wrote:
This is probably simple, but here goes; I want to delay a print job until sometime in the middle of the night. The document I want to print is a Word doc, and the printer is a network shared printer, not a locally connected printer. One way is to use a pair of macros like these. The first one schedules the running of the second one. Put both macros in Normal.dot, in a module named Module1 (the default name for a module added by clicking Insert Module in the macro editor). Change the time in the When parameter as needed -- you can also use 24-hour notation, such as "23:30:00". Sub PrintLater() Application.OnTime _ When:="11:30:00 pm", _ Name:="Normal.Module1.PrintNow", _ Tolerance:=0 End Sub Sub PrintNow() ActiveDocument.PrintOut Background:=False MsgBox ActiveDocument.Name & " printed at " & Now End Sub Open the document you want to print, run the PrintLater macro, and leave Word running. When you come back in the morning you should find the document on the printer and the message box on the screen. Another way would be to create a batch file that contains a command line to print the document: start winword.exe "c:\docs\mydoc.doc" /mFilePrintDefault Then create a scheduled task to run the batch file at the desired time. How you do this depends on your version of Windows; in WinXP it's Start Settings Control Panel Scheduled Tasks Add Scheduled Task. -- Regards, Jay Freedman Microsoft Word MVP FAQ: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Print without seeing the print dialogue box first | Microsoft Word Help | |||
CTRL P causes delay in displaying print dialog box | Microsoft Word Help | |||
Page Numbers Print { PAGE } in Footer in WORD even after ALT + F9 | Microsoft Word Help | |||
Print 3" x 5" cards, Word 2002 | New Users | |||
word print dialog box delay | Microsoft Word Help |