Class PrintOption
Print options for a specific receipt type. Used for {@link Terminal#login} or {@link Terminal#loginAsync}. Immutable class.
Inheritance
System.Object
PrintOption
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: SIX.TimApi
Assembly: TimApi.dll
Syntax
public class PrintOption
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 |
---|---|
System.Collections.Generic.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 |
---|---|
System.String |
Overrides
System.Object.ToString()