printing is working

set has printer to 1 if there is a printer attached