For more details on the full range of directives, type man nf at the command prompt. It is also helpful to make sure your user is a member of the cups group. File, directory, and user configuration directives that used to be allowed in the nf file are now stored in the nf5 instead in order to prevent certain types of privilege escalation attacks. Copy the etccupsnf file and protect it from writing with the following. It implements a printing system based upon the internet printing protocol, version 2. Now that cups is installed and running, we need to make a few configuration changes. I am running the server version 64 bit of ubuntu 10. To enable, see the filedevice directive in etccupsnf. To open the cups configuration file, issue the command. If no options are specified on the commandline then the default configuration file etccupsnf will be used. Cups comes with a webbased interface that you can access with your favorite browser on port 631 by default. By using cups samba and swat the final product is a web based solution to a headless print server. How to set up a web configured print server on ubuntu server.
A detailed list of changes can be found in the change log. Im not very familiar with the network commands but the system monitor indicates a nonstop download between 5kb and 15kb for 2 days now. When no changes are requested, the current configuration values are written to the standard output in the format namevalue, one per line. The common unix printing system servers behavior is configured through the directives contained in the file etccups cupsd. First, double check the devfs 8 permissions as outlined above. Powered by the ubuntu manpage repository, file bugs in launchpad.
Broken cups installation on a ubuntu server 64 server fault. The below lines restricts web administration access to localhost. The example configuration files within this folder are based from the cups configuration files that ship with mac os 10. You should note that there is a defaultprinter and standard printer configuration below example, there can only be one.
Openssl the following configuration depends on a correctly setup. The etccupsnf file contains configuration directives that control how the server functions. The configuration directives are intentionally similar to those used by the popular apache web server. Download ubuntu desktop, ubuntu server, ubuntu for raspberry pi and iot devices, ubuntu core and all the ubuntu flavours. Chapter 15 system printing linux home server howto.
Googling tells me i should have a file named etccups cupsd. Per jays comment below, if you have a canon printer, dont use the default cups drivers. I have tried to remove it, to be able to reinstall it, with the following command. How to set up a web configured print server on ubuntu server using swat, cups, and samba. I tried to comment out a few that looked close, but no success. I definitely recommend reading up on each step yourself instead of just blindly following them. File, directory, and user configuration directives that used to be allowed in the cupsd. How to set up a web configured print server on ubuntu. Next, check the actual permissions of the devices created in the file system.
This beta also includes the new ippeveprinter utility. Ubuntu is an opensource software platform that runs everywhere from the pc to the server and the cloud. If the permissions check boxes in the administration section of the cups web interface do not seem to be working, another fix. How to configure a print server with ubuntu server, cups. The name must be defined in the nf in a policy section. Unable to read configuration file etccupsnf if i go to the cups administration url in firefox 127. To install cups on your ubuntu computer, simply use sudo with the apt. Some random simple tips on how to improve security of an ubuntu desktop installation.
The common unix printing system servers behavior is configured through the directives contained in the file etccupsnf. The server can be configured using either the web interface or by manually editing etccupsnf. When i try to start the cups daemon with the following command. Open up the web interface to the server, select the administration tab, look under the server heading, and enable the share printers connected to this system option. If i edit the file, and put filedevice yes in, cups refuses to start, saying the server cannot be reached, or that it cannot read the file nf. Issues configuring cups print server for ubuntu server 9. One of the latest linux printing solutions is the common unix printing system cups, it supports the internet printing. Setup cups common unix printing system server and client. How to setup cups printer admin web gui for remote access. Tag descriptionc configfile uses the named configuration file. I ended up commenting out everything and still no success. This howto describes the process of setting up an intranet based print server using ubuntu server.
Trying again, cups does come up, but the config file is in its original state my additions no longer there. The default cups configuration limits administration to the local machine. F run cupsd in the foreground but detach the process from the controlling terminal and current directory. Serveralias for my brother mfc 7420, i had to install. Comment lines 842, 843, 844 so it should look like this.
Each directive is listed on a line by itself followed by its value. How to configure a print server with ubuntu server, cups, and. Sie befindet sich normalerweise im verzeichnis etccups. Setting up cups and installing local printer in ubuntu server.
Logged in as root, download the latest cups driver and save it to the tmp directory. How to configure a print server with ubuntu server, cups, and bonjour by jack wallen jack wallen is an awardwinning writer for techrepublic and. File, directory, and user configuration directives that used to be allowed in the nf file are now stored in the nf5 instead in order to prevent. It implements the printing system on the basis of the internet printing protocolversion 2. To open up access, edit the etccupsnf and comment out the lines reading. In order to be able to make administration changes in the cups gui, i had to add allow 172. All of the details for each of our printers is stored in the nf file. Configure cups printing server on centos tech poli. As cups recommends really a lot of packages to install, you could add. After you finish the installation you will have to run the cups daemon so you can start printing or share your printer over the network. To configure the email address of the designated administrator of the cups server, simply edit the etccupsnf configuration file with your preferred text editor, and add or modify the serveradmin line accordingly. 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. I cant seem to figure out what exactly it is downloading.
1490 1360 1243 385 1304 147 274 1280 934 1266 1055 114 1088 1349 1077 527 268 1529 292 1227 444 975 1470 1474 669 1557 1572 821 647 1593 1443 906 785 1584 1270 1456 1232 206 949 446 336 1473 795