PrinterProperties Class
2/27/2008
A helper class that simplifies the retrieval and setting of property values for printer devices.
Namespace: Microsoft.PointOfService.BaseServiceObjects
Assembly: Microsoft.PointOfService.ControlBase (in microsoft.pointofservice.controlbase.dll)
Syntax
'Declaration
Public Class PrinterProperties
Inherits CommonProperties
public class PrinterProperties : CommonProperties
public ref class PrinterProperties : public CommonProperties
public class PrinterProperties extends CommonProperties
public class PrinterProperties extends CommonProperties
Remarks
PosPrinterProperties is a helper class created by POS for .NET to simplify the retrieval and setting of property values for printer devices. PosPrinterProperties inherits from the PosCommonProperties class. The protected Properties property of PosPrinterBase class returns an instance of PosPrinterProperties. The service object can manage the value of a property using the syntax Properties.<propertyName>. PosPrinterProperties bypasses state validation—in other words, the service object can use PosPrinterProperties to set values for properties even though the application hasn’t opened, claimed, or enabled the printer device.
PosPrinterProperties class also includes the following properties that are beyond the scope of the Unified POS specification: TopLogo, BottomLogo, RecCoverOpen, JrnCoverOpen, and SlpCoverOpen.
Inheritance Hierarchy
System.Object
Microsoft.PointOfService.BasicServiceObjects.CommonProperties
Microsoft.PointOfService.BaseServiceObjects.PrinterProperties
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread-safe. Any instance members are not guaranteed to be thread-safe.
See Also
Reference
PrinterProperties Members
Microsoft.PointOfService.BaseServiceObjects Namespace