Install the network printer with a CUPS.

xiaoxiao2021-03-06  71

First Install Common Unix Printing System (or CUPSTM): # apt-get install cupsys cupsomatic-ppd # apt-get install Cupsys-BSD Cupsys-Driver-GIMPPRINT then configures the system with a browser: $ myBrowser http: // localhost: 631 For example, pick your printer to access the printer list: * Click "Printers" on the home page, then click "Add Printer", * Enter the username and password, enter "root", * Add printer by prompt , * Return to the Printers page, click "Configure Printer", * Set the size, resolution, and other parameters. MORE INFORMATION You can view http: // localhost: 631 / documentation.html and http://www.cups.org/cups-help.html.

Adding Your First Printer CUPS provides two methods for adding printers: a command-line program called lpadmin (8) and a Web interface The lpadmin command allows you to perform most printer administration tasks from the command-line and is located in / usr /. . sbin The Web interface is located at: http: // localhost: 631 / admin and steps you through printer configuration If you do not like command-line interfaces, try the Web interface instead Adding Your First Printer from the Command-.. Line run the lpadmin command with the -p Option to add aprinter to cups: / usr / sbin / lpadmin -pprinter -e -v device -m ppd enter for a hp Deskjet Printer Connected to the Parallel Port this Would Look Like: / usr / sbin / lpadmin -p deskjet -e -v parallel: / dev / lp1 -m Deskjet.ppd Enter Similarly, a HP LaserJet Printer Using A JetDirect Network Interface At IP Address 11.22.33.44 Would Be Added with the Command: / USR / SBIN / LPADMIN -P LASERJET -E -V socket: //11.22.33.44 -m LaserJet.ppd Enter as you can see, deskjet.ppd and laserjet.ppd are the PPD files for the HP DeskJet and HP LaserJet drivers included with CUPS. You'll find a complete list of PPD files and the printers they will work with in Appendix C, "Printer Drivers". For a dot matrix Printer connection to the serial port, this might look like: / usr / sbin / lpadmin -p dotmatrix -e -m epson9.ppd / -v serial: / dev / ttys0? baud = 9600 size = 8 Parity = None Flow = Soft Enter Hered (EG S0, S1, D0, D1), BAUD RATE (EG 9600, 19200, 38400, 115200, ETC.), Number of Bits, Parity, And Flow Control. if you do NOT NEED FLOW Control, Delete To " Flow = SOFT"

转载请注明原文地址:https://www.9cbs.com/read-121100.html

New Post(0)