How to configure a print server with ubuntu server, cups, and bonjour by jack wallen jack wallen is an awardwinning writer for techrepublic and. Download ubuntu desktop, ubuntu server, ubuntu for raspberry pi and iot devices, ubuntu core and all the ubuntu flavours. However, none of the lines mentioned exist in my etccupsnf file. Some random simple tips on how to improve security of an ubuntu desktop installation. 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. All of the details for each of our printers is stored in the nf file. Next, check the actual permissions of the devices created in the file system. By using cups samba and swat the final product is a web based solution to a headless print server. To enable, see the filedevice directive in etccupsnf. Issues configuring cups print server for ubuntu server 9. Each line in the file can be a configuration directive, a blank line, or a comment. If the permissions check boxes in the administration section of the cups web interface do not seem to be working, another fix. When no changes are requested, the current configuration values are written to the standard output in the format namevalue, one per line.
Some sites said to edit etccupsnf and comment out some lines. Googling tells me i should have a file named etccups cupsd. How to configure a print server with ubuntu server, cups, and. How to set up a web configured print server on ubuntu. To install cups on your ubuntu computer, simply use sudo with the apt. Tag descriptionc configfile uses the named configuration file. It is also helpful to make sure your user is a member of the cups group. 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. For more details on the full range of directives, type man nf at the command prompt. How to set up a web configured print server on ubuntu server. If no options are specified on the commandline then the default configuration file etccupsnf will be used.
My ubuntu box seems to be constantly downloading something. Copy the etccupsnf file and protect it from writing with the following. As cups recommends really a lot of packages to install, you could add. How to set up a web configured print server on ubuntu server using swat, cups, and samba. 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. I am running the server version 64 bit of ubuntu 10. The below lines restricts web administration access to localhost. Now that cups is installed and running, we need to make a few configuration changes. Broken cups installation on a ubuntu server 64 server fault. I cant seem to figure out what exactly it is downloading. Configure cups printing server on centos tech poli. Im not very familiar with the network commands but the system monitor indicates a nonstop download between 5kb and 15kb for 2 days now. The configuration directives are intentionally similar to those used by the popular apache web server. Powered by the ubuntu manpage repository, file bugs in launchpad.
This howto describes the process of setting up an intranet based print server using ubuntu server. A detailed list of changes can be found in the change log. Im going to walk you through setting up a print server on ubuntu server 18. You should note that there is a defaultprinter and standard printer configuration below example, there can only be one. The example configuration files within this folder are based from the cups configuration files that ship with mac os 10.
Unable to read configuration file etccupsnf if i go to the cups administration url in firefox 127. Openssl the following configuration depends on a correctly setup. The default cups configuration limits administration to the local machine. 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. I have tried to remove it, to be able to reinstall it, with the following command. To open the cups configuration file, issue the command. Per jays comment below, if you have a canon printer, dont use the default cups drivers. I ended up commenting out everything and still no success. This beta also includes the new ippeveprinter utility. I tried to comment out a few that looked close, but no success. It implements the printing system on the basis of the internet printing protocolversion 2. The etccupsnf file contains configuration directives that control how the server functions. File, directory, and user configuration directives that used to be allowed in the cupsd.
In order to be able to make administration changes in the cups gui, i had to add allow 172. How to configure a print server with ubuntu server, cups. Cups comes with a webbased interface that you can access with your favorite browser on port 631 by default. The common unix printing system servers behavior is configured through the directives contained in the file etccups cupsd. One of the latest linux printing solutions is the common unix printing system cups, it supports the internet printing. Setting up cups and installing local printer in ubuntu server. Ubuntu is an opensource software platform that runs everywhere from the pc to the server and the cloud. Chapter 15 system printing linux home server howto. Trying again, cups does come up, but the config file is in its original state my additions no longer there. 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. Serveralias for my brother mfc 7420, i had to install.
It implements a printing system based upon the internet printing protocol, version 2. Each directive is listed on a line by itself followed by its value. I definitely recommend reading up on each step yourself instead of just blindly following them. The common unix printing system servers behavior is configured through the directives contained in the file etccupsnf. F run cupsd in the foreground but detach the process from the controlling terminal and current directory. How to setup cups printer admin web gui for remote access. 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. Comment lines 842, 843, 844 so it should look like this. Logged in as root, download the latest cups driver and save it to the tmp directory. 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. When i try to start the cups daemon with the following command. The server can be configured using either the web interface or by manually editing etccupsnf.
932 1491 1032 1294 674 1456 1579 1031 133 577 1070 824 453 1212 892 890 1255 612 1435 418 645 343 1181 226 157 1505 1598 1240 667 947 311 282 869 495 255 642 352