SGDInstitute / enterprise

3 stars 2 forks source link

SGD Institute Enterprise

Badge Printing

  1. Install brother_ql
pip3 install --upgrade brother_ql
  1. Export the printer model
export BROTHER_QL_MODEL=QL-800
  1. Export the printer location
export BROTHER_QL_PRINTER=usb://{vendor}:{product}/{serial}
<!-- export BROTHER_QL_PRINTER=usb://Brother:QL-800/000D2G545128 -->

The vendor, product and serial can be found in System Information GitHub issue with more information

  1. Run the print badges command
php artisan app:print-badges

Make sure to have Raleway and Lato fonts installed locally

| Python | 3.11 | | Pillow | 9.5 | | psyusb | |