Omega Owners Forum

Chat Area => General Discussion Area => Topic started by: Steve B on 11 February 2013, 21:50:25

Title: task scheduler
Post by: Steve B on 11 February 2013, 21:50:25
I know how to get it to run certain things and open files,and do certain tasks etc;

But does anyone have any idea how to make it print a document at say once a week intervals.(win73.32bit)
Title: Re: task scheduler
Post by: Jimbob on 11 February 2013, 21:56:50
yes...but what type of document, and from what program?

eg notepad /p test.txt

all depends what your trying to do
Title: Re: task scheduler
Post by: Steve B on 11 February 2013, 22:27:17
msword doc or any txt doc jim..got this far at the mo......

(https://dl.dropbox.com/u/70807181/appeal.jpg)
Title: Re: task scheduler
Post by: Jimbob on 11 February 2013, 22:33:57
well if its any TXT doc

create a batch file as above, containing just

Code: [Select]
notepad /p c:\docs\doc2print.txt
wordpad can use other printers, so in a new batch file again

Code: [Select]
wordpad /pt c:\docs\doc2print.doc YourPrinterName
Then just use the scheduler to run your .bat file :y

if it HAS to be in word itself...its trickier but doable.
Title: Re: task scheduler
Post by: Steve B on 11 February 2013, 22:44:37
so ive got to do the bat thing in run
Title: Re: task scheduler
Post by: Jimbob on 11 February 2013, 22:47:42
yes...
dont know on your knowledge, so a .bat file is JUST a .txt file renamed.

put the relavent command into a txt file, and modify to your needs, save it / rename it as suits to printit.bat as you like, and file it away somewhere safe.

then in your scheduler, browse to your .bat file, and jobs a goodun :y
Title: Re: task scheduler
Post by: Steve B on 11 February 2013, 23:05:42
yes...
dont know on your knowledge, so a .bat file is JUST a .txt file renamed.

put the relavent command into a txt file, and modify to your needs, save it / rename it as suits to printit.bat as you like, and file it away somewhere safe.

then in your scheduler, browse to your .bat file, and jobs a goodun :y
im a learner.....ill be back.........thanks jimbob....
Title: Re: task scheduler
Post by: Steve B on 12 February 2013, 16:39:58
well if its any TXT doc

create a batch file as above, containing just

[code]notepad /p c:\docs\doc2print.txt[/code]

wordpad can use other printers, so in a new batch file again

Code: [Select]
wordpad /pt c:\docs\doc2print.doc YourPrinterName
Then just use the scheduler to run your .bat file :y

if it HAS to be in word itself...its trickier but doable.

ok.went in run (dos) and made a test batch file.then i put it in notepad and edited it, gave it the path etc....job done.works great

next question.how can i apply this to... paint.or windows photo viewer. in order to run colour cartridge