Re: scheduled printing of a text file using batch files
- From: "Alan Morris [MSFT]" <alanmo@xxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 5 Jun 2008 11:50:26 -0700
this would be a scheduled task question rather than a printing question. I
have never used the schtasks command. Unsure which newsgroup that would go
to.
--
Alan Morris
Windows Printing Team
Search the Microsoft Knowledge Base here:
http://support.microsoft.com/search/?adv=1
This posting is provided "AS IS" with no warranties, and confers no rights.
"Gadgetman" <Gadgetman.3ajnzd@xxxxxxxxxxxxx> wrote in message
news:Gadgetman.3ajnzd@xxxxxxxxxxxxxxxx
I've been attempting to automate the process of printing a text file
using a batch file or schtasks in the command line, in order to provide
a "warm up" method (test page) for our networked Xerox printer.
The printer has issues with time outs, after 240 minutes of non use. It
then takes 30 seconds to 5 minutes (depending upon the settings in
place) for the printer to warm up, before it will print. I can
obviously use the software or hardware process to do such, but I have
better things to do with my time.
Printing from the command line using notepad works fine!
(Code String Example:)
notepad /p desktop\blank.txt
I am stumped on using the proper syntax method for the command line
when attempting to use the "schtasks" for automating this process.
(Code String EXAMPLE:)
schtasks /create /s /tn "Printer Warm Up" /tr notepad /p
desktop\blank.txt /sc daily /st 10:00:00 /ed 06/06/2008
I receive the following error:
ERROR: Invalid syntax. Value expected for '/s'
I've tried many different ways of moving the "/s" around to make this
work, but it always complains about the string in place.
Other ERROR: Cannot specify password without specifying the user name.
There should be an easier way to specify the local system, without user
name and password?
ANY IDEAS?
(Besides dumping the Xerox printer...LOL)
--
Gadgetman
------------------------------------------------------------------------
Gadgetman's Profile: http://forums.techarena.in/member.php?userid=51066
View this thread: http://forums.techarena.in/showthread.php?t=981521
http://forums.techarena.in
.
- References:
- scheduled printing of a text file using batch files
- From: Gadgetman
- scheduled printing of a text file using batch files
- Prev by Date: Re: HP LaserJet stops Print Spooler SOLVED
- Next by Date: Re: Standby then printer problems
- Previous by thread: scheduled printing of a text file using batch files
- Next by thread: Re: scheduled printing of a text file using batch files
- Index(es):
Relevant Pages
|