From ce6053f4354d81dbac06fe7d991a02209a25b757 Mon Sep 17 00:00:00 2001 From: Siegfried Siegert Date: Wed, 7 Aug 2024 16:39:10 +0200 Subject: [PATCH 1/4] ATBAPP: setPrinterEncoding and printerLocale --- etc/atbapp/ATBAPP.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/atbapp/ATBAPP.ini b/etc/atbapp/ATBAPP.ini index baaa428..687df05 100644 --- a/etc/atbapp/ATBAPP.ini +++ b/etc/atbapp/ATBAPP.ini @@ -95,8 +95,8 @@ tariffFileName=/etc/psa_tariff/tariff01.json [ATBDeviceControllerPlugin] serialPort=ttymxc2 -printerEncoding="Windows-1252" -printerLocale="de_DE" +printerEncoding="Windows-1257" +printerLocale="lt_LT" [TCP_ZVT_CCPlugin] CurrencyCode=EUR From 59e020c60b52623e8592afe359a8a5b919fcf118 Mon Sep 17 00:00:00 2001 From: Siegfried Siegert Date: Wed, 7 Aug 2024 16:42:46 +0200 Subject: [PATCH 2/4] ATBAPP: add current states --- etc/atbapp/states/APP_States.xml | 286 +++++++++++++++++++++++++++++++ 1 file changed, 286 insertions(+) create mode 100644 etc/atbapp/states/APP_States.xml diff --git a/etc/atbapp/states/APP_States.xml b/etc/atbapp/states/APP_States.xml new file mode 100644 index 0000000..7897dbc --- /dev/null +++ b/etc/atbapp/states/APP_States.xml @@ -0,0 +1,286 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From 8a3ed1ff112dfb28551c5e753296d3d27e1e0f40 Mon Sep 17 00:00:00 2001 From: Siegfried Siegert Date: Wed, 7 Aug 2024 16:44:37 +0200 Subject: [PATCH 3/4] ATBAPP: states: skip printing bank receipt --- etc/atbapp/states/APP_States.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/atbapp/states/APP_States.xml b/etc/atbapp/states/APP_States.xml index 7897dbc..98cd094 100644 --- a/etc/atbapp/states/APP_States.xml +++ b/etc/atbapp/states/APP_States.xml @@ -220,7 +220,7 @@ - + From 88468a9d2a8829b0ef38ed77ad76b6a917fa530a Mon Sep 17 00:00:00 2001 From: Siegfried Siegert Date: Wed, 7 Aug 2024 17:16:16 +0200 Subject: [PATCH 4/4] Setup opkg-commands --- etc/psa_update/opkg_commands | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/etc/psa_update/opkg_commands b/etc/psa_update/opkg_commands index ce9d69b..3907e0a 100755 --- a/etc/psa_update/opkg_commands +++ b/etc/psa_update/opkg_commands @@ -4,13 +4,15 @@ # opkg-commands added to this file will be executed by ATBUpdateTool. ############################################################################### # -#opkg update -#opkg install prepare-update +opkg update +opkg install prepare-update # -#opkg --cache /var/cache/opkg --download-only upgrade atb-dc-libraries -#opkg --cache /var/cache/opkg --download-only upgrade atb-plugin-dc -#opkg --cache /var/cache/opkg --download-only upgrade atbqt +opkg --cache /var/cache/opkg --download-only upgrade atb-plugin-cc-asyncpos +opkg --cache /var/cache/opkg --download-only upgrade atb-dc-libraries +opkg --cache /var/cache/opkg --download-only upgrade atb-plugin-dc +opkg --cache /var/cache/opkg --download-only upgrade atbqt # -#opkg --cache /var/cache/opkg upgrade atb-dc-libraries -#opkg --cache /var/cache/opkg upgrade atb-plugin-dc -#opkg --cache /var/cache/opkg upgrade atbqt +opkg --cache /var/cache/opkg upgrade atb-plugin-cc-asyncpos +opkg --cache /var/cache/opkg upgrade atb-dc-libraries +opkg --cache /var/cache/opkg upgrade atb-plugin-dc +opkg --cache /var/cache/opkg upgrade atbqt