The NET USE command that is part of DOS environment of the Windows 95/98/Me/NT/2000
and XP Operating Systems can be used to
direct printing to the desired resources on your network. You will need to know
the name of your computer and the shared name of the printers you wish to use.
This information can be found under the "My Computer" icon.
1) Click on START, click in SETTINGS, CONTROL
PANEL then
click in Printers and Select Add/Modify Printers.
2) Select the printer you wish to setup
3) Click on to the Network Printer and if you are
working with Windows 95/98 or Millennium (Me), select the MS DOS option.
4) Click on browse, look for the computer that owns the
printer you want to use and double click until you see the printer, if the
printer is not there is probably because the resource is not shared on the
computer that owns the printer, go there and do it. If you see the printer
just select the printer and click OK.
If you are working with Windows NT/2000 or XP the
first thing you have to do is go to the computer that has the printer you want
to use as Network Printer and put it in SHARED mode, after this go to the
computer where you want to print over the network and
create a batch file in the following way:
1) Click on start then in run and type cmd
(command)
2) You'll see the DOS Root Directory C:>Documents
and Settings\Administrator, type cd.. and press Enter.
when you see C:\> type in the
following:
COPY CON CAPTURE.BAT
and (ENTER)
type:
NET USE LPT1: \\SERVER\HP
Press F6 then press ENTER.
NOTES:
\\SERVER is the name of the computer that has the
shared printer
( Found in My Computer )
\HP is the name of the shared printer ( Found in My Computer )
TO END A CAPTURED PRINTER, AT DOS PROMPT
TYPE:
NET USE LPT1: /YES
RESULTS OF NET USE HELP (net use /?):
Connects or disconnects your computer from a shared
resource or displays information about your
connections.
NET USE [drive: | *] [\\computer\directory [password | ?]]
[/SAVEPW:NO] [/YES] [/NO]
NET USE [port:] [\\computer\printer [password | ?]]
[/SAVEPW:NO] [/YES] [/NO]NET USE drive: | \\computer\directory /DELETE [/YES]
NET USE port: | \\computer\printer /DELETE [/YES]
NET USE * /DELETE [/YES]
NET USE drive: | * /HOME
drive Specifies the drive letter you assign to a
shared directory.
* Specifies the next available drive letter.
If used with /DELETE, specifies to
disconnect all of your connections.
port Specifies the parallel (LPT) port name you
assign to a shared printer.
computer Specifies the name of the computer sharing
the resource.
directory Specifies the name of the shared directory.
printer Specifies the name of the shared printer.
password Specifies the password for the shared
resource, if any.
? Specifies that you want to be prompted for the
password of the shared resource. You don't
need to use this option unless the password is
optional.
/SAVEPW:NO Specifies that the password you type
should not be saved in your password-list
file. You need to retype the password the
next time you connect to this resource.
/YES Carries out the NET USE command without
first prompting you to provide information or
confirm actions.
/DELETE Breaks the specified connection to a shared
resource.
/NO Carries out the NET USE command, responding
with NO automatically when you are prompted
to confirm actions.
/HOME Makes a connection to your HOME directory if
one is specified in your LAN Manager or
Windows NT user account.To list all of your connections, type NET USE without
options.
To see this information one screen at a time, type the
following at the command prompt: