Zero Block
Click "Block Editor" to enter the edit mode. Use layers, shapes and customize adaptability. Everything is in your hands.
Tilda Publishing
create your own block from scratch
Zero Block
Click "Block Editor" to enter the edit mode. Use layers, shapes and customize adaptability. Everything is in your hands.
Tilda Publishing
create your own block from scratch
Отримання інформації про ФР та принтери через запит до бази
Версійність: Підходить від версії Syrve: 8.5.8 та вище (де відсутній файл Devices)

Остання редакція від 16.06.2024 рочку
Пошуку принтера по БД виконується через утіліту CompactView скриптом:
select * from Entities where type = 'Resto.CashServer.Data.Printer'
У відповідь отримаємо різні принтера де в xml буде вся інформація:
<r eid="8ae76d76-24ae-40de-80e0-4e5fdf49e144"><friendlyName><val>kitchen</val></friendlyName><revision>63687</revision><id>8ae76d76-24ae-40de-80e0-4e5fdf49e144</id><agentId>0f20f718-ea05-4046-9d84-0fc761e3f366</agentId><agentModel>PortWriterDriver</agentModel><settings cls="PortWriterDriverSettings"><portType>WIN</portType><portNumber>9100</portNumber><baudRate>115200</baudRate><flowControl>NONE</flowControl><printOrientation>DEFAULT</printOrientation><addr>192.168.123.100</addr><printerName>XP-80C</printerName><waitPriorSend>0</waitPriorSend><waitWhileSend>0</waitWhileSend><fontFamily></fontFamily><fontSize>12</fontSize><fontBold>false</fontBold><spoolerEnabled>false</spoolerEnabled><spoolerPingInterval>15</spoolerPingInterval><spoolerTaskExpiryDuration>900</spoolerTaskExpiryDuration><javaDriver>SPrint TM200 Min</javaDriver><javaDevice>PrinterDevice</javaDevice><friendlyName>kitchen</friendlyName><autorun>true</autorun></settings><isAgent>true</isAgent><isNullDriver>false</isNullDriver><driver cls="SPrintTM200SimpleDriver"><pulsePort>0</pulsePort><codePage>cp866</codePage><widthInDots>576</widthInDots></driver></r>
Пошук ФР по БД виконується через CompactView скриптом:
select * from Entities where type = 'Resto.CashServer.Data.CashRegister'
У відповідь отримаємо:
<r eid="564d6d1c-7c78-4f2f-9b06-8004c96d3f3c"><name><val>Каса Фіскал</val></name><number>2</number><charCount>43</charCount><fullCheque>true</fullCheque><printChange>true</printChange><printNds>true</printNds><cashDrawers><i><cashRegister>564d6d1c-7c78-4f2f-9b06-8004c96d3f3c</cashRegister><rank>0</rank></i></cashDrawers><closeEncashmentSetup>FULLANDPAYIN</closeEncashmentSetup><paymentTypeToRegisterIdMappings><i><paymentType cls="Resto.CashServer.PaymentSystem.NonCashPaymentType">60666619-4577-4b17-9897-277a7bba52b7</paymentType><registerId></registerId><isDefaultNonCash>true</isDefaultNonCash></i><i><paymentType cls="Resto.CashServer.PaymentSystem.NonCashPaymentType">eb44bf45-33a6-4d2a-817d-75310ceb43ee</paymentType><registerId></registerId><isDefaultNonCash>true</isDefaultNonCash></i><i><paymentType cls="Resto.CashServer.PaymentSystem.NonCashPaymentType">9cd5d67a-89b4-ab69-1365-7b8c51865a90</paymentType><registerId></registerId><isDefaultNonCash>true</isDefaultNonCash></i><i><paymentType cls="Resto.CashServer.PaymentSystem.NonCashPaymentType">34b99a58-8630-4d78-a06a-7bdcc2de319e</paymentType><registerId></registerId><isDefaultNonCash>true</isDefaultNonCash></i><i><paymentType cls="Resto.CashServer.PaymentSystem.NonCashPaymentType">6fb03184-b388-4469-87c9-f05a73d4aba0</paymentType><registerId></registerId><isDefaultNonCash>true</isDefaultNonCash></i></paymentTypeToRegisterIdMappings><taxCategoryToTaxItemMapping><i><taxPercent>0</taxPercent><taxItem><isTaxable>true</isTaxable><isCalculated>false</isCalculated><taxId>1</taxId><taxPercent>0</taxPercent><taxName>Податкова ставка 1</taxName></taxItem></i></taxCategoryToTaxItemMapping><ofdProtocolVersion></ofdProtocolVersion><deliveryByCourierSettlementPlace /><friendlyName><val>Каса Фіскал</val></friendlyName><revision>5855452</revision><id>564d6d1c-7c78-4f2f-9b06-8004c96d3f3c</id><agentId>e5c508ee-ff65-4e6a-aced-da1b118ebee1</agentId><agentModel>ArtSoftFiscalRegisterDriver</agentModel><settings cls="ArtSoftFiscalRegisterDriverSettings"><connectionInterface>ETHERNET</connectionInterface><portNumber>1</portNumber><baudRate>115200</baudRate><hostAddress>192.168.88.235</hostAddress><hostPort>80</hostPort><protocolType>6</protocolType><customerDisplaySettings><isEnabled>false</isEnabled><idleText>Добро пожаловать</idleText><chars>20</chars><rows>2</rows></customerDisplaySettings><artSoftModelNames><i>Датекс (Datecs FP3530T, ЕКСЕЛЛІО FPU-550, ЕКСЕЛЛІО FPU-260, ЕКСЕЛЛІО LP-1000, ЕКСЕЛЛІО FP-700, ЕКСЕЛЛІО FP-2000)</i><i>Криптон (Datecs FP3530T, Datecs FP-3141T, Datecs FP-T260, Datecs CMP-10)</i><i>Марія (Марія 301МТМ, Марія-304Т, Марія-304Т1, Марія-304Т2, ПРАЙД-400)</i><i>ІКС (ІКС-483 LT, ІКС-Е260Т, ІКС E-810T, ІКС MG-T808TL, РФ 2160.05)</i><i>МІНІ-ФП4, МІНІ-ФП6</i><i>МІНІ-ФП54.01, МІНІ-ФП81.01</i><i>MG N707TS (TCP/IP), IPOS.XM (TCP/IP)</i></artSoftModelNames><javaDriver>ArtSoftFiscalRegisterDriver</javaDriver><javaDevice>CashRegister</javaDevice><friendlyName>Каса Фіскал</friendlyName><autorun>true</autorun></settings><isAgent>true</isAgent><isNullDriver>false</isNullDriver><driver cls="ArtSoftFiscalRegisterDriver" /></r>