Show / Hide Table of Contents

Class PosPrinterConfiguration

Nastavenia tlačiarne papierových dokladov.

Inheritance
System.Object
PosPrinterConfiguration
Implements
System.IEquatable<PosPrinterConfiguration>
IDeepCloneable<PosPrinterConfiguration>
IDeepCloneable
Namespace: NineDigit.eKasa
Assembly: NineDigit.eKasa.dll
Syntax
public sealed class PosPrinterConfiguration : Object, IEquatable<PosPrinterConfiguration>, IDeepCloneable<PosPrinterConfiguration>, IDeepCloneable

Constructors

PosPrinterConfiguration()

Vytvorí inštanciu s predvolenými hodnotami

Declaration
public PosPrinterConfiguration()

PosPrinterConfiguration(PosPrinterConfiguration)

Vytvorí kópiu nastavení

Declaration
public PosPrinterConfiguration(PosPrinterConfiguration configuration)
Parameters
Type Name Description
PosPrinterConfiguration configuration

Nastavenia, ktorých hodnoty budú skopírované

Properties

AllowInversion

Povolenie tlače inverzného textu na doklade. Predvolená hodnota je true

Declaration
public bool AllowInversion { get; set; }
Property Value
Type Description
System.Boolean

CodePageName

Názov sady znakov podľa IANA

Declaration
public string CodePageName { get; set; }
Property Value
Type Description
System.String

Názov kódovania podľa IANA. Predvolená hodnota je ibm852.

Examples

ibm852

CodePageTableNumber

Číslo tabuľky znakov.

Declaration
public byte CodePageTableNumber { get; set; }
Property Value
Type Description
System.Byte

Predvolená hodnota je 18.

Examples

18

Drawer

Nastavenia otvárania peňažnej zásuvky

Declaration
public PosPrinterDrawerConfiguration Drawer { get; }
Property Value
Type Description
PosPrinterDrawerConfiguration

FeedLinesCount

Počet prádnych riadkov vysunutých na konci dokladu, pred odrezaním papiera. Predvolená hodnota je 0.

Declaration
public int FeedLinesCount { get; set; }
Property Value
Type Description
System.Int32

Font

Písmo použité pri tlači textu na doklade.

Declaration
public EscPosFont Font { get; set; }
Property Value
Type Description
EscPosFont

CharactersPerLine

Počet znakov na riadok

Declaration
public uint CharactersPerLine { get; set; }
Property Value
Type Description
System.UInt32

Nenulový počet znakov na riadok. Predvolená hodnota je 42.

Examples

42

Logo

Nastavenia tlače loga

Declaration
public PosPrinterLogoConfiguration Logo { get; }
Property Value
Type Description
PosPrinterLogoConfiguration

QrCode

Nastavenia tlače QR kódu

Declaration
public PosPrinterQrCodeConfiguration QrCode { get; }
Property Value
Type Description
PosPrinterQrCodeConfiguration

UseCondensedFont

Použiť zhustenú tlač. V prípade povolenej zhustenej tlače sa používa menšie písmo.

Declaration
public bool UseCondensedFont { get; set; }
Property Value
Type Description
System.Boolean

Methods

DeepClone()

Declaration
public PosPrinterConfiguration DeepClone()
Returns
Type Description
PosPrinterConfiguration

Equals(PosPrinterConfiguration)

Declaration
public bool Equals(PosPrinterConfiguration other)
Parameters
Type Name Description
PosPrinterConfiguration other
Returns
Type Description
System.Boolean

Equals(PosPrinterConfiguration, PosPrinterConfiguration)

Declaration
public static bool Equals(PosPrinterConfiguration first, PosPrinterConfiguration second)
Parameters
Type Name Description
PosPrinterConfiguration first
PosPrinterConfiguration second
Returns
Type Description
System.Boolean

Equals(Object)

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
System.Object obj
Returns
Type Description
System.Boolean

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32

Explicit Interface Implementations

IDeepCloneable.DeepClone()

Declaration
object IDeepCloneable.DeepClone()
Returns
Type Description
System.Object

Implements

System.IEquatable<>
IDeepCloneable<T>
IDeepCloneable
In This Article
Na začiatok stránky Nine Digit, s.r.o. ©