Automating printer management in a school, university or education environment

KB Home   |   Automating printer management in a school, university or education environment

Main.AddingPrintersInAnEducationEnvironment History

Show minor edits - Show changes to output

April 27, 2017, at 02:05 PM by 90.152.8.32 -
Changed line 87 from:
Windows 2000, XP and 2003 all have the capability to install a printer and have it globally available to all users (Similar to the way printers worked in the old Windows 95/98 days). Unfortunately the ''Add Printer'' wizard does not expose this functionality and only adds the printer for the current user.  The command-line needs to be used to install and expose a printer globally.  The process is as follows:
to:
Windows 2000 and above all have the capability to install a printer and have it globally available to all users (Similar to the way printers worked in the old Windows 95/98 days). Unfortunately the ''Add Printer'' wizard does not expose this functionality and only adds the printer for the current user.  The command-line needs to be used to install and expose a printer globally.  The process is as follows:
Changed lines 2-4 from:
to:
(:description Using scripts for location aware, automated deployment of printers in education environments.:)
(:keywords adding printers, login script, netlogon, printer setup, user profiles, network management, k12 network, academic networks, school printers,  mapping printers, logon script:)

Changed lines 20-21 from:
Writing an adaptive login script is a good solution for small to medium sized networks or networks where computers are named using a '''convention related to location'''.  This solution has been adopted by PaperCut users with small networks. Frank from Rowland Medical Library has contributed an [[LogonScriptCon2prt |example]] that uses [[LogonScriptCon2prt |con2prt]]. 
to:
Writing an adaptive login script is a good solution for small to medium sized networks or networks where computers are named using a '''convention related to location'''.  This solution has been adopted by PaperCut users with small networks. Frank from Rowland Medical Library has contributed an [[LogonScriptCon2prt | example that uses con2prt]].
Changed line 110 from:
[-Keywords: adding printers, login script, netlogon, printer setup, user profiles, network management, k12 network, academic networks, school printers,  mapping printers, logon script -]
to:
[-Keywords: adding printers, login script, netlogon, printer setup, user profiles, network management, k12 network, academic networks, school printers,  mapping printers, logon script-]
June 22, 2009, at 09:51 PM by hendrik - added /gd command
Changed lines 101-102 from:
to:
->'''6.''' Note that printers added like this will have to be removed with the corresponding command [@rundll32 printui.dll,PrintUIEntry /gd /n\\server\printer@]. Note the [@/gd@] instead of [@/ga@]. After issuing this command, the printer will be removed at the next logon.
Changed line 107 from:
[-Keywords: adding printers, login script, netlogon, printer setup, user profiles, network management, k12 network, academic networks, school printers-]
to:
[-Keywords: adding printers, login script, netlogon, printer setup, user profiles, network management, k12 network, academic networks, school printers,  mapping printers, logon script -]
Changed lines 104-106 from:
[- keywords: adding printers, login script, netlogon, printer setup, user profiles, network management, k12 network, academic networks, school printers -]
 
''Categories:'' [[!Administration]], [[!Scripting]
]
to:
----
''Categories
:'' [[Category.Administration|+]], [[Category.Scripting|+]]
----
[-Keywords: adding
printers, login script, netlogon, printer setup, user profiles, network management, k12 network, academic networks, school printers-]
Changed lines 85-86 from:
Windows 2000, XP and 2003 all have the capability to install a printer and have it globally available to all users (Similar to the way printers worked in the old Windows 95/98 days). Unfortunately the Add Printer wizard does not expose this functionality and only adds the printer for the current user.  The command-line needs to be used to install and expose a printer globally.  The process is as follows:
to:
Windows 2000, XP and 2003 all have the capability to install a printer and have it globally available to all users (Similar to the way printers worked in the old Windows 95/98 days). Unfortunately the ''Add Printer'' wizard does not expose this functionality and only adds the printer for the current user.  The command-line needs to be used to install and expose a printer globally.  The process is as follows:
Changed lines 20-21 from:
Another alternative is to use a [=VBScript=] based logon script.  An example follows:
to:
Another alternative is to use a [=VBScript=] based logon script that leverages a consistent workstation naming system.  An example follows:
Changed lines 3-8 from:
In a business environment a user may have a desktop PC dedicated to their use.  Their printers can be configured either manually under their profile, or automatically via a login script.  Such a 'privilege' is not common in an education environment, and hence different management methods are required for printer configuration.

In an education environment users will roam between computer labs and locations.  The printers listed under ''Start->Settings->Printers'' should change depending on what computer they are using.  For example, it is not appropriate to list the science lab printer when the user is login in across campus in the library.  In other words, the list of printers is a function of location rather than user identity.  Network administrators working in education need to jump through a few more hoops to configure the ideal network setup.

There are a number of ways to address the "roaming user - changing printers" problem.  Option include:
to:
In a business environment a user usually has a desktop PC dedicated to their use.  Their printers can be configured either manually under their profile, or automatically via a login script.  Such a 'privilege' is not common in an education environment, and hence different management methods are required to effectively map printers.

In an education environment users roam between computer labs and locations.  The printers listed under ''Start->Settings->Printers'' should change depending on what computer they are using.  For example, it is not appropriate to list the science lab printer when the user is login in across campus in the library.  In other words, the list of printers is a ''function of location'' rather than user identity.  Network administrators working in education need to jump through a few more hoops to configure the ideal network setup.

There are a number of ways to address the "roaming user - changing printers" problem.  Options include:
Added lines 102-103:
Please also check out our [[http://papercut.biz/ | print quota and print management software]] applications.  These applications are also of great benefit in an education environment.
Changed lines 1-2 from:
(:title Managing printers in a school, university or education environment:)
to:
(:title Automating printer management in a school, university or education environment:)
Changed line 104 from:
''Categories:'' [[!Administration]]
to:
''Categories:'' [[!Administration]], [[!Scripting]]
Deleted lines 2-3:
''Categories:'' [[!Administration]]
Added line 104:
''Categories:'' [[!Administration]]
Changed lines 1-2 from:
!!Adding printers in a school, university or education environment.
to:
(:title Managing printers in a school, university or education environment:)

''Categories:'' [[!Administration]]

Changed lines 44-45 from:
     oNet.AddWindowsPrinterConnection "\\MainServer\LibaryHP"
    oNet.AddWindowsPrinterConnection "\\MainServer\LibaryColor"
to:
     oNet.AddWindowsPrinterConnection "\\MainServer\LibraryHP"
    oNet.AddWindowsPrinterConnection "\\MainServer\LibraryColor"
Changed line 76 from:
Example:
to:
Examples:
Added lines 78-81:
 [@ rundll32 printui.dll,PrintUIEntry /in /n\\MainServer\HPLaserJ @]

To remove a printer:
 [@ rundll32 printui.dll,PrintUIEntry /dn /n\\MainServer\HPLaserJ @]
Changed line 83 from:
->'''1.'''Log on to the workstation as an Administrator
to:
->'''1.''' Log on to the workstation as an Administrator
Changed line 85 from:
->'''2.'''Start->Run and enter “cmd” then press '''OK'''
to:
->'''2.''' Start->Run and enter “cmd” then press '''OK'''
Changed line 87 from:
->'''3.'''Type [@rundll32 printui.dll,PrintUIEntry /ga /n\\server\printer@] where ''server'' and ''printer'' make up the correct UNC path to the printer.
to:
->'''3.''' Type [@rundll32 printui.dll,PrintUIEntry /ga /n\\server\printer@] where ''server'' and ''printer'' make up the correct UNC path to the printer.
Changed line 89 from:
->'''4.'''Restart the spooler service with the commands:
to:
->'''4.''' Restart the spooler service with the commands:
Changed line 95 from:
->'''5.'''The printer should now be listed and available to all users that log onto the workstation.
to:
->'''5.''' The printer should now be listed and available to all users that log onto the workstation.
Changed line 98 from:
[- keywords: adding printers, login script, netlogon, printer setup, user profiles, network management, k12 network, academic networks -]
to:
[- keywords: adding printers, login script, netlogon, printer setup, user profiles, network management, k12 network, academic networks, school printers -]
Changed line 7 from:
There are a number of ways to address the 'roaming user' - 'changing printers' problem.  Option include:
to:
There are a number of ways to address the "roaming user - changing printers" problem.  Option include:
Changed line 18 from:
Writing an adaptive login script is a good solution for small to medium sized networks or networks where computers are named using a convention relevant to location.  This solution has been adopted by PaperCut users with small networks. Frank from Rowland Medical Library has contributed an [[LogonScriptCon2prt example]] that uses [[LogonScriptCon2prt con2prt]]. 
to:
Writing an adaptive login script is a good solution for small to medium sized networks or networks where computers are named using a '''convention related to location'''.  This solution has been adopted by PaperCut users with small networks. Frank from Rowland Medical Library has contributed an [[LogonScriptCon2prt example]] that uses [[LogonScriptCon2prt con2prt]]. 
Changed line 7 from:
There are a number of ways to address the roaming user/chaging printers problem.  Option include:
to:
There are a number of ways to address the 'roaming user' - 'changing printers' problem.  Option include:
Changed line 7 from:
There are a number of ways to address this problem.  Option include:
to:
There are a number of ways to address the roaming user/chaging printers problem.  Option include:

Comments

Share your findings and experience with other PaperCut users. Feel free to add comments and suggestions about this Knowledge Base article. Please don't use this for support requests.

Article last modified on April 27, 2017, at 02:05 PM
Printable View   |   Article History   |   Edit Article