Rem deklaracje funkcji z biblioteki elzabdr.dll dla Visual Basic-a
Private Declare Function CommunicationInit Lib "elzabdr.dll" (ByVal PortNo As Long, ByVal Speed As Long, ByVal Timeout As Long) As Long
Private Declare Function CommunicationEnd Lib "elzabdr.dll" () As Long
Private Declare Function SetDebugMode Lib "elzabdr.dll" () As Long
Private Declare Function ClearDebugMode Lib "elzabdr.dll" () As Long
Private Declare Function DailyReport Lib "elzabdr.dll" (ByVal Unconditionally As Long) As Long
Private Declare Function DailyReportNumber Lib "elzabdr.dll" (ByRef Number As Long) As Long
Private Declare Function DeviceName Lib "elzabdr.dll" (ByRef Name As String) As Long
Private Declare Function DllVersion Lib "elzabdr.dll" (ByRef Version As String) As Long
Private Declare Function DllAuthor Lib "elzabdr.dll" (ByRef AuthorName As String) As Long
Private Declare Function ErrMessage Lib "elzabdr.dll" (ByVal ErrNo As Long, ByRef Message As String) As Long
Private Declare Function ErasePayments Lib "elzabdr.dll" () As Long
Private Declare Function EraseLines Lib "elzabdr.dll" () As Long
Private Declare Function FillLines Lib "elzabdr.dll" (ByVal Nr As Long, ByVal pLine As String, ByRef pFreelines As Long) As Long
Private Declare Function FillPayment Lib "elzabdr.dll" (ByVal Nr As Long, ByVal PaymentName As String, ByVal Total As Long, ByVal Rest As Long) As Long
Private Declare Function LockedArticlesReport Lib "elzabdr.dll" () As Long
Private Declare Function MonthlyReport Lib "elzabdr.dll" (ByVal Fiscal As Long, ByVal Year As Long, ByVal Month As Long) As Long
Private Declare Function NumberReport Lib "elzabdr.dll" (ByVal Fiscal As Long, ByVal Nr1 As Long, ByVal Nr2 As Long) As Long
Private Declare Function PackageItem Lib "elzabdr.dll" (ByVal Param As Long, ByVal Nr As Long, ByVal Ilosc As Long, ByVal Cena As Long) As Long
Private Declare Function PeriodReport Lib "elzabdr.dll" (ByVal Fiscal As Long, ByVal YY1 As Long, ByVal MM1 As Long, ByVal DD1 As Long, ByVal YY2 As Long, ByVal MM2 As Long, ByVal DD2 As Long) As Long
Private Declare Function PrintSubtotal Lib "elzabdr.dll" () As Long
Private Declare Function OpenDrawer Lib "elzabdr.dll" (ByVal DrawerNumber As Long) As Long
Private Declare Function PrintControl Lib "elzabdr.dll" (ByVal BeforePrinting As Long) As Long
Private Declare Function PrintResume Lib "elzabdr.dll" () As Long
Private Declare Function PrinterStatusReport Lib "elzabdr.dll" () As Long
Private Declare Function ReadClock Lib "elzabdr.dll" (ByRef CurrentTime As String) As Long
Private Declare Function ReadUniqueNumber Lib "elzabdr.dll" (ByRef Number As String) As Long
Private Declare Function ReadVAT Lib "elzabdr.dll" (ByRef Count As Long, A As Long, B As Long, C As Long, D As Long, E As Long, F As Long, G As Long) As Long
Private Declare Function ReceiptBegin Lib "elzabdr.dll" () As Long
Private Declare Function ReceiptCancel Lib "elzabdr.dll" () As Long
Private Declare Function ReceiptConditions Lib "elzabdr.dll" () As Long 
Private Declare Function ReceiptEnd Lib "elzabdr.dll" (ByVal Disc As Long) As Long
Private Declare Function ReceiptItem Lib "elzabdr.dll" (ByVal Sprzed As Long, ByVal Nazwa As String, ByVal Stawka As Long, ByVal Komunikat As Long, ByVal Ilosc As Long, ByVal MP As Long, ByVal Jedn As String, ByVal Cena As Long, ByRef Wartosc As Long) As Long
Private Declare Function CharsInArticleName Lib "elzabdr.dll" (Nazwa As String) As Long
Private Declare Function ReceiptNumber Lib "elzabdr.dll" (ByRef Number As Long) As Long
Private Declare Function SetVat Lib "elzabdr.dll" (ByRef Ile As Long, ByVal A As Long, ByVal B As Long, ByVal C As Long, ByVal D As Long, ByVal E As Long, ByVal F As Long, ByVal G As Long) As Long
Private Declare Function WriteLineFeed Lib "elzabdr.dll" (ByVal Ile As Long) As Long
Private Declare Function ReadTotal Lib "elzabdr.dll" (ByRef Total As String) As Long
Private Declare Function ReadSelTotal Lib "elzabdr.dll" (ByVal Rate As String, ByRef sTotal As String) As Long
Private Declare Function DisplayFP600 Lib "elzabdr.dll" (ByVal Text As Long, ByVal Display As String) As Long
Private Declare Function ChangeTime Lib "elzabdr.dll" (ByVal Hour As Long, ByVal Minute As Long) As Long
Private Declare Function OpenPort Lib "elzabdr.dll" (ByVal Port As Long,ByVal BaudRate As Long, ByVal STimeout As Long, ByVal RTimeout As Long) As Long
Private Declare Function RSSequence Lib "elzabdr.dll" (ByVal Code As Long, ByVal QBytesToReceive As Long, ByVal QBytesToSend As Long, ByRef InputBuffer As String, ByVal OutputBuffer As String) As Long
Private Declare Function ClosePort Lib "elzabdr.dll" () As Long