Printing from your Manjaro system should be a straightforward and seamless experience. Whether you have a local USB printer or a network printer, Manjaro’s robust printing infrastructure, built on the CUPS (Common Unix Printing System) framework, ensures compatibility with a wide range of printers. In this comprehensive guide, we’ll walk you through the step-by-step process of setting up a printer in Manjaro, covering both USB and network printer configurations.
Connecting a Local USB Printer
1. Check Printer Compatibility:
- Before connecting the printer, check its compatibility with Linux. Most modern printers are supported, but it’s always advisable to verify.
2. Connect the USB Printer:
- Connect your USB printer to a USB port on your Manjaro system.
3. Install CUPS:
- CUPS is the printing system used by Manjaro. Ensure it is installed on your system:
sudo pacman -S cups
4. Start and Enable CUPS Service:
- Start and enable the CUPS service to ensure it runs at boot:
sudo systemctl start cups
sudo systemctl enable cups
5. Access CUPS Web Interface:
- Open a web browser and navigate to http://localhost:631/. This is the web interface for CUPS.
6. Add a Printer:
- Click on the “Administration” tab and select “Add Printer.” You may need to enter your username and password.
7. Select the Printer:
- CUPS will detect your USB printer. Select it from the list and click “Continue.”
8. Configure Printer Settings:
- Choose the printer make and model. If your printer is not listed, select a similar model or use a generic driver. Follow the on-screen instructions to complete the setup.
9. Print a Test Page:
- Once configured, print a test page to ensure the printer is working correctly.
Setting Up a Network Printer
1. Check Printer Compatibility:
- Ensure that your network printer is compatible with Linux. Many network printers support standard printing protocols like IPP (Internet Printing Protocol) and LPD (Line Printer Daemon).
2. Locate Printer IP Address:
- Find the IP address of your network printer. This information is often available in the printer’s settings or by printing a configuration page.
3. Install CUPS:
- If not already installed, install CUPS as mentioned in the previous section.
4. Start and Enable CUPS Service:
- Start and enable the CUPS service as outlined before.
5. Access CUPS Web Interface:
- Open a web browser and navigate to http://localhost:631/.
6. Add a Printer:
- Click on the “Administration” tab and select “Add Printer.”
7. Select Internet Printing Protocol (IPP):
- Choose “Internet Printing Protocol (ipp)” as the connection type.
8. Enter Printer URL:
- Enter the printer’s URL using the following format:
ipp://printer_ip_address/printers/printer_name
- Replace
printer_ip_addressandprinter_namewith the actual IP address and name of your network printer.
9. Configure Printer Settings:
- Select the printer make and model. If not listed, choose a similar model or use a generic driver. Follow the on-screen instructions to complete the setup.
10. Print a Test Page:
- After configuring, print a test page to confirm the successful setup of the network printer.
Troubleshooting Tips
1. Check Printer Power and Connection:
- Ensure that your printer is powered on and properly connected. For network printers, verify that the network connection is stable.
2. Verify Printer Compatibility:
- Confirm that your printer model is compatible with Linux and has drivers available. Visit the manufacturer’s website for Linux driver downloads if necessary.
3. Restart CUPS Service:
- If you encounter issues, restart the CUPS service:
sudo systemctl restart cups
4. Check Firewall Settings:
- Ensure that the firewall on your Manjaro system allows traffic to and from the printer. Open the necessary ports if required.
5. Explore Additional Configuration Options:
- Some printers may have specific settings or features that require additional configuration. Refer to the printer’s manual for guidance.
Conclusion
Setting up a printer in Manjaro is a straightforward process, thanks to the robust CUPS printing system. Whether you have a local USB printer or a network printer, the step-by-step guide provided here should help you configure your printer and start producing high-quality prints from your Manjaro system. If you encounter any issues, refer to the troubleshooting tips and explore additional resources provided by the Manjaro and CUPS communities to ensure a smooth printing experience.