From owner-svn-doc-head@FreeBSD.ORG Fri Jan 25 17:11:04 2013 Return-Path: Delivered-To: svn-doc-head@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B8F36D0D; Fri, 25 Jan 2013 17:11:04 +0000 (UTC) (envelope-from dru@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id A9343ABF; Fri, 25 Jan 2013 17:11:04 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r0PHB49Q052411; Fri, 25 Jan 2013 17:11:04 GMT (envelope-from dru@svn.freebsd.org) Received: (from dru@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id r0PHB4ws052410; Fri, 25 Jan 2013 17:11:04 GMT (envelope-from dru@svn.freebsd.org) Message-Id: <201301251711.r0PHB4ws052410@svn.freebsd.org> From: Dru Lavigne Date: Fri, 25 Jan 2013 17:11:04 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r40750 - head/en_US.ISO8859-1/books/handbook/printing X-SVN-Group: doc-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-doc-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the doc tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jan 2013 17:11:04 -0000 Author: dru Date: Fri Jan 25 17:11:04 2013 New Revision: 40750 URL: http://svnweb.freebsd.org/changeset/doc/40750 Log: White space fix only. Translators can ignore. Approved by: gjb (mentor) Modified: head/en_US.ISO8859-1/books/handbook/printing/chapter.xml Modified: head/en_US.ISO8859-1/books/handbook/printing/chapter.xml ============================================================================== --- head/en_US.ISO8859-1/books/handbook/printing/chapter.xml Fri Jan 25 17:07:42 2013 (r40749) +++ head/en_US.ISO8859-1/books/handbook/printing/chapter.xml Fri Jan 25 17:11:04 2013 (r40750) @@ -29,21 +29,23 @@ Synopsis + LPD spooling system printing - &os; can be used to print with a wide variety of printers, from the - oldest impact printer to the latest laser printers, and everything in - between, allowing you to produce high-quality printed output from the - applications you run. + &os; can be used to print with a wide variety of printers, + from the oldest impact printer to the latest laser printers, + and everything in between, allowing you to produce high-quality + printed output from the applications you run. &os; can also be configured to act as a print server on a - network; in this capacity &os; can receive print jobs from a variety - of other computers, including other &os; computers, &windows; and - &macos; hosts. &os; will ensure that one job at a time is printed, and - can keep statistics on which users and machines are doing the most - printing, produce banner pages showing whose printout is - whose, and more. + network; in this capacity &os; can receive print jobs from a + varietyof other computers, including other &os; computers, + &windows; and &macos; hosts. &os; will ensure that one job + at a time is printed, and can keep statistics on which users + and machines are doing the most printing, produce + banner pages showing whose printout is whose, + and more. After reading this chapter, you will know: @@ -53,17 +55,19 @@ - How to install print filters, to handle special print jobs - differently, including converting incoming documents to print - formats that your printers understand. + How to install print filters, to handle special print + jobs differently, including converting incoming documents + to print formats that your printers understand. - How to enable header, or banner pages on your printout. + How to enable header, or banner pages on your + printout. - How to print with printers connected to other computers. + How to print with printers connected to other + computers. @@ -72,8 +76,9 @@ - How to control printer restrictions, including limiting the size - of print jobs, and preventing certain users from printing. + How to control printer restrictions, including limiting + the size of print jobs, and preventing certain users from + printing. @@ -99,21 +104,22 @@ Introduction - In order to use printers with &os; you may set - them up to work with the Berkeley line printer spooling system, - also known as the LPD spooling system, - or just LPD. - It is the standard printer control system in &os;. This - chapter introduces LPD and - will guide you through its configuration. + In order to use printers with &os; you may set them up to + work with the Berkeley line printer spooling system, also known + as the LPD spooling system, or just + LPD. It is the standard printer + control system in &os;. This chapter introduces + LPD and will guide you through its + configuration. If you are already familiar with LPD or another printer spooling system, you may wish to skip to section Basic Setup. - LPD controls everything about a - host's printers. It is responsible for a number of things: + LPD controls everything about + a host's printers. It is responsible for a number of + things: @@ -129,16 +135,16 @@ - It prevents multiple users from accessing a printer at the - same time by maintaining a queue for each - printer. + It prevents multiple users from accessing a printer at + the same time by maintaining a queue + for each printer. - It can print header pages (also known - as banner or burst - pages) so users can easily find jobs they have printed in a - stack of printouts. + It can print header pages (also + known as banner or + burst pages) so users can easily find + jobs they have printed in a stack of printouts. @@ -148,12 +154,14 @@ It can send jobs over the network to a - LPD spooler on another host. + LPD spooler on another + host. - It can run special filters to format jobs to be printed for - various printer languages or printer capabilities. + It can run special filters to format jobs to be printed + for various printer languages or printer + capabilities. @@ -162,42 +170,42 @@ Through a configuration file - (/etc/printcap), and by providing the special - filter programs, you can enable the LPD - system to do all or some subset of the above for a great variety of - printer hardware. + (/etc/printcap), and by providing the + special filter programs, you can enable the + LPD system to do all or some subset + of the above for a great variety of printer hardware. Why You Should Use the Spooler - If you are the sole user of your system, you may be wondering - why you should bother with the spooler when you do not need access - control, header pages, or printer accounting. While it is - possible to enable direct access to a printer, you should use the - spooler anyway since: + If you are the sole user of your system, you may be + wondering why you should bother with the spooler when you do + not need access control, header pages, or printer accounting. + While it is possible to enable direct access to a printer, + you should use the spooler anyway since: - LPD prints jobs in the background; - you do not have to wait for data to be copied to the - printer. + LPD prints jobs in the + background; you do not have to wait for data to be copied + to the printer. &tex; - LPD can conveniently run a job - to be printed through filters to add date/time headers or convert - a special file format (such as a &tex; DVI file) into a format - the printer will understand. You will not have to do these steps - manually. + LPD can conveniently run + a job to be printed through filters to add date/time + headers or convert a special file format (such as a &tex; + DVI file) into a format the printer will understand. + You will not have to do these steps manually. Many free and commercial programs that provide a print - feature usually expect to talk to the spooler on your system. - By setting up the spooling system, you will more easily - support other software you may later add or already + feature usually expect to talk to the spooler on your + system. By setting up the spooling system, you will more + easily support other software you may later add or already have. @@ -216,72 +224,74 @@ documentation according to these changes. - To use printers with the LPD spooling - system, you will need to set up both your printer hardware and the - LPD software. This document describes two - levels of setup: + To use printers with the LPD + spooling system, you will need to set up both your printer + hardware and the LPD software. This + document describes two levels of setup: - See section Simple Printer - Setup to learn how to connect a printer, tell - LPD how to communicate with it, and - print plain text files to the printer. + See section Simple + Printer Setup to learn how to connect a printer, + tell LPD how to communicate with + it, and print plain text files to the printer. - See section Advanced Printer - Setup to learn how to print a variety of special file - formats, to print header pages, to print across a network, to - control access to printers, and to do printer accounting. + See section Advanced + Printer Setup to learn how to print a variety of + special file formats, to print header pages, to print across + a network, to control access to printers, and to do printer + accounting. Simple Printer Setup - This section tells how to configure printer hardware and the - LPD software to use the printer. - It teaches the basics: + This section tells how to configure printer hardware + and the LPD software to use the + printer. It teaches the basics: Section Hardware - Setup gives some hints on connecting the printer to a - port on your computer. + Setup gives some hints on connecting the printer + to a port on your computer. Section Software - Setup shows how to set up the + Setup shows how to set up the LPD spooler configuration file (/etc/printcap). - If you are setting up a printer that uses a network protocol - to accept data to print instead of a computer's local interfaces, - see Printers With - Networked Data Stream Interfaces. + If you are setting up a printer that uses a network + protocol to accept data to print instead of a computer's local + interfaces, see Printers With + Networked Data Stream Interfaces. Although this section is called Simple Printer - Setup, it is actually fairly complex. Getting the printer - to work with your computer and the LPD - spooler is the hardest part. The advanced options like header pages - and accounting are fairly easy once you get the printer - working. + Setup, it is actually fairly complex. Getting the + printer to work with your computer and the + LPD spooler is the hardest part. + The advanced options like header pages and accounting are + fairly easy once you get the printer working. Hardware Setup - This section tells about the various ways you can connect a - printer to your PC. It talks about the kinds of ports and - cables, and also the kernel configuration you may need to enable - &os; to speak to the printer. + This section tells about the various ways you can + connect a printer to your PC. It talks about the kinds of + ports and cables, and also the kernel configuration you may + need to enable &os; to speak to the printer. If you have already connected your printer and have - successfully printed with it under another operating system, you - can probably skip to section Software Setup. @@ -300,13 +310,14 @@ Serial interfaces, also known as RS-232 or COM ports, use a serial port on your computer to send data to the printer. Serial - interfaces are common in the computer industry and cables - are readily available and also easy to construct. Serial - interfaces sometimes need special cables and might require - you to configure somewhat complex communications - options. Most PC serial ports have a maximum - transmission rate of 115200 bps, which makes printing - large graphic print jobs with them impractical. + interfaces are common in the computer industry and + cables are readily available and also easy to + construct. Serial interfaces sometimes need special + cables and might require you to configure somewhat + complex communications options. Most PC serial ports + have a maximum transmission rate of 115200 bps, + which makes printing large graphic print jobs with + them impractical. @@ -317,12 +328,12 @@ Parallel interfaces use a parallel port on your computer to send data to the - printer. Parallel interfaces are common in the PC market - and are faster than RS-232 serial. - Cables are readily available but more difficult to - construct by hand. There are usually no communications - options with parallel interfaces, making their - configuration exceedingly simple. + printer. Parallel interfaces are common in the PC + market and are faster than RS-232 serial. Cables are + readily available but more difficult to construct by + hand. There are usually no communications options + with parallel interfaces, making their configuration + exceedingly simple. centronics @@ -341,115 +352,123 @@ USB interfaces, named for the Universal Serial Bus, can run at even faster speeds than parallel or - RS-232 serial interfaces. Cables are simple and cheap. - USB is superior to RS-232 Serial and to Parallel for - printing, but it is not as well supported under &unix; - systems. A way to avoid this problem is to purchase a - printer that has both a USB interface and a Parallel - interface, as many printers do. + RS-232 serial interfaces. Cables are simple and + cheap. USB is superior to RS-232 Serial and to + Parallel for printing, but it is not as well supported + under &unix; systems. A way to avoid this problem is + to purchase a printer that has both a USB interface + and a Parallel interface, as many printers do. In general, Parallel interfaces usually offer just one-way communication (computer to printer) while serial and USB gives you two-way. Newer parallel ports (EPP and - ECP) and printers can communicate in both directions under &os; - when a IEEE-1284-compliant cable is used. + ECP) and printers can communicate in both directions under + &os; when a IEEE-1284-compliant cable is used. PostScript Two-way communication to the printer over a parallel - port is generally done in one of two ways. The first method - uses a custom-built printer driver for &os; that speaks - the proprietary language used by the printer. This is - common with inkjet printers and can be used for reporting - ink levels and other status information. The second - method is used when the printer supports + port is generally done in one of two ways. The first + method uses a custom-built printer driver for &os; that + speaks the proprietary language used by the printer. This + is common with inkjet printers and can be used for + reporting ink levels and other status information. The + second method is used when the printer supports &postscript;. - &postscript; jobs are actually programs sent to the printer; - they need not produce paper at all and may return results - directly to the computer. &postscript; also uses two-way - communication to tell the computer about problems, such as errors - in the &postscript; program or paper jams. Your users may be - appreciative of such information. Furthermore, the best way to - do effective accounting with a &postscript; printer requires - two-way communication: you ask the printer for its page count (how - many pages it has printed in its lifetime), then send the - user's job, then ask again for its page count. Subtract the - two values and you know how much paper to charge to the + &postscript; jobs are actually programs sent to the + printer; they need not produce paper at all and may return + results directly to the computer. &postscript; also uses + two-way communication to tell the computer about problems, + such as errors in the &postscript; program or paper jams. + Your users may be appreciative of such information. + Furthermore, the best way to do effective accounting with + a &postscript; printer requires two-way communication: + you ask the printer for its page count (how many pages + it has printed in its lifetime), then send the user's job, + then ask again for its page count. Subtract the two + values and you know how much paper to charge to the user. Parallel Ports - To hook up a printer using a parallel interface, connect - the Centronics cable between the printer and the computer. - The instructions that came with the printer, the computer, or - both should give you complete guidance. + To hook up a printer using a parallel interface, + connect the Centronics cable between the printer and the + computer. The instructions that came with the printer, + the computer, or both should give you complete + guidance. Remember which parallel port you used on the computer. The first parallel port is - ppc0 to &os;; the second - is ppc1, and so on. The + ppc0 to &os;; + the second is ppc1, and so on. The printer device name uses the same scheme: - /dev/lpt0 for the printer - on the first parallel ports etc. + /dev/lpt0 for + the printer on the first parallel ports etc. Serial Ports - To hook up a printer using a serial interface, connect the - proper serial cable between the printer and the computer. The - instructions that came with the printer, the computer, or both - should give you complete guidance. + To hook up a printer using a serial interface, connect + the proper serial cable between the printer and the + computer. The instructions that came with the printer, + the computer, or both should give you complete + guidance. If you are unsure what the proper serial - cable is, you may wish to try one of the following - alternatives: + cable is, you may wish to try one of the + following alternatives: - A modem cable connects each pin - of the connector on one end of the cable straight through - to its corresponding pin of the connector on the other - end. This type of cable is also known as a + A modem cable connects each + pin of the connector on one end of the cable straight + through to its corresponding pin of the connector on + the other end. This type of cable is also known as a DTE-to-DCE cable. - null-modem cable + null-modem + cable - A null-modem cable connects some - pins straight through, swaps others (send data to receive - data, for example), and shorts some internally in each - connector hood. This type of cable is also known as a - DTE-to-DTE cable. + A null-modem cable connects + some pins straight through, swaps others (send data to + receive data, for example), and shorts some internally + in each connector hood. This type of cable is also + known as a DTE-to-DTE cable. - A serial printer cable, required - for some unusual printers, is like the null-modem cable, - but sends some signals to their counterparts instead of - being internally shorted. + A serial printer cable, + required for some unusual printers, is like the + null-modem cable, but sends some signals to their + counterparts instead of being internally + shorted. baud rate parity - flow control protocol - You should also set up the communications parameters for - the printer, usually through front-panel controls or DIP - switches on the printer. Choose the highest + flow control + protocol + You should also set up the communications parameters + for the printer, usually through front-panel controls or + DIP switches on the printer. Choose the highest bps (bits per second, sometimes baud rate) that both your computer - and the printer can support. Choose 7 or 8 data bits; none, - even, or odd parity; and 1 or 2 stop bits. Also choose a flow - control protocol: either none, or XON/XOFF (also known as - in-band or software) flow control. - Remember these settings for the software configuration that + and the printer can support. Choose 7 or 8 data bits; + none, even, or odd parity; and 1 or 2 stop bits. Also + choose a flow control protocol: either none, or XON/XOFF + (also known as in-band or + software) flow control. Remember these + settings for the software configuration that follows. @@ -457,73 +476,76 @@ Software Setup - This section describes the software setup necessary to print - with the LPD spooling system in &os;. - + This section describes the software setup necessary + to print with the LPD spooling + system in &os;. Here is an outline of the steps involved: - Configure your kernel, if necessary, for the port you - are using for the printer; section Kernel Configuration tells - you what you need to do. + Configure your kernel, if necessary, for the port + you are using for the printer; section Kernel Configuration + tells you what you need to do. - Set the communications mode for the parallel port, if - you are using a parallel port; section Set the communications mode for the parallel port, + if you are using a parallel port; section Setting the Communication Mode for the Parallel Port gives details. - Test if the operating system can send data to the printer. - Section Checking Printer - Communications gives some suggestions on how to do - this. + Test if the operating system can send data to the + printer. Section Checking Printer + Communications gives some suggestions on how to + do this. - Set up LPD for the printer by - modifying the file /etc/printcap. You - will find out how to do this later in this chapter. + Set up LPD for the + printer by modifying the file + /etc/printcap. You will find out + how to do this later in this chapter. Kernel Configuration - The operating system kernel is compiled to work with a - specific set of devices. The serial or parallel interface for - your printer is a part of that set. Therefore, it might be - necessary to add support for an additional serial or parallel - port if your kernel is not already configured for one. + The operating system kernel is compiled to work with + a specific set of devices. The serial or parallel + interface for your printer is a part of that set. + Therefore, it might be necessary to add support for an + additional serial or parallel port if your kernel is not + already configured for one. - To find out if the kernel you are currently using supports - a serial interface, type: + To find out if the kernel you are currently using + supports a serial interface, type: &prompt.root; grep sioN /var/run/dmesg.boot - Where N is the number of the - serial port, starting from zero. If you see output similar to - the following: + Where N is the number of + the serial port, starting from zero. If you see output + similar to the following: sio2 at port 0x3e8-0x3ef irq 5 on isa sio2: type 16550A then the kernel supports the port. - To find out if the kernel supports a parallel interface, - type: + To find out if the kernel supports a parallel + interface, type: &prompt.root; grep ppcN /var/run/dmesg.boot - Where N is the number of the - parallel port, starting from zero. If you see output similar - to the following: + Where N is the number of + the parallel port, starting from zero. If you see output + similar to the following: ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode @@ -531,13 +553,13 @@ ppc0: FIFO with 16/16/8 bytes threshold< then the kernel supports the port. - You might have to reconfigure your kernel in order for the - operating system to recognize and use the parallel or serial - port you are using for the printer. + You might have to reconfigure your kernel in order + for the operating system to recognize and use the parallel + or serial port you are using for the printer. To add support for a serial port, see the section on - kernel configuration. To add support for a parallel port, see - that section and the section that + kernel configuration. To add support for a parallel port, + see that section and the section that follows. @@ -546,8 +568,8 @@ ppc0: FIFO with 16/16/8 bytes threshold< Setting the Communication Mode for the Parallel Port - When you are using the parallel interface, you can choose - whether &os; should use interrupt-driven or polled + When you are using the parallel interface, you can + choose whether &os; should use interrupt-driven or polled communication with the printer. The generic printer device driver (&man.lpt.4;) on &os; uses the &man.ppbus.4; system, which controls the port @@ -555,10 +577,10 @@ ppc0: FIFO with 16/16/8 bytes threshold< - The interrupt-driven method is - the default with the GENERIC kernel. With this method, - the operating system uses an IRQ line to determine when - the printer is ready for data. + The interrupt-driven method + is the default with the GENERIC kernel. With this + method, the operating system uses an IRQ line to + determine when the printer is ready for data. @@ -582,27 +604,27 @@ ppc0: FIFO with 16/16/8 bytes threshold< program. To set the communications mode by configuring - the kernel: + the kernel: Edit your kernel configuration file. Look for an ppc0 entry. If you are setting up the second parallel port, use ppc1 - instead. Use ppc2 for the third port, - and so on. + instead. Use ppc2 for the third + port, and so on. - If you want interrupt-driven mode, edit the following - line: + If you want interrupt-driven mode, edit the + following line: hint.ppc.0.irq="N" - in the /boot/device.hints file - and replace N with the right - IRQ number. The kernel configuration file must - also contain the &man.ppc.4; driver: + in the /boot/device.hints + file and replace N with + the right IRQ number. The kernel configuration file + must also contain the &man.ppc.4; driver: device ppc @@ -626,9 +648,10 @@ ppc0: FIFO with 16/16/8 bytes threshold< - Save the file. Then configure, build, and install the - kernel, then reboot. See kernel - configuration for more details. + Save the file. Then configure, build, and install + the kernel, then reboot. See kernel configuration + for more details. @@ -651,7 +674,7 @@ ppc0: FIFO with 16/16/8 bytes threshold< &prompt.root; lptcontrol /dev/lptN to set polled-mode for - lptN. + lptN. @@ -685,19 +708,19 @@ ppc0: FIFO with 16/16/8 bytes threshold< (Is this thing working?) show showpage - The above &postscript; code can be placed into a file and - used as shown in the examples appearing in the following + The above &postscript; code can be placed into a file + and used as shown in the examples appearing in the following sections. PCL - When this document refers to a printer language, it is - assuming a language like &postscript;, and not Hewlett + When this document refers to a printer language, it + is assuming a language like &postscript;, and not Hewlett Packard's PCL. Although PCL has great functionality, you can intermingle plain text with its escape sequences. - &postscript; cannot directly print plain text, and that is the - kind of printer language for which we must make special - accommodations. + &postscript; cannot directly print plain text, and that + is the kind of printer language for which we must make + special accommodations. @@ -712,11 +735,12 @@ showpage port. To test a printer on a parallel - port: + port: - Become root with &man.su.1;. + Become root with + &man.su.1;. @@ -729,33 +753,35 @@ showpage &prompt.root; lptest > /dev/lptN - Where N is the number - of the parallel port, starting from zero. + Where N is the + number of the parallel port, starting from + zero. - If the printer understands &postscript; or other - printer language, then send a small program to the - printer. Type: + If the printer understands &postscript; or + other printer language, then send a small program + to the printer. Type: &prompt.root; cat > /dev/lptN Then, line by line, type the program - carefully as you cannot edit a - line once you have pressed RETURN - or ENTER. When you have finished + carefully as you cannot edit + a line once you have pressed + RETURN or + ENTER. When you have finished entering the program, press - CONTROL+D, or whatever your end - of file key is. + CONTROL+D, or whatever your + end of file key is. - Alternatively, you can put the program in a file - and type: + Alternatively, you can put the program in a + file and type: &prompt.root; cat file > /dev/lptN Where file is the - name of the file containing the program you want to - send to the printer. + name of the file containing the program you want + to send to the printer. @@ -777,35 +803,37 @@ showpage communicate with a printer on a serial port. To test a printer on a serial - port: + port: - Become root with &man.su.1;. + Become root with + &man.su.1;. - Edit the file /etc/remote. Add - the following entry: + Edit the file /etc/remote. + Add the following entry: printer:dv=/dev/port:br#bps-rate:pa=parity bits-per-second serial port parity - Where port is the device - entry for the serial port (ttyu0, - ttyu1, etc.), - bps-rate is the - bits-per-second rate at which the printer communicates, - and parity is the parity - required by the printer (either even, - odd, none, or + Where port is the + device entry for the serial port + (ttyu0, ttyu1, + etc.), bps-rate is the + bits-per-second rate at which the printer + communicates, and parity + is the parity required by the printer (either + even, odd, + none, or zero). Here is a sample entry for a printer connected via - a serial line to the third serial port at 19200 bps - with no parity: + a serial line to the third serial port at + 19200 bps with no parity: printer:dv=/dev/ttyu2:br#19200:pa=none @@ -818,8 +846,11 @@ showpage If this step does not work, edit the file /etc/remote again and try using - /dev/cuaaN instead of - /dev/ttyuN. + /dev/cuaaN + instead of + /dev/ttyuN. @@ -834,18 +865,19 @@ showpage - If the printer understands &postscript; or other - printer language, then send a small program to the - printer. Type the program, line by line, + If the printer understands &postscript; or + other printer language, then send a small program + to the printer. Type the program, line by line, very carefully as backspacing or other editing keys may be significant to the printer. You may also need to type a special end-of-file key for the printer so it knows it received the whole program. For &postscript; - printers, press CONTROL+D. + printers, press + CONTROL+D. - Alternatively, you can put the program in a file - and type: + Alternatively, you can put the program in a + file and type: &prompt.user; >file @@ -864,43 +896,45 @@ showpage - Enabling the Spooler: the <filename>/etc/printcap</filename> - File + Enabling the Spooler: the + <filename>/etc/printcap</filename> File + + At this point, your printer should be hooked up, your + kernel configured to communicate with it (if necessary), + and you have been able to send some simple data to the + printer. Now, we are ready to configure + LPD to control access to your + printer. - At this point, your printer should be hooked up, your kernel - configured to communicate with it (if necessary), and you have - been able to send some simple data to the printer. Now, we are - ready to configure LPD to control access - to your printer. - - You configure LPD by editing the file - /etc/printcap. The - LPD spooling system - reads this file each time the spooler is used, so updates to the + You configure LPD by editing + the file /etc/printcap. The + LPD spooling system reads this + file each time the spooler is used, so updates to the file take immediate effect. printers capabilities - The format of the &man.printcap.5; file is straightforward. - Use your favorite text editor to make changes to - /etc/printcap. The format is identical to - other capability files like + The format of the &man.printcap.5; file is + straightforward. Use your favorite text editor to make + changes to /etc/printcap. The format + is identical to other capability files like /usr/share/misc/termcap and /etc/remote. For complete information about the format, see the &man.cgetent.3;. - The simple spooler configuration consists of the following - steps: + The simple spooler configuration consists of the + following steps: Pick a name (and a few convenient aliases) for the printer, and put them in the /etc/printcap file; see the *** DIFF OUTPUT TRUNCATED AT 1000 LINES ***