Re: W2K8 TS Printer Share



Hello

Problem was solved.

Example Solution;

TS Clinet Printer Name: Oki ML3320 (redirected 1)
TS Name: W2K8TS
TS User Name: RTUser1
Download setacl http://sourceforge.net/project/showfiles.php?group_id=69165
setacl extract c:\setacl

@echo Remote Connection LPT1 Port Maping
cd\
cd setacl
@echo Printer take ownership and permission
SetACL.exe -on "Oki ML3320 (redirected 1)" -ot prn -actn setowner -ownr
“n:W2K8TS\RTUser1”
SetACL.exe -on "Oki ML3320 (redirected 3)" -ot prn -actn ace -ace
"n:W2K8TS\RTUser1;p:full"
@echo Printer sharing
rundll32 printui.dll,PrintUIEntry /Xs /n "Oki ML3320 (redirected 1)"
sharename "RTUser13320" attributes +Shared
@echo Printer LPT1
net use lpt1 \\W2K8TS\RTUser13320

Thank you.
Best regards.

"Emre Demirci" wrote:

Hello,

My undarstend problem. Problem is Printer Security.

4 step
1-Redirected printer-properties-Security-Owner-select user-apply-OK-OK
2-Redirected printer-properties-Security-Select user-Manage Printer allow
check-apply-OK
3-Start-Run-CMD-rundll32 printui.dll,PrintUIEntry /Xs /n "redirected printer
name" sharename "sharing name"
4-Net use LPT1 \\computer\sharing name

How to 1 and 2 step script or batch ?

Best regards.


"Emre Demirci" wrote:

Hello Claudio,

I'm suffering security. If you script the manual work.

Example script:
rundll32 printui.dll,PrintUIEntry /Xs /n "Oki ML3320" sharename "gun13320"
attributes +Shared

Error is given: "You do not have permission to modify the settings for this
printer. If you need to change the settings, contact your system
administrator."

How to settings group policy or other solution ?

Best regards.


"Cl‡audio Rodrigues" wrote:

Emre Demirci wrote:
Hello Claudio,

I can not forward with net use LPT1. Sharing is not activated. What is the
solution of this W2K8?

Best regards.

"Cl‡audio Rodrigues" wrote:

Emre Demirci wrote:
Hello Kaushal,

Links not solution problem.

Real solution picture:
http://img25.imageshack.us/img25/8051/w2k8shrprb.jpg

Thank you.
Best regards,

"Kaushal Mehta [MSFT]" wrote:

Hi Emre,

This might probably help you
1. http://support.microsoft.com/kb/245017
2. http://www.pcreview.co.uk/forums/thread-1611813.php
3. http://ts.veranoest.net/ts_faq_printing.htm#DOS_LPT1_printer

Let me know if it does.

Thanks,
Kaushal Mehta [MSFT]
--
http://blogs.msdn.com/ts


"Emre Demirci" wrote:

Hello Kaushal,

No TS Serveer other user. Terminal Server using DOS application LPT1 printer
problem.

Best regards,

"Kaushal Mehta [MSFT]" wrote:

Hi Emre,

I want to make sure I understand your problem.

So here is my understanding.

You have client machine that has ML3320 printer attached to it locally. Now,
when you TS to server, you get the ML3320 printer redirected. So, until here
everything is as expected.

Now, what you want to do is to share this redirected printer ML3320 on the
TS server so that other users can use this printer to print ? Is this right?

Thanks,
Kaushal Mehta {MSFT].
--
http://blogs.msdn.com/ts


"Emre Demirci" wrote:

Hello Kaushal,

Example W2K3 scenario;
Cilent connect local LPT1 port OKI ML3320 printer.
Terminal Server IP 192.168.1.1
Cilent connect Terminal Server redirect OKI ML3320 printer (no problem).
Terminal Server OKI ML3320 Sharing printer (My problem W2K8 TS not active
sharing)
Terminal Server OKI ML3320 sharin name "ML3320"
Terminal Server Start-Run-CMD-net use LPT1 192.168.1.1\ML3320
Dos application send printing LPT1.

My problem is how to redirect printer sharing terminal server or how to
using ms-dos application LPT1 W2K8 Terminal server ?

Best regards,

"Kaushal Mehta [MSFT]" wrote:

Hi Emre,

Can you please be more specific as to what you want to achieve?

Thanks,
Kaushal Mehta. [MSFT]
--
http://blogs.msdn.com/ts


"Emre Demirci" wrote:

Hello,

How to redirect printer share ?

Example picture:
http://img38.imageshack.us/img38/8761/w2k8prnsh.jpg

Best regards.
I will have to find where I put two scripts I wrote for TS 2000/2003
(the latest one should work on 2008) that do exactly what you want.
Basically when a user connects his TS mapped printer is automatically
shared and then mapped to the LPT1: port so DOS apps work fine.

--
Claudio Rodrigues
CEO, WTSLabs Inc.

http://www.wtslabs.com
"WebTS: TSWeb the way it should have been done since day one"

Microsoft MVP
Windows Server - Terminal Services

I will try on 2008 but my script used the rundll32 command to do the
sharing automatically. This should still work on 2008 if I am not mistaken.

--
Claudio Rodrigues
CEO, WTSLabs Inc.

http://www.wtslabs.com
"WebTS: TSWeb the way it should have been done since day one"

Microsoft MVP
Windows Server - Terminal Services

.



Relevant Pages

  • Re: W2K8 TS Printer Share
    ... I can not forward with net use LPT1. ... Sharing is not activated. ... Best regards. ... Terminal Server using DOS application LPT1 printer ...
    (microsoft.public.windows.terminal_services)
  • Re: W2K8 TS Printer Share
    ... Sharing is not activated. ... Best regards. ... Terminal Server using DOS application LPT1 printer problem. ...
    (microsoft.public.windows.terminal_services)
  • Re: W2K8 TS Printer Share
    ... Best regards. ... I can not forward with net use LPT1. ... Sharing is not activated. ... Terminal Server using DOS application LPT1 printer ...
    (microsoft.public.windows.terminal_services)
  • Re: W2K8 TS Printer Share
    ... Best regards. ... I can not forward with net use LPT1. ... Terminal Server using DOS application LPT1 printer ... My problem is how to redirect printer sharing terminal server or how to ...
    (microsoft.public.windows.terminal_services)
  • Re: redirected printer security changes wont stick
    ... You have to disable the physical LPT1 port on the server in Device ... Manager to allow users to redirect LPT1 to their local printers. ... MCSE, CCEA, Microsoft MVP - Terminal Server ...
    (microsoft.public.windows.terminal_services)