Tired of struggling to add a network printer to your Linux system? Fear not! This guide simplifies the process and gets you printing in minutes.
First, **discover** your printer. Common methods include using CUPS web interface (usually at `localhost:631`) or command-line tools like `lpinfo -v`. Look for your printer's network address (often an IP address or hostname).
Next, **add** the printer. Through CUPS, navigate to 'Add Printer' and select 'Internet Printing Protocol (ipp)' or 'LPD/LPR Host or Printer'. Enter the printer's address. You might need to specify a queue name (often 'raw' or 'lp').
Alternatively, the command-line approach using `lpadmin` offers granular control. For instance:
`sudo lpadmin -p MyPrinter -E -v ipp://printer_ip_address/ipp -m everywhere`
Replace `MyPrinter` with your printer's name and `printer_ip_address` with the correct address. The `-m everywhere` option attempts to use driverless printing.
After adding, **test** your setup by printing a test page. If it fails, double-check the printer's address, driver settings, and network connectivity. Happy printing!