Форум OlegON > Программы и оборудование для автоматизации торговли > Маркировка

Статус 5 вместо 15 и ошибка пробития чека: "В реквизите 2007 содержится КМ, который ранее не проверялся в ФН" : Маркировка

23.04.2024 17:16


27.11.2023 11:42
amadey
 
Не получается пробить чек с контролем маркировки по ФФД 1.2.
Марка 0104606779460500215BNj7C (здесь вставлен символ GS как положено 0x1D в виде одного байта) 9339Vu
сначала результат проверки марки 5 вместо 15 (причем с другим ПО в принципе касса М+ печатает),
затем при окончательном пробитии чека после проверки выдает
"В реквизите 2007 содержится КМ, который ранее не проверялся в ФН".

libfptr_cancel_marking_code_validation(fptr);//на случай не завершенной предыдущей проверки отменим ее.
libfptr_set_param_int(fptr, LIBFPTR_PARAM_MARKING_CODE_TYPE, LIBFPTR_MCT12_AUTO);
libfptr_set_param_bytearray(fptr, LIBFPTR_PARAM_MARKING_CODE, mark, a + 1);//к маркировке прибавили передачу терминирующего нуля. Итого передали 32 символа включая терминирующий ноль в конце строки
libfptr_set_param_int(fptr, LIBFPTR_PARAM_MARKING_CODE_STATUS, 1);
libfptr_set_param_int(fptr, LIBFPTR_PARAM_MARKING_PROCESSING_MODE, 0);
libfptr_begin_marking_code_validation(fptr);

// Дожидаемся окончания проверки и запоминаем результат
while(1)
{
libfptr_get_marking_code_validation_status(fptr);
if(libfptr_get_param_bool(fptr, LIBFPTR_PARAM_MARKING_CODE_VALIDATION_READY))
break;
}
validationResult = libfptr_get_param_int(fptr, LIBFPTR_PARAM_MARKING_CODE_ONLINE_VALIDATION_RESULT);

//результат получается 5 чертяка!

// Подтверждаем реализацию товара с указанным КМ
libfptr_accept_marking_code(fptr);
libfptr_set_param_int(fptr, LIBFPTR_PARAM_TAX_TYPE, LIBFPTR_TAX_NO);//НДС не облагается
libfptr_set_param_int(fptr, LIBFPTR_PARAM_MARKING_CODE_TYPE, LIBFPTR_MCT12_AUTO);
libfptr_set_param_bytearray(fptr, LIBFPTR_PARAM_MARKING_CODE, mark, a + 1);
libfptr_set_param_int(fptr, LIBFPTR_PARAM_MARKING_CODE_STATUS, LIBFPTR_MES_PIECE_SOLD);
libfptr_set_param_int(fptr, LIBFPTR_PARAM_MARKING_CODE_ONLINE_VALIDATION_RESULT, validationResult);
libfptr_set_param_int(fptr, LIBFPTR_PARAM_MARKING_PROCESSING_MODE, 0);
libfptr_set_param_str(fptr, LIBFPTR_PARAM_COMMODITY_NAME, thing_name);
libfptr_set_param_double(fptr, LIBFPTR_PARAM_PRICE, price);
libfptr_set_param_double(fptr, LIBFPTR_PARAM_QUANTITY, quantity);
libfptr_set_param_double(fptr, LIBFPTR_PARAM_DEPARTMENT, department);
libfptr_set_param_int(fptr, 1212, 33);//с маркировкой не подакцизный
libfptr_set_param_int(fptr, 1214, 4);
res = libfptr_registration(fptr);

//ошибка "В реквизите 2007 содержится КМ, который ранее не проверялся в ФН".

Что не так?
Эвотор ОФД, на другом ПО в чеках М+ есть на этой кассе.
27.11.2023 12:12
amadey
 
А вот лог драйвера АТОЛ:
Цитата:
2023.11.27 12:05:30.895 T: T:00000EA0 INFO [FiscalPrinter] input < 61;6;5.8.1;4;5.8.14;5.8.14;
2023.11.27 12:05:30.895 T: T:00000EA0 INFO [Transport] send tr (00) 00 40 A9 AB 31 39 34 (7 bytes total)
2023.11.27 12:05:30.910 T: T:00000EA0 INFO [Transport] recv tr (00) 00 30 30 31 3B (5 bytes total)
2023.11.27 12:05:30.910 T: T:00000EA0 INFO [Transport] send tr (01) 01 40 A9 A9 31 39 35 (7 bytes total)
2023.11.27 12:05:30.910 T: T:00000EA0 INFO [Transport] recv tr (01) 01 30 30 31 30 32 38 3B (8 bytes total)
2023.11.27 12:05:30.910 T: T:00000EA0 INFO [Transport] send tr (02) 02 40 A9 A9 31 39 37 (7 bytes total)
2023.11.27 12:05:30.910 T: T:00000EA0 INFO [Transport] recv tr (02) 02 30 30 35 30 30 3B (7 bytes total)
2023.11.27 12:05:30.910 T: T:00000EA0 INFO [FiscalPrinter] output > 22
2023.11.27 12:05:30.910 T: T:00000EA0 INFO [Transport] send fiscal (00) 00 40 32 32 (4 bytes total)
2023.11.27 12:05:30.910 T: T:00000EA0 INFO [Transport] recv fiscal (00) 00 30 30 36 31 3B 36 3B 35 2E 38 2E 31 3B 34 3B 35 2E 38 2E 31 34 3B 35 2E 38 2E 31 34 3B (30 bytes total)
2023.11.27 12:05:30.910 T: T:00000EA0 INFO [FiscalPrinter] input < 61;6;5.8.1;4;5.8.14;5.8.14;
2023.11.27 12:05:30.926 T: T:00000EA0 INFO [FiscalPrinter] output > P3
2023.11.27 12:05:30.926 T:P50POLL:000014E4 INFO [FiscalPrinter] Начато выполнение потока P50POLL:000014E4
2023.11.27 12:05:30.926 T: T:00000EA0 INFO [Transport] send fiscal (01) 01 40 50 33 (4 bytes total)
2023.11.27 12:05:30.926 T: T:00000EA0 INFO [Transport] recv fiscal (01) 01 30 30 31 3B (5 bytes total)
2023.11.27 12:05:30.926 T: T:00000EA0 INFO [FiscalPrinter] input < 1;
2023.11.27 12:05:30.926 T: T:00000EA0 INFO [FiscalPrinter] output > P1
2023.11.27 12:05:30.926 T: T:00000EA0 INFO [Transport] send fiscal (02) 02 40 50 31 (4 bytes total)
2023.11.27 12:05:30.926 T: T:00000EA0 INFO [Transport] recv fiscal (02) 02 30 30 33 38 34 3B (7 bytes total)
2023.11.27 12:05:30.926 T: T:00000EA0 INFO [FiscalPrinter] input < 384;
2023.11.27 12:05:30.926 T: T:00000EA0 INFO [FiscalPrinter] output > P21;
2023.11.27 12:05:30.926 T: T:00000EA0 INFO [Transport] send fiscal (03) 03 40 50 32 31 3B (6 bytes total)
2023.11.27 12:05:30.926 T: T:00000EA0 INFO [Transport] recv fiscal (03) 03 30 30 39 3B 31 34 3B (8 bytes total)
2023.11.27 12:05:30.926 T: T:00000EA0 INFO [FiscalPrinter] input < 9;14;
2023.11.27 12:05:30.926 T: T:00000EA0 INFO [FiscalPrinter] output > 01
2023.11.27 12:05:30.926 T: T:00000EA0 INFO [Transport] send fiscal (04) 04 40 30 31 (4 bytes total)
2023.11.27 12:05:30.926 T: T:00000EA0 INFO [Transport] recv fiscal (04) 04 30 30 30 3B 37 3B 39 37 32 39 3B 32 3B 30 3B (16 bytes total)
2023.11.27 12:05:30.926 T: T:00000EA0 INFO [FiscalPrinter] input < 0;7;9729;2;0;
2023.11.27 12:05:30.926 T: T:00000EA0 INFO [FiscalPrinter] output > 21
2023.11.27 12:05:30.926 T: T:00000EA0 INFO [Transport] send fiscal (05) 05 40 32 31 (4 bytes total)
2023.11.27 12:05:30.926 T: T:00000EA0 INFO [Transport] recv fiscal (05) 05 30 30 30 30 31 30 36 31 30 39 35 39 33 30 35 30 3B 80 92 8E 8B 20 33 30 94 3B (27 bytes total)
2023.11.27 12:05:30.926 T: T:00000EA0 INFO [FiscalPrinter] input < 00106109593050;АТОЛ 30Ф;
2023.11.27 12:05:30.926 T: T:00000EA0 INFO [FiscalPrinter] output > (A
2023.11.27 12:05:30.926 T: T:00000EA0 INFO [Transport] send system (00) 00 40 28 41 (4 bytes total)
2023.11.27 12:05:30.942 T: T:00000EA0 INFO [Transport] recv system (00) 00 30 30 31 3B 31 35 3B (8 bytes total)
2023.11.27 12:05:30.942 T: T:00000EA0 INFO [FiscalPrinter] input < 1;15;
2023.11.27 12:05:30.942 T: T:00000EA0 INFO [FiscalPrinter] Читаем локальные настройки из [C:\Documents and Settings\Евгений\Application Data\ATOL\drivers10\tables\00106109593050.json]
2023.11.27 12:05:30.942 T: T:00000EA0 INFO [FiscalPrinter] Прочитаны настройки: [{
"10000" : "",
"182" : "СИС. АДМИНИСТРАТОР",
"183" : "",
"253" : 1,
"254" : 1,
"255" : 1,
"256" : 1,
"257" : 1,
"299" : 0,
"65" : 0,
"9" : 1
}
]
2023.11.27 12:05:30.942 T: P50LOG:00001068 INFO [FiscalPrinter] Начато выполнение потока P50LOG:00001068
2023.11.27 12:05:30.942 T: T:00000EA0 INFO [FiscalPrinter] Чтение кеша: [C:\Documents and Settings\Евгений\Application Data\ATOL\drivers10\cache\00106109593050.json]
2023.11.27 12:05:30.942 T: T:00000EA0 INFO [FiscalPrinter] Содержимое файла кеша:
2023.11.27 12:05:30.942 T: T:00000EA0 INFO [FiscalPrinter] {
"lastFiscalDocumentNumber" : 7021
}

2023.11.27 12:05:30.942 T: T:00000EA0 INFO [FiscalPrinter] additionalHeader = null

2023.11.27 12:05:30.942 T: T:00000EA0 INFO [FiscalPrinter] Чтение кеша: [C:\Documents and Settings\Евгений\Application Data\ATOL\drivers10\cache\00106109593050.json]
2023.11.27 12:05:30.942 T: T:00000EA0 INFO [FiscalPrinter] Содержимое файла кеша:
2023.11.27 12:05:30.942 T: T:00000EA0 INFO [FiscalPrinter] {
"lastFiscalDocumentNumber" : 7021
}

2023.11.27 12:05:30.942 T: T:00000EA0 INFO [FiscalPrinter] additionalFooter = null

2023.11.27 12:05:30.942 T: T:00000EA0 INFO [FiscalPrinter] output > !a[0Ah][09h][03h][01h][00h]r[00h][00h][00h][00h][00h][00h][00h][00h][00h][00h];
2023.11.27 12:05:30.942 T: T:00000EA0 INFO [Transport] send system (01) 01 40 21 61 0A 09 03 01 00 72 00 00 00 00 00 00 00 00 00 00 3B (21 bytes total)
2023.11.27 12:05:30.942 T: T:00000EA0 INFO [Transport] recv system (01) 01 30 30 (3 bytes total)
2023.11.27 12:05:30.942 T: T:00000EA0 INFO [FiscalPrinter] input <
2023.11.27 12:05:30.942 T: T:00000EA0 INFO [FiscalPrinter] output > 21
2023.11.27 12:05:30.942 T: T:00000EA0 INFO [Transport] send fiscal (06) 06 40 32 31 (4 bytes total)
2023.11.27 12:05:30.942 T: T:00000EA0 INFO [Transport] recv fiscal (06) 06 30 30 30 30 31 30 36 31 30 39 35 39 33 30 35 30 3B 80 92 8E 8B 20 33 30 94 3B (27 bytes total)
2023.11.27 12:05:30.942 T: T:00000EA0 INFO [FiscalPrinter] input < 00106109593050;АТОЛ 30Ф;
2023.11.27 12:05:30.942 T: T:00000EA0 INFO [FiscalPrinter] output > "18;
2023.11.27 12:05:30.942 T: T:00000EA0 INFO [Transport] send system (02) 02 40 22 31 38 3B (6 bytes total)
2023.11.27 12:05:30.942 T: T:00000EA0 INFO [Transport] recv system (02) 02 30 30 E4 F3 27 06 82 90 3B (10 bytes total)
2023.11.27 12:05:30.942 T: T:00000EA0 INFO [FiscalPrinter] input < фє'[06h]ВР;
2023.11.27 12:05:30.942 T: T:00000EA0 INFO [FiscalPrinter] output > "19;
2023.11.27 12:05:30.942 T: T:00000EA0 INFO [Transport] send system (03) 03 40 22 31 39 3B (6 bytes total)
2023.11.27 12:05:30.957 T: T:00000EA0 INFO [Transport] recv system (03) 03 30 30 30 30 31 30 36 31 30 39 35 39 33 30 35 30 3B (18 bytes total)
2023.11.27 12:05:30.957 T: T:00000EA0 INFO [FiscalPrinter] input < 00106109593050;
2023.11.27 12:05:30.957 T: T:00000EA0 INFO [FiscalPrinter] > LIBFPTR_PARAM_DATA_TYPE (65587) = 16
2023.11.27 12:05:30.957 T: MON:00001708 INFO [FiscalPrinter] Начато выполнение потока MON:00001708
2023.11.27 12:05:30.957 T: T:00000EA0 INFO [FiscalPrinter] libfptr_query_data()
2023.11.27 12:05:30.957 T: T:00000EA0 INFO [FiscalPrinter] output > 21
2023.11.27 12:05:30.957 T: T:00000EA0 INFO [Transport] send fiscal (07) 07 40 32 31 (4 bytes total)
2023.11.27 12:05:30.957 T: T:00000EA0 INFO [Transport] recv fiscal (07) 07 30 30 30 30 31 30 36 31 30 39 35 39 33 30 35 30 3B 80 92 8E 8B 20 33 30 94 3B (27 bytes total)
2023.11.27 12:05:30.957 T: T:00000EA0 INFO [FiscalPrinter] input < 00106109593050;АТОЛ 30Ф;
2023.11.27 12:05:30.957 T: T:00000EA0 INFO [FiscalPrinter] < LIBFPTR_PARAM_SERIAL_NUMBER (65559) = "00106109593050"
2023.11.27 12:05:30.957 T: T:00000EA0 INFO [FiscalPrinter] > LIBFPTR_PARAM_DATA_TYPE (65587) = 15
2023.11.27 12:05:30.957 T: T:00000EA0 INFO [FiscalPrinter] libfptr_query_data()
2023.11.27 12:05:30.973 T: T:00000EA0 INFO [FiscalPrinter] output > 01
2023.11.27 12:05:30.973 T: T:00000EA0 INFO [Transport] send fiscal (08) 08 40 30 31 (4 bytes total)
2023.11.27 12:05:30.973 T: T:00000EA0 INFO [Transport] recv fiscal (08) 08 30 30 30 3B 37 3B 39 37 32 39 3B 32 3B 30 3B (16 bytes total)
2023.11.27 12:05:30.973 T: T:00000EA0 INFO [FiscalPrinter] input < 0;7;9729;2;0;
2023.11.27 12:05:30.973 T: T:00000EA0 INFO [FiscalPrinter] output > 11
2023.11.27 12:05:30.973 T: T:00000EA0 INFO [Transport] send fiscal (09) 09 40 31 31 (4 bytes total)
2023.11.27 12:05:30.973 T: T:00000EA0 INFO [Transport] recv fiscal (09) 09 30 30 31 33 35 3B 37 30 32 31 3B 36 3B 37 3B (16 bytes total)
2023.11.27 12:05:30.973 T: T:00000EA0 INFO [FiscalPrinter] input < 135;7021;6;7;
2023.11.27 12:05:30.973 T: T:00000EA0 INFO [FiscalPrinter] output > 13
2023.11.27 12:05:30.973 T: T:00000EA0 INFO [Transport] send fiscal (0A) 0A 40 31 33 (4 bytes total)
2023.11.27 12:05:30.973 T: T:00000EA0 INFO [Transport] recv fiscal (0A) 0A 30 30 30 2E 30 30 3B 30 2E 30 30 3B 30 2E 30 30 3B (18 bytes total)
2023.11.27 12:05:30.973 T: T:00000EA0 INFO [FiscalPrinter] input < 0.00;0.00;0.00;
2023.11.27 12:05:30.989 T: T:00000EA0 INFO [FiscalPrinter] < LIBFPTR_PARAM_RECEIPT_TYPE (65545) = 1
2023.11.27 12:05:30.989 T: T:00000EA0 INFO [FiscalPrinter] < LIBFPTR_PARAM_RECEIPT_NUMBER (65597) = 6
2023.11.27 12:05:30.989 T: T:00000EA0 INFO [FiscalPrinter] < LIBFPTR_PARAM_DOCUMENT_NUMBER (65598) = 7021
2023.11.27 12:05:30.989 T: T:00000EA0 INFO [FiscalPrinter] < LIBFPTR_PARAM_RECEIPT_SUM (65600) = 0
2023.11.27 12:05:30.989 T: T:00000EA0 INFO [FiscalPrinter] < LIBFPTR_PARAM_REMAINDER (65566) = 0
2023.11.27 12:05:30.989 T: T:00000EA0 INFO [FiscalPrinter] < LIBFPTR_PARAM_CHANGE (65567) = 0
2023.11.27 12:05:30.989 T: T:00000EA0 INFO [FiscalPrinter] libfptr_cancel_receipt()
2023.11.27 12:05:30.989 T: T:00000EA0 INFO [FiscalPrinter] output > a1
2023.11.27 12:05:30.989 T: T:00000EA0 INFO [Transport] send fiscal (0B) 0B 40 61 31 (4 bytes total)
2023.11.27 12:05:31.254 T: T:00000EA0 INFO [Transport] recv fiscal (0B) 0B 30 30 (3 bytes total)
2023.11.27 12:05:31.254 T: T:00000EA0 INFO [FiscalPrinter] input <
2023.11.27 12:05:31.254 T: T:00000EA0 INFO [FiscalPrinter] output > 01
2023.11.27 12:05:31.254 T: T:00000EA0 INFO [Transport] send fiscal (0C) 0C 40 30 31 (4 bytes total)
2023.11.27 12:05:31.254 T: T:00000EA0 INFO [Transport] recv fiscal (0C) 0C 30 30 30 3B 37 3B 30 3B 30 3B 30 3B (13 bytes total)
2023.11.27 12:05:31.254 T: T:00000EA0 INFO [FiscalPrinter] input < 0;7;0;0;0;
2023.11.27 12:05:31.254 T: T:00000EA0 INFO [FiscalPrinter] > 1021 (1021) = "Продавец Иванов Иван Иванович"
2023.11.27 12:05:31.254 T: T:00000EA0 INFO [FiscalPrinter] > 1203 (1203) = "540320143261"
2023.11.27 12:05:31.254 T: T:00000EA0 INFO [FiscalPrinter] libfptr_operator_login()
2023.11.27 12:05:31.254 T: T:00000EA0 INFO [FiscalPrinter] output > B1Продавец Иванов Иван Иванович;540320143261;
2023.11.27 12:05:31.254 T: T:00000EA0 INFO [Transport] send fiscal (0D) 0D 40 42 31 8F E0 AE A4 A0 A2 A5 E6 20 88 A2 A0 AD AE A2 20 88 A2 A0 AD 20 88 A2 A0 AD AE A2 A8 E7 3B 35 34 30 33 32 30 31 34 33 32 36 31 3B (47 bytes total)
2023.11.27 12:05:31.254 T: T:00000EA0 INFO [Transport] recv fiscal (0D) 0D 30 30 (3 bytes total)
2023.11.27 12:05:31.254 T: T:00000EA0 INFO [FiscalPrinter] input <
2023.11.27 12:05:31.254 T: T:00000EA0 INFO [FiscalPrinter] > LIBFPTR_PARAM_RECEIPT_TYPE (65545) = 1
2023.11.27 12:05:31.254 T: T:00000EA0 INFO [FiscalPrinter] libfptr_open_receipt()
2023.11.27 12:05:31.254 T: T:00000EA0 INFO [FiscalPrinter] output > "6
2023.11.27 12:05:31.254 T: T:00000EA0 INFO [Transport] send system (04) 04 40 22 36 (4 bytes total)
2023.11.27 12:05:31.504 T: T:00000EA0 INFO [Transport] recv system (04) 04 30 30 01 3B E4 F3 27 06 82 90 3B 30 30 31 30 36 31 30 39 35 39 33 30 35 30 3B 02 CC EA FA 93 A1 B3 2F 74 FC 8D C6 06 FE B9 2F 55 03 73 07 E6 E4 CF D3 AC 94 52 1C 6B 0D 1D 5D B5 3B EC 64 6A B5 25 DF A3 C2 60 58 80 A0 1A 60 36 C9 4E 87 ED 5F FF 04 0F 46 2E E6 46 75 73 B0 45 B0 2C 18 A8 13 C4 E1 CC E4 A7 3C 61 0A 37 86 0F E3 CA C6 12 F2 41 9A E6 66 C8 89 B6 F2 90 D4 1E 43 3B CB 70 B9 EE 76 F9 2B 04 87 74 A6 02 A9 DC 65 34 1F 60 04 E0 D1 5E 77 88 06 8B 24 E0 24 C2 9E 8A E6 10 D7 69 EB 80 97 ED ED F6 4D 68 20 C0 E3 F2 50 94 47 D0 F3 41 7C 5F 07 0C 7E 7E 5A AA D4 6C 9A 3B (192 bytes total)
2023.11.27 12:05:31.504 T: T:00000EA0 INFO [FiscalPrinter] input < [01h];фє'[06h]ВР;00106109593050;[02h]╠ъ·Уб│/t№Н╞[06h]■╣/U[03h]s[07h]цф╧╙мФR[1Ch]k[0Dh][1Dh]]╡;ьdj╡%▀г┬`XАа[1Ah]`6╔NЗэ_[FFh][04h][0Fh]F.цFus░E░,[18h]и[13h]─с╠фз<a[0Ah]7Ж[0Fh]у╩╞[12h]ЄAЪцf╚Й╢ЄР╘[1Eh]C;╦p╣юv∙+[04h]Зtж[02h]й▄e4[1Fh]`[04h]р╤^wИ[06h]Л$р$┬ЮКц[10h]╫iыАЧээЎMh └уЄPФG╨єA|_[07h][0Ch]~Zк╘lЪ;
2023.11.27 12:05:31.520 T: T:00000EA0 INFO [FiscalPrinter] output > 01
2023.11.27 12:05:31.520 T: T:00000EA0 INFO [Transport] send fiscal (0E) 0E 40 30 31 (4 bytes total)
2023.11.27 12:05:31.520 T: T:00000EA0 INFO [Transport] recv fiscal (0E) 0E 30 30 30 3B 37 3B 30 3B 30 3B 30 3B (13 bytes total)
2023.11.27 12:05:31.520 T: T:00000EA0 INFO [FiscalPrinter] input < 0;7;0;0;0;
2023.11.27 12:05:31.520 T: T:00000EA0 INFO [FiscalPrinter] Чтение кеша: [C:\Documents and Settings\Евгений\Application Data\ATOL\drivers10\cache\00106109593050.json]
2023.11.27 12:05:31.520 T: T:00000EA0 INFO [FiscalPrinter] Содержимое файла кеша:
2023.11.27 12:05:31.520 T: T:00000EA0 INFO [FiscalPrinter] {
"lastFiscalDocumentNumber" : 7021
}

2023.11.27 12:05:31.520 T: T:00000EA0 INFO [FiscalPrinter] lastFiscalDocumentNumber = 7021

2023.11.27 12:05:31.520 T: T:00000EA0 INFO [FiscalPrinter] output > 40
2023.11.27 12:05:31.520 T: T:00000EA0 INFO [Transport] send fiscal (0F) 0F 40 34 30 (4 bytes total)
2023.11.27 12:05:31.629 T: T:00000EA0 INFO [Transport] recv fiscal (0F) 0F 30 30 03 00 00 01 00 17 0B 1B 0B 2F 37 32 38 31 34 34 30 35 30 30 36 33 34 37 30 31 6D 1B 00 00 3B (34 bytes total)
2023.11.27 12:05:31.629 T: T:00000EA0 INFO [FiscalPrinter] input < [03h][00h][00h][01h][00h][17h][0Bh][1Bh][0Bh]/7281440500634701m[1Bh][00h][00h];
2023.11.27 12:05:31.629 T: T:00000EA0 INFO [FiscalPrinter] Запись кеша: [C:\Documents and Settings\Евгений\Application Data\ATOL\drivers10\cache\00106109593050.json]
2023.11.27 12:05:31.629 T: T:00000EA0 INFO [FiscalPrinter] Файл кеша (до изменения):
2023.11.27 12:05:31.629 T: T:00000EA0 INFO [FiscalPrinter] {
"lastFiscalDocumentNumber" : 7021
}

2023.11.27 12:05:31.629 T: T:00000EA0 INFO [FiscalPrinter] Файл кеша успешно записан ...
2023.11.27 12:05:31.629 T: T:00000EA0 INFO [FiscalPrinter] Записанный JSON: {
"lastFiscalDocumentNumber" : 7021
}

2023.11.27 12:05:31.629 T: T:00000EA0 INFO [FiscalPrinter] output > Q21002;[05h]А[00h][00h];
2023.11.27 12:05:31.629 T: T:00000EA0 INFO [Transport] send fiscal (10) 10 40 51 32 31 30 30 32 3B 05 80 00 00 3B (14 bytes total)
2023.11.27 12:05:31.645 T: T:00000EA0 INFO [Transport] recv fiscal (10) 10 30 30 33 32 3B (6 bytes total)
2023.11.27 12:05:31.645 T: T:00000EA0 INFO [FiscalPrinter] input < 32;
2023.11.27 12:05:31.645 T: T:00000EA0 INFO [FiscalPrinter] output > 01
2023.11.27 12:05:31.645 T: T:00000EA0 INFO [Transport] send fiscal (11) 11 40 30 31 (4 bytes total)
2023.11.27 12:05:31.645 T: T:00000EA0 INFO [Transport] recv fiscal (11) 11 30 30 30 3B 37 3B 30 3B 30 3B 30 3B (13 bytes total)
2023.11.27 12:05:31.645 T: T:00000EA0 INFO [FiscalPrinter] input < 0;7;0;0;0;
2023.11.27 12:05:31.645 T: T:00000EA0 INFO [FiscalPrinter] output > b11;0;32;
2023.11.27 12:05:31.645 T: T:00000EA0 INFO [Transport] send fiscal (12) 12 40 62 31 31 3B 30 3B 33 32 3B (11 bytes total)
2023.11.27 12:05:31.832 T: T:00000EA0 INFO [Transport] recv fiscal (12) 12 30 30 (3 bytes total)
2023.11.27 12:05:31.832 T: T:00000EA0 INFO [FiscalPrinter] input <
2023.11.27 12:05:31.832 T: T:00000EA0 INFO [FiscalPrinter] output > 01
2023.11.27 12:05:31.832 T: T:00000EA0 INFO [Transport] send fiscal (13) 13 40 30 31 (4 bytes total)
2023.11.27 12:05:31.848 T: T:00000EA0 INFO [Transport] recv fiscal (13) 13 30 30 30 3B 37 3B 31 3B 33 38 3B 30 3B (14 bytes total)
2023.11.27 12:05:31.848 T: T:00000EA0 INFO [FiscalPrinter] input < 0;7;1;38;0;
2023.11.27 12:05:31.848 T: T:00000EA0 INFO [FiscalPrinter] libfptr_cancel_marking_code_validation()
2023.11.27 12:05:31.848 T: T:00000EA0 INFO [FiscalPrinter] output > UD
2023.11.27 12:05:31.848 T: T:00000EA0 INFO [Transport] send fiscal (14) 14 40 55 44 (4 bytes total)
2023.11.27 12:05:31.848 T: T:00000EA0 INFO [Transport] recv fiscal (14) 14 30 30 (3 bytes total)
2023.11.27 12:05:31.848 T: T:00000EA0 INFO [FiscalPrinter] input <
2023.11.27 12:05:31.848 T: T:00000EA0 INFO [FiscalPrinter] > LIBFPTR_PARAM_MARKING_CODE_TYPE (65826) = 256
2023.11.27 12:05:31.848 T: T:00000EA0 INFO [FiscalPrinter] > LIBFPTR_PARAM_MARKING_CODE (65760) = 30 31 30 34 36 30 36 37 37 39 34 36 30 35 30 30 32 31 35 42 4E 6A 37 43 1D 39 33 33 39 56 75 00
2023.11.27 12:05:31.848 T: T:00000EA0 INFO [FiscalPrinter] > LIBFPTR_PARAM_MARKING_CODE_STATUS (65846) = 1
2023.11.27 12:05:31.848 T: T:00000EA0 INFO [FiscalPrinter] > LIBFPTR_PARAM_MARKING_PROCESSING_MODE (65852) = 0
2023.11.27 12:05:31.848 T: T:00000EA0 INFO [FiscalPrinter] libfptr_begin_marking_code_validation()
2023.11.27 12:05:31.864 T: T:00000EA0 INFO [FiscalPrinter] output > U@0;0104606779460500215BNj7C[1Dh]9339Vu[00h];╙[07h][01h][00h][01h]6[08h][01h][00h][00h];
2023.11.27 12:05:31.864 T: T:00000EA0 INFO [Transport] send fiscal (15) 15 40 55 40 30 3B 30 31 30 34 36 30 36 37 37 39 34 36 30 35 30 30 32 31 35 42 4E 6A 37 43 1D 39 33 33 39 56 75 00 3B D3 07 01 00 01 36 08 01 00 00 3B (50 bytes total)
2023.11.27 12:05:32.082 T: T:00000EA0 INFO [Transport] recv fiscal (15) 15 30 30 30 3B 31 3B (7 bytes total)
2023.11.27 12:05:32.082 T: T:00000EA0 INFO [FiscalPrinter] input < 0;1;
2023.11.27 12:05:32.082 T: T:00000EA0 INFO [FiscalPrinter] < LIBFPTR_PARAM_MARKING_CODE_VALIDATION_RESULT (65847) = 0
2023.11.27 12:05:32.082 T: T:00000EA0 INFO [FiscalPrinter] < LIBFPTR_PARAM_MARKING_CODE_OFFLINE_VALIDATION_ERROR (65848) = 1
2023.11.27 12:05:32.082 T: T:00000EA0 INFO [FiscalPrinter] libfptr_get_marking_code_validation_status()
2023.11.27 12:05:32.082 T: T:00000EA0 INFO [FiscalPrinter] output > UA
2023.11.27 12:05:32.082 T: T:00000EA0 INFO [Transport] send fiscal (16) 16 40 55 41 (4 bytes total)
2023.11.27 12:05:32.098 T: T:00000EA0 INFO [Transport] recv fiscal (16) 16 30 30 30 3B 30 3B 30 3B 3B 30 3B (12 bytes total)
2023.11.27 12:05:32.098 T: T:00000EA0 INFO [FiscalPrinter] input < 0;0;0;;0;
2023.11.27 12:05:32.098 T: T:00000EA0 INFO [FiscalPrinter] < LIBFPTR_PARAM_MARKING_CODE_VALIDATION_READY (65850) = false
2023.11.27 12:05:32.098 T: T:00000EA0 INFO [FiscalPrinter] libfptr_get_marking_code_validation_status()
2023.11.27 12:05:32.098 T: T:00000EA0 INFO [FiscalPrinter] output > UA
2023.11.27 12:05:32.098 T: T:00000EA0 INFO [Transport] send fiscal (17) 17 40 55 41 (4 bytes total)
2023.11.27 12:05:32.098 T: T:00000EA0 INFO [Transport] recv fiscal (17) 17 30 30 30 3B 30 3B 30 3B 3B 30 3B (12 bytes total)
2023.11.27 12:05:32.098 T: T:00000EA0 INFO [FiscalPrinter] input < 0;0;0;;0;
2023.11.27 12:05:32.098 T: T:00000EA0 INFO [FiscalPrinter] < LIBFPTR_PARAM_MARKING_CODE_VALIDATION_READY (65850) = false
2023.11.27 12:05:32.832 T: T:00000EA0 INFO [FiscalPrinter] libfptr_get_marking_code_validation_status()
2023.11.27 12:05:32.832 T: T:00000EA0 INFO [FiscalPrinter] output > UA
2023.11.27 12:05:32.832 T: T:00000EA0 INFO [Transport] send fiscal (85) 85 40 55 41 (4 bytes total)
2023.11.27 12:05:32.832 T: T:00000EA0 INFO [Transport] recv fiscal (85) 85 30 30 30 3B 30 3B 30 3B 3B 30 3B (12 bytes total)
2023.11.27 12:05:32.832 T: T:00000EA0 INFO [FiscalPrinter] input < 0;0;0;;0;
2023.11.27 12:05:32.832 T: T:00000EA0 INFO [FiscalPrinter] < LIBFPTR_PARAM_MARKING_CODE_VALIDATION_READY (65850) = false
2023.11.27 12:05:32.832 T: T:00000EA0 INFO [FiscalPrinter] libfptr_get_marking_code_validation_status()
2023.11.27 12:05:32.832 T: T:00000EA0 INFO [FiscalPrinter] output > UA
2023.11.27 12:05:32.832 T: T:00000EA0 INFO [Transport] send fiscal (86) 86 40 55 41 (4 bytes total)
2023.11.27 12:05:32.832 T: T:00000EA0 INFO [Transport] recv fiscal (86) 86 30 30 31 3B 30 3B 35 3B 42 08 04 00 F4 5B 64 65 39 08 01 00 02 D5 07 01 00 05 3B 31 3B (30 bytes total)
2023.11.27 12:05:32.832 T: T:00000EA0 INFO [FiscalPrinter] input < 1;0;5;B[08h][04h][00h]Ї[de9[08h][01h][00h][02h]╒[07h][01h][00h][05h];1;
2023.11.27 12:05:32.848 T: T:00000EA0 INFO [FiscalPrinter] < LIBFPTR_PARAM_MARKING_CODE_VALIDATION_READY (65850) = true
2023.11.27 12:05:32.848 T: T:00000EA0 INFO [FiscalPrinter] < LIBFPTR_PARAM_IS_REQUEST_SENT (65878) = true
2023.11.27 12:05:32.848 T: T:00000EA0 INFO [FiscalPrinter] < LIBFPTR_PARAM_MARKING_CODE_ONLINE_VALIDATION_ERROR_DESCRIPTION (65887) = "Ошибок нет"
2023.11.27 12:05:32.848 T: T:00000EA0 INFO [FiscalPrinter] < LIBFPTR_PARAM_MARKING_CODE_ONLINE_VALIDATION_ERROR (65849) = 0
2023.11.27 12:05:32.848 T: T:00000EA0 INFO [FiscalPrinter] < 2106 (2106) = 5
2023.11.27 12:05:32.848 T: T:00000EA0 INFO [FiscalPrinter] < LIBFPTR_PARAM_MARKING_CODE_ONLINE_VALIDATION_RESULT (65886) = 5
2023.11.27 12:05:32.848 T: T:00000EA0 INFO [FiscalPrinter] < 2114 (2114) = F4 5B 64 65
2023.11.27 12:05:32.848 T: T:00000EA0 INFO [FiscalPrinter] < 2105 (2105) = 02
2023.11.27 12:05:32.848 T: T:00000EA0 INFO [FiscalPrinter] < 2005 (2005) = 05
2023.11.27 12:05:32.848 T: T:00000EA0 INFO [FiscalPrinter] < LIBFPTR_PARAM_TLV_LIST (65858) = "2114;2105;2005"
2023.11.27 12:05:33.551 T: T:00000EA0 INFO [FiscalPrinter] libfptr_accept_marking_code()
2023.11.27 12:05:33.551 T: T:00000EA0 INFO [FiscalPrinter] output > UB1;
2023.11.27 12:05:33.551 T: T:00000EA0 INFO [Transport] send fiscal (87) 87 40 55 42 31 3B (6 bytes total)
2023.11.27 12:05:33.598 T: T:00000EA0 INFO [Transport] recv fiscal (87) 87 30 30 35 3B (5 bytes total)
2023.11.27 12:05:33.598 T: T:00000EA0 INFO [FiscalPrinter] input < 5;
2023.11.27 12:05:33.598 T: T:00000EA0 INFO [FiscalPrinter] Чтение таблицы КМ (1 элементов)
2023.11.27 12:05:33.598 T: T:00000EA0 INFO [FiscalPrinter] 1. [CRC = 398970890, 2106 = 5] 30 31 30 34 36 30 36 37 37 39 34 36 30 35 30 30 32 31 35 42 4E 6A 37 43 1D 39 33 33 39 56 75 00
2023.11.27 12:05:33.598 T: T:00000EA0 INFO [FiscalPrinter] < 2106 (2106) = 5
2023.11.27 12:05:33.598 T: T:00000EA0 INFO [FiscalPrinter] < LIBFPTR_PARAM_MARKING_CODE_ONLINE_VALIDATION_RESULT (65886) = 5
2023.11.27 12:05:33.598 T: T:00000EA0 INFO [FiscalPrinter] > LIBFPTR_PARAM_TAX_TYPE (65569) = 6
2023.11.27 12:05:33.598 T: T:00000EA0 INFO [FiscalPrinter] > LIBFPTR_PARAM_MARKING_CODE_TYPE (65826) = 256
2023.11.27 12:05:33.598 T: T:00000EA0 INFO [FiscalPrinter] > LIBFPTR_PARAM_MARKING_CODE (65760) = 30 31 30 34 36 30 36 37 37 39 34 36 30 35 30 30 32 31 35 42 4E 6A 37 43 1D 39 33 33 39 56 75 00
2023.11.27 12:05:33.598 T: T:00000EA0 INFO [FiscalPrinter] > LIBFPTR_PARAM_MARKING_CODE_STATUS (65846) = 1
2023.11.27 12:05:33.598 T: T:00000EA0 INFO [FiscalPrinter] > LIBFPTR_PARAM_MARKING_CODE_ONLINE_VALIDATION_RESULT (65886) = 5
2023.11.27 12:05:33.598 T: T:00000EA0 INFO [FiscalPrinter] > LIBFPTR_PARAM_MARKING_PROCESSING_MODE (65852) = 0
2023.11.27 12:05:33.598 T: T:00000EA0 INFO [FiscalPrinter] > LIBFPTR_PARAM_COMMODITY_NAME (65631) = "ТЕСТ Йогурта"
2023.11.27 12:05:33.598 T: T:00000EA0 INFO [FiscalPrinter] > LIBFPTR_PARAM_PRICE (65632) = 5.25
2023.11.27 12:05:33.598 T: T:00000EA0 INFO [FiscalPrinter] > LIBFPTR_PARAM_QUANTITY (65633) = 1
2023.11.27 12:05:33.598 T: T:00000EA0 INFO [FiscalPrinter] > LIBFPTR_PARAM_DEPARTMENT (65568) = 1
2023.11.27 12:05:33.598 T: T:00000EA0 INFO [FiscalPrinter] > 1212 (1212) = 33
2023.11.27 12:05:33.598 T: T:00000EA0 INFO [FiscalPrinter] > 1214 (1214) = 4
2023.11.27 12:05:33.598 T: T:00000EA0 INFO [FiscalPrinter] libfptr_registration()
2023.11.27 12:05:33.598 T: T:00000EA0 INFO [FiscalPrinter] output > 34
2023.11.27 12:05:33.614 T: T:00000EA0 INFO [Transport] send fiscal (88) 88 40 33 34 (4 bytes total)
2023.11.27 12:05:33.614 T: T:00000EA0 INFO [Transport] recv fiscal (88) 88 30 30 34 3B 34 3B 34 3B 32 36 31 3B (13 bytes total)
2023.11.27 12:05:33.614 T: T:00000EA0 INFO [FiscalPrinter] input < 4;4;4;261;
2023.11.27 12:05:33.614 T: T:00000EA0 INFO [FiscalPrinter] Чтение таблицы КМ (1 элементов)
2023.11.27 12:05:33.614 T: T:00000EA0 INFO [FiscalPrinter] 1. [CRC = 398970890, 2106 = 5] 30 31 30 34 36 30 36 37 37 39 34 36 30 35 30 30 32 31 35 42 4E 6A 37 43 1D 39 33 33 39 56 75 00
2023.11.27 12:05:33.614 T: T:00000EA0 INFO [FiscalPrinter] output > bQ0;0;1;5;0104606779460500215BNj7C[1Dh]9339Vu[00h];
2023.11.27 12:05:33.614 T: T:00000EA0 INFO [Transport] send fiscal (89) 89 40 62 51 30 3B 30 3B 31 3B 35 3B 30 31 30 34 36 30 36 37 37 39 34 36 30 35 30 30 32 31 35 42 4E 6A 37 43 1D 39 33 33 39 56 75 00 3B (45 bytes total)
2023.11.27 12:05:33.817 T: T:00000EA0 INFO [Transport] recv fiscal (89) 89 6E 34 (3 bytes total)
2023.11.27 12:05:33.817 T: T:00000EA0 ERROR [FiscalPrinter] Код ошибки ККТ - 346Eh
2023.11.27 12:05:33.817 T: T:00000EA0 ERROR [FiscalPrinter] Объекту 0x00169738 присвоен код ошибки 420 [В реквизите 2007 содержится КМ, который ранее не проверялся в ФН]
2023.11.27 12:05:36.660 T: MON:00001708 INFO [FiscalPrinter] Завершение выполнения потока MON:00001708
2023.11.27 12:05:36.660 T: T:00000EA0 INFO [FiscalPrinter] libfptr_close()
2023.11.27 12:05:36.770 T: P50LOG:00001068 INFO [FiscalPrinter] Завершение выполнения потока P50LOG:00001068
2023.11.27 12:05:36.785 T:P50POLL:000014E4 INFO [FiscalPrinter] Завершение выполнения потока P50POLL:000014E4
28.11.2023 06:05
victuan
 
Цитата:
amadey Марка 0104606779460500215BNj7C
Тут обрезанная марка (подойдет только для ФФД 1.05).
Для ФФД 1.2 нужно передавать в ККМ полную марку с криптохвостом в том виде, как она считана сканером (включая символы GS).
При этом никаких "терминирующих нулей" добавлять не надо.

Вот так у себя передаю:

fptr.setParam(fptr.LIBFPTR_PARAM_MARKING_CODE, mark);
28.11.2023 09:50
amadey
 
Цитата:
victuan Тут обрезанная марка (подойдет только для ФФД 1.05).
Для ФФД 1.2 нужно передавать в ККМ полную марку с криптохвостом в том виде, как она считана сканером (включая символы GS).
При этом никаких "терминирующих нулей" добавлять не надо.

Вот так у себя передаю:

fptr.setParam(fptr.LIBFPTR_PARAM_MARKING_CODE, mark);
Спасибо, помогло!
29.03.2024 14:15
TTTemappp
 
где это менять? подскажите пожалуйста. такая же ошибка. раньше с кассами дел не имел особо.
Часовой пояс GMT +3, время: 17:16.

Форум на базе vBulletin®
Copyright © Jelsoft Enterprises Ltd.
В случае заимствования информации гипертекстовая индексируемая ссылка на Форум обязательна.