'Resumes a paused print.'

def resume(self):

    if (not self.paused):
        return False
    if self.paused:
        self.send_now('G90')
        xyFeedString = ''
        zFeedString = ''
        if (self.xy_feedrate is not None):
            xyFeedString = ('    F' + str(self.xy_feedrate))
        if (self.z_feedrate is not None):
            zFeedString = ('    F' + str(self.z_feedrate))
        self.send_now(('G1    X%s    Y%s%s' % (self.pauseX, self.pauseY, xyFeedString)))
        self.send_now((('G1    Z' + str(self.pauseZ)) + zFeedString))
        self.send_now(('G92    E' + str(self.pauseE)))
        if self.pauseRelative:
            self.send_now('G91')
        self.send_now(('G1    F' + str(self.pauseF)))
    self.paused = False
    self.printing = True
    self.print_thread = threading.Thread(target=self._print, kwargs={'resuming': True})
    self.print_thread.start()
