Simple web server - Chapter 25 . Running a Print Server 649

Chapter 25 . Running a Print Server 649 Working with CUPS Printing Tools like CUPS Web-based Administration and Red Hat s Printer Configuration window effectively hide the underlying CUPS facility. There may be times, however, when you want to work directly with the tools and configuration files that come with CUPS. The following sections describe how to use some special CUPS features. Configuring the CUPS Server (cupsd.conf) The cupsd daemon process listens for requests to your CUPS print server and responds to those requests based on settings in the /etc/cups/cupsd.conf file. The configuration variables in cupsd.conf file are in the same form as those in the Apache configuration file (httpd.conf). Red Hat s Printer Configuration window adds access information to the cupsd.conf file. For other Linux systems, you may need to configure the cupsd.conf file manually. You can step through the cupsd.conf file to further tune your CUPS server. Let s take a look at some of the settings in the cupsd.conf file. No classification is set by default. With the classification set to topsecret, you can have Top Secret displayed on all pages that go through the print server: Classification topsecret Other classifications you can substitute for topsecret include: classified, confidential, secret, and unclassified. The ServerCertificate and ServerKey lines (commented out by default) can be set up to indicate where the certificate and key are stored, respectively: ServerCertificate /etc/cups/ssl/server.crt ServerKey /etc/cups/ssl/server.key Activate these two lines if you want to do encrypted connections. Then add your certificate and key to the files noted. Browsing is the feature whereby you broadcast information about your printer on your local network and listen for other print servers information. Browsing is on by default only for the local host (@LOCAL). You can allow CUPS browser information (BrowseAllow) for additional selected addresses. Browsing information is broadcast, by default, on address 255.255.255.255. Here s how these defaults appear in the cupsd.conf file: Browsing On BrowseProtocols cups BrowseOrder Deny,Allow BrowseAllow from @LOCAL BrowseAddress 255.255.255.255 Listen *:631
We recommend high quality webhost to host and run your jsp application: christian web host services.

Leave a Reply