Changeset 3193 for pykota

Show
Ignore:
Timestamp:
06/21/07 00:13:04 (17 years ago)
Author:
jerome
Message:

Ensures the whole PJL message is sent to the printer.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/pykota/accounters/pjl.py

    r3192 r3193  
    131131        """Retrieves a printer's internal page counter and status via PJL.""" 
    132132        try : 
    133             self.sock.send(pjlMessage) 
     133            self.sock.sendall(pjlMessage) 
    134134        except socket.error, msg : 
    135135            self.parent.filter.printInfo(_("Problem while sending PJL query to %s:%s : %s") % (self.printerHostname, self.port, str(msg)), "warn")