未加星标

Choosing a printer for Linux

字体大小 | |
[系统(linux) 所属分类 系统(linux) | 发布者 店小二05 | 时间 2018 | 作者 红领巾 ] 0人收藏点击收藏

We've made significant strides toward the long-rumored paperless society, but we still need to print hard copies of documents from time to time. If you're a linux user and have a printer without a Linux installation disk or you're in the market for a new device, you're in luck. That's because most Linux distributions (as well as MacOS) use the Common Unix Printing System ( CUPS ), which contains drivers for most printers available today. This means Linux offers much wider support than windows for printers.

Selecting a printer

More Linux resources

If you're buying a new printer, the best way to find out if it supports Linux is to check the documentation on the box or the manufacturer's website. You can also search the Open Printing

database. It's a great resource for checking various printers' compatibility with Linux.

Here are some Open Printing results for Linux-compatible Canon printers.

linux-printer_2-openprinting.png
Choosing a printer for Linux

The screenshot below is Open Printing's results for a Hewlett-Packard LaserJet 4050―according to the database, it should work "perfectly." The recommended driver is listed along with generic instructions letting me know it works with CUPS, Line Printing Daemon (LPD), LPRng, and more.

linux-printer_3-hplaserjet.png
Choosing a printer for Linux

In all cases, it's best to check the manufacturer's website and ask other Linux users before buying a printer.

Checking your connection

There are several ways to connect a printer to a computer. If your printer is connected through USB, it's easy to check the connection by issuing lsusb at the Bash prompt.

$ lsusb

The command returns Bus 002 Device 004: ID 03f0:ad2a Hewlett-Packard ―it's not much information, but I can tell the printer is connected. I can get more information about the printer by entering the following command:

$ dmesg | grep -i usb

The results are much more verbose.

linux-printer_1-dmesg.png
Choosing a printer for Linux

If you're trying to connect your printer to a parallel port (assuming your computer has a parallel port―they're rare these days), you can check the connection with this command:

$ dmesg | grep -i parport

The information returned can help me select the right driver for my printer. I have found that if I stick to popular, name-brand printers, most of the time I get good results.

Setting up your printer software

Both Fedora Linux and Ubuntu Linux contain easy printer setup tools. Fedora maintains an excellent wiki for answers to printing issues. The tools are easily launched from Settings in the GUI or by invoking system-config-printer on the command line.

linux-printer_4-printersetup.png
Choosing a printer for Linux

Hewlett-Packard's HP Linux Imaging and Printing (HPLIP) software, which supports Linux printing, is probably already installed on your Linux system; if not, you can download the latest version for your distribution. Printer manufacturers Epson and Brother also have web pages with Linux printer drivers and information.

What's your favorite Linux printer? Please share your opinion in the comments.

本文系统(linux)相关术语:linux系统 鸟哥的linux私房菜 linux命令大全 linux操作系统

代码区博客精选文章
分页:12
转载请注明
本文标题:Choosing a printer for Linux
本站链接:https://www.codesec.net/view/611426.html


1.凡CodeSecTeam转载的文章,均出自其它媒体或其他官网介绍,目的在于传递更多的信息,并不代表本站赞同其观点和其真实性负责;
2.转载的文章仅代表原创作者观点,与本站无关。其原创性以及文中陈述文字和内容未经本站证实,本站对该文以及其中全部或者部分内容、文字的真实性、完整性、及时性,不作出任何保证或承若;
3.如本站转载稿涉及版权等问题,请作者及时联系本站,我们会及时处理。
登录后可拥有收藏文章、关注作者等权限...
技术大类 技术大类 | 系统(linux) | 评论(0) | 阅读(81)