Share via


PointCardRW.RotatePrint Method

2/27/2008

Enters or exits rotated print mode.

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

Syntax

'Declaration
Public MustOverride Sub RotatePrint ( _
    rotation As Rotation _
)
public abstract void RotatePrint (
    Rotation rotation
)
public:
virtual void RotatePrint (
    Rotation rotation
) abstract
public abstract void RotatePrint (
    Rotation rotation
)
public abstract function RotatePrint (
    rotation : Rotation
)

Parameters

  • rotation
    Direction of rotation.

Remarks

The RotatePrint method designates the rotation of the printing area. After it calls this method, the application calls the PrintWrite method and the print data is printed in the direction specified by the RotatePrint call. If rotation is Normal, rotated print mode is exited.

Changing the rotation mode may also change the point card reader/writer's line height, line spacing, line width, and other metrics.

RotatePrint may throw a PosControlException exception with the following ErrorCodes:

Value

Meaning

Illegal

The point card reader/writer does not support the specified rotation.

Busy

This operation cannot be performed because asynchronous output is in progress.

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

PointCardRW Class
PointCardRW Members
Microsoft.PointOfService Namespace
Data Characters and Escape Sequences