+ -

Certification Objective 1.04: Printing

时间:2007-04-01

来源:austin22

在手机上看
手机扫描阅读
Certification Objective 1.04: Printing
认证目的 1.04: 印刷

As of this writing, printers are not always connected or configured during the installation of Red Hat Enterprise Linux.
当这写作,打印机不总是在红帽企业 Linux 的安装期间被连接或配置之时。

 You may have to install printers yourself.
 你可能必须安装打印机你自己。

 The default Red Hat Enterprise Linux 3 print daemon is CUPS, the Common Unix Printing System.
 内定的红帽企业 Linux 3 版精灵是 CUPS,共同的 Unix 印刷制度。

There are two basic ways to configure a printer:first, you can edit the configuration files in the /etc/cups directory with a text editor, which can be a difficult process.
有二个基本的方法要配置一台打印机:首先,你以一个文字档编辑程序,可能是困难的程序能在那 /etc/cups 目录中编辑配置文件。

 These files are long, and the language is somewhat obscure, at least on the surface.
 这些文件很长,而且语言略微微暗, 至少在表面上。

Though its support of the Internet Printing Protocol (IPP), CUPS is more suited toward managing printers on a network.
虽然它的因特网印刷协定 (IPP) 的支援, CUPS 是向在一个网络上管理打印机被适合的更多。

 CUPS also includes a fairly reliable front-end configuration tool that you can call up in a browser, using TCP/IP port 631.
 CUPS 也包括非常可靠的前端配置你能在一个浏览器中叫醒 ,使用传输控制协议/IP 端口 631 的工具。

The other method in RHEL 3 is using the Red Hat Printer Configuration tool, which I describe in Chapter 8.
在 RHEL 3 的另一个方法正在使用红帽打印机配置工具, 我在第 8 章描述.

 Exam Watch  Red Hat Enterprise Linux 3 and Fedora Linux do not include any version of the Line Print Daemon (LPD or LPRng), and therefore I believe that coverage of the RHCE or RHCT exams will be limited to CUPS.
 考试表红帽企业 Linux 3 和费多拉帽 Linux 不包括线版 Internet中用于邮件收发的后台程序 (LPD 或者 LPRng) 的任何版本,而且因此我相信 RHCE 或者 RHCT 考试的报导将会被限制于 CUPS。

 Nevertheless, LPRng still appears in the RH133 and RH300 course syllabus at the time of this writing.
 然而, LPRng 仍然在 RH133 和 RH300 课程摘要中在这写作的时候出现。

Adding Printers
增加打印机

The easy way to add a printer is with the Red Hat Printer Configuration tool, which is also known by the command used to start it from a terminal, redhat-config-printer.
容易的方法增加一台打印机与红帽打印机配置工具,也被被用从一个终端机开始它的指令知道, redhat-配置-打印机。

 I recommend that you learn to use this GUI tool.
 我推荐你学习使用这一个图形用户接口工具。

 Unless you're a CUPS expert, it's a faster way to configure printers on the RHCT or RHCE exams.
 除非你是一个 CUPS 专家,它是一个较快速的方法在 RHCT 或 RHCE 上配置打印机考试。

 I show you how to use this utility in Chapter 8.
 我教你该如何在第 8 章使用这公用程式。

It's fairly easy to configure printers with this tool; just click New as shown in Figure 1-4 (the computer name is berkeley) and follow the prompts.
用这一个工具配置打印机非常容易;正直的轻击新的如图 1-4(计算机名字是 berkeley) 所示而且跟随提示。

Figure 1-4: The Red Hat Printer Configuration tool
图 1-4:红帽打印机配置工具

Print Commands
打印指令

Three basic commands are associated with printing in Linux, as described in Table 1-5.
三个基本的指令与 Linux,被如表 1-5 所描述印刷有关。

Table 1-5:Linux Print Commands  
表 1-5:Linux 版指令

 Command 命令  Description 描述
 lpr   The basic print command. lpr filename prints that file.基本的版命令。 lpr 档名打印哪一申请。
 lpq  Query the print queue for status.lpr -l lists print job numbers.为状态查询版储列。lpr-l 的列表打印作业编号。
 lprm  Remove a specific job, usually specified by job number, from the printer queue.除去一个特定的作业, 通常被作业数目指定, 从打印机储列。

热门下载

更多