hoặc bằng cách khác, mà không có sự cho phép bằng văn bản của nhà xuất bản. Không có trách nhiệm cấp bằng sáng chế được giả định đối với việc sử dụng các thông tin nó không cần thiết sẽ mở máy chủ in của bạn cho công việc in ấn không mong muốn và các cuộc tấn công từ chối dịch vụ khác từ hệ thống bên ngoài. | previous page page_36 next page Page 36 This page intentionally left blank. previous page page_36 next page previous page page_37 next page Page 37 CHAPTER 3 Setting Up Printers and Classes previous page page_37 next page previous page page_38 next page Page 38 This chapter describes how to set up and manage printers and classes on your system from the commandline and Web interfaces. Basics of Printers Each printer queue has a name associated with it the printer name must start with a letter and can contain up to 127 letters numbers and the underscore _ . Case is not significant so PRINTER Printer and printer are all considered the same name. Printer Devices Printer queues have a device associated with them. The device can be a parallel port a network interface or any other interface that is supported by a backend. Devices within CUPS use uniform resource identifiers URIs which are a more general form of the uniform resource locators URLs that are used in your Web browser. For example the first parallel port in Linux usually uses a device URI of parallel deV lp0. Getting a List of Available Devices You can see a complete list of supported devices by running the lpinfo command lpinfo -v ENTER file file network socket network http network ipp network lpd direct parallel dev lp0 serial serial dev ttyS0 baud 115200 serial serial dev ttyS1 baud 115200 direct usb dev usb lp0 network smb The -v option specifies that you want a list of available devices. The first word in each line is the type of device direct file network or serial and is followed by the device URI or scheme name for that device. File devices have device URIs of the form file directory filename whereas network devices use the more familiar scheme server or scheme server path format. Some backends support options which are added to the end of the URI starting with a question mark. In the preceding list of devices the baud 115200 option on the serial port URIs specifies the maximum baud rate supported by .