Objective: Enable Terminal Services printing using a local Multifunction / MFC network printer.
Difficulty: Easy
OS Tested: XP Pro and Windows Server 2003. You could have issues if not using like OS's, eg. Windows 98 and Windows server 2000 or 2003
Purpose: I was having issues setting up a MFC network printer in terminal services and after some research, I found that multifunction and network printers are rather difficult to install alone and this particular case involved both. While I had used the net use command in a network printer environment in the past, I had forgotten the syntax, so this is for those like me that may have forgotten the steps.
1. Install the printer on an LPT port on the Terminal Server and the local machine.
2. On the local machine, open a command prompt
3a. If you are on the same domain.
Code:
net use lpt# \\servername\printername /persistent:yes
3b. No or different domain
Code:
net use lpt# \\computername\printername /persistent:yes
4. Press enter
5. You should see "command completed successfully" or something similar. If you get an error, check server/computer/printer name and syntax and make sure you have installed the same drivers on the Terminal Server and Local Machine.
6. Log in to your Terminal Server and test.
To delete: net use lpt1 /d should delete the connection
OR
net use
hit enter
Look for anything connected (especially IPC$) to \\machine B
type
net use \\machine B\xxxxxx /delete
Where xxxxx is the connection established
Please let us know if this helped you or if you have anything to add.
Registration is easy:
http://mytechdirect.net/forum/profile.php?mode=register
Or login:
http://mytechdirect.net/forum/login.php