Class PrintOption
Print options for a specific receipt type. Used for {@link Terminal#login} or {@link Terminal#loginAsync}. Immutable class.
Inheritance
System.Object
PrintOption
Namespace: SIX.TimApi
Assembly: TimApi.dll
Syntax
public class PrintOption : object
Constructors
PrintOption(Recipient)
Create PrintOption.
Declaration
public PrintOption(Recipient recipient)
Parameters
Type | Name | Description |
---|---|---|
Recipient | recipient |
Fields
m_recipient
Declaration
public Recipient m_recipient
Field Value
Type | Description |
---|---|
Recipient |
Properties
PrintFlags
Print flags
Declaration
public List<PrintFlag> PrintFlags { get; set; }
Property Value
Type | Description |
---|---|
List<PrintFlag> |
PrintFormat
Specifies the print format.
Declaration
public PrintFormat PrintFormat { get; set; }
Property Value
Type | Description |
---|---|
PrintFormat |
PrintWidth
Specifies the print width of the receipt (default = 40).
Declaration
public int PrintWidth { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Recipient
Specifies the print format.
Declaration
public Recipient Recipient { get; }
Property Value
Type | Description |
---|---|
Recipient |
Methods
ToString()
String representation.
Declaration
public override String ToString()
Returns
Type | Description |
---|---|
String |