Template:egWifiQRcode
Syntax
{{egWifiQRcode}}
Usage
Code
{{egWifiQRcode}}
Result
ssid="$(bw get --raw 'username' 'Wi-Fi Shared Password')"
passwd="$(bw get --raw 'password' 'Wi-Fi Shared Password')"
qrencode --dpi=300 --output=- --size=100 \
"WIFI:S:${ssid};T:WPA2;P:${passwd};;" \
| lpr -P 'Brother_HL_525DN_series' -o 'media=a4' -o 'number-up=4'
unset -v ssid passwd