FYI,

The originally proposed "/YES" parameter is short for "/PERSISTENT:YES" which means the setting lasts "forever" if the OS user issuing the command has the administrative permissions to so set the setting.  Conversely there also are "/PERSISTENT:NO" and "/DELETE" options.  From a command prompt (NT, 2000, XP), enter "net ?" or "net use ?".

Alan Steward


At 10:34 09/12/2002 -0700,
Bernie Corrigan wrote:
ZIP COMMAND /C NET USE ..............

Put it before OUTPUT printer.  It only needs to be executed once each time
you want to send the print stream to the given printer; however, it doesn't
seem to hurt anything if you execute the command more than once.  The LPT1:
stream will continue to be directed to that printer until it is changed by a
program or the machine is rebooted.


At 11:27 AM 9/12/2002 -0400,
J BLAUSTEIN wrote:
>How do you integrate the below statement into a command procedure - out
>printer .......?
>J
>
>At 09:27 PM 9/11/2002 -0700,
Bernie Corrigan wrote:
>>Try the command
>>
>>NET USE LPT1: \\computername\printername  /YES
>>
>>at the C:> prompt in the command window.  Put the computer name of the
>>machine and printer name of the printer in the relevant locations in the
>>command.
>>
>>

Reply via email to