A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows XP » Printing and Faxing with Windows XP
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Using prnmngr to push printer to all users



 
 
Thread Tools Display Modes
  #1  
Old December 1st 09, 10:51 PM posted to microsoft.public.windowsxp.print_fax
Mbordelon
external usenet poster
 
Posts: 5
Default Using prnmngr to push printer to all users

we are in the process of replacing all network printers on our network. All
printer names and IP addresses are going to change. I am trying to setup
deployment jobs to push printers to all workstations and set default
printers. I have been successful pushing a printer to a test workstation
using my own credentials but, it only shows up under my profile. I have tried
pushing printers to other workstations with no luck. On the test workstation
I have logged on as several different users but, the printers only show up
under my profile. Is there a switch I am missing that would make the printers
available to all users ?

Ads
  #2  
Old December 1st 09, 11:53 PM posted to microsoft.public.windowsxp.print_fax
John John - MVP[_2_]
external usenet poster
 
Posts: 1,637
Default Using prnmngr to push printer to all users

You could do this with the printui.dll.

Excerpt from PrintUI.DLL User’s Guide and Reference:

Add a per-machine connection

Adds a per-machine connection to the client machine. A per-machine
connection is a printer configured to be accessible by all users of the
client machine. Normally, when a user adds a printer to a client
machine, the printer is visible only to the account used by the person
adding the printer. This command must be run by a local admin of the
client machine.

Command Line:

rundll32 printui.dll PrintUIEntry /ga /n\\machine\printer

http://download.microsoft.com/downlo...UsersGuide.doc
(Word Document)

John

Mbordelon wrote:
we are in the process of replacing all network printers on our network. All
printer names and IP addresses are going to change. I am trying to setup
deployment jobs to push printers to all workstations and set default
printers. I have been successful pushing a printer to a test workstation
using my own credentials but, it only shows up under my profile. I have tried
pushing printers to other workstations with no luck. On the test workstation
I have logged on as several different users but, the printers only show up
under my profile. Is there a switch I am missing that would make the printers
available to all users ?

  #3  
Old December 2nd 09, 03:20 PM posted to microsoft.public.windowsxp.print_fax
Mbordelon
external usenet poster
 
Posts: 5
Default Using prnmngr to push printer to all users

Thanks a lot for the information. That worked perfectly for adding the
printers for all users.

One note for anyone using this command. The printers don't appear until the
print spooler is restarted.

The one issue I am having is setting the printer as the default printer once
it's added.

The command I am using to add the printer is [rundll32 printui.dll
PrintUIEntry /ga /n "\\prntserv\is" ]

According to the manual the "/y" switch is used to set the printer as the
default.
I have tried putting the /y before the /ga , after the /ga ,before the /n ,
after the /n, after the printer name. I have even tried running the script
like this [rundll32 printui.dll PrintUIEntry /y /n "\\prntserv\is" ]
withouth the /ga . But , the printer does not show as default.

Where am I going wrong?

"John John - MVP" wrote:

You could do this with the printui.dll.

Excerpt from PrintUI.DLL User’s Guide and Reference:

Add a per-machine connection

Adds a per-machine connection to the client machine. A per-machine
connection is a printer configured to be accessible by all users of the
client machine. Normally, when a user adds a printer to a client
machine, the printer is visible only to the account used by the person
adding the printer. This command must be run by a local admin of the
client machine.

Command Line:

rundll32 printui.dll PrintUIEntry /ga /n\\machine\printer

http://download.microsoft.com/downlo...UsersGuide.doc
(Word Document)

John

Mbordelon wrote:
we are in the process of replacing all network printers on our network. All
printer names and IP addresses are going to change. I am trying to setup
deployment jobs to push printers to all workstations and set default
printers. I have been successful pushing a printer to a test workstation
using my own credentials but, it only shows up under my profile. I have tried
pushing printers to other workstations with no luck. On the test workstation
I have logged on as several different users but, the printers only show up
under my profile. Is there a switch I am missing that would make the printers
available to all users ?

.

  #4  
Old December 2nd 09, 03:42 PM posted to microsoft.public.windowsxp.print_fax
John John - MVP[_2_]
external usenet poster
 
Posts: 1,637
Default Using prnmngr to push printer to all users

The default printer setting is a 'per user' setting. Have the users run
the command via a logon script.

John

Mbordelon wrote:
Thanks a lot for the information. That worked perfectly for adding the
printers for all users.

One note for anyone using this command. The printers don't appear until the
print spooler is restarted.

The one issue I am having is setting the printer as the default printer once
it's added.

The command I am using to add the printer is [rundll32 printui.dll
PrintUIEntry /ga /n "\\prntserv\is" ]

According to the manual the "/y" switch is used to set the printer as the
default.
I have tried putting the /y before the /ga , after the /ga ,before the /n ,
after the /n, after the printer name. I have even tried running the script
like this [rundll32 printui.dll PrintUIEntry /y /n "\\prntserv\is" ]
withouth the /ga . But , the printer does not show as default.

Where am I going wrong?

"John John - MVP" wrote:

You could do this with the printui.dll.

Excerpt from PrintUI.DLL User’s Guide and Reference:

Add a per-machine connection

Adds a per-machine connection to the client machine. A per-machine
connection is a printer configured to be accessible by all users of the
client machine. Normally, when a user adds a printer to a client
machine, the printer is visible only to the account used by the person
adding the printer. This command must be run by a local admin of the
client machine.

Command Line:

rundll32 printui.dll PrintUIEntry /ga /n\\machine\printer

http://download.microsoft.com/downlo...UsersGuide.doc
(Word Document)

John

Mbordelon wrote:
we are in the process of replacing all network printers on our network. All
printer names and IP addresses are going to change. I am trying to setup
deployment jobs to push printers to all workstations and set default
printers. I have been successful pushing a printer to a test workstation
using my own credentials but, it only shows up under my profile. I have tried
pushing printers to other workstations with no luck. On the test workstation
I have logged on as several different users but, the printers only show up
under my profile. Is there a switch I am missing that would make the printers
available to all users ?

.

  #5  
Old December 2nd 09, 04:09 PM posted to microsoft.public.windowsxp.print_fax
John John - MVP[_2_]
external usenet poster
 
Posts: 1,637
Default Using prnmngr to push printer to all users

To make sure that there is no confusion, just have the users run the
command with the switches to set the default printer:

rundll32 printui.dll,PrintUIEntry /y /n\\servername\printername

John

John John - MVP wrote:
The default printer setting is a 'per user' setting. Have the users run
the command via a logon script.

John

Mbordelon wrote:
Thanks a lot for the information. That worked perfectly for adding the
printers for all users.

One note for anyone using this command. The printers don't appear
until the print spooler is restarted.

The one issue I am having is setting the printer as the default
printer once it's added.

The command I am using to add the printer is [rundll32 printui.dll
PrintUIEntry /ga /n "\\prntserv\is" ]
According to the manual the "/y" switch is used to set the printer as
the default.
I have tried putting the /y before the /ga , after the /ga ,before the
/n , after the /n, after the printer name. I have even tried running
the script like this [rundll32 printui.dll PrintUIEntry /y /n
"\\prntserv\is" ] withouth the /ga . But , the printer does not show
as default.
Where am I going wrong?

"John John - MVP" wrote:

You could do this with the printui.dll.

Excerpt from PrintUI.DLL User’s Guide and Reference:

Add a per-machine connection

Adds a per-machine connection to the client machine. A per-machine
connection is a printer configured to be accessible by all users of
the client machine. Normally, when a user adds a printer to a client
machine, the printer is visible only to the account used by the
person adding the printer. This command must be run by a local admin
of the client machine.

Command Line:

rundll32 printui.dll PrintUIEntry /ga /n\\machine\printer

http://download.microsoft.com/downlo...UsersGuide.doc

(Word Document)

John

Mbordelon wrote:
we are in the process of replacing all network printers on our
network. All printer names and IP addresses are going to change. I
am trying to setup deployment jobs to push printers to all
workstations and set default printers. I have been successful
pushing a printer to a test workstation using my own credentials
but, it only shows up under my profile. I have tried pushing
printers to other workstations with no luck. On the test workstation
I have logged on as several different users but, the printers only
show up under my profile. Is there a switch I am missing that would
make the printers available to all users ?

.

  #6  
Old December 2nd 09, 06:00 PM posted to microsoft.public.windowsxp.print_fax
Mbordelon
external usenet poster
 
Posts: 5
Default Using prnmngr to push printer to all users

Thanks. I created a batch file for each printer and created a script to copy
the file for the appropriate printer into the all users\startup folder. This
seems to work.

"John John - MVP" wrote:

To make sure that there is no confusion, just have the users run the
command with the switches to set the default printer:

rundll32 printui.dll,PrintUIEntry /y /n\\servername\printername

John

John John - MVP wrote:
The default printer setting is a 'per user' setting. Have the users run
the command via a logon script.

John

Mbordelon wrote:
Thanks a lot for the information. That worked perfectly for adding the
printers for all users.

One note for anyone using this command. The printers don't appear
until the print spooler is restarted.

The one issue I am having is setting the printer as the default
printer once it's added.

The command I am using to add the printer is [rundll32 printui.dll
PrintUIEntry /ga /n "\\prntserv\is" ]
According to the manual the "/y" switch is used to set the printer as
the default.
I have tried putting the /y before the /ga , after the /ga ,before the
/n , after the /n, after the printer name. I have even tried running
the script like this [rundll32 printui.dll PrintUIEntry /y /n
"\\prntserv\is" ] withouth the /ga . But , the printer does not show
as default.
Where am I going wrong?

"John John - MVP" wrote:

You could do this with the printui.dll.

Excerpt from PrintUI.DLL User’s Guide and Reference:

Add a per-machine connection

Adds a per-machine connection to the client machine. A per-machine
connection is a printer configured to be accessible by all users of
the client machine. Normally, when a user adds a printer to a client
machine, the printer is visible only to the account used by the
person adding the printer. This command must be run by a local admin
of the client machine.

Command Line:

rundll32 printui.dll PrintUIEntry /ga /n\\machine\printer

http://download.microsoft.com/downlo...UsersGuide.doc

(Word Document)

John

Mbordelon wrote:
we are in the process of replacing all network printers on our
network. All printer names and IP addresses are going to change. I
am trying to setup deployment jobs to push printers to all
workstations and set default printers. I have been successful
pushing a printer to a test workstation using my own credentials
but, it only shows up under my profile. I have tried pushing
printers to other workstations with no luck. On the test workstation
I have logged on as several different users but, the printers only
show up under my profile. Is there a switch I am missing that would
make the printers available to all users ?

.

.

  #7  
Old December 2nd 09, 06:07 PM posted to microsoft.public.windowsxp.print_fax
John John - MVP[_2_]
external usenet poster
 
Posts: 1,637
Default Using prnmngr to push printer to all users

You're welcome.

John

Mbordelon wrote:
Thanks. I created a batch file for each printer and created a script to copy
the file for the appropriate printer into the all users\startup folder. This
seems to work.

"John John - MVP" wrote:

To make sure that there is no confusion, just have the users run the
command with the switches to set the default printer:

rundll32 printui.dll,PrintUIEntry /y /n\\servername\printername

John

John John - MVP wrote:
The default printer setting is a 'per user' setting. Have the users run
the command via a logon script.

John

Mbordelon wrote:
Thanks a lot for the information. That worked perfectly for adding the
printers for all users.

One note for anyone using this command. The printers don't appear
until the print spooler is restarted.

The one issue I am having is setting the printer as the default
printer once it's added.

The command I am using to add the printer is [rundll32 printui.dll
PrintUIEntry /ga /n "\\prntserv\is" ]
According to the manual the "/y" switch is used to set the printer as
the default.
I have tried putting the /y before the /ga , after the /ga ,before the
/n , after the /n, after the printer name. I have even tried running
the script like this [rundll32 printui.dll PrintUIEntry /y /n
"\\prntserv\is" ] withouth the /ga . But , the printer does not show
as default.
Where am I going wrong?

"John John - MVP" wrote:

You could do this with the printui.dll.

Excerpt from PrintUI.DLL User’s Guide and Reference:

Add a per-machine connection

Adds a per-machine connection to the client machine. A per-machine
connection is a printer configured to be accessible by all users of
the client machine. Normally, when a user adds a printer to a client
machine, the printer is visible only to the account used by the
person adding the printer. This command must be run by a local admin
of the client machine.

Command Line:

rundll32 printui.dll PrintUIEntry /ga /n\\machine\printer

http://download.microsoft.com/downlo...UsersGuide.doc

(Word Document)

John

Mbordelon wrote:
we are in the process of replacing all network printers on our
network. All printer names and IP addresses are going to change. I
am trying to setup deployment jobs to push printers to all
workstations and set default printers. I have been successful
pushing a printer to a test workstation using my own credentials
but, it only shows up under my profile. I have tried pushing
printers to other workstations with no luck. On the test workstation
I have logged on as several different users but, the printers only
show up under my profile. Is there a switch I am missing that would
make the printers available to all users ?

.

.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off






All times are GMT +1. The time now is 10:02 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.