Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Task Scheduler

15 Feb 2010   #11
boston62

windows 7 ultimate 64
 
 

Quote   Quote: Originally Posted by ManyBeers View Post
Quote   Quote: Originally Posted by boston62 View Post
I am trying to setup a Task to print a tif file. When I go to run it, it drops to a dos box and says purge6.tif is printing, but nothing starts. Anyone have this running as a task. This is what I have setup. Thank you for the help.

Action: print
Arguments: purge6.tif
Startin: c:\temp
I don't think you can just say print in the Action dialog. You need to specify a program that can load a tif file and then use the programs command line switch for printing. For instance I have a scheduled task print job which prints out a .jpg file once a week( to keep ink from drying out from disuse) and I use Irfanview with it's command line switch /print.
I have now working, I just made the image file larger in size, now it's printing the full page. Thank you & everyone else here for all the great help.


My System SpecsSystem Spec
.
24 Oct 2010   #12
Hornnumb2

7 ultimate
 
 

Quote   Quote: Originally Posted by WindowsStar View Post
Try using:

%SystemDrive%\Windows\System32\mspaint.exe /p filename

In your case:

%SystemDrive%\Windows\System32\mspaint.exe /p %SystemDrive%\temp\purge6.tif

Ok I set mine up this way, but what command do I need to add to add a extra printer also. I have 2 printer that I would like this to work on..Thanks Michael
My System SpecsSystem Spec
25 Oct 2010   #13
Hornnumb2

7 ultimate
 
 

Quote   Quote: Originally Posted by Hornnumb2 View Post
Quote   Quote: Originally Posted by WindowsStar View Post
Try using:

%SystemDrive%\Windows\System32\mspaint.exe /p filename

In your case:

%SystemDrive%\Windows\System32\mspaint.exe /p %SystemDrive%\temp\purge6.tif

Ok I set mine up this way, but what command do I need to add to add a extra printer also. I have 2 printer that I would like this to work on..Thanks Michael


Does anybody know how to tell it which printer to use? Thanks
My System SpecsSystem Spec
.

25 Oct 2010   #14
WindowsStar

Windows 7 Enterprise (x64); Windows Server 2008 R2 (x64)
 
 

Quote   Quote: Originally Posted by Hornnumb2 View Post
Quote   Quote: Originally Posted by Hornnumb2 View Post
Quote   Quote: Originally Posted by WindowsStar View Post
Try using:

%SystemDrive%\Windows\System32\mspaint.exe /p filename

In your case:

%SystemDrive%\Windows\System32\mspaint.exe /p %SystemDrive%\temp\purge6.tif

Ok I set mine up this way, but what command do I need to add to add a extra printer also. I have 2 printer that I would like this to work on..Thanks Michael


Does anybody know how to tell it which printer to use? Thanks
It will print to your default printer. Set your default printer before running the above.
My System SpecsSystem Spec
26 Oct 2010   #15
Hornnumb2

7 ultimate
 
 

I have 2 printers setup that I need it to print the page on, the default works fine but can I add a switch to the command line to select the other printer? Thanks
My System SpecsSystem Spec
26 Oct 2010   #16
WindowsStar

Windows 7 Enterprise (x64); Windows Server 2008 R2 (x64)
 
 

@Hornnumb2
I don't think mspaint.exe has a way to pick a printer.

However IrfanView does:
Task Scheduler
My System SpecsSystem Spec
26 Oct 2010   #17
Hornnumb2

7 ultimate
 
 

So if i use irfanview instead of mspaint, can you give me the command line to run the separate printers...Thanks
My System SpecsSystem Spec
26 Oct 2010   #18
WindowsStar

Windows 7 Enterprise (x64); Windows Server 2008 R2 (x64)
 
 

Quote   Quote: Originally Posted by Hornnumb2 View Post
So if i use irfanview instead of mspaint, can you give me the command line to run the separate printers...Thanks
I already did check out the link I provided in my post.
My System SpecsSystem Spec
Reply

 Task Scheduler




Thread Tools




Similar help and support threads
Thread Forum
Need help creating a task scheduler task to move files over a network.
Hello everyone, I need to have a task run that will move the contents of a folder from one computer to another over my home LAN. Files get downloaded during the night on one computer and then need to be transfered to another. Usually I am doing this by hand, but then though maybe I could get...
General Discussion
Task Scheduler - Create Task to Display a Message Reminder
How to Display a Message Reminder in Windows with Task Scheduler This will show you how to create yourself, or another user or group, a message reminder scheduled to display for when and how often you like in Windows 7 or Vista using Task Scheduler. All users on the computer will be able to...
Tutorials
Task Scheduler : Create Shut Down PC Automatically Task
How to Create a Task that will Shut Down the PC Automatically This will show a very easy way to create a task in the Task Scheduler that will shut down the PC whenever you like. This will work for Windows 7 and Windows Vista. Let's get started! 1) In the Windows start menu search box type...
Tutorials
simple task scheduler question: changing a task name
Hello, I scheduled some tasks in the task scheduler. One of the tasks has a typo and another I would like to change its name. There doesn't seem to be a way of doing this short of resetting up the tasks from scratch and deleting the original tasks. Would anyone know how to rename tasks in the...
Performance & Maintenance
Task scheduler unable to load task status/active tasks at startup.
My task manager is unable to load task status/active tasks at startup. I get the message: "The selected task "{0}" no longer exists. To see the current tasks, click Refresh." When I refresh I get the same message. I checked and found that under Microsoft the problem was in the defrag...
Performance & Maintenance
Task Scheduler failing to start task with merged network locations
I have two routers I usually connect to (work and home) and each have wireless access. That means there are essentially 4 network locations I have listed. I have merged each respective network location (wired and wireless) into their own singular network location - "Work" and "Home". I also...
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 11:14.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App