Système Caisse a été développer en langage C++ (GNU GCC C++) Programmation Orientée Objet (POO) sous linux Ubuntu 18.10 avec le Framework QT5 (QT5-Default).
Outil interactif de conception d'interface graphique QT Creator.
Base de données SQLite version 3.24.0
Imprimante TM-T20II
GitHub Malanche/escpospp
EscPospp: C++ library to control POS printers
GitHub Duedal/iconv-test.cpp
Iconv-test.cpp: C++ Tool
Convertir le codage de fichiers donnés d'un codage à un autre.
Checkout system has been developed in C ++ language (GNU GCC C++) object-oriented programming (OOP) under Ubuntu Linux 18.10 with the QT5 Framework (QT5-Default).
Interactive QT Creator GUI design tool.
SQLite database version 3.24.0
TM-T20II Printer
GitHub Malanche/escpospp
EscPospp: C++ library to control POS printers
GitHub Duedal/iconv-test.cpp
Iconv-test.cpp: C++ Tool
Convert encoding of given files from one encoding to another.
Ubuntu 17.04 17.10 18.04 18.10 ou supérieur
Sytème caisse fonctionne avec libqt5widgets5 ou supérieur
Imprimante TM-T20II (Pas besoin de Driver TM-T20II seul L'utilitaire suffit pour configurer)
Il Faut que le Code Page de l'imprimante TM-T20II soit configuré au Code Page PC858 (EURO, FRANCE).
Avec utilitaire fournit par EPSON Téléchargement ici : TM-T20IIUtility120 Installer l'utilitaire dans Windows et connecter votre imprimante TM-T20II.
Configurer L'imprimante TM-T20II les paramètres sont :
PARAMETRES ACTUELS
Paramètres de police : Page Code : PC858 (EURO)
Jeu de caractère international : FRANCE
Si vous n'avez pas ces paramètres allez dans :
Click Police Puis : Page Code : PC858 (EURO)
Jeu de caractère international : FRANCE
Ubuntu 17.04 17.10 18.04 18.10 or higher
Checkout system works with libqt5widgets5 or higher
TM-T20II printer (No need for TM-T20II driver only The utility is enough to configure)
The TM-T20II Printer Page Code must be set to Code Page PC858 (EURO, FRANCE).
With utility provided by EPSON Download here : TM-T20IIUtility120 Install the utility in Windows and connect your TM-T20II printer.
Configure the printer TM-T20II the settings are :
CURRENT SETTING
Font setting : Code Page : PC858 (EURO)
International character set : FRANCE
If you do not have these settings go to :
Click Font Then : Code Page : PC858 (EURO)
International character set : FRANCE
1) Installation Sytème Caisse / Checkout System
>sudo dpkg -i caisse-1.0-QT_amd64.deb / >sudo dpkg -i checkout-1.0-QT-US_amd64.deb
Sortie / Output : CAISSE Selecting previously unselected package caisse. (Reading database ... 184458 files and directories currently installed.) Preparing to unpack caisse-1.0-QT_amd64.deb ... Unpacking caisse (1.0) over (1.0) ... dpkg: dependency problems prevent configuration of caisse: caisse depends on libqt5widgets5 (>= 5.0); however: Package libqt5widgets5 is not installed. dpkg: error processing package caisse (--install): dependency problems - leaving unconfigured Errors were encountered while processing: caisse CHECKOUT Selecting previously unselected package checkout. (Reading database ... 159610 files and directories currently installed.) Preparing to unpack checkout-1.0-QT-US_amd64.deb ... Unpacking checkout (1.0) ... dpkg: dependency problems prevent configuration of checkout: checkout depends on libqt5widgets5 (>= 5.0); however: Package libqt5widgets5 is not installed. dpkg: error processing package checkout (--install): dependency problems - leaving unconfigured Errors were encountered while processing: checkout
2) Installation Framework libqt5widgets5 / The libqt5widgets5 Framework installation
>sudo apt-get install -f
Sortie / Output : Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done The following additional packages will be installed: libqt5core5a libqt5dbus5 libqt5gui5 libqt5network5 libqt5svg5 libqt5widgets5 qt5-gtk-platformtheme Suggested packages: qt5-image-formats-plugins qtwayland5 The following NEW packages will be installed: libqt5core5a libqt5dbus5 libqt5gui5 libqt5network5 libqt5svg5 libqt5widgets5 qt5-gtk-platformtheme 0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. Need to get 0 B/8 253 kB of archives. After this operation, 29,6 MB of additional disk space will be used. Do you want to continue? [Y/n] Selecting previously unselected package libqt5core5a:amd64. (Reading database ... 160690 files and directories currently installed.) Preparing to unpack .../0-libqt5core5a_5.12.2+dfsg-4ubuntu1.1_amd64.deb ... Unpacking libqt5core5a:amd64 (5.12.2+dfsg-4ubuntu1.1) ... Selecting previously unselected package libqt5dbus5:amd64. Preparing to unpack .../1-libqt5dbus5_5.12.2+dfsg-4ubuntu1.1_amd64.deb ... Unpacking libqt5dbus5:amd64 (5.12.2+dfsg-4ubuntu1.1) ... Selecting previously unselected package libqt5network5:amd64. Preparing to unpack .../2-libqt5network5_5.12.2+dfsg-4ubuntu1.1_amd64.deb ... Unpacking libqt5network5:amd64 (5.12.2+dfsg-4ubuntu1.1) ... Selecting previously unselected package libqt5gui5:amd64. Preparing to unpack .../3-libqt5gui5_5.12.2+dfsg-4ubuntu1.1_amd64.deb ... Unpacking libqt5gui5:amd64 (5.12.2+dfsg-4ubuntu1.1) ... Selecting previously unselected package libqt5widgets5:amd64. Preparing to unpack .../4-libqt5widgets5_5.12.2+dfsg-4ubuntu1.1_amd64.deb ... Unpacking libqt5widgets5:amd64 (5.12.2+dfsg-4ubuntu1.1) ... Selecting previously unselected package libqt5svg5:amd64. Preparing to unpack .../5-libqt5svg5_5.12.2-1_amd64.deb ... Unpacking libqt5svg5:amd64 (5.12.2-1) ... Selecting previously unselected package qt5-gtk-platformtheme:amd64. Preparing to unpack .../6-qt5-gtk-platformtheme_5.12.2+dfsg-4ubuntu1.1_amd64.deb ... Unpacking qt5-gtk-platformtheme:amd64 (5.12.2+dfsg-4ubuntu1.1) ... Setting up libqt5core5a:amd64 (5.12.2+dfsg-4ubuntu1.1) ... Setting up libqt5dbus5:amd64 (5.12.2+dfsg-4ubuntu1.1) ... Setting up libqt5network5:amd64 (5.12.2+dfsg-4ubuntu1.1) ... Setting up libqt5gui5:amd64 (5.12.2+dfsg-4ubuntu1.1) ... Setting up libqt5widgets5:amd64 (5.12.2+dfsg-4ubuntu1.1) ... Setting up qt5-gtk-platformtheme:amd64 (5.12.2+dfsg-4ubuntu1.1) ... Setting up caisse (1.0) ... où / or Setting up checkout (1.0) ... Setting up libqt5svg5:amd64 (5.12.2-1) ... Processing triggers for libc-bin (2.29-0ubuntu2) ...
3) Execute Sytème Caisse /Execute Checkout System
Puis aller / Then go
>cd /caisse (où/or) cd /checkout
Exécuter / Execute
>ls -l
Sortie / Output : CAISSE >AproposdeImage.png >Caisse* >Caisse.db >Caisse.png >EnteteFormulaire.dat >PiedFormulaire.dat CHECKOUT >AproposdeImage.png >Caisse.db >Caisse.png >Checkout* >EnteteFormulaire.dat >FormCaisseTr_Us.qm >PiedFormulaire.dat
Exécuter Sytème Caisse / Execute Checkout System
>./Caisse (où/or) ./Checkout
Supprimer Sytème Caisse / Delete Checkout System
Exécuter / Execute
>dpkg -l | grep caisse / >dpkg -l | grep checkout
Sortie / Output : ii caisse 1.0 amd64 Système Caisse où/or ii checkout 1.0 amd64 Checkout System
Exécuter / Execute
>sudo dpkg -P caisse / >sudo dpkg -P checkout
Sortie / Output : (Reading database ... 178267 files and directories currently installed.) Removing caisse (1.0) ... où / or (Reading database ... 159972 files and directories currently installed.) Removing checkout (1.0) ...
4) Installation pour imprimant Epson TM-T20II / Printer installation Epson TM-T20II
Exécuter / Execute
>sudo usermod -a -G lp ub
ub est le user courrant à remplacer par votre user / ub is the current user to be replaced by your user
Puis / then
redémarrer / reboot
Si l'installation pour imprimant Epson TM-T20II échoue / If the installation for Epson TM-T20II printer fails
>sudo apt-get install libusb-1.0-0-dev
Sortie / Output : Setting up libusb-1.0-doc (2:1.0.22-2) ... Setting up libusb-1.0-0-dev:amd64 (2:1.0.22-2) ...