Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a printer plugged it into my Ubuntu desktop machine. I want to access it from Windows 7 on my laptop. Is this possible? If yes, how can I do this?

share|improve this question
up vote 6 down vote accepted

Yup. Quite simple too. IMO this is quicker than using cups' web gui.

  1. Make cups accept connections from other computers.

    sudo nano /etc/cups/cupsd.conf

    And then replace Listen localhost:631 with Listen *:631. Save and exit (control+x, y, return).

    Note: If this computer ever goes out into the wild, where it's not hidden behind a router, it might be worth specifying an IP address instead of wildcarding. If it sits behind a protected router all the time, you don't need to worry about it.

    Note 2: If you have a firewall running on your computer (eg ufw, firestarter) be sure to allow connections on port 631 through.

  2. Restart cups:

    sudo /etc/init.d/cupsys restart
  3. From the Windows computer, start the Add a printer wizard (in Control Panel > Printers), select network printer and when you finally get around to the part where you enter an address, stick something like this in:


    You then just install the Windows drivers for it and bish, bash, bong your're done.

    If you don't know the name (to replace whatever_your_printer_is_called), take a look at cups http://localhost:631 and see what the name is for the printer.

share|improve this answer

Yes, It is possible.

Please look at Network Printing With Ubuntu.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.