dslreports logo
site
 
    All Forums Hot Topics Gallery
spc

spacer




how-to block ads


Search Topic:
uniqs
537
share rss forum feed


NetUseQs

@pacbell.net

[2K3] Need help with Net Use Command

I have an odd situation with a client.

Multiple workstations connect to a terminal server, but each has their own printer. Have some older software that has Dos printing to the LPT1 port.

Attempted to use the "Net Use LPT1 \\server\printer /persistent:yes" command. Works to a degree.

Used to work in windows 2000, but with the 2k3 server, only the last printer is remembered.

Station1 logs in. Can print to Station 1 printer.
Station 2 logs in. Everyone, including station1 now prints to Station2 printer.
Station 3 logs in. Everyone now prints to Station3 printer.

Anyone got any ideas on how each session can have their own printer work?

Thanks,


Nobbie16

join:2000-09-28
Jersey City, NJ

When you say everyone has their own printer what do you mean? How many printers do you have, are they connected to the workstations or the server? Have you created a different printer for each user using the same LPT1 port on the server?

Where does the DOS program reside, on the server or the workstation? If it is on the server why do you have to use the net use command to print to a local port? If the DOS program is on the workstation why the necessity for the terminal session?

Sorry but you're all over the map. A little more concise detail please.


dave
Premium,MVM
join:2000-05-04
not in ohio
kudos:8
reply to NetUseQs

suggestion here.


techguy2012

join:2012-05-17
Mundelein, IL
reply to NetUseQs

Each person needs a network printer on their desk, the kind with a network card and a static IP address assigned to it.

Then, the terminal server needs all 3 printers installed, direct by IP.

Then, in each person's logon script, add this...
RUNDLL32 PRINTUI.DLL,PrintUIEntry /y /n "name_of_printer"
...this ensures their own printer is set as their default (cause terminal server will always mess with you and make the last printer installed the default)

If the DOS program only recognizes LPT printers, then your going to have to assign 1 printer to LPT1, the other to LPT2, and so on, then have the DOS program default to LPT1, 2 or 3. If it won't do this, your out of luck, run the DOS program on the individual's workstation then.