1. Connect the printer by USB or to the same Wi-Fi, and turn it on.
2. Ubuntu: Settings, Printers. Linux Mint: Menu, Printers. Many printers appear automatically. Click Add.
3. Print a test page.
4. HP printers: install the HP tools for full support: sudo apt install hplip-gui, then open HPLIP Toolbox.
5. Other brands not working: search the printer model on openprinting.org, or the maker's site for a Linux driver (Epson and Brother offer .deb packages).
6. Scanner: open the Document Scanner app.
Network printers often work best when given a fixed IP address on the router.