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 GTK+ GTKmm (libgtkmm-3.0-dev) et Framework Boost (libboost-all-dev).
Outil interactif de conception d'interface graphique GTK+ GLADE.
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 GTK+ GTKmm Framework (libgtkmm-3.0-dev) and Framework Boost (libboost-all-dev).
Interactive GTK+ GLADE 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 libgtkmm-3.0-dev ou supérieur et libboost-all-dev
Ubuntu : Paramètres
Pays et Langue -> Formats : France
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 libgtkmm-3.0-dev or higher and libboost-all-dev
Ubuntu : Settings
Region & Language -> Formats : France
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_amd64.deb
Sortie / Output : Selecting previously unselected package caisse. (Reading database ... 183864 files and directories currently installed.) Preparing to unpack caisse-1.0_amd64.deb ... Unpacking caisse (1.0) ... dpkg: dependency problems prevent configuration of caisse: caisse depends on libgtkmm-3.0-dev (>= 3.0); however: Package libgtkmm-3.0-dev is not installed. caisse depends on libboost-all-dev; however: Package libboost-all-dev is not installed. dpkg: error processing package caisse (--install): dependency problems - leaving unconfigured Errors were encountered while processing: caisse
2) Installation Framework libgtkmm-3.0-dev et libboost-all-dev / The libgtkmm-3.0-dev and libboost-all-dev 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: libboost-all-dev libgtkmm-3.0-dev Suggested packages: libgtkmm-3.0-doc The following NEW packages will be installed: libboost-all-dev libgtkmm-3.0-dev 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. Need to get 0 B/551 kB of archives. After this operation, 5,305 kB of additional disk space will be used. Do you want to continue? [Y/n] Selecting previously unselected package libgtkmm-3.0-dev:amd64. (Reading database ... 183884 files and directories currently installed.) Preparing to unpack .../libgtkmm-3.0-dev_3.24.0-2_amd64.deb ... Unpacking libgtkmm-3.0-dev:amd64 (3.24.0-2) ... Selecting previously unselected package libboost-all-dev. Preparing to unpack .../libboost-all-dev_1.67.0.1_amd64.deb ... Unpacking libboost-all-dev (1.67.0.1) ... Setting up libgtkmm-3.0-dev:amd64 (3.24.0-2) ... Setting up libboost-all-dev (1.67.0.1) ... Setting up caisse (1.0) ...
3) Execute Sytème Caisse / Execute Checkout System
Puis aller / Then go
>cd /caisse
Exécuter / Execute
>ls -l
Sortie / Output : >AproposdeImage.png >Caisse* >Caisse.db >Caisse.png >EnteteFormulaire.dat >FormCaisseAbout.glade >FormCaisseCalculStock.glade >FormCaisseConfig.glade >FormCaisseFormulaireTicket.glade >FormCaisse.glade >FormCaisseHistorique.glade >FormCaisseSaisieArticle.glade >FormCaisseSaisieStockComposition.glade >FormCaisseSaisieStockCouperColler.glade >FormCaisseSaisieStock.glade >FormCaisseSaisieStockMaj.glade >FormCaisseStart.glade >FormCaisseTicket.glade >PiedFormulaire.dat
Exécuter Sytème Caisse / Execute Checkout System
>./Caisse
Supprimer Sytème Caisse / Delete Checkout System
Exécuter / Execute
>dpkg -l | grep caisse
Sortie / Output : ii caisse 1.0 amd64 Système Caisse
Exécuter / Execute
>sudo dpkg -P caisse
Sortie / Output : (Reading database ... 178267 files and directories currently installed.) Removing caisse (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) ...