Results 1 to 4 of 4

Thread: Setting up a Network Printer on Ubuntu Server

  1. #1
    Join Date
    Sep 2006
    Location
    Rhode Island
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Setting up a Network Printer on Ubuntu Server

    I am very new to servers. I recently setup a Ubuntu server, and I want to attach a printer to share on my home network. The server is up in running in the sense that I can log in through SSH. I edited the smb conf file as directed by tutorials I have read (so the workgroup matches). I have also edited the smb conf file on my desktop as well. Surprisingly I cannot find a detailed tutorial on what to do next. I assume that I need to install the drivers on both systems server/desktop. I was able to locate Linux print drivers, but I am little lost on what direction to go next. Does anyone know of a decent tutorial I could follow?

    Thank you,

  2. #2
    Join Date
    Nov 2008
    Location
    Metro Boston
    Beans
    9,041
    Distro
    Kubuntu 14.04 Trusty Tahr

    Re: Setting up a Network Printer on Ubuntu Server

    First off, you need to be running CUPS on the server which is the printing management system used on Unix machines. So check to see if it is running like this:

    Code:
    ps ax | grep cups | grep -v grep
    If that comes up empty, then run:

    Code:
    sudo apt-get install cups
    If it says that CUPS is already installed, then try
    Code:
    sudo service cups start
    sudo chkconfig -s cups
    I recommend reading this part of the Ubuntu Server Guide before you start: https://help.ubuntu.com/12.04/serverguide/cups.html You will need to change the Listen directive if you want to print over the network. Follow the instructions in the Guide. Once you are done, try printing a test page from the CUPS manager. Now I would reboot the server just to ensure everything comes up as required and works together correctly. Print another test page to make sure.

    Now go to a client machine and see if you can access the printer. On a Windows box you should be able to use the "\\server\printername" naming scheme. If you're using Ubuntu clients, you should run the printer configuration tool that comes with Ubuntu, or you can use the same http://localhost:631/ URL on the client machine to talk to CUPS. (If CUPS is not running, follow the steps above.) You have two choices to connect to the remote printer. You can use the ipp:// style connection that will talk directly to CUPS, or you can use an "smb://server/printername" URL to connect via Samba. Pick the correct driver and try printing a test page.
    Last edited by SeijiSensei; September 5th, 2012 at 04:48 PM.
    If you ask for help, please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

  3. #3
    Join Date
    Sep 2011
    Location
    Behind you!
    Beans
    531
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Setting up a Network Printer on Ubuntu Server

    I simply used a Zentyal server as my print server. I tried to setup CUPS by hand on an Ubuntu server but failed miserably. Didn't take very long at all to get a print server setup using Zentyal.

    LHammonds

  4. #4
    Join Date
    Jun 2008
    Location
    Tennessee
    Beans
    3,416

    Re: Setting up a Network Printer on Ubuntu Server

    Assuming you have cups installed, just point a web browser to port 631 on your server's IP and you'll find a decently friendly interface for setting up a printer.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •