Select a network printer from the command line

S

Steve

From the command line, I am trying to print a document to a network printer
which is not the default printer. I think I am close with the following, but
not quite right -

Winword.exe c:\test\test3.txt /mFilePrintSetup \\sagplna06\KONICA05PS
/mFilePrint m/FileExit

Where am I going wrong? - probably some syntax with the printer name I
suspect.
 
M

Mike Viens

Doug,

This does not address the issue of needing to do this from command line. I,
too, am in the same situation and have ended up in the same stopping point as
Steve.

The command I need to run is:

rundll32 SHELL32.DLL,ShellExec_RunDLL winword somefile.doc /mFilePrintSetup
"\\dc-lan-02\KONICA MINOLTA C450 PS" /mFilePrintDefault /mDocClose /mFileExit

I need the /mFilePrintSetup to automatically select the specified printer
and close the dialog. That way, the /mFilePrintDefault will now use the
newly selected printer (but not the true system default printer) without
prompting the user for any input.

Does anyone have a workable COMMAND LINE example of how to do this. I
cannot install a macro on 1000s of customers systems.

Mike V.
 

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