Automated Print of Office documents

L

Leslie

I am looking for a way to print Microsoft documents (Word, Excel, etc.) in
the Task Scheduler. Basically, I would like to know if there are any special
"switches" to submit a job to print from the Command Line:

e.g.

\path\Excel.exe <filename> -p (for print)

Does that exist in the "Microsoft" world?

Cheers,
Leslie
 
S

Steve Rindsberg

I am looking for a way to print Microsoft documents (Word, Excel, etc.) in
the Task Scheduler. Basically, I would like to know if there are any special
"switches" to submit a job to print from the Command Line:

e.g.

\path\Excel.exe <filename> -p (for print)

Does that exist in the "Microsoft" world?

Most of the apps should work with

"\path\programname.exe" /p "\path\filename.ext"

The quotes aren't needed if the path has no spaces in it; neither do they harm
anything, so it's probably best as a general case to include them.
 
L

Leslie

Steve,

The '/p' switch is no longer valid (I did a lot of searching around and
found this out on Saturday). MSFT used to let you use a '/p' switch after
the file name on the command line, but they have since removed the
functionality several Windows versions back (Only PowerPoint still uses the
'/p' switch) . Why MSFT would decide to remove such a basic functionality I
have no idea. This makes it very difficult in a "Business" environment as it
means I have to write macros or VB scripts (which of course is doable), but
issuing a command line print command would be tres more efficient!

Thanks for your help.

Cheers,
Leslie
 
S

Steve Rindsberg

Steve,

The '/p' switch is no longer valid (I did a lot of searching around and
found this out on Saturday). MSFT used to let you use a '/p' switch after
the file name on the command line, but they have since removed the
functionality several Windows versions back (Only PowerPoint still uses the
'/p' switch) .

Not Windows versions but Office versions, but yes, I see what you mean now that I've
tried Word 2003.

Annoying.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top