Networking Forums

Networking Forums > Computer Networking > Linux Networking > Print from xp to ubuntu printer

Reply
Thread Tools Display Modes

Print from xp to ubuntu printer

 
 
asimon623
Guest
Posts: n/a

 
      07-06-2005, 05:38 AM
I've tried for a while to get this done without success. I have a hp
deskjet 5650 printer. I have followed these steps, and still cant
print remotely from windows:

This assumes you can already print to the computer from the linux
computer that it is
connected to.

OK dude here's the easiest way to do it

1. edit /etc/cups/mime.types

at very bottom Uncomment the line

application/octet-stream

2. edit /etc/cups/

Uncomment the line

application/octet-stream

3. edit /etc/cups/cupsd.conf
Starting at line 790 you will see:

<Location />
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
</Location>

Add to that another line saying
Allow From IP ADDRESS

If you want you can do something like
Allow From 192.168.1.* to allow all those computers/addresses

4. At line 862 you will see

Order Deny,Allow
Deny From All
Allow From 127.0.0.1
#Encryption Required

Add the IP Addresses in there too.

5. Go back up to line 445
You will see

Listen 127.0.0.1:631

That allows access to cups over the network but coming ONLY from
127.0.0.1
Add another line for the ip address or addresses like so

Listen 192.168.1.100:631

You can use the * again if you need to, or just specify the addresses
individually.

Save the file now.

6. Now you need to
sudo adduser cupsys shadow
sudo /etc/init.d/cupsys restart

7. Open up your web browser on the computer connected to the printer
to:
http://localhost:631

and click on Classes at the top.

8. Add a class (if you are asked to login, use your user name and
password on the computer)

9. name the class Home and click Continue

10. Choose the printer (should be the only one on the list) and click
Continue

11. Ok done with linux -- go to the XP computers and add a printer

12. Click next, go to Network printer

13. Click the bottom dot to add a printer by its URL

14. Enter in http://IP-OF-LINUX-COMPUTER:631/classes/Home

15. Choose your printer driver and youre DONE

ive turned off all my firewalls

any help would be great.

thanks

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Network printer won't print 885WHITE Windows Networking 7 07-17-2008 03:17 AM
Ubuntu Hardy and "Printer Sharing" -- securiry question Ignoramus9437 Linux Networking 6 04-11-2008 06:34 PM
Send Print Job to Printer DNS Name Sabatogz Windows Networking 2 08-28-2007 05:48 PM
Can't print from wxp to shared printer on w98!! =?Utf-8?B?bWlmZg==?= Windows Networking 7 07-13-2005 11:09 PM
Printer won't print and won't ping fskeels Windows Networking 1 06-25-2004 11:55 AM



1 2 3 4 5 6 7 8 9 10 11