PosPrinterBase.PrintNormalImpl Method (POS for .NET v1.12 SDK Documentation)

2/27/2008

Method implemented by service objects to process PrintNormal requests.

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

Syntax

'Declaration
Protected MustOverride Function PrintNormalImpl ( _
    station As PrinterStation, _
    printerState As PrinterState, _
    data As String _
) As PrintResults
protected abstract PrintResults PrintNormalImpl (
    PrinterStation station,
    PrinterState printerState,
    string data
)
protected:
virtual PrintResults^ PrintNormalImpl (
    PrinterStation station, 
    PrinterState^ printerState, 
    String^ data
) abstract
protected abstract PrintResults PrintNormalImpl (
    PrinterStation station, 
    PrinterState printerState, 
    String data
)
protected abstract function PrintNormalImpl (
    station : PrinterStation, 
    printerState : PrinterState, 
    data : String
) : PrintResults

Parameters

  • printerState
    The current state of the printer object at the time of the call.
  • data
    The data to be printed.

Remarks

Called by the PosPrinterBase.PrintNormal method. This method must be implemented by the service object. For parameter definitions, see the underlying method.

If successful, PrintNormalImpl returns an instance of the PrintResults helper class. If a logo escape sequence is included in the print data, the service object should retrieve the logo string from the PosPrinterProperties.TopLogo and PosPrinterProperties.BottomLogo properties.

The service object should update the properties of the PrintResults class for any error conditions.

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

PosPrinterBase Class
PosPrinterBase Members
Microsoft.PointOfService.BaseServiceObjects Namespace
SetLogo