defualt printer

G

Guest

Guest
Archived from groups: microsoft.public.windows.server.networking,microsoft.public.windowsnt.terminalserver.client,microsoft.public.windowsnt.terminalserver.connectivity (More info?)

Hi,
I need to set a given printer as the default printer for all my users on
my TS. I do not want to tell ecah user how to do it.Is there a setting or a
script I can use?


Thanks.
 
G

Guest

Guest
Archived from groups: microsoft.public.windows.server.networking,microsoft.public.windowsnt.terminalserver.client,microsoft.public.windowsnt.terminalserver.connectivity (More info?)

Setting the default printer is easiest done within the users
logon script. You'll need some sort of utility to do this:
Defprint.exe controls local printers (local to the TS), Con2prt.exe
controls
network printers, or use a KiXtart script.

Examples (check for correct syntax!)

if %Clientname% == CLIENT01 DefPrint.exe /d "HP OfficeJet"

if %clientname% == CLIENT01 con2prt.exe \\PrintServer\printer01

if %clientname% = "CLIENT01"
SetDefaultPrinter ("\\TS\printer01")
endif

Defprint.exe can be downloaded here:
http://www.dcug.de/phpnuke/html/modules.php?
name=Downloads&d_op=MostPopular

con2prt.exe is part of the NT Resource Kit.
KiXtart can be downloaded from http://www.kixtart.org

Or use rundll32 printui.dll,PrintUIEntry:
189105 - How to add printers with no user interaction in Windows
http://support.microsoft.com/?kbid=189105

--
Vera Noest
MCSE, CCEA, Microsoft MVP - Terminal Server
http://hem.fyristorg.com/vera/IT
--- please respond in newsgroup, NOT by private email ---

"George D. Lake" <NoSpam@bla.com> wrote on 06 apr 2005 in
microsoft.public.windowsnt.terminalserver.client:

> Hi,
> I need to set a given printer as the default printer for all
> my users on
> my TS. I do not want to tell ecah user how to do it.Is there a
> setting or a script I can use?
>
>
> Thanks.
 
G

Guest

Guest
Archived from groups: microsoft.public.windows.server.networking,microsoft.public.windowsnt.terminalserver.client,microsoft.public.windowsnt.terminalserver.connectivity (More info?)

Hi, I have tried the DefPrint.exe in a bat file when the user logs in, but I
get a "access denied" error when its not the local admin. I added a user to
the local Admin group and same thing.


"Vera Noest [MVP]" <vera.noest@remove-this.hem.utfors.se> wrote in message
news:Xns9631E262024veranoesthemutforsse@207.46.248.16...
> Setting the default printer is easiest done within the users
> logon script. You'll need some sort of utility to do this:
> Defprint.exe controls local printers (local to the TS), Con2prt.exe
> controls
> network printers, or use a KiXtart script.
>
> Examples (check for correct syntax!)
>
> if %Clientname% == CLIENT01 DefPrint.exe /d "HP OfficeJet"
>
> if %clientname% == CLIENT01 con2prt.exe \\PrintServer\printer01
>
> if %clientname% = "CLIENT01"
> SetDefaultPrinter ("\\TS\printer01")
> endif
>
> Defprint.exe can be downloaded here:
> http://www.dcug.de/phpnuke/html/modules.php?
> name=Downloads&d_op=MostPopular
>
> con2prt.exe is part of the NT Resource Kit.
> KiXtart can be downloaded from http://www.kixtart.org
>
> Or use rundll32 printui.dll,PrintUIEntry:
> 189105 - How to add printers with no user interaction in Windows
> http://support.microsoft.com/?kbid=189105
>
> --
> Vera Noest
> MCSE, CCEA, Microsoft MVP - Terminal Server
> http://hem.fyristorg.com/vera/IT
> --- please respond in newsgroup, NOT by private email ---
>
> "George D. Lake" <NoSpam@bla.com> wrote on 06 apr 2005 in
> microsoft.public.windowsnt.terminalserver.client:
>
>> Hi,
>> I need to set a given printer as the default printer for all
>> my users on
>> my TS. I do not want to tell ecah user how to do it.Is there a
>> setting or a script I can use?
>>
>>
>> Thanks.
 
G

Guest

Guest
Archived from groups: microsoft.public.windows.server.networking,microsoft.public.windowsnt.terminalserver.client,microsoft.public.windowsnt.terminalserver.connectivity (More info?)

Check the permissions on the printer.
Can the user manually define this printer as the default printer?

--
Vera Noest
MCSE,CCEA, Microsoft MVP - Terminal Server
http://hem.fyristorg.com/vera/IT
*----------- Please reply in newsgroup -------------*

"George D. Lake" <NoSpam@bla.com> wrote on 07 apr 2005:

> Hi, I have tried the DefPrint.exe in a bat file when the user
> logs in, but I get a "access denied" error when its not the
> local admin. I added a user to the local Admin group and same
> thing.
>
>
> "Vera Noest [MVP]" <vera.noest@remove-this.hem.utfors.se> wrote
> in message
> news:Xns9631E262024veranoesthemutforsse@207.46.248.16...
>> Setting the default printer is easiest done within the users
>> logon script. You'll need some sort of utility to do this:
>> Defprint.exe controls local printers (local to the TS),
>> Con2prt.exe controls
>> network printers, or use a KiXtart script.
>>
>> Examples (check for correct syntax!)
>>
>> if %Clientname% == CLIENT01 DefPrint.exe /d "HP OfficeJet"
>>
>> if %clientname% == CLIENT01 con2prt.exe \\PrintServer\printer01
>>
>> if %clientname% = "CLIENT01"
>> SetDefaultPrinter ("\\TS\printer01")
>> endif
>>
>> Defprint.exe can be downloaded here:
>> http://www.dcug.de/phpnuke/html/modules.php?
>> name=Downloads&d_op=MostPopular
>>
>> con2prt.exe is part of the NT Resource Kit.
>> KiXtart can be downloaded from http://www.kixtart.org
>>
>> Or use rundll32 printui.dll,PrintUIEntry:
>> 189105 - How to add printers with no user interaction in
>> Windows http://support.microsoft.com/?kbid=189105
>>
>> --
>> Vera Noest
>> MCSE, CCEA, Microsoft MVP - Terminal Server
>> http://hem.fyristorg.com/vera/IT
>> --- please respond in newsgroup, NOT by private email ---
>>
>> "George D. Lake" <NoSpam@bla.com> wrote on 06 apr 2005 in
>> microsoft.public.windowsnt.terminalserver.client:
>>
>>> Hi,
>>> I need to set a given printer as the default printer for
>>> all my users on
>>> my TS. I do not want to tell ecah user how to do it.Is there a
>>> setting or a script I can use?
>>>
>>>
>>> Thanks.