Forum Discussion

Ru4u0fm2's avatar
Ru4u0fm2
Copper Contributor
Dec 05, 2025

Task Scheduler

I'am new  to this forum. I'm trying to use Task Scheduler to print a document on every Friday at noon. 
My document is located on  > my computer >WindowsSSD (C:) > Program File (x86) > Microsoft Office > Office12 > Print A Test Page Every Friday At Noon.docx.
My printer is located here on  http://192.168.12.154:80/WSD/DEVICE.

I'm not sure if this is where I'm supposed to post this. Any help would be grateful.

3 Replies

  • hi Ru4u0fm2​ check below. 

    hi Ru4u0fm2 check below. it should work. You can use Windows Task Scheduler to do this, but it can’t directly “print” a .docx by itself — you must call an app (like Word) and pass the print command to it.

    Here’s are the steps to achieve

    Print the document using Task Scheduler + Word

    a.Create a batch file

    Open Notepad and paste this (adjust path if needed):

    "C:\Program Files (x86)\Microsoft Office\Office12\WINWORD.EXE" /q /n "C:\Program Files (x86)\Microsoft Office\Office12\Print A Test Page Every Friday At Noon.docx" /mFilePrint

    Save as:

    print_document.bat

    b.Schedule the batch file

    Open Task Scheduler → Create Basic Task

    Trigger: Weekly → Friday → 12:00 PM

    Action: Start a program

    Program path: Select your .bat file

    Finish

    c.Make sure your printer is default

    Task Scheduler sends print jobs to the default printer.

    Go to:

    Control Panel → Devices and Printers

    Right-click your printer

    Select Set as Default

    (Your URL printer: http://192.168.12.154... must already be added)

    Important Notes

    Computer must be ON

    User must be logged in

    Printer must be reachable on the network

     

     

    • Ru4u0fm2's avatar
      Ru4u0fm2
      Copper Contributor

      The bacth file stays open on my taskbar?

    • Ru4u0fm2's avatar
      Ru4u0fm2
      Copper Contributor

      Hi. Thank you for reaching out to me.

      one question, do i include the quotations? 

Resources