1748233 Members
3615 Online
108759 Solutions
New Discussion юеВ

Net use command

 
SOLVED
Go to solution
Neil Davis_2
Occasional Advisor

Net use command

After using the following net use command:

net use lpt1 \\print_server\itprinter /persistent:yes

to allow a 16 bit app to print to a networked printer via LPT1 I am not to sure on teh best way to reset this afterwards? is there a particular command? I am not to familiar with net use!

Any help appreciated!

Neil
4 REPLIES 4
Antoniov.
Honored Contributor
Solution

Re: Net use command

Yes,
you can type NET USE LPT1 /DELETE
or NET USE LPT1 /DELETE /YES if you don't will confermation ask.

@Antoniov
Antonio Maria Vigliotti
Neil Davis_2
Occasional Advisor

Re: Net use command

Great thatnks for that I will give it a go!!

Many thanks!
Neil Davis_2
Occasional Advisor

Re: Net use command

On running that will it revert back to it's original setting? i.e will the local printer then work as normal or will I have to install the printer again?
Antoniov.
Honored Contributor

Re: Net use command

Hi Neil,
NET USE open or close only sharing; nothing is made on printer installation, etc.
However, printer has installed by windows (32 bit environment) while NET SHARE use 16 bit environment to MsDos compatibility.

Have a great day.
@Antoniov
Antonio Maria Vigliotti