Driver Linux Printer
The driver allows you to control the Thermal Printer using Common UNIX Printing System (CUPS) on Linux. [PC] IBM PC/AT compatible machine [Support OS].
Note: CUPS helper programs are run using the lp group and daemon user. This allows the helper programs to access printer devices and read config files in /etc/cups/, which all belong to the lp group. This default may conflict with non-printer parallel port device access: • Adding extra users to the lp group will allow those users to read CUPS files, and • CUPS helpers may gain access to any non-printer parallel port devices. If this is a concern, consider using a rule to assign a different group for any non-printer parallel port device ().
The group and user that CUPS uses can be changed, but the permissions of some files may need to be manually fixed. USB To see if your USB printer is detected: $ lsusb (.) Bus 001 Device 007: ID 03f0:1004 Hewlett-Packard DeskJet 970c/970cse Parallel port To use a parallel port printer, the lp, parport and parport_pc are required. $ dmesg grep -i parport parport0: Printer, Hewlett-Packard HP LaserJet 2100 Series lp0: using parport0 (polling) Network can be used to scan for printers on the local network.
To use hostnames to connect to networked printers, set up and org.cups.cupsd.service. If the system is connected to a networked printer using the protocol, or if the system is to be a print server for Windows clients, install the package. Printer Drivers The drivers for a printer may come from any of the sources shown below.
See for an incomplete list of drivers that others have managed to get working. To drive a printer, CUPS needs a PPD file and, for most printers, some.
For details on how CUPS uses PPDs and filters, see. The provides driver recommendations for many printers. It also supplies PPD files for each printer, but most are available through or the recommended driver package.
When a PPD file is provided to CUPS, the CUPS server will regenerate the PPD files and save them in /etc/cups/ppd/. CUPS CUPS provides a few PPDs and filter binaries by default, which should work out of the box. CUPS also provides support for and printers. Foomatic The project provides PPDs for many printer drivers, both free and nonfree.
For more information about what foomatic does, see. To use foomatic, install, and at least one of,,,. The foomatic PPDs may require additional filters, such as,, or another source (for instance AUR). For, may also be required. Manufacturer-specific drivers Many printer manufacturers supply their own Linux drivers. These are often available in the official Arch repositories or in the.
Some of those drivers are described in more detail in. Printer URI Listed below are additional steps to manually generate the URI if required. USB CUPS should be able to automatically generate a URI for USB printers, for example usb://HP/DESKJET%20940C?serial=CN16E6C364BH. If it doesn't, see for troubleshooting steps.
Parallel port The URI should be of the form parallel: device. For instance, if the printer is connected on /dev/lp0, use parallel:/dev/lp0. If you are using a USB to parallel port adapter, use parallel:/dev/usb/lp0 as the printer URI. Network If you have set up as in, CUPS should detect the printer URI.
You can also use avahi-discover to find the name of your printer and its address (for instance, BRN30055C6B4C7A.local/10.10.0.155:631). The URI can also be generated manually, without using.
A list of the available URI schemes for networked printers is available in the. As exact details of the URIs differ between printers, check either the manual of the printer.
Remote CUPS print servers can be accessed through a URI of the form ipp:// hostname:631/printers/ queue_name. See for details on setting up the remote print server. See for additional issues and solutions. Warning: Avoid configuring both the server and the client with a printer filter - either the print queue on the client or the server should be 'raw'. This avoids sending a print job through the filters for a printer twice, which can cause problems (for instance, ). See for an example of setting a print queue to 'raw'. Usage CUPS can be fully controlled using the lp* and cups* CLI tools.
Alternatively, the or one of several can be used. • The queue name is a short but descriptive name used on the system to identify the queue. This name should not contain spaces or any special characters.
For instance, a print queue corresponding to a HP LaserJet 5P could be named 'hpljet5p'. More than one queue can be associated with each physical printer.
• The location is a description of the printer's physical location (for instance 'bedroom', or 'kitchen'). This is to aid in maintaining several printers. • The description is a full description of the print queue. A common use is a full printer name (like 'HP LaserJet 5P'). CLI tools See for more tips on the command-line tools. Note: Command-line switches cannot be grouped List the devices # lpinfo -v # $ /usr/lib/cups/backend/snmp ip_address # Use SNMP to find a URI List the models $ lpinfo -m Add a new queue # lpadmin -p queue_name -E -v uri -m model The queue_name is up to you. Examples: # lpadmin -p HP_DESKJET_940C -E -v 'usb://HP/DESKJET%20940C?serial=CN16E6C364BH' -m drv:///HP/hp-deskjet_940c.ppd.gz # lpadmin -p AirPrint -E -v 'ipp://10.0.1.25/ipp/print' -m everywhere # Driverless queue (Apple AirPrint or IPP Everywhere) # lpadmin -p SHARED_PRINTER -m raw # Raw queue; no PPD or filter # lpadmin -p Test_Printer -E -v 'ipp://10.0.1.3/ipp/print' -m pxlmono.ppd # Specifying a PPD instead of a model.
Note: If an HTTPS connection to CUPS is used, it may take a very long time before the interface appears the first time it is accessed. This is because the first request triggers the generation of SSL certificates which can be a time-consuming job. To perform administrative tasks from the web interface authentication is required. Authenticate either as root or make sure your user is member of a group with printer administration privileges, see. Add a queue Go to the Administration page. Modify existing queues Go to the Printers page, and select a queue to modify. Test a queue Go to the Printers page, and select a queue.
GUI applications If your user does not have sufficient privileges to administer CUPS, the applications will request the root password when they start. To give users administrative privileges without needing root access, see. • print-manager — A tool for managing print jobs and printers (). • system-config-printer — A CUPS printer configuration tool and status applet ( and others) • gtklp — GTK+ interface to CUPS. AUR Configuration The CUPS server configuration is located in /etc/cups/cupsd.conf and /etc/cups/cups-files.conf (see and ). After editing either file, org.cups.cupsd.service to apply any changes.
The default configuration is sufficient for most users. With printer administration privileges are defined in SystemGroup in the /etc/cups/cups-files.conf. Fancycache Keygen Generator Mac here.
The sys group is used by default. Is built with support and libpaper defaults to the Letter paper size. To avoid having to change the paper size for each print queue you add, edit /etc/papersize and set your system default paper size. By default, all logs are sent to files in /var/log/cups/. By changing the values of the AccessLog, ErrorLog, and PageLog directives in /etc/cups/cups-files.conf to syslog, CUPS can be made to log to the instead. See for information on the original proposed change.
Cups-browsed CUPS can use browsing to discover unknown shared printers in your network. This can be useful in large setups where the server is unknown. To use this feature, set up, and start both avahi-daemon.service and cups-browsed.service. Jobs are sent directly to the printer without any processing so the created queues may not work, however driverless printers such as those supporting or should work out of the box.
Chances are, your Linux system already has the HPLIP software installed. That's because all major Linux distributions regularly pick up the HPLIP software and include it with their distribution installation. However, if it is not installed or you need to upgrade to a newer HPLIP version to support your printer, you've come to the right place.
On this website you can download HPLIP software that supports 2,729 HP printers on nearly any Linux distribution available today. You can also find answers to many of your questions with a search of our, or post a question on the page if you can't find the answer directly. For a more detailed overview of HPLIP, see the page, or just browse the site and let us know what you think on the page. The current version of the HPLIP solution is version 3.17.11.