Ouvrir un tiroir caisse USB depuis 2 PC
Bonjour
J'utilise une caisse enregistreuse ou plutôt un tiroir caisse qui est branché en usb sur le PC. Grâce à un code dans ma base de donnée access, j'arrive à ouvrir le tiroir caisse
Voici le code_
Code:
1 2 3 4 5
| If Me.Cashreçu.Value <> "0" Then
Open "COM8:" For Output As #1
Print #1, "echo xyz%%>com8"
Close #1
End If |
J'utilise ma base de donnée en réseau sur 2 PC. Mon tiroir caisse est branché en USB sur le PC_1.. et ça marche. Par contre j'aimerais que le tiroir caisse s'ouvre aussi depuis le PC_2...
Des idées ?
J'ai essayé de bricoler avec des câbles USB qui partent de chaque pc et se réunisse en un seul mais ça n'a pas focntionné.. peut-être mon câblage était faux ou peut-être qu'avec le code, je ne peux pas me mettre sur n'importe quel port ...
Bref auriez-vos des idées ?
Merci
Pascal