Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Terminal Services Printing

Status
Not open for further replies.

bdc80

Technical User
May 28, 2002
10
US
We have some problems with terminal printing.The clients Machines are running Win XP Pro and the server Win2K Server.
The clients printers are network printers setup as a local printer. This is done by using create new port tcp/ip. Everything is printing fine, but I want to set a default printer for each remote office.Currently if the printer is installed on the local machine all is fine. But if there is no printer setup is defaulting to the wrong printer. Is there anything I can do from the server?
 
You could do something like this... (Which is how I have done it here)

Define groups in AD for each branch (I use groups for each printer, so user can be a member of one default group, and several secondary)

Through the main login script (I use kix) use the following (con2prt is from nt4 res kit)

Below is an excerpt of my login script. Mine differs only in that I havemore sets of Case statements within the select branch for each of the printers etc.

I also use this to set default drive mappings etc for users depending again on group membership.

May sound like a bit of extra messing about, but once you have scripts working properly it can make changes such as replacing a print server (ever had to introduce a new printer server with a different name and wasted hours rushing around all of your clients remapping printers)

Hope its helpful


DO
$GROUP = EnumGroup($Index)
;Displays list of groups that a user is member of; probably overkill
? $GROUP
SELECT
; DNP001 HP Job Packet Printer in Planning office
CASE $GROUP="WICKLIFFE\PTR_DNP001D"
SHELL 'con2prt /cd \\dexchgsrv1\"DNP001"'
CASE $GROUP="WICKLIFFE\PTR_DNP001S"
SHELL 'con2prt /c \\dexchgsrv1\"DNP001"'
EndSelect
$Index = $Index + 1
Until Len($Group) = 0

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top