ElzabDr

public final class ElzabDr

Constructors

Link copied to clipboard
public ElzabDr ElzabDr(OutputStream outPut, InputStream input)

Types

Link copied to clipboard
public class Companion

return library version

Functions

Link copied to clipboard
public final Unit addCurrencyPayment(Integer number, String foreignPaymentName, Integer paidInForeignCurrency, Integer exchangeRate, Integer QAC, PaymentOrChange paymentOrChange, Integer foreignPaymentEquiv, PaymentSetOrAddOrSubtract paymentSetOrAddOrSub, String paymentName)

payment in foreign currency

Link copied to clipboard

send discount to already printed automaticGrantedToPosition (subtotal)

Link copied to clipboard
public final Unit addDiscountToAnyItem(String name, Integer value, TaxRateSymbol taxRate, String description)

send discount to any already printed position

Link copied to clipboard
public final Unit addDiscountToSubtotal(Integer discountValue, AmountOrPercent type, TaxRateSymbol taxRate, String description)

send discount to already printed automaticGrantedToPosition

Link copied to clipboard
public final Unit addInvoiceInformation(String drawerName, Array<String> drawerInfo, String purchaserName, Array<String> purchaserInfo, String paymentForm, String dateOfMaturity)

print additional information on the invoice

Link copied to clipboard
@Deprecated(message = "use addCurrencyPayment() instead", replaceWith = @ReplaceWith(imports = {"pl.com.elzab.stx.elzabdr.ElzabDr"}, expression = "addCurrencyPayment()"))
public final Unit additionalCurrencyPayment(Integer number, Integer paymentOrChange, String foreignPaymentName, Integer paidInForeignCurrency, Integer exchangeRate, Integer QAC, Integer foreignPaymentEquiv)
Link copied to clipboard
public final Unit addNip(String NIP)

set purchaser NIP

Link copied to clipboard
public final Unit addNonfiscalC128Barcode(String code)

print on nonfiscal printout C128 barcode

print C128 barcode after fiscal logo

Link copied to clipboard
public final Unit addNonfiscalLine(PrinterLine printerLine)

print nonfiscal text

Link copied to clipboard

additional line after fiscal logo with one text - aligned to left, right or justified

Link copied to clipboard
@Deprecated(message = "use addNonfiscalLine() instead", replaceWith = @ReplaceWith(imports = {"pl.com.elzab.stx.elzabdr.ElzabDr"}, expression = "addNonfiscalLine()"))
public final Unit addNonFiscalPrintoutLine(String text)
Link copied to clipboard
public final Unit addNonfiscalQrCode(String QrCode)

print nonfiscal QR code

Link copied to clipboard

print QR code after fiscal logo

Link copied to clipboard
public final Unit addPackageItem(PackageItem packageItemToSell)

sale, return or correction of item

Link copied to clipboard
public final Unit addPayment(PaymentData paymentData)

public final Unit addPayment(Integer paymentNumber, String paymentName, Integer paymentValue, PaymentOrChange paymentOrChange, PaymentSetOrAddOrSubtract paymentSetOrAddOrSub, PaymentKind paymentKindONLINE)

save payment details on printer and print them at the end of automaticGrantedToReceipt

Link copied to clipboard
public final Unit addPurchaserInformation(String NIP, String address)

set purchaser NIP and address to print

Link copied to clipboard
public final Unit addReceiptItem(ReceiptItem receiptItem, DiscountSurchargeInfo discountInfo)
public final Unit addReceiptItem(String name, TaxRateSymbol taxRate, Array<String> additionalInformation, Integer quantity, Integer MP, String unit, Integer price, Integer value, DiscountSurchargeInfo discountInfo)

add item to automaticGrantedToReceipt

Link copied to clipboard
public final Unit addSurchargeToAnyItem(String name, Integer value, TaxRateSymbol taxRate, String description)

send surcharge to any already printed position

Link copied to clipboard
public final Unit addSurchargeToSubtotal(Integer discountValue, AmountOrPercent type, TaxRateSymbol taxRate, String description)

send discount to already printed automaticGrantedToPosition

Link copied to clipboard
public final Unit cancelInvoice()

cancel automaticGrantedToReceipt or invoice

Link copied to clipboard
@Deprecated(message = "use readCancellationReasonNumber() instead", replaceWith = @ReplaceWith(imports = {"pl.com.elzab.stx.elzabdr.ElzabDr"}, expression = "readCancellationReasonNumber()"))
public final Integer cancellationReasonNumber()
Link copied to clipboard
public final Unit cancelReceipt()

cancel automaticGrantedToReceipt or invoice

Link copied to clipboard
public final Boolean canPrint()

check if printer can print, to check problem use readStatusBit()

Link copied to clipboard
@Deprecated(message = "use writeTime() instead", replaceWith = @ReplaceWith(imports = {"pl.com.elzab.stx.elzabdr.ElzabDr"}, expression = "writeTime(hour,min,sec)"))
public final Unit changeTime(Integer hour, Integer min, Integer sec)
Link copied to clipboard

check the last tax rate of sold goods (please notice that last tax rate is after the previous one)

Link copied to clipboard

check the previous tax rate of sold goods (please notice that previous tax rate is before the last one)

Link copied to clipboard

check if article isn't blocked and can be sold

Link copied to clipboard

check if fiscal printout can be open

Link copied to clipboard
public final Unit closeInvoice(Integer discountValue, AmountOrPercent amountOrPercent, DiscountOrSurcharge type)

if discountValue id>0 send discount/surcharge and close invoice

Link copied to clipboard

end nonfiscal printout

Link copied to clipboard
public final Unit closeReceipt(Integer discountValue, AmountOrPercent amountOrPercent, DiscountOrSurcharge type)

if discountValue id>0 send discount/surcharge and close automaticGrantedToReceipt

Link copied to clipboard
@Deprecated(message = "use printArticleReport() instead", replaceWith = @ReplaceWith(imports = {"pl.com.elzab.stx.elzabdr.ElzabDr"}, expression = "printArticleReport()"))
public final Unit controlPrintout(Array<String> articles)
Link copied to clipboard
@Deprecated(message = "use printDailyReport() instead", replaceWith = @ReplaceWith(imports = {"pl.com.elzab.stx.elzabdr.ElzabDr"}, expression = "printDailyReport(unconditionally)"))
public final Unit dailyReport(Boolean unconditionally)
Link copied to clipboard
@Deprecated(message = "use readDailyReportNumber() instead", replaceWith = @ReplaceWith(imports = {"pl.com.elzab.stx.elzabdr.ElzabDr"}, expression = "readDailyReportNumber()"))
public final Integer dailyReportNumber()
Link copied to clipboard
@Deprecated(message = "use readDeviceType() instead", replaceWith = @ReplaceWith(imports = {"pl.com.elzab.stx.elzabdr.ElzabDr"}, expression = "readDeviceType()"))
public final String deviceName()
Link copied to clipboard
@Deprecated(message = "use printEJPrintouts() instead", replaceWith = @ReplaceWith(imports = {"pl.com.elzab.stx.elzabdr.ElzabDr"}, expression = "printEJPrintouts()"))
public final Unit EJPrintouts(PrintoutsFilter printoutType, Integer reportNumber, Integer beginNumber, Integer endNumber)
Link copied to clipboard
@Deprecated(message = "use readErrorDescription() instead", replaceWith = @ReplaceWith(imports = {"pl.com.elzab.stx.elzabdr.ElzabDr"}, expression = "readErrorDescription()"))
public final String errorMessage(Integer errorNumber)
Link copied to clipboard
@Deprecated(message = "use addNonfiscalLineUnderFiscalPrintout() instead", replaceWith = @ReplaceWith(imports = {"pl.com.elzab.stx.elzabdr.ElzabDr"}, expression = "addNonfiscalLineUnderFiscalPrintout(lineNumber)"))
public final Unit fillLines(String text)
Link copied to clipboard
@Deprecated(message = "use addPayment() instead", replaceWith = @ReplaceWith(imports = {"pl.com.elzab.stx.elzabdr.ElzabDr"}, expression = "addPayment()"))
public final Unit fillPayment(Integer paymentNumber, String paymentName, Integer paymentValue, PaymentOrChange paymentOrChange, PaymentSetOrAddOrSubtract paymentSetOrAddOrSub)
Link copied to clipboard
public final Charset getCharset()
Link copied to clipboard
Link copied to clipboard
public final Boolean getLogOnConsole()
Link copied to clipboard
Link copied to clipboard
public final Integer getTimeOut()
Link copied to clipboard
public final Unit initiatingCard()

initiates the electronic copy card

Link copied to clipboard
@Deprecated(message = "use addInvoiceInformation() instead", replaceWith = @ReplaceWith(imports = {"pl.com.elzab.stx.elzabdr.ElzabDr"}, expression = "addInvoiceInformation()"))
public final Unit invoiceInformation(String drawerName, Array<String> drawerInfo, String purchaserName, Array<String> purchaserInfo, String paymentForm, String dateOfMaturity)
Link copied to clipboard
public final Integer invoiceNumber()
Link copied to clipboard
@Deprecated(message = "use readCodePage() instead", replaceWith = @ReplaceWith(imports = {"pl.com.elzab.stx.elzabdr.ElzabDr"}, expression = "readCodePage()"))
public final Boolean isCodePage1250()

check if code page is set to 1250

Link copied to clipboard
public final Boolean isOnlineDevice()

check if device is fom online generation, if yes return true, else false

Link copied to clipboard

return if printer is in fiscal mode. Only online device

Link copied to clipboard
public final Boolean isReceiptEnd()

chek if receipt is saved. Using after ReceiptClose. Only online devices

Link copied to clipboard
public final Boolean isReceiptOpen()

check if receipt is open. Only online devices

Link copied to clipboard
public final Boolean isUserLoggedIn()

check if user is logged in. Only virtual devices

Link copied to clipboard
@Deprecated(message = "use printLockedArticlesReport() instead", replaceWith = @ReplaceWith(imports = {"pl.com.elzab.stx.elzabdr.ElzabDr"}, expression = "printLockedArticlesReport()"))
public final Unit lockedArticlesReport()
Link copied to clipboard
public final Unit loginUser(String login, String password)

login user, Work only with virtual device

Link copied to clipboard
public final Unit logoutUser()

logout user, Work only with virtual device

Link copied to clipboard
public final Unit makeTaxiReceipt(TaxiData taxiData, PaymentData paymentData, String NIP, OutputStream outPut, Boolean printOnPaper)

make taxi receipt and read e-receipt if output set

Link copied to clipboard
public final Unit makeTaxiReceiptWithDiscountOrSurcharge(TaxiData taxiData, PaymentData paymentData, String NIP, OutputStream outPut, Boolean printOnPaper, DiscountSurchargeInfo discountSurcharge)

make taxi receipt and read e-receipt if output set

Link copied to clipboard
@Deprecated(message = "use printMonthlyReport() instead", replaceWith = @ReplaceWith(imports = {"pl.com.elzab.stx.elzabdr.ElzabDr"}, expression = "printMonthlyReport()"))
public final Unit monthlyReport(Boolean fiscal, Integer year, Integer month)
Link copied to clipboard
@Deprecated(message = "use openNonfiscalPrintout() instead", replaceWith = @ReplaceWith(imports = {"pl.com.elzab.stx.elzabdr.ElzabDr"}, expression = "openNonfiscalPrintout()"))
public final Unit nonFiscalPrintoutBegin()
Link copied to clipboard
@Deprecated(message = "use closeNonfiscalPrintout() instead", replaceWith = @ReplaceWith(imports = {"pl.com.elzab.stx.elzabdr.ElzabDr"}, expression = "closeNonfiscalPrintout()"))
public final Unit nonFiscalPrintoutEnd()
Link copied to clipboard
@Deprecated(message = "use printPeriodicReport() instead", replaceWith = @ReplaceWith(imports = {"pl.com.elzab.stx.elzabdr.ElzabDr"}, expression = "printPeriodicReport()"))
public final Unit numberReport(Integer fiscal, Integer firstNumber, Integer lastNumber)
Link copied to clipboard
public final Unit openDrawer()

open drawer

Link copied to clipboard
public final Unit openInvoice(String number, String type, Integer copiesNumber, Boolean printSignature)

open invoice

Link copied to clipboard
public final Unit openNonfiscalPrintout()

open nonfiscal printout

Link copied to clipboard
public final Unit openReceipt()
public final Unit openReceipt(Boolean printOnPaper)

open receipt in fiscal printer

Link copied to clipboard
public final Unit openTaxiReceipt(TaxiData data, Boolean printOnPaper)

Open taxi receipt

Link copied to clipboard
@Deprecated(message = "use addPackageItem() instead", replaceWith = @ReplaceWith(imports = {"pl.com.elzab.stx.elzabdr.ElzabDr"}, expression = "addPackageItem()"))
public final Unit packageItem(Integer param, Integer number, Integer quantity, Integer singleItemPrice)
Link copied to clipboard
public final Unit powerOffDevice(Boolean reset)

turnoff or reset device

Link copied to clipboard
public final Unit printArticleReport(Array<String> articles)

print goods report

Link copied to clipboard
@Deprecated(message = "use canPrint() or waitUntilPrintoutIsPossible instead", replaceWith = @ReplaceWith(imports = {"pl.com.elzab.stx.elzabdr.ElzabDr"}, expression = "canPrint()"))
public final Boolean printControl(Integer beforePrinting)
Link copied to clipboard
public final Unit printDailyReport(Boolean unconditionally)

print daily report

Link copied to clipboard
public final Unit printEJPrintouts(ReceiptOrInvoice receiptOrInvoice, PrintoutsFilter filter, Integer lowerRange, Integer upperRange)
public final Unit printEJPrintouts(Integer startNumber, Integer endNumber, PrintoutsFilter filter, Integer lowerRange, Integer upperRange)

print EjPrintouts

public final Unit printEJPrintouts(DateTimeType startDate, DateTimeType endDate, PrintoutsFilter filter, Integer lowerRange, Integer upperRange)

print EjPrintouts, only online devices

Link copied to clipboard
public final Unit printEJPrintoutsOffline(ReceiptOrInvoice receiptOrInvoice, PrintoutsFilter filter, Integer lowerRange, Integer upperRange)
public final Unit printEJPrintoutsOffline(Integer startNumber, Integer endNumber, PrintoutsFilter filter, Integer lowerRange, Integer upperRange)
public final Unit printEJPrintoutsOffline(DateTimeType startDate, DateTimeType endDate, PrintoutsFilter filter, Integer lowerRange, Integer upperRange)

print EjPrintouts

Link copied to clipboard
@Deprecated(message = "use printStatusReport() instead", replaceWith = @ReplaceWith(imports = {"pl.com.elzab.stx.elzabdr.ElzabDr"}, expression = "printStatusReport()"))
public final Unit printerStatusReport()
Link copied to clipboard

print report of blocked articles

Link copied to clipboard
public final Unit printMonthlyReport(Boolean fiscal, Integer year, Integer month)

print monthly report

Link copied to clipboard
public final Unit printPeriodicReport(PeriodicReportKind kind, Integer startNumber, Integer endNumber)

print periodic report for a given range of fiscal days

public final Unit printPeriodicReport(PeriodicReportKind kind, DateTimeType startDate, DateTimeType endDate)

print report for a given time period

Link copied to clipboard
@Deprecated(message = "use resumePrinting() instead", replaceWith = @ReplaceWith(imports = {"pl.com.elzab.stx.elzabdr.ElzabDr"}, expression = "resumePrinting()"))
public final Unit printResume()
Link copied to clipboard
public final Unit printStatusReport()

print status report

Link copied to clipboard
public final Unit printSubtotal(SubtotalPrintKind printKind)

print subtotal on automaticGrantedToReceipt or display

Link copied to clipboard

print tax financial report (similar to daily report but not reset)

Link copied to clipboard
public final String readAdditionalUser(Integer userNo)

read additional user login. Work only with virtual device

Link copied to clipboard
public final Integer readAmountCounter(TaxRateSymbol taxRate, AmountCountersKind amountCountersKind)

read summary of selling (gross), for current fiscal day, for given tax rate

Link copied to clipboard

read Bluetooth bit settings, return only that settings which are available in printer

Link copied to clipboard

read Bluetooth settings, return only that settings which are available in printer

Link copied to clipboard

read buzzer bit settings, return only that settings which are available in printer

Link copied to clipboard

request of last error number

Link copied to clipboard
public final Integer readClerkCounters(ClerkCounterTotal clerkTotal)
public final Integer readClerkCounters(ClerkCounterForeignCurrency type, Integer foreignCurrencyNumber)
public final Integer readClerkCounters(ClerkCounterRegisteredCurrency type, Integer paymentMethodNumber)

read clerk counters

Link copied to clipboard

read clerk start shift time

Link copied to clipboard
@Deprecated(message = "use readTime() instead", replaceWith = @ReplaceWith(imports = {"pl.com.elzab.stx.elzabdr.ElzabDr"}, expression = "readTime()"))
public final DateTimeType readClock()
Link copied to clipboard
public final CodePage readCodePage()

read code page set on the device

Link copied to clipboard

read customer display bit settings, return only that settings which are available in printer

Link copied to clipboard

read customer display settings, return only that settings which are available in printer

Link copied to clipboard

read current daily report number

Link copied to clipboard
public final String readDeviceNumber(Boolean temporary)

read device number

Link copied to clipboard
public final DeviceInfo readDeviceType()

read device information

Link copied to clipboard

read energy bit settings, return only that settings which are available in printer

Link copied to clipboard

read energy settings, return only that settings which are available in printer

Link copied to clipboard
public final String readEReceipt(Integer receiptNo, Integer fiscalDayNo)
public final Unit readEReceipt(OutputStream outPut, Integer receiptNo, Integer fiscalDayNo)

read e-receipt, if receiptNo and fiscalDayNo are null return last one

Link copied to clipboard
public final String readErrorDescription(Integer errorNumber)

get error description from error number

Link copied to clipboard

read Ethernet bit settings, return only that settings which are available in printer

Link copied to clipboard

read Ethernet settings, return only that settings which are available in printer

Link copied to clipboard

read external display bit settings, return only that settings which are available in printer

Link copied to clipboard

read external display settings, return only that settings which are available in printer

Link copied to clipboard
public final PrinterLine readFooterLine(Integer lineNumber)

read footer

Link copied to clipboard

read hardware and software id. Work only with virtual device

Link copied to clipboard

reading the header part with the address, only online devices

Link copied to clipboard
public final PrinterLine readHeaderLine(Integer lineNumber)

read header

Link copied to clipboard

reading the header part with the name, only online devices

Link copied to clipboard

reading the header part with the nip, only online devices

Link copied to clipboard

read language settings, return only that settings which are available in printer

Link copied to clipboard

read value of sold items in certain tax rate

Link copied to clipboard

read operator display bit settings, return only that settings which are available in printer

Link copied to clipboard

read operator display settings, return only that settings which are available in printer

Link copied to clipboard
public final String readOperatorName(Boolean isTemporary)

read operator name

Link copied to clipboard

read printing settings, return only that settings which are available in printer

Link copied to clipboard
public final Integer readQuantityCounter(QuantityCounterKind quantityCounterKind)

read quantity counter

Link copied to clipboard
public final String readReceipt(Integer receiptNo, Integer fiscalDayNo)
public final Unit readReceipt(OutputStream outPut, Integer receiptNo, Integer fiscalDayNo)

read receipt, if receiptNo and fiscalDayNo are null return last one

Link copied to clipboard

read RS bit settings, return only that settings which are available in printer

Link copied to clipboard
public final Map<String, String> readRsSettings()

read RS settings, return only that settings which are available in printer

Link copied to clipboard
@Deprecated(message = "use readAmountCounter() instead", replaceWith = @ReplaceWith(imports = {"pl.com.elzab.stx.elzabdr.ElzabDr"}, expression = "readAmountCounter()"))
public final Integer readSellTotal(TaxRateSymbol taxRate)

read summary of selling (gross), for current fiscal day, for given tax rate

Link copied to clipboard
public final Boolean readStatusBit(Integer groupNumber, Integer bitNumber)

read status bit

Link copied to clipboard
public final Boolean readStatusBitOnline(Integer groupNumber, Integer bitNumber)

read status bit. Only online devices

Link copied to clipboard
public final DateTimeType readTime()

read date from printer

Link copied to clipboard

read timeout bit settings, return only that settings which are available in printer

Link copied to clipboard

read timeout settings, return only that settings which are available in printer

Link copied to clipboard
public final Integer readTotal()
Link copied to clipboard
public final String readUniqueNumber()

read number of device

Link copied to clipboard

read USB bit settings, return only that settings which are available in printer

Link copied to clipboard

read USB host bit settings, return only that settings which are available in printer

Link copied to clipboard
public final Map<String, String> readUsbSettings()

read USB settings, return only that settings which are available in printer

Link copied to clipboard
@Deprecated(message = "use readHeaderLine() instead", replaceWith = @ReplaceWith(imports = {"pl.com.elzab.stx.elzabdr.ElzabDr"}, expression = "readHeaderLine(lineNumber)"))
public final PrinterLine readUser(Integer lineNumber)
Link copied to clipboard

read VAT for tax rate

Link copied to clipboard

read Wi-Fi bit settings, return only that settings which are available in printer

Link copied to clipboard
public final Map<String, String> readWifiSettings()

read Wi-Fi settings, return only that settings which are available in printer

Link copied to clipboard
@Deprecated(message = "use openReceipt() instead", replaceWith = @ReplaceWith(imports = {"pl.com.elzab.stx.elzabdr.ElzabDr"}, expression = "openReceipt()"))
public final Unit receiptBegin()
Link copied to clipboard
@Deprecated(message = "use cancelReceipt() instead", replaceWith = @ReplaceWith(imports = {"pl.com.elzab.stx.elzabdr.ElzabDr"}, expression = "cancelReceipt()"))
public final Unit receiptCancel()
Link copied to clipboard
@Deprecated(message = "use checkIfFiscalPrintoutCanBeOpen() instead", replaceWith = @ReplaceWith(imports = {"pl.com.elzab.stx.elzabdr.ElzabDr"}, expression = "checkIfFiscalPrintoutCanBeOpen()"))
public final Integer receiptConditions(FiscalPrints kind)
Link copied to clipboard
@Deprecated(message = "use closeReceipt() instead", replaceWith = @ReplaceWith(imports = {"pl.com.elzab.stx.elzabdr.ElzabDr"}, expression = "closeReceipt()"))
public final Unit receiptEnd(Integer discountValue, Boolean isPercent, DiscountOrSurcharge type)
Link copied to clipboard
@Deprecated(message = "use closeReceipt() instead", replaceWith = @ReplaceWith(imports = {"pl.com.elzab.stx.elzabdr.ElzabDr"}, expression = "closeReceipt()"))
public final Unit receiptEndEx(Integer value, Integer typRabatuNarzutu)
Link copied to clipboard
@Deprecated(message = "use closeReceipt(), readAmountCounter() and sendDiscount() instead", replaceWith = @ReplaceWith(imports = {"pl.com.elzab.stx.elzabdr.ElzabDr"}, expression = "closeReceipt()"), level = DeprecationLevel.WARNING)
public final Unit receiptEndEx2(Integer value, DiscountOrSurcharge discountOrSurcharge, AmountOrPercent percentOrAmount, Integer taxRateA, Integer taxRateB, Integer taxRateC, Integer taxRateD, Integer taxRateE, Integer taxRateF, Integer taxRateG)
Link copied to clipboard
public final Unit receiptItem(ReceiptItem itemToSell, NormalOrCorrection sellOrCorrection, DiscountSurchargeInfo discountInfo)

add or cancel item to automaticGrantedToReceipt

@Deprecated(message = "use addReceiptItem() or removeReceiptItem() instead", replaceWith = @ReplaceWith(imports = {"pl.com.elzab.stx.elzabdr.ElzabDr"}, expression = "addReceiptItem()"))
public final Unit receiptItem(NormalOrCorrection toSell, String name, TaxRateSymbol taxRate, Array<String> additionalInformation, Integer quantity, Integer MP, String unit, Integer price, Integer value)
Link copied to clipboard
public final Integer receiptNumber()

read last automaticGrantedToReceipt number

Link copied to clipboard
@Deprecated(message = "use addPurchaserInformation() or addNip() instead", replaceWith = @ReplaceWith(imports = {"pl.com.elzab.stx.elzabdr.ElzabDr"}, expression = "addPurchaserInformation(lineNumber)"))
public final Unit receiptPurchaserNIP(String NIP, String address)
Link copied to clipboard
public final Unit removeReceiptItem(ReceiptItem receiptItem, DiscountSurchargeInfo discountInfo)
public final Unit removeReceiptItem(String name, TaxRateSymbol taxRate, Array<String> additionalInformation, Integer quantity, Integer MP, String unit, Integer price, Integer value, DiscountSurchargeInfo discountInfo)

remove item from automaticGrantedToReceipt

Link copied to clipboard
public final Unit resumePrinting()

resume printing

Link copied to clipboard
public final List<String> searchEJPrintouts(ReceiptOrInvoice receiptOrInvoice, PrintoutsFilter filter, Integer lowerRange, Integer upperRange)
public final List<String> searchEJPrintouts(Integer startNumber, Integer endNumber, PrintoutsFilter filter, Integer lowerRange, Integer upperRange)

search EjPrintouts

public final List<String> searchEJPrintouts(DateTimeType startDate, DateTimeType endDate, PrintoutsFilter filter, Integer lowerRange, Integer upperRange)

search EjPrintouts, only online devices

Link copied to clipboard
public final List<String> searchEJPrintoutsOffline(ReceiptOrInvoice receiptOrInvoice, PrintoutsFilter filter, Integer lowerRange, Integer upperRange)
public final List<String> searchEJPrintoutsOffline(Integer startNumber, Integer endNumber, PrintoutsFilter filter, Integer lowerRange, Integer upperRange)
public final List<String> searchEJPrintoutsOffline(DateTimeType startDate, DateTimeType endDate, PrintoutsFilter filter, Integer lowerRange, Integer upperRange)

print EjPrintouts

Link copied to clipboard
@Deprecated(message = "use addDiscountOrSurchargeToSubtotal() instead", replaceWith = @ReplaceWith(imports = {"pl.com.elzab.stx.elzabdr.ElzabDr"}, expression = "addDiscountOrSurchargeToSubtotal()"))
public final Unit sendDiscount(Integer discountValue, AmountOrPercent type, DiscountOrSurcharge discountOrSurcharge, String description, NormalOrCorrection normalOrCorrection, TaxRateSymbol taxRate)
Link copied to clipboard
public final Unit setCharset(Charset charset)
Link copied to clipboard
public final Unit setLogBuffer(BufferedWriter logBuffer)
Link copied to clipboard
public final Unit setLogOnConsole(Boolean logOnConsole)
Link copied to clipboard
public final Unit setOldCodePageParsing(@Deprecated(message = "") Boolean oldCodePageParsing)
Link copied to clipboard
public final Unit setTimeOut(Integer timeOut)
Link copied to clipboard
public final Unit settleAdvance(String productName, Integer amount, TaxRateSymbol taxSymbol)

settle advance

Link copied to clipboard
@Deprecated(message = "use writeVat() instead", replaceWith = @ReplaceWith(imports = {"pl.com.elzab.stx.elzabdr.ElzabDr"}, expression = "writeVat()"))
public final Unit setVAT(Pair<TaxRateValueKind, Integer> A, Pair<TaxRateValueKind, Integer> B, Pair<TaxRateValueKind, Integer> C, Pair<TaxRateValueKind, Integer> D, Pair<TaxRateValueKind, Integer> E, Pair<TaxRateValueKind, Integer> F, Pair<TaxRateValueKind, Integer> G)
Link copied to clipboard
public final Unit waitUntilPrintoutIsPossible(Integer timeOut)

wait until printer will be available to print

Link copied to clipboard
public final Unit waitUntilReceiptEn(Integer timeOut)

Wait until receipt end. Using after ReceiptClose

Link copied to clipboard
public final Unit writeAdditionalUser(Integer userNo, String userLogin)

write additional user. Work only with virtual device

Link copied to clipboard
public final Unit writeBluetoothBitSettings(Boolean bluetoothOn, Boolean bluetoothMaster)

save Bluetooth bit settings to printer, parameter should be null if the printer does not support the settings or it shouldn't be changed

Link copied to clipboard
public final Unit writeBluetoothBitSettingsOffline(Boolean bluetoothOn, Boolean bluetoothMaster)

save Bluetooth bit settings to printer, parameter should be null if the printer does not support the settings or it shouldn't be changed

Link copied to clipboard
public final Unit writeBluetoothSettings(String bluetoothPairDeviceAddress, String bluetoothPin, String transmissionProtocol)

save Bluetooth settings to printer, parameter should be null if the printer does not support the settings or it shouldn't be changed

Link copied to clipboard
public final Unit writeBluetoothSettingsOffline(String bluetoothPairDeviceAddress, String bluetoothPin, String transmissionProtocol)

save Bluetooth settings to printer, parameter should be null if the printer does not support the settings or it shouldn't be changed

Link copied to clipboard
public final Unit writeBuzzerBitSettings(Boolean beepOnKeyPressed, Boolean beepOnError, Boolean beepOnOk, Boolean beepOnLowAccumulator)

save bit buzzer settings to printer, parameter should be null if the printer does not support the settings or it shouldn't be changed

Link copied to clipboard
public final Unit writeBuzzerBitSettingsOffline(Boolean beepOnKeyPressed, Boolean beepOnError, Boolean beepOnOk, Boolean beepOnLowAccumulator)

save bit buzzer settings to printer, parameter should be null if the printer does not support the settings or it shouldn't be changed

Link copied to clipboard
public final Unit writeCustomerDisplayBitSettings(Boolean reduceBacklightIntensity)

save customer display bit settings to printer, parameter should be null if the printer does not support the settings or it shouldn't be changed

Link copied to clipboard
public final Unit writeCustomerDisplayBitSettingsOffline(Boolean reduceBacklightIntensity)

save customer display bit settings to printer, parameter should be null if the printer does not support the settings or it shouldn't be changed

Link copied to clipboard
public final Unit writeCustomerDisplaySettings(Integer autoBacklightOffTime, Integer backlightIntensity, Integer screensaverKind)
public final Unit writeCustomerDisplaySettings(Integer autoBacklightOffTime, Integer backlightIntensity, Integer screensaverKind, Integer allLinesExceptTheSalesItem, Integer background, Integer saleItemLine, Integer priceXQuantityLine, Integer price, Integer subtotal, Integer total)

save customer display settings to printer, parameter should be null if the printer does not support the settings or it shouldn't be changed

Link copied to clipboard
public final Unit writeCustomerDisplaySettingsOffline(Integer autoBacklightOffTime, Integer backlightIntensity, Integer screensaverKind)
public final Unit writeCustomerDisplaySettingsOffline(Integer autoBacklightOffTime, Integer backlightIntensity, Integer screensaverKind, Integer allLinesExceptTheSalesItem, Integer background, Integer saleItemLine, Integer priceXQuantityLine, Integer price, Integer subtotal, Integer total)

save customer display settings to printer, parameter should be null if the printer does not support the settings or it shouldn't be changed

Link copied to clipboard
public final Unit writeDeviceNumber(String number, Boolean isTemporary)

write device number

Link copied to clipboard
public final Unit writeECRCashierCode(String number, String name)

write device number and cashier name

Link copied to clipboard
public final Unit writeEnergyBitSettings(Boolean powerAutoPowerOff, Boolean powerKeyboardBlock, Boolean accumulatorKeyboardBlock)

save energy bit setting to printer, parameter should be null if the printer does not support the settings or it shouldn't be changed

Link copied to clipboard
public final Unit writeEnergyBitSettingsOffline(Boolean powerAutoPowerOff, Boolean powerKeyboardBlock, Boolean accumulatorKeyboardBlock)

save energy bit setting to printer, parameter should be null if the printer does not support the settings or it shouldn't be changed

Link copied to clipboard
public final Unit writeEnergySettings(Integer powerAutoPowerOffTime, Integer accumulatorAutoPowerOffTime, Integer powerKeyboardBlockTime, Integer accumulatorKeyboardBlockTime)

save energy saving settings to printer, parameter should be null if the printer does not support the settings or it shouldn't be changed

Link copied to clipboard
public final Unit writeEnergySettingsOffline(Integer powerAutoPowerOffTime, Integer accumulatorAutoPowerOffTime, Integer powerKeyboardBlockTime, Integer accumulatorKeyboardBlockTime)

save energy saving settings to printer, parameter should be null if the printer does not support the settings or it shouldn't be changed

Link copied to clipboard
public final Unit writeEthernetBitSettings(Boolean ethernetIpMode, Boolean ethernetIpDHCPClient)

save Ethernet bit settings to the printer, parameter should be null if the printer does not support the settings or it shouldn't be changed

Link copied to clipboard
public final Unit writeEthernetSettings(String transmissionProtocol, String ethernetIpAddress, String ethernetIpMask, String ethernetIpGateway, String ethernetIpDns, Integer ethernetIpPort, String ethernetIpServer)

save Ethernet settings to printer, parameter should be null if the printer does not support the settings or it shouldn't be changed

Link copied to clipboard
public final Unit writeExternalDisplayBitSettings(Boolean accumulatorAutoBacklightLow)

save external display bit settings to printer, parameter should be null if the printer does not support the settings or it shouldn't be changed

Link copied to clipboard
public final Unit writeExternalDisplaySettings(Integer autoBacklightOffTime, Integer backlightIntensity, Integer screensaverKind)

save external display settings to printer, parameter should be null if the printer does not support the settings or it shouldn't be changed

public final Unit writeExternalDisplaySettings(Integer autoBacklightOffTime, Integer backlightIntensity, Integer screensaverKind, Integer allLinesExceptTheSalesItem, Integer background, Integer saleItemLine, Integer priceXQuantityLine, Integer price, Integer subtotal, Integer total)

save external display bit settings to printer, parameter should be null if the printer does not support the settings or it shouldn't be changed

Link copied to clipboard
public final Unit writeFooterLine(Integer number, PrinterLine text)

write footer line

Link copied to clipboard
public final Unit writeHeaderLine(Integer number, PrinterLine text)

write header line

Link copied to clipboard
public final Unit writeHeaderOnline(HeaderLine header)

write header line

Link copied to clipboard
public final Unit writeLanguageSettings(String transmissionCodePage)

save language setting to printer, parameter should be null if the printer does not support the settings or it shouldn't be changed

Link copied to clipboard
public final Unit writeLineFeed(Integer howMuch)

feed line

Link copied to clipboard
public final Unit writeOperatorDisplayBitSettings(Boolean accumulatorAutoBacklightLow)

save display setting

Link copied to clipboard
public final Unit writeOperatorDisplayBitSettingsOffline(Boolean accumulatorAutoBacklightLow)

save display setting

Link copied to clipboard
public final Unit writeOperatorDisplaySettings(Integer autoBacklightOffTime, Integer backlightIntensity, Integer screensaverKind, Integer colorSetNo)

save operator display settings to printer, parameter should be null if the printer does not support the settings or it shouldn't be changed

Link copied to clipboard
public final Unit writeOperatorDisplaySettingsOffline(Integer autoBacklightOffTime, Integer backlightIntensity, Integer screensaverKind, Integer colorSetNo)

save operator display settings to printer, parameter should be null if the printer does not support the settings or it shouldn't be changed

Link copied to clipboard
public final Unit writeOperatorName(String name, Boolean isTemporary)

write operator name

Link copied to clipboard
public final Unit writePrintingSettings(Integer printingDensity, Integer autoCuttingMode, Integer printableGraphicFactor)

save printing settings to printer, parameter should be null if the printer does not support the settings or it shouldn't be changed

Link copied to clipboard
public final Unit writePrintingSettingsOffline(Integer printingDensity, Integer autoCuttingMode, Integer printableGraphicFactor)

save printing settings to printer, parameter should be null if the printer does not support the settings or it shouldn't be changed

Link copied to clipboard
public final Unit writeRsSettings(String transmissionProtocol, Integer transmissionBaudRate)

save RS settings to printer, parameter should be null if the printer does not support the settings or it shouldn't be changed

Link copied to clipboard
public final Unit writeTime(DateTimeType time)
public final Unit writeTime(Integer hour, Integer min, Integer sec)

change time on fiscal printer

Link copied to clipboard
public final Unit writeTimeoutBitSettings(Boolean timeoutActive)

save timeout bit setting to printer, parameter should be null if the printer does not support the settings or it shouldn't be changed

Link copied to clipboard
public final Unit writeTimeoutSettings(Integer timeoutValue)

save timeout setting to printer, parameter should be null if the printer does not support the settings or it shouldn't be changed

Link copied to clipboard
public final Unit writeUsbHostBitSettings(Boolean autoBackupEjCard)

save bit settings of USB host to printer, parameter should be null if the printer does not support the settings or it shouldn't be changed

Link copied to clipboard
public final Unit writeUsbHostBitSettingsOffline(Boolean autoBackupEjCard)

save bit settings of USB host to printer, parameter should be null if the printer does not support the settings or it shouldn't be changed

Link copied to clipboard
public final Unit writeUsbSettings(String transmissionProtocol)

save USB settings to printer, parameter should be null if the printer does not support the settings or it shouldn't be changed

Link copied to clipboard
public final Unit writeWifiBitSettings(Boolean wifiOn, Boolean wifiIPMode, Boolean wifiIPDHCPClient)

save Wi-Fi bit settings to printer, parameter should be null if the printer does not support the settings or it shouldn't be changed

Link copied to clipboard
public final Unit writeWifiBitSettingsOffline(Boolean wifiOn, Boolean wifiIPMode, Boolean wifiIPDHCPClient)

save Wi-Fi bit settings to printer, parameter should be null if the printer does not support the settings or it shouldn't be changed

Link copied to clipboard
public final Unit writeWifiSettings(String wifiPassword, String wifiSsid, String transmissionProtocol, String wifiIpAdd, String wifiIpMask, String wifiIpGateway, String wifiIpDns, Integer wifiIpPort, String wifiIpServer)

save Wi-Fi settings to printer, parameter should be null if the printer does not support the settings or it shouldn't be changed

Link copied to clipboard
public final Unit writeWifiSettingsOffline(String wifiPassword, String wifiSsid, String transmissionProtocol, String wifiIpAdd, String wifiIpMask, String wifiIpGateway, String wifiIpDns, Integer wifiIpPort, String wifiIpServer)

save Wi-Fi settings to printer, parameter should be null if the printer does not support the settings or it shouldn't be changed

Properties

Link copied to clipboard
private Charset charset
Link copied to clipboard

login transmission

Link copied to clipboard

if set to true, communication information will be written on console. By default true

Link copied to clipboard
@Deprecated(message = "")
private Boolean oldCodePageParsing
Link copied to clipboard
private Integer timeOut

TimeOut