| Author |
Tue W2K Professional Question of the Day
|
|
| wbafrank 2002-02-25, 8:03 pm |
| And today's little number is ....
Q37. You arethe administrator of a Windows 2000 Professional computer name WIN2KPRO. You have a HP DeskJet 540 printing device connected to LPT1 and shared as HPDJ540. The user of an MS-DOS client computer calls you to ask how he can connect to the network printer. Which syntax should you instruct him to use?
a. Net use lpt1:\\win2kpro\hpdj540
B. Net use lpt1:\\hp deskjet 540\win2kpro
C. Net print lpt1:\\win2kpro\hpdj540
D. Net print lpt1:\\hp deskjet 540\win2kpro
Good Luck .... see you tomorrow for the answer!! | |
|
| That would be "A" Mr. Frank  | |
| PotatoHead 2002-02-25, 9:10 pm |
| A - NET USE [devicename | *] [\\computername\sharename[\vol
ume] [password | *]] | |
| clintax 2002-02-25, 10:14 pm |
| answer is A. | |
| Shrink 2002-02-25, 10:30 pm |
| I agree..A.. | |
| Deja-vue 2002-02-26, 12:06 am |
| ok,then.....A. | |
| mr_wolf 2002-02-26, 2:00 am |
| A..... final answer. | |
| jparthiban 2002-02-26, 3:16 am |
| Agrres with option A | |
|
| I'll go with C. | |
| mrfixit 2002-02-26, 6:55 am |
| Gotta say A.
I'M BACKKKKK!! | |
| B4yaman3 2002-02-26, 7:52 am |
| I will go with A.. | |
|
| Yes for Net use, so : A
Good study.. | |
|
|
|
|
|
| ______________________________
______________
Quote WBAFrank
C and D. Incorrect: Print is not a valid parameter for the NET.EXE command.
______________________________
______________
NET PRINT /?
NET PRINT
\\computername\sharename
[\\computername] job# [/HOLD | /RELEASE | /DELETE]
Very strange..... | |
|
| I have to agree with Tronn on this. NET PRINT is indeed a valid command for the NET executable. The NET PRINT command has been around since the Windows 95 days and is still around today.
But it is not the correct answer for this question.
You would use NET PRINT to display or control print jobs and printer queues.
For Example:
To view the print queue of Printer1 on print server W2KPRN1:
NET PRINT \\W2KPRN1\Printer1
To delete print job number 2 on Printer1 on print server W2KPRN1:
NET PRINT \\W2KPRN1 2/delete
You would use NET USE to connect or disconnect to a shared printer.
For Example:
To redirect print output for the LPT1 port to Printer1 on print server W2KPRN1:
NET USE LPT1: \\W2KPRN1\Printer1
To display information about the LPT1 port:
NET USE LPT1:
Remember to print from DOS you must have an LPT port captured. NET USE is the command to use to connect a DOS client to a network shared printer.
However, if output was directed to a file, you could use NET PRINT to send that output to the printer, but you would not be connecting your DOS client to the printer as the question asked.
Hope this helps! | |
|
| Thanks Spid,
Copied and pasted into a word doc.
Tronn | |
|
| Hi Tronn,
I made a slight typo before....
The command to connect LPT1 to printer Printer1 on server W2KPRN1 would be:
NET USE LPT1: \\W2KPRN1\Printer1
NOT
NET USE LPT1: \\W2KPRN1\MyPrinter1
I've updated my previous post, sorry for the mistake.  | |
|
| Thanks Spid. Updated my word doc.
Tronn |
|
|
|