Configure a Linux printer

Source: Internet
Author: User
Tags ip number
The printer configuration tool (printtool) is used to maintain the etcprintcap, counterfeit offline print buffer pool, and print filter print filters allow you to print a variety of types of documents, including: plain text (

The printer configuration tool (printtool) is used to maintain/etc/printcap, fake offline print buffer pool, and print filters. print filters allow you to print a variety of types of documents, including:

Plain text (ASCII) file PostScript file TeX. dvi file GIF, JPEG, TIFF, and other image formats RPMs

You can simply print GIF or RPM files using lpr.

To create a new print queue, select Add and select the printer type to be added. you can use printtool to configure three print queue types:

Local:It refers to the print queue connected to the local Red Hat Linux system parallel port or serial port printer. remote: a printing queue connected to a non-local system that can be accessed through a TCP/IP network. SMB: a printing queue that can be accessed through the LAN-Manager-type (SMB) network and connected to a non-local system.

After you select the printer type, a dialog box is displayed to enter further information about the print queue. the following information is required for all print queues:

Queue Name:Queue name. you can specify multiple names separated by the | (pipe) symbol.

SpoolDirectory:The directory on the local machine will be used to store the files to be printed. Be sure not to share the directory with multiple print queue queues.

File Limit:The maximum number of print jobs received, in kb (1 kb = 1024 bytes). 0 indicates no limit is imposed.

Input Filter:The filter is used to convert a printed file to a format that can be processed by the printer.

Select to Select the filter that best suits your printer. in addition to configuring the print queue for printing graphics and PostScript documents, you can also configure a printer for plain text to print only plain ASCII text. most printer drivers can print ASCII text directly without converting to the Postscript format. when you configure the filter, you only need to simply select Fast text printing. note: this is only valid for non-PostScript printers.

Suppress Headers:If you do not want to print a start message before each print job, select this option.

The following information is also required for local printers:

Printer Device:It is usually/dev/lp1, that is, the device file on the port connected to the printer. the serial port printer is usually specified as/dev/ttyS? Ports. you need to manually configure the serial port parameter information.

For remote printers, enter the following information:

Remote Host:Remote host with printer: The print Queue name of the host that provides Remote printing. the Remote host must be configured to allow the local printer to print to the specified print Queue. in general, this is caused by/etc/hosts. lpd to control.

For SMB printers, enter the following information:

Hostname of Printer Server:Host name IP number of Server: the IP address of the host that connects to the printer you want to use. optional. printer Name: Name of the Printer you want to print up. user: the User name for accessing the printer (usually guest for Windows Server and nobody for samba Server ). password: Password for the printer (if needed) (usually blank ). if you do not know, someone should be able to tell you.

Note:If you want to use an SMB (LAN Manager) print queue, the provided username and password are generally transmitted to the smbclient in an unencrypted form as command line parameters. therefore, other users may obtain the user name and password. therefore, we recommend that you do not use the user name and password as a user account of the local Red Hat Linux. in this case, the only discount for system security is the unauthorized use of printers. if you want to use shared files on the SMB server, we also recommend that you use a different user name and password from the print queue. after you add a print queue, you need to restart the print Daemon (lpd ). you only need to select the Restart lpd option on the lpd menu. you can print the test sample on any print queue. you only need to select the type of the Test sample from the Test menu.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.