LicenseServer.MaxAllowedPrinters Property |
Returns the maximum number of printers that can be used. Read-only.
LicenseServer.MaxAllowedPrinters
Version |
BarTender 9.01 or higher |
Edition |
Automation, Enterprise Automation |
'Declare a BarTender application variable
Dim btApp As BarTender.Application
'Create a new instance of BarTender
btApp = New BarTender.Application
'Set the BarTender application visible
btApp.Visible = True
'Return the maximum number of printers that
'can be connected to SLS
MessageBox.Show(btApp.LicenseServer.MaxAllowedPrinters.ToString)
'End the BarTender process
btApp.Quit(BarTender.BtSaveOptions.btDoNotSaveChanges)
// Declare a BarTender application variable
BarTender.Application btApp;
// Create a new instance of BarTender
btApp = new BarTender.Application();
// Set the BarTender application visible
btApp.Visible = true;
// Return the maximum number of printers that
// can be connected to SLS
MessageBox.Show(btApp.LicenseServer.MaxAllowedPrinters.ToString());
// End the BarTender process
btApp.Quit(BarTender.BtSaveOptions.btDoNotSaveChanges);