Fix error where API state is requested and printer is offline
Merge pull request #419 from C-o-r-E/devel

Fix error where API state is requested and printer is offline