For the record, in Moodle 4.0 there will be a new setting to configure the expiration time of QR codes. It can be found in Site administration > Mobile authentication > QR authentication key duration. This setting can help creating printed QR codes, but the network restriction is still there.