Adapt lpq and lpqrm to Python3

17 jobs for python3 in 13 minutes and 36 seconds (queued for 6 seconds)