![]() In the initial configuration of the CUPS daemon we specified the allow/deny directives for the "/" (root) and "admin" resources. Each printer that is defined in the configuration file must have a DeviceURI specified. ![]() Below are some of the possible DeviceURI types and examples. The DeviceURI (Uniform Resource Identifiers) specifies the device that is assigned to the printer. So ensure which ever name you choose that they are constant throughout your configuration of that printer.ĪllowUser miles Laser Printer - Brother HL-1430 The names for both of these printers (laser and bubblejet) are used in some other configuration areas. You should note that there is a DefaultPrinter and standard Printer configuration (below example), there can only be one DefaultPrinter directive while any additional printers should be defined simply as Printer. The configuration directives needed in the configuration file are very simple, and can be further explained by accessing the man page by typing "man nf" at the command prompt. # cp /etc/cups/nf /etc/cups/Īll of the details for each of our printers is stored in the "nf" file. Firstly we need to make our backup configurations. #Ppd files linux drivers#Printers and their drivers need to be configured before any printing is possible, see below for details.Īdding a new printer using the CUPS web interface is very easy, however we are going to configure our printers manually through the configuration files. The service is running on port 631 (default) and can be accessed here: # groupadd printer-admins The CUPS daemon can now be controlled through a standard web browser if you are connecting from either the localhost, or from the internal network. The service can now be started, be sure to check the system log to see if any errors have occurred. Set the appropriate run levels for your service and then check to make sure they are correct. The default for browsing is on, however for a small home network you would probably prefer to turn this feature off.īrowseAllow from from initial CUPS configuration is now complete. #Ppd files linux full#Depending on the configuration, this allows full administration of all your network printers so they can be centrally managed from the one location. This should not be a problem for home networks.ĬUPS is a full networking solution and it is capable of browsing the network and discovering other CUPS servers. It is important to note that no encryption has been established for CUPS in our configuration (it is optional), so if you are administering the system via an untrusted network, be aware that your user details may be captured. The "admin" resource has been configured for authentication so that all the administration tasks are only accessible to authorised personnel. The "/" (root) resource may be provided to all users without any authentication so they may view which printers are available and the status of the queues. ![]() To access the resources remotely via a web browser, we need to specify the access controls (deny/allow) which will be applied to each resource. For more details on the full range of directives, type "man nf" at the command prompt. The following basic directives are typical of a standard CUPS configuration, there are many more settings which are available, but most of the default values do not need adjusting. ![]() However this guide will provide all the steps necessary to configure from the command line (print drivers need to be updated manually). One of the major CUPS advantages is that it can be completely controlled remotely using a standard web browser, so really all we need to do is get it configured and then access it remotely. This is particularly important as most of the GUI applications that support CUPS will overwrite the files after you have made changes, so a backup of the original is important. As with all configuration files we need to back it up before we make any changes. The configuration file for CUPS looks and feels very similar to that of Apache, so you may already be familiar with some of the concepts for accept/deny etc. CUPS supports the Internet Printing Protocol (IPP) and provides a complete, platform independent printing solution for most networking environments. Fedora provides network printing solution through Common UNIX Printing System (CUPS). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |