shtrih-m / javapos_shtrih

Реализация JavaPOS драйвера принтера фискального регистратора для устройств Штрих-М
http://www.shtrih-m.ru
MIT License
33 stars 16 forks source link

Телефон и номер клиента #1

Open Numboter opened 7 years ago

Numboter commented 7 years ago

Hi team,

We have found one more issue Phone number and mail do not transferred to OFD. Into the logs of FR i can see something in regarding these data (logs were send to Alexey by mail):

Line 98312: 19.12.2016 13:37:33.478 DEBUG com.shtrih.jpos.fiscalprinter.FiscalPrinterService - directIO(52, [I@6a86fe, 49124878jhkhjk54879541) Line 98812: 19.12.2016 13:37:34.086 DEBUG com.shtrih.jpos.fiscalprinter.FiscalPrinterService - printRecMessage(Àáîíåíòñêèé íîìåð: 49124878jhkhjk54879541) Line 99348: 19.12.2016 13:37:36.166 DEBUG com.shtrih.fiscalprinter.SMFiscalPrinterImpl - printText(3, Абонентский номер: 49124878jhkhjk54879541) Line 99349: 19.12.2016 13:37:36.166 DEBUG com.shtrih.fiscalprinter.SMFiscalPrinterImpl - printLine(3, 'Абонентский номер: 49124878jhkhjk54879541', 1) Line 99350: 19.12.2016 13:37:36.166 DEBUG com.shtrih.fiscalprinter.SMFiscalPrinterImpl - printStringFont(3, '1, 'Абонентский номер: 49124878jhkhjk54879541')…

FR logs can be found here: https://www.dropbox.com/s/plp68cpbqla52xd/shtrihjavapos.7z?dl=0

Mail conversation can be found here: https://www.dropbox.com/s/qrg3pb3qbbmrer5/RE%20%20%D0%A2%D0%B5%D0%BB%D0%B5%D1%84%D0%BE%D0%BD%20%D0%B8%20%D0%BD%D0%BE%D0%BC%D0%B5%D1%80%20%D0%BA%D0%BB%D0%B8%D0%B5%D0%BD%D1%82%D0%B0.msg?dl=0

On the OFD side we not able to find nothing at all. Kindly ask you to check this from your side and let me know.

With Best Regards, YuriyZ

VitalyKravtsov2016 commented 7 years ago

DirectIO(SMFPTR_DIO_FS_WRITE_TAG = 0x34) working in open receipt only, so you must call beginFiscalReceipt method first.