PosPrinterBase.CutPaperImpl Method (POS for .NET v1.14 SDK Documentation)

3/2/2014

Method implemented by the service object to process CutPaper requests.

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

Syntax

'Declaration
Protected Overridable Function CutPaperImpl ( _
    percentage As Integer _
) As PrintResults
protected virtual PrintResults CutPaperImpl (
    int percentage
)
protected:
virtual PrintResults^ CutPaperImpl (
    int percentage
)
protected PrintResults CutPaperImpl (
    int percentage
)
protected function CutPaperImpl (
    percentage : int
) : PrintResults

Parameters

  • percentage
    The percentage of paper to cut.

Remarks

Called by the PosPrinterBase.CutPaper method. By default, CutPaperImpl throws a NotImplemented exception, but if the printer supports a cut paper operation (CapRecPapercut = true), the service object must provide an implementation of CutPaperImpl that overrides the PosPrinterBase implementation to handle the physical cutting of the paper. The service object’s implementation should not call the base class implementation of the method.

For parameter definitions, see the underlying method.

CutPaperImpl should throw PosControlException exceptions for all 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