Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
add comment

2 Answers

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:

    http://your_ubuntu_ip:631/printers/whatever_your_printer_is_called
    

    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
add comment

Yes, It is possible.

Please look at : https://help.ubuntu.com/community/NetworkPrintingWithUbuntu

share|improve this answer
add comment

Your Answer

 
discard

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.