Difference between revisions of "Cool Solution - Printer assignment"

From Univention Wiki

Jump to: navigation, search
Line 30: Line 30:
  
 
'''Windows'''
 
'''Windows'''
The '''printer-assignment.vbs''' script is found in the network on the domain-master in the file '''\\master/netlogon'''. It is sufficient to execute the file as the domain admisitrator. The sorting of the printers, as well as the setting of an default printer are processed automatically.
+
The '''printer-assignment.vbs''' script is found in the network on the domain-master in the file '''\\master\netlogon'''. It is sufficient to execute the file as the domain admisitrator. The sorting of the printers, as well as the setting of an default printer are processed automatically.
  
 
[[Category:Cool Solutions Repository]]
 
[[Category:Cool Solutions Repository]]
 
[[Category:EN]]
 
[[Category:EN]]

Revision as of 11:49, 16 August 2012

Note: Cool Solutions are articles documenting additional functionality based on Univention products. Not all of the shown steps in the article are covered by Univention Support. For questions about your support coverage contact your contact person at Univention before you want to implement one of the shown steps.

Also regard the legal notes at Terms of Service.
Note: This article is not yet reviewed.
Produktlogo UCS Version 3.0

This article is about the univention-printer-assignment package, as well as the functions of this package and the handling on the site of Windows Systems.

The package univention-printer-assignment is available in the Cool Solutions Repository for UCS 3.0 and can be installed after activating the repository:

 
univention-install univention-printer-assignment

After installation, printers can be assigned to groups in the group administration in the Advanced settings tab. The printer definition will be distributed to the corresponding Microsoft Windows systems via Netlogon.

Setting the debug variable on yes, by using the graphical interface

For the univention-printer-assignment package are variables available, that can be set for testing the functions of this package.

Debug-mode To enter the Debug-mode in the graphical interface, you have to search for *assignment* and set the variable printer/assignment/debug, just by clicking at the variable an change the previous entry to yes.
To enter the debug-mode in the command shell, the following command is needed

usr set printer/assignment/debug=yes

Removeall

Setting the removeall variable on yes, by using the graphical interface

Another feature of the univention-printer-assigment package is the removeall variable. If this variable is set and the printer-assignment.vbs will be executed all printers in the network will be deledet from the printer overview and new printers will be added in the printer overview.
To activate this variable over the grafical interface, you have to search in the Univention Directory Registry for *assignment* and set the printer/assignment/removeall, just by clicking at the variable an change the previous entry to yes.
To set the variable in the command shell, the following command is needed.

ucr set printer/assigment/removeall=yes

Windows The printer-assignment.vbs script is found in the network on the domain-master in the file \\master\netlogon. It is sufficient to execute the file as the domain admisitrator. The sorting of the printers, as well as the setting of an default printer are processed automatically.

Personal tools