Ajout des fonctions d'impression des factures sur l'imprimante thermique

This commit is contained in:
Hamza Dely 2015-02-22 00:08:05 +01:00
parent 6b08464bfc
commit 2d4647e9bf
5 changed files with 133 additions and 11 deletions

View file

@ -5,3 +5,5 @@ CREDS = pika.credentials.PlainCredentials('oie', '*******', True)
PARAMS = pika.ConnectionParameters(host='rabbitmq.crans.org',
port=5671, credentials=CREDS, ssl=True)
DEVICE = "/dev/ttyAMA0" #Ou USB0 sur oie