chaosdorf / labello

my little brother, printing is magic!
MIT License
14 stars 3 forks source link

printing (too big) barcodes results in empty label #3

Open craig opened 8 years ago

craig commented 8 years ago

barcodes are not being printed.

  1. Goto http://127.0.0.1:8000/barcode
  2. Type in 0250123
  3. PRINT
  4. The label is empty :(
Output:
$ python labelprinterServe.py
started httpserver...
127.0.0.1 - - [01/Mar/2016 15:42:50] "GET / HTTP/1.1" 200 -
self.path /
127.0.0.1 - - [01/Mar/2016 15:43:02] "GET /barcode HTTP/1.1" 200 -
self.path /barcode
127.0.0.1 - - [01/Mar/2016 15:44:26] "POST /barcode HTTP/1.1" 301 -
multipart/form-data {'boundary': '---------------------------1063370951714649856401658044'}
{'text': ['0250123'], 'barcodeType': ['code39'], 'barcodeHeight': ['100'], 'printMode': ['barcode'], 'barcodeRatio': ['3:1'], 'barcodeWidth': ['medium']}
0250123
bison-- commented 8 years ago

happens when the printed code is too big, try small or xsmall, there is no way of telling when it will be too big (will set the default to xsmall)

3nt3 commented 5 years ago

@craig I do not encounter any issues printing the way you described.

bison-- commented 5 years ago

@NielsDingsbums please read all comments, this is a known issue