LicenseServer.MaxAllowedPrinters Property

ClosedDescription

Returns the maximum number of printers that can be used. Read-only.

ClosedSyntax

LicenseServer.MaxAllowedPrinters

ClosedRequirements

Version

BarTender 9.01 or higher

Edition

Automation, Enterprise

ClosedVB.NET Example

'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 the BarTender Licensing Service

MessageBox.Show(btApp.LicenseServer.MaxAllowedPrinters.ToString)

'End the BarTender process

btApp.Quit(BarTender.BtSaveOptions.btDoNotSaveChanges)

ClosedC# Example

// 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 the BarTender Licensing Service

MessageBox.Show(btApp.LicenseServer.MaxAllowedPrinters.ToString());

// End the BarTender process

btApp.Quit(BarTender.BtSaveOptions.btDoNotSaveChanges);