swift 05/06/28 11:00:30 Added: xml/htdocs/doc/en/draft printing-howto.xml Log: Using doc draft instead of handbook draft
Revision Changes Path 1.1 xml/htdocs/doc/en/draft/printing-howto.xml file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/draft/printing-howto.xml?rev=1.1&content-type=text/x-cvsweb-markup&cvsroot=gentoo plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/draft/printing-howto.xml?rev=1.1&content-type=text/plain&cvsroot=gentoo Index: printing-howto.xml =================================================================== <?xml version='1.0' encoding="UTF-8"?> <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/draft/printing-howto.xml,v 1.1 2005/06/28 11:00:30 swift Exp $ --> <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> <guide link="/doc/en/printing-howto.xml"> <title>Gentoo Printing Guide</title> <author title="Author"> <mail link="[EMAIL PROTECTED]">Sven Vermeulen</mail> </author> <abstract> This document covers the installation and maintenance of printers using CUPS and Samba. It covers both local installation as networked installations and you'll also find instructions on using shared printers from other operating systems. </abstract> <!-- The content of this document is licensed under the CC-BY-SA license --> <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> <license/> <version>2.0</version> <date>2005-06-28</date> <chapter> <title>Printing and Gentoo Linux</title> <section> <title>Use the Right Tools</title> <body> <p> Linux has great support for printers; the right tool for the job is called CUPS (<uri link="http://www.cups.org">Common Unix Printing System</uri>). Since the beginning of the project, back in 1999, the installation and maintenance of CUPS has improved dramatically. </p> <p> In this document we will cover how to use CUPS to setup a local or networked printer. We will not go in too much detail since the project has <uri link="http://www.cups.org/documentation.php">great documentation</uri> available for advanced usage. </p> </body> </section> </chapter> <chapter> <title>Configure your Kernel</title> <section> <title>Introduction</title> <body> <p> When you want to install a printer on your system you need to know how your printer will be attached to your system. Is it through a local port like LPT or USB, or is it networked? And if it is, does it use the Internet Printing Protocol (IPP) or is it through the Microsoft Windows SMB-CIFS protocol (Microsoft Windows Sharing)? </p> <p> The next few sections explain what minimal kernel configuration you need. Of course, this depends on how your printer is going to be attached to your system, so for your convenience we have separated the instructions: </p> <ul> <li><uri link="#lpt">Locally Attached Printer (LPT)</uri></li> <li><uri link="#usb">Locally Attached Printer (USB)</uri></li> <li><uri link="#ipp">Remotely Attached Printer (IPP)</uri></li> <li><uri link="#smb-cifs">Remotely Attached Printer (SMB-CIFS)</uri></li> </ul> <p> So manoeuvre to <path>/usr/src/linux</path> and run <c>make menuconfig</c> to enter the kernel configuration. If you used <c>genkernel</c> to configure your kernel, you should still perform these steps just to make sure nothing was missed out. </p> <p> In the next configuration examples, we will add the necessary support <e>in</e> the kernel, not as modules. This is not mandatory; if you want you can easily use modular support. Don't forget to load the appropriate modules afterwards. We also use a 2.6 kernel configuration example; 2.4 users might find the appropriate configuration directives elsewhere. </p> <p> Now go to the appropriate section to configure (or check) your kernel. </p> </body> </section> <section id="lpt"> <title>Locally Attached Printer (LPT)</title> <body> <p> The LPT port is generally used to identify the parallel printer port. You need to enable parallel port support first, then PC-style parallel port support (unless you are a SPARC user) after which you enable parallel printer support. </p> <pre caption="Parallel Port Printer Configuration"> Device Drivers --> <*> Parallel port support <*> PC-style hardware Device Drivers --> Character Devices --> <*> Parallel printer support </pre> <p> Some users might need to enable other options in the <c>Parallel port support</c> section. Check the kernel configuration <c>Help</c> function for more information. </p> <p> That's it; quit the kernel configuration and rebuild your kernel. Don't forget to copy the new kernel image to the <path>/boot</path> location (and don't forget to mount <path>/boot</path> if needed) and update your boot loader configuration prior to rebooting your system. </p> <p> Now continue with <uri link="#cups">Installing and Configuring CUPS</uri>. </p> </body> </section> <section id="usb"> <title>Locally Attached Printer (USB)</title> <body> <p> To enable USB printing, you need USB support and USB printer support. </p> <pre caption="USB Port Printer Configuration"> Device Drivers --> USB Support --> <*> Support for Host-side USB <comment>(...)</comment> --- USB Host Controller Drivers <comment>(Select the HCD that your system uses. If you do not know which one to select, run "lspci -v | grep HCI" from another terminal)</comment> <*> EHCI HCD (USB 2.0) support <comment>( or )</comment> <*> OHCI HCD support <comment>( or )</comment> <*> UHCI HCD (most Intel and VIA) support <comment>(...)</comment> <*> USB Printer support </pre> <p> That's it; quit the kernel configuration and rebuild your kernel. Don't forget to copy the new kernel image to the <path>/boot</path> location (and don't forget to mount <path>/boot</path> if needed) and update your boot loader configuration prior to rebooting your system. </p> <p> Now continue with <uri link="#cups">Installing and Configuring CUPS</uri>. </p> </body> </section> <section id="ipp"> <title>Remotely Attached Printer (IPP)</title> <body> <p> To be able to connect to a remotely attached printer through the Internet Printing Protocol your kernel just needs to have networking support. Assuming your kernel has that already, continue with <uri link="#cups">Installing and Configuring CUPS</uri>. </p> </body> </section> <section id="smb-cifs"> <title>Remotely Attached Printer (SMB-CIFS)</title> <body> <p> Your kernel must support SMB CIFS: </p> <pre caption="SMB-CIFS Printer Configuration"> File systems --> Network File Systems --> <*> SMB file system support (to mount Windows shares etc.) <*> CIFS support (advanced network filesystem for Samba, Windows and other CIFS compliant servers) -- [email protected] mailing list
