Class RegisterReceiptPrintContext
Tlačové nastavenia
Inheritance
System.Object
RegisterReceiptPrintContext
Namespace: NineDigit.eKasa
Assembly: NineDigit.eKasa.dll
Syntax
public sealed class RegisterReceiptPrintContext : Object
Constructors
RegisterReceiptPrintContext(PrinterName)
Declaration
public RegisterReceiptPrintContext(PrinterName printerName)
Parameters
Type | Name | Description |
---|---|---|
PrinterName | printerName |
RegisterReceiptPrintContext(PrinterName, PrintingOptions)
Declaration
public RegisterReceiptPrintContext(PrinterName printerName, PrintingOptions options)
Parameters
Type | Name | Description |
---|---|---|
PrinterName | printerName | |
PrintingOptions | options |
Properties
Options
Možnosti tlače
Declaration
public PrintingOptions Options { get; }
Property Value
Type | Description |
---|---|
PrintingOptions |
PrinterName
Názov tlačiarne
Declaration
public PrinterName PrinterName { get; }
Property Value
Type | Description |
---|---|
PrinterName |
Examples
pos
Methods
CreateEmail(EmailPrintingOptions)
Vytvorí inštanciu tlačových nastavení pre vyhotovenie emailového dokladu.
Declaration
public static RegisterReceiptPrintContext CreateEmail(EmailPrintingOptions options)
Parameters
Type | Name | Description |
---|---|---|
EmailPrintingOptions | options |
Returns
Type | Description |
---|---|
RegisterReceiptPrintContext |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|
CreatePdf()
Vytvorí inštanciu tlačových nastavení pre vyhotovenie dokladu vo forme PDF súboru.
Declaration
public static RegisterReceiptPrintContext CreatePdf()
Returns
Type | Description |
---|---|
RegisterReceiptPrintContext |
CreatePos(PosPrintingOptions)
Vytvorí inštanciu tlačových nastavení pre tlač papierového dokladu.
Declaration
public static RegisterReceiptPrintContext CreatePos(PosPrintingOptions options = null)
Parameters
Type | Name | Description |
---|---|---|
PosPrintingOptions | options |
Returns
Type | Description |
---|---|
RegisterReceiptPrintContext |