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 Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Not creating TS Auto-created printer 1

Status
Not open for further replies.

twoody54

IS-IT--Management
Apr 11, 2002
150
US
I have remote users to our system and everyone is fine printing when they connect and have a printer phyically attached to their computer. However, the one instance where they are networked and use a hardware print server the printers are not being mapped. I manually tried mapping the printer by using the TS port for those machine names it seemed to work, however nothing comes out on their end. It does act as if it printed however.

Is there anything I'm missing here (I'm sure there is)?

I'm sure this is a common issue but the search feature doesn't work right now, so sorry if its repeditive in nature.
 
Yes, the problem is that by default a DOT 4 printer or networked printer will not be configured. There is an easy fix for this though.

You need to run this script on the local machine (not in the TS Session).

Code:
'==========================================================================
'
' VBScript Source File -- 
'
' NAME: TSPrintFix.vbs
'
' AUTHOR: Mark D. MacLachlan , The Spider's Parlor
' URL   : [URL unfurl="true"]http://www.thespidersparlor.com[/URL]
' DATE  : 04/22/2003
'
' COMMENT: 
' Fixes printing to DOT4 and Networked printers
'===========================================================================

on error resume next

Dim path

Set WSHShell = CreateObject("WScript.Shell")

path = "HKCU\SOFTWARE\Microsoft\Terminal Server Client\Default\AddIns\RDPDR\"
WSHShell.RegWrite path & "FilterQueueType","-1","REG_DWORD"

If err then
	msgbox "Error Encountered" & Err.Description
else
	msgbox "TS Printing Fix Successful"
End if

I hope you find this post helpful. Please let me know if it was.

Regards,

Mark
 
Thanks I'll give it a try tomorrow when I go down there.
 
Quick question... when do I want to run this script and will I have to run it just once or reoccuring? I see on it is to run on the local machine...

Thanks for the help
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top