Standalone commands/get
Commands that can be used both within a receipt and independently.
sellingDayBegin
sellingDayBegin:[0]
[0] - parameter for opening the day - "1"
The ParagonBegin commands authomatically opens a shift and changes the state from S0 to S1.
getVariable
getVariable:[0]
[0] - Get number
all commands getVariable
setEscapeSequence
setEscapeSequence:[0]
[0] - ESC sequence
enter in the format ~1B~xx~xx
Checks against the list of allowed ESC sequences for the given printer type.
getEscapeSequence
getEscapeSequence:[0]
[0] - - ESC sequence
enter in the format ~1B~xx~xx
Checks against the list of allowed ESC sequences for the given printer type.
Separate gets - must be used outside the commands paragonBegin at the beginning paragonEnd at the end.
repeatParagon
repeatParagon:
prints a copy of the last eKasa receipt, the parameter is not specified
destroyParagon
destroyParagon:[0];[1]
[0] - Line number
[1] - Description - free text, number of characters is variable based on printer driver type /F41/, is not printed
amount of unfinished sales will be reflected in the financial report as ZRUŠENÉ PREDAJE - CANCELLED SALES
printReport
printReport:[0];[1]
[0] - Report type - X/Z
X - Counters ARE NOT cleared
Z - Counters ARE cleared
[1] - Report number - 1-5
1 - Financial daily, required data + payment list, omitted zero data
2 - FDU, required data, zero values printed as well
3 - FDU, required data + payment list, zero values printed as well
4 - FDU, required data, omitted zero data
5 - X5 (servis report), Z5 (daily report without print output - clearing counters only)
printIntervalFPD
printIntervalFPD:[0];[1];[2]
[0] - Statement type - 0-1
0 - Detailed
1 - Summary
[1] - date FROM - DDMMRRRR
[2] - date TO - DDMMRRRR
it is printed from internal DB and not from the protected data storage, in case of deletion of application data and the receipt is not found, an empty line will be printed
printJournalStructD
printJournalStructD:[0];[1];[2]
[0] - Document type by parameter
U - Fiscal report
Z - Financial report
N - Invalid receipt
V - Deposit
A - ALL
I - Internal receipt
F - Invoice
[1] - date FROM - DDMMRRRR
[2] - date TO - DDMMRRRR
searches by document/receipt printig date
printed from internal DB and not from the protected data storage, in case of deletion of application data and the receipt is not found, an empty line will be printed
printJournalStructU
printJournalStructU:[0]
[0] - Receipt identifier according to:
PČD - Receipt sequence number
UID - Unique receipt identifier
OKP - Enterpreneur verification code
printed from internal DB and not from the protected data storage, in case of deletion of application data and the receipt is not found, an empty line will be printed
synchronizationToPPEKK
synchronizationToPPEKK:
is send without parameter, if the data is synchronous it will declare an error "cannot be synchronized"
setLicence
setLicense:[0]
[0] - licence
setAllVats
setAllVats:[0];[1];[2];[3];[4];[5];[6];[7];[8];[9];[10];[11];[12];[13];[14];[15];[16]
[0] - heslo
[1] - hodnota A
[2] - konštanta A
[3] - hodnota B
[4] - konštanta B
[5] - hodnota C
[6] - konštanta C
[7] - hodnota D
[8] - konštanta D
[9] - hodnota E
[10] - konštanta E
[11] - hodnota F
[12] - konštanta F
[13] - hodnota G
[14] - konštanta G
[15] - hodnota H
[16] - konštanta H
hodnota - 0/5/10/19/20/23
konštanta:
0 - neaktívna
1 - základná
2 - redukovaná
3 - voľná
getLastParagon
getLastParagon:
without parameter
Downloads the last created document to the PC - U (fiscal receipt), Z (financial report), N (invalid receipt) and V (DEPOSIT/WITHDRAWAL)
getJournalStructU
getJournalStructU:[0]
[0] - Receipt identifier by:
PČD - Receipt sequence number
UID - Unique receipt identifier
OKP - Enterpreneur verification
obtained from internal DB and not from protected data storage, in case of deletion of application data and the receipt is not found, gets an empty response
getJournalStructD
printJournalStructD:[0];[1];[2]
[0] - Document/receipt type by parameter
U - Fiscal receipt
Z - Financial report
N - Invalid receipt
V - Deposit
A - All
I - Internal receipt
F - Invoice
[1] - date FROM - DDMMRRRR
[2] - date TO - DDMMRRRR
searches by document/receipt printig date
obtained from internal DB and not from protected data storage, in case of deletion of application data and the receipt is not found, gets an empty response
getIntervalFPD
printIntervalFPD:[0];[1];[2]
[0] - Statement type - 0-1
0 - Detailed
1 - Summary
[1] - date FROM - DDMMRRRR
[2] - date TO - DDMMRRRR
obtained from internal DB and not from protected data storage, in case of deletion of application data and the receipt is not found, gets an empty response
setSubjectIdData
setSubjectIdData:[0];[1]
[0] - Password
[1] - filePath to identification data
allows loading and setting of the file .xml with the subject's identification data
setAutKey
setAutKey:[0];[1]
[0] - Password SFS!
[1] - filePath to identification data
allows loading and setting of the file .xml with the subject's identification data
setV48
setV48:[0];[1]
[0] - Password
[1] - Exception status - 0-1
0 - Has no exception
1 - Has exception
setSmtp
setSmtp:[0];[1];[2];[3]
[0] - type
1 - Local directory
[1] - IP address
[2] - Port
[3] - filePath to local memory
SMTP server setup for sending email or directory setup for saving emails
currently only local folder supported, sending must be handled by the POS application
setEmail
setEmail:[0]
[0] - email address where e-receipt should be sent
printUnsentSfsPackets
Printing unsent receipts
printUnsentSfsPackets:
getParagonIds
getParagonIds:[0];[1]
[0] - Input type - 0-4
0 - The last completed paragon (input neglected)
1 - Internal transaction code (unique transaction code in protected data storage)
2 - Internal code of the parent application from the command setTransactionID2
3 - UID
4 - PČD in the format e.g. 20190100001 (year, month and 5-digit number)
[1] - Input - by type
Return values: internal transaction code, internal code of the parent application, QR code
By its nature it is a command of the type getVariable The values in question are held for the last 100 paragons
getParagonIds2
getParagonIds2:[0];[1]
[0] - input type - 0-4
0 - The last completed paragon (input neglected)
1 - Internal transaction code (unique transaction code in protected data storage)
2 - Internal code of the parent application from the command setTransactionID2
3 - UID
4 - PČD in format e.g. 20190100001 (year, month and 5-digit number)
[1] - Input - by type
Returned values are the same as in getVariable:B41 but are valid for the recipt that is being read
By its nature it is a command of the type getVariable
!!!
setPrinterType:[0];[1];[2]
[0] - Password
[1] - Printer type - current list of printers on demand
[2] - printer speed by protected data storage connection type <-> PRN
0 - 9600Bd (RS232)
1 - 19200Bd (RS232)
2 - 38400Bd (RS232)
3 - 57600Bd (RS232)
4 - 115200Bd (RS232)
50 - 50ms (USB)
100 - 100ms (USB)
150 - 150ms (USB)
200 - 200ms (USB)
250 - 250ms (USB)
300 - 300ms (USB)
Typ tlačiarne | Název |
|---|
0 | SRP350N |
1 | SRPN350 |
9 | TMT88V |
22 | PCPOS1_80 |
25 | PCPOS1_57 |
33 | SRP350IIN |
34 | RONGTA80 |
35 | MarkEETa |
36 | Modulino |
37 | SunmiN |
38 | Gimex |
39 | Modulino32 |
40 | SRPN350II |
41 | SPPR310 |
42 | Sam4S |
43 | SPPR410 |
44 | TMH6000 |
45 | TMT88III |
46 | TMT20IIA |
47 | TMT20IIB |
50 | Universal218012B |
51 | Universal218012BO |
52 | Universal218012BQ |
53 | Universal218012BQO |
54 | Universal220312B |
55 | Universal220312BO |
56 | Universal220312BQ |
57 | Universal220312BQO |
58 | Universal318012A |
59 | Universal318012AO |
60 | Universal318012AQ |
61 | Universal318012AQO |
62 | Universal318012B |
63 | Universal318012BO |
64 | Universal318012BQ |
65 | Universal318012BQO |
66 | Universal320312A |
67 | Universal320312AO |
68 | Universal320312AQ |
69 | Universal320312AQO |
70 | Universal320312B |
71 | Universal320312BO |
72 | Universal320312BQ |
73 | Universal320312BQO |
74 | KML80 |
75 | M2MAX32 - speed only USB 100ms |
76 | M2MAX48 - speed only USB 100ms |
77 | iMinS1701 - speed only USB 100ms |
78 | iMinFALCON - speed only USB 100ms |
79 | iMinD4 - speed only USB 100ms |
80 | SRP-350 III-V (40 znakov) |
81 | SRP-350 III-V (52 znakov) |
82 | POSNET |
101 | PegasinoFTN |
102 | BL112N |
103 | FeitianF20 |
setPassword
setPassword:[0];[1]
[0] - Original password
[1] - New password
the default password is „Pegas006“, password lenght is 6-8 characters, uppercase and lowercase letters are distinguished
CANNOT BE RESET!!!
setPaymentType
setPaymentType:[0];[1];[2]
[0] - Payment method number - 1-8 16
[1] - Minimum "coin" value - default for 1-8: 0.01, for 16 legal rounding of the amount
[2] - Overpayment permission - 0-1 - allows you to enter a higher bid value in payment, change goes from payment method 16
0 - Allow overpayment
1 - Deny overpayment
setPaymentType2
setPaymentType2:[0];[1];[2];[3]
[0] - Payment method name
[1] - Payment method number - 1-8 16
[2] - Minimum "coin" value - default for 1-8: 0.01, for 16 legal rounding of the amount
[3] - Overpayment permission - 0-1 - allows you to enter a higher bid value in payment, change goes from payment method 16
0 - Allow overpayment
1 - Deny overpayment
setHeader:[0];[1];[2]
[0] - Password
[1] - Line number - 1-6
[2] - text - number of characters is variable based on printer type driver/F41/
setParameter
setParameter:[0];[1];[2]
[0] - Password
[1] - Parameter - 0-6
[2] - Parameter value
0 – 0 = VAT payer, 1 = non-payer of VAT
1 – 0 = Do not check Subtotal Total, 1 = check Subtotal Total
2 – 0 = Main currency, 1 = Secondary currency
3 – 0 = Do not print the receipt barcode automatically, 1 = print automatically
4 – 0 = Automatic gen. output on the display,1 = not allowed
5 – 0 = Automatic receipt trimming,1 = without trimming (trimming possible by selecting ESC seq. in texts)
6 – 0 = SAFE mode off, 1 = SAFE mode on (BCC check and receipt line check)
setVat
setVat:[0];[1];[2];[3]
[0] - Password
[1] - Rate - A-E
[2] - Value - 0/10/20 - according to currently valid legislation
[3] - Constant - 0-3
0 - Inactive
1 - Basic
2 - Reduced
3 - Free
setAdditionalHeader:[0]
[0] - text - max 300 characterss
If it exists it is printed automatically upon command, the beginning of the receipt/non-fiscal receipt under the header.
CR LF(~0A~0D) is allowed. Double width is expressed by the character "~1F" before active character.
It is possible to insert ESC sequences from the permitted list in the format ~1B~xx~xx
setAdditionalFooter:[0]
[0] - text - max 300 characters
If it exists it is printed automatically upon command, the beginning of the receipt/non-fiscal receipt under the header.
CR LF(~0A~0D) is allowed. Double width is expressed by the character "~1F" before active character.
It is possible to insert ESC sequences from the permitted list in the format ~1B~xx~xx
setLocation
setLocation:[0];[1];[2];[3];[4];[5]
[0] - Device type - 0-2
0 - GPS coordinates
1 - Address
2 - Other
[1];[2];[3];[4];[5]
TaskType: 0 - GPS
1 - Coordinate X (NNNNNNNNNN.NNNNNNNNNN)
2 - Coordinate Y (NNNNNNNNNN.NNNNNNNNNN)
TaskType: 1 - Address - no data must be empty or "0"
1 - Municipality (max 100 characters)
2 - Street (max 100 characters)
3 - House number (max 9999999999)
4 - Reference number (max 20 characters)
5 - Postal code (NNNNN)
TaksType: 2 - Other
1 - Description (max 255 znakov)
setPchdu
setPchdu:[0];[1]
[0] - Interface type - 0-3
0 - serial
1 - TCP/IP
2 - BlueTooth
3 - I2C
[1] - Name
loadGhNv
For supported printer types only.
loadGhNv:[0];[1]
[0] - number of headers written
[1] - shift X
PočetGH: number of graphic headers for entry to NV printer memory
PosuvX: shift in X coordinate by 1/100 inch i.e. approx 0,14mm from the left for every GH are to bytes, i.e. PosuvX is always 12 bytes ended by the separator 00H in order X1X1X2X2X3X3X4X4X5X5X6X600H
The command is permitted only for the devices that support writing into NV memory (e.g.SRP350).
It is necessary to write all graphic headers at ones, it is not possible to modify selected only.
setBcParm
setBcParm:[0];[1];[2];[3]
[0] - TextPOS - position for printing text BC - 0-3
0 - Without text
1 - Above BC
2 - Below BC
3 - Above and below BC
[1] - TextV - font for desrciption - 0-1
0 - Large
1 - Small
[2] - Height BC - 1-255
[3] - Width BC - 2-6
Preset values:2,1,40,2
setPparameter
setPparameter:[0];[1];[2]
[0] - Password
[1] - Parameter - 0-2
0 - Password for set DPH(VAT) and set GP
1 - Connection to PC
2 - Daily report - from FM, irrelevant for eKasa
[2] - Value
0 - Check
1 - Do not check
setDispF
setDispF:[0];[1];[2];[3]
[0] - Password
[1] - Display type - 0-2
0 - Internal
1 - External
2 - External ELCOM
[2] - Connectivity - 0-2
0 - serial (parm v Bd)
1 - SPI - BL112
2 - parallel - GP5870
[3] - parm
0
1200
2400
9600
19200
38400
57600
getJournal
getJournal:
without parameter, the command always saves journal from the last use of this command
setSuperFooter:[0]
[0] - text - max 300 characters
If it exists, it is printed automatically within command the end of receipt/non-fiscal receipt bellow QR code
CR LF(0A0D) is allowed. Double with is expressed by the character " 1F" before an active character. It is possible to enter ESC sequences from permitted list in the format 1Bxxxx
setQRparm
setQRparm:[0];[1];[2];[3];[4]
[0] - model
49 - model 1
50 - model 2
[1] - ModuleWidth - 0-16 for width set for "n" points
[2] - ErrorCorrectionLevel
48 - level L
49 - level M
50 - level Q
51 - level H
[3] - LeftMargin - 0-999
[4] - ViewMode
0 - print on printer
1 - show on display
2 - print and show
3 - do not print, do not show
resetStates
resetStates:
without parameter, resets values in getVariable:B51
Last modified: 23 februára 2026