laksa19 / mikhmonv3

MikroTik Hotspot Monitor V3 [MikroTik API PHP]
https://laksa19.github.io
GNU General Public License v2.0
374 stars 254 forks source link

QR Images not show when print using Quick Print / Print BT #56

Open blackstar-git opened 1 month ago

blackstar-git commented 1 month ago

This logs when using Quick Print / Print BT:

24/07/26 19:42 - printing on: BT... group: null
24/07/26 19:42 - printer interface:ESCPOSPrinterInterfaceBluetooth, 1
24/07/26 19:42 - commands: 
<center><big><bold>WifiKita
<center>2024-07-26 07:56:41pm
<line0>
Voucher Code :;; xxxxxx
Validity :;; 1Hari
Time Limit :;; 1Hari
Price :;; Rp 3.000
<line0>
<center>Login : http://xxx.com
<center><image>https://chart.googleapis.com/chart?cht=qr&chs=100x100&chld=L|0&chl=http%3A%2F%2Fxxx.com%2Flogin%3Fusername%3Dxxxxxx%26password%3Dxxxxxx&choe=utf-8
<cut>
24/07/26 19:42 - android.intent.action.VIEW
24/07/26 19:15 - printer interface:ESCPOSPrinterInterfaceBluetooth, 1

Currently https://chart.googleapis.com is not working, can you change to https://qrcode.tec-it.com/API/QRCode?data=

Reference: https://www.googlecloudcommunity.com/gc/AppSheet-Q-A/QR-Code-Generator-not-working/m-p/696385

Thanks before

Mikhmon123 commented 1 month ago
  1. ES