PrinterProperties Class

Namespace: Microsoft.PointOfService.BaseServiceObjects
Assembly: Microsoft.PointOfService.ControlBase (in microsoft.pointofservice.controlbase.dll)

Usage

'Usage
Dim printerProperties1 As PrinterProperties

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.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, and Windows 2000

Target Platforms

See Also

Reference

PrinterProperties Members
Microsoft.PointOfService.BaseServiceObjects Namespace