mint

1. u install.sh install_bo.sh install_hq.sh

sudo apt-get update
#sudo apt-get install php5 php5-cli openjdk-6-jre php5-mysql mysql-server mysql-client librxtx-java


2.    ***java***

 sudo apt-get install openjdk-11-jre
***   Download gdrive ubuntu 18.04/java7.tgz
libjpeg62-turbo_1.5.2-2+b1_amd64.deb
openjdk-7-jre-headless_7u161-2.6.12-1_amd64.deb
openjdk-7-jdk_7u161-2.6.12-1_amd64.deb
openjdk-7-jre_7u161-2.6.12-1_amd64.deb

 cd…..java7


sudo dpkg -i openjdk-7-* libjpeg62-turbo*
sudo apt install -f
sudo update-alternatives –config java //izabereš javu 7

***ostalo***

sudo apt-get install php7.2 php7.2-cli php7.2-mysql mysql-server mysql-client librxtx-java
mysql cu ja podesiti, treba samo na server masinama



PODESAVANJE HCP-A
1.  direktorijume HCP i 32bit i 64bit  kopirati u home
2.  32 bit
1. uci u HCP/HCP/rxtx…. otvoriti terminal
i kucatia.  sudo cp RXTXcomm.jar /usr/lib/jvm/java-1.7.0-openjdk-i386/jre/lib/ext/b.  sudo cp librxtxSerial.so /usr/lib/jvm/java-1.7.0-openjdk-i386/jre/lib/i386/

2   64 bit

a.  sudo cp RXTXcomm.jar /usr/lib/jvm/java-1.7.0-openjdk-amd64/jre/lib/ext

b.  sudo cp librxtxSerial.so /usr/lib/jvm/java-1.7.0-openjdk-amd64/jre/lib/amd64/

3.  posle startup application dodas java -jar i putanju do FiscalResidentialGateway.jar
i stavis startup delay 3sec i restart

PRAVA

sudo chmod 777 /dev/ttyS*
sudo usermod -a -G dialout $USER

sudo chmod 777 /dev/ttyUSB0*
sudo usermod -a -G dialout $USER

listanje portova vrsi se sa
dmesg | grep tty

4.  u settings.properties umesto Galeb stavis HCP

podesavanje HCP

****PROGRAM
PORT …
SERVER, REGULAR, PRINTER

***
EMPTY ON START

U .GALEN U SETTINGS PROPERTIS podesiti printer na hcp

na racunaru koji se kaci na racunar na kojem je fizicki nakacena kasa posle tog reda umesto HCP treba OTHER TERMINAL
i dodati jos  fiscal_register.host_terminal_id=1 ili 2

 INSTALACIJA …

sudo apt-get install openssh-server

sudo apt-get install php5 php5-cli openjdk-6-jre php5-mysql mysql-server mysql-client librxtx-java

sudo apt-get update

sudo apt-get install cups-pdf

 

EDITOVANJE GRUB LOADERA

ALT+F2    gksu gedit /etc/default/grub
gksudo gedit /boot/grub/grub.cfg
IME RAČUNARA
gksudo gedit /etc/hostname
DISTRIBUCIJA
lsb_release -a
Share Button