Hello, I'm sorry for the problem you're having.
A printer with an offline status can be related to several causes.
First, try re-adding your printer to check if the status remains offline;
Click the Start menu > select Settings > Bluetooth & devices > Printers & scanners.
Click on your printer and click Remove.
Then add it again and see if the error persists.