Fixed bug

isPrinter() returned 0 when it was a printer and 1 when otherwise.