Added offline printer detect function. MSKS.
megre