The Lexmark Printer Offline issue, which prevents the printer from printing, is caused, among other things, by the printer's settings being offline. To change to an offline mode, you must first switch from online to offline. Double-check that the USB connection is operating properly. The printer might not be functional due to a wiring issue.
Unless your drivers are frequently updated, the printer won't operate correctly. As a result, your driver needs to be updated frequently. If the printer indicates that it is offline, check for hardware problems.