Solved

Scheduled Tasks - auto print document

Posted on 2002-04-03
14
760 Views
Last Modified: 2010-04-13
How can I use Scheduled Tasks to automatically print a word document to the default printer.
0
Comment
Question by:leeds1930
14 Comments
 
LVL 44

Accepted Solution

by:
CrazyOne earned 100 total points
Comment Utility
I don't beleive you can. That is a bit to sophisticated for the Scheduled Tasks functions.


The Crazy One
0
 
LVL 3

Expert Comment

by:cfarca
Comment Utility
Create a second printer on your 2K pc, connect him to your default phisical printer (printer port), and configure this printer to print the spoled document only between certain hours. In this way you can send large documents into this queue and they will be printed after hours, or when ever you set up this printer to work.
Hope this will help, Chris.
0
 
LVL 2

Expert Comment

by:BigP
Comment Utility
The answer is to use the print command.

at 08:00 "print.exe" document.doc

This sends the document to the default printer on the pc.
0
 
LVL 2

Expert Comment

by:BigP
Comment Utility
No comment has been added lately, so it's time to clean up this TA.  I will leave a recommendation in the Cleanup topic area that this question is:

Accept BigP's comment as answer.

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

BigP
EE Cleanup Volunteer
0
 
LVL 44

Expert Comment

by:CrazyOne
Comment Utility
BigP when you do cleanup you shouldn't do it on questions you are part of nor should you reccomend one of your comments to be accepted. :>)
0
 
LVL 2

Expert Comment

by:BigP
Comment Utility
CrazyOne.

I was doing the cleanup and found I could answer the question.

Therefore it should go into PAQ.  But maybe it should be a refund as people might take offence to a cleaner getting points.

Let the admins decide I guess.

Thanks for your comment :)
0
 
LVL 44

Expert Comment

by:CrazyOne
Comment Utility
What I am trying to point out is that if you do cleanup then post in CS that you think you answered the question instead of recommending in the question itself that you should be awarded the question.

BTW I just tried your suggestion and it didn't work so I would wait and see if the questioner returns and runs their own tests before recommending closing out the Q.
0
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 
LVL 2

Expert Comment

by:BigP
Comment Utility
I know your a regular here, and your obviously a clever guy, but it does work, I use it to print some overnight logs so they are on the printer when I get into work in the morning.

I can only guess that I have incorrectly stated the syntax of the AT command, but I wont know that till the morning, 12hrs or so.

I take your point completely, and if the Questioner does not return to award points, I will be recommending deletion.

Thankyou for pointing out my shortfall.
0
 
LVL 2

Expert Comment

by:BigP
Comment Utility
Having thought about it.

Print only works for text files.

doh!
0
 
LVL 2

Expert Comment

by:BigP
Comment Utility
lol not doing very well here.

CrazyOne.  Your answer is correct.  You cannot print a "word document" automatically using the task scheduler.

I only starting reviewing questions today so dont be too hard on me.  Glad you set me straight tbh.

You should get the points for pointing out it was not possible.
0
 
LVL 44

Expert Comment

by:CrazyOne
Comment Utility
And it doesn't seem to work on USB pritners :>)
0
 
LVL 44

Expert Comment

by:CrazyOne
Comment Utility
>>>I only starting reviewing questions today so dont be too hard on me

No problem I hope you really didn't think I was being to hard on you. If so then I apologize.
0
 
LVL 2

Expert Comment

by:BigP
Comment Utility
I have only ever used print.exe to print to lpt1: wether that be local or network shared.

But...I wreckon you could get it working using the /D option.  ie print /D:USB00001 textfile.txt

And no need for apologies :)
0
 

Expert Comment

by:YensidMod
Comment Utility
BigP and CrazyOne,
   I force accepted Crazyone's answer.  It is perfectly acceptable for a CV to accept his own comments. It is not against EE rules or cleanup guidelines.  It is not acceptable that CV work only his own questions.  Also, it is acceptable for any expert to disagree with a CV recommendation.

Yensidmod
EE Moderator

PS. BigP, are you coming back to work cleanup in Windows 2000 questions?  We need help here.
0

Featured Post

Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

Join & Write a Comment

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
HOW TO: Upload an ISO image to a VMware datastore for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere Host Client, and checking its MD5 checksum signature is correct.  It's a good idea to compare checksums, because many installat…
This video discusses moving either the default database or any database to a new volume.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now