wlan-qrcode/README.md

909 B

WLAN Picture Frame Generator

A quick way to generate a PDF containing a QR code to connect to a wifi network.

How to build

Edit the template.tex and replace the variables with your SSID and password.

\def\ssid{YourSSID}
\def\password{YourPassword}
\def\encryption{WPA}
\def\hidden{false}

To adjust the size to fit your picture frame set the size of the two minipage environments. The outer one specifies the overall size of the picture frame. The inner one specifies the visible area in the frame.

Then run latexmk. The result will show up as template.pdf

Print and cut out.

Sometimes your printer might adjust the size of the document. You might be able to toy around with your printer settings. However produced a somewhat accurate width, but was several millimeters short for the height. In the end I simply increased the size until it fit well.

Dependencies

  • LuaLaTeX
  • latexmk