def print(text)
      if device.encoding.present?
        push text.encode(device.encoding)
      else
        push text
      end
    end
def print(text)
      if device.encoding.present?
        push text.encode(device.encoding)
      else
        push text
      end
    end
alias_method :print, :push