With the Precedence Login Script, printers are centrally managed and the most appropriate printer(s) selected at login time. This is done by using the name of the computer you are logging onto (it is aware of thin-client networks and uses the client name, not the application server name). The mapping between name and printer(s) is defined in a file called printers.csv which lives in the NETLOGON share on any of your domain controllers.
The format of the printers.csv file is very simple. Each field is separated by commas (no quotes are used). The first field is the name of the client and all subsequent fields are the printers to connect to. The first printer specified will be used as the default. The client name can be wildcarded by using a
* character (e.g. room31-*). The file is read from top to bottom and once a clientname is matched, no further checking will be done. Therefore you must ensure that you do not put more specific entries after wildcarded entries (e.g. if you have a * catch-all, any lines after that will be ignored).
The names of the printers correspond to shared printers on a print-server. The print server is defined in the Login Script. If a particular printer is on a different print-server, then you can specify this by putting
\\otherserver\ at the start of the printer name.
We recommend editing the file using Notepad. If you use a spreadsheet (e.g. Microsoft Excel), it will probably add quotes around the printer names.
An example file:
room31-01,room31-colour,StaffRoom room31-*,room31-colour room32-*,room32-colour admin-*,\\adminserver\photocopier *,ICT-colour
room31-01 will be given access to two printers with room31-colour as the default. All other computers in Room 31 will only have access to room31-colour. Similarly, computers in Room 32 will only have access to room32-colour. Admin computers will print to a printer on a different server. Any other computers will print to a catch-all printer.
N.B. You may need to ensure that your computers have the relevant drivers installed for all the printers they will connect to. This can be easily done by logging in as administrator and connecting to all the printers on the print server. Within Citrix XenApp, you can set up automated print driver replication across your application servers.