Moving To a New Site

I have just decided that it's time to move on and have my own domain. All the posts in this blog will be moved to:

www.pinoygeek.org

Personal posts will be transferred to: raldz.pinoygeek.org

Thursday, December 01, 2005

Share Windows XP Printer to Linux Machines

All my machines in my network are already running Linux, Ubuntu 5.10 and OpenSUSE 10.0 are my distros of choice. Only one machine is running Windows XP because of custom Visual Basic Programs, and this Windows machine also serves as our Print Server. In this mini-How-To, I'll discuss how to share a Printer in Windows XP to Linux machines particularly Ubuntu 5.10 and OpenSUSE 10.0. We will use the graphical interface of Ubuntu (GNOME) and SUSE (KDE) to set up the printer.. no command lines.. promise.. =)

The Windows XP Machine (The Print Server)

  1. Install your printer.
  2. Open your Control Panel, then open your "Add or Remove Programs"
  3. Click on "Add/Remove Windows Components" located on the left side of the dialog box
  4. Put a check on "Other Netwrok File and Print Services" then click "Details" make sure that the "Print Services for Unix" is selected. (you may need your XP CD and a reboot)
  5. Open "Printer and Faxes" then right click on your printer then "Share", give your printer a share name that is short and with no special characters or spaces (ex. "HP940c" quotations not inclucded). This Share Name would later be used as the Print Queue on your Linux machine.
  6. The Windows Firewall may block Linux machines from printing, turn off your firewall for the meantime.. we will turn it back on later.
  7. Make sure that your Windows' IP number is Static.
The Ubuntu 5.10 Machine (Print Client)
  1. From the panel (default is on top) open System>Administration>Printing
  2. Click on "New Printer"
  3. Select "Network Printer" then use "Unix Printing LPD"
  4. Type on the "Host" Field the IP number of your Windows Print Server (ex. 192.168.0.101)
  5. Type on the "Queue" field the Share Name of the printer, in our example we used "HP940c" (quotations not included)
  6. Click "Forward" then select the manufacturer and model of your printer from the list. Then click "Apply".
  7. Your new printer will now appear in the dialog box. Print a test page to make sure that the paper settings and print out mode are in the right settings..
  8. That's all... =)
The SUSE 10.0 Machine (Print Client)
  1. Open the "YaST Control Center" (you need root access)
  2. Select "Hardware" from the choices on the left
  3. Under Hardware, click "Printer"
  4. Under Printer, click "Add", if it asks you for a new Queue, just click "No" (this will happen if you have an exisiting installed printer)
  5. Under Printer Type, select "Print Directly to a Netwrok Printer" then click next.
  6. on the next dialog, choose "Remote LPD Queue" then click next.
  7. Type on the "Hostname of Print Server" Field the IP number of your Windows Print Server (ex. 192.168.0.101)
  8. Type on the "Remote Queue Name" field the Share Name of the printer, in our example we used "HP940c" (quotations not included) then click next.
  9. For "Queue Name and Spooler Settings" put the "Queue Name" or Share Name of the printer that you used under "Name for Printing"... you may leave the other fields blank. Then click next.
  10. Now choose the proper Manufacturer and Model of your printer. click next.
  11. Accept all the changes, then you may try to print a test page..
  12. That's all... =)

Back to the Firewall


At this point, you should have already succesfully installed your printer and have printed a test page. Now, we will turn back on the Firewall of your Windows XP machine (this is a necessity because Windows has very poor security).

  1. Turn back on your personal firewall in your Windows XP.
  2. Now, print a test page from your Linux machine... the printing would fail because it was blocked by the firewall.. but that's ok.. will fix that..
  3. Locate your firewall log file by opening the Firewall Settings, then under Advance tab click on the Settings of Security Logging and there you will find the location and filename of your firewall log file..
  4. Open the firewall log file using Notepad and look for the Port number to which the printing was blocked.. this port number is between 500 to 700.
  5. After determining the port number, go back to the Firewall Settings and under the Exceptions tab, click "Add Port".
  6. Now, just enter the port number which was blobked previously by the firewall then select "TCP", give it a nice name like "Netwrok Printing".. and you're all set..
  7. Try again to print again a test page, you should have no more trouble printing..
Enjoy... =)


Copyright Notice:

Copyright (C) 2005 Gerald Cortez
Verbatim copying and distribution of this article is permitted in any medium, provided this copyright notice is preserved.

71 comments:

Gerald Cortez said...

yup.. but if you are lucky enough, you could find a PPD file for your printer and install the driver in Linux..

DK said...

Thank you very much. After reading this blog entry, I decided to subscribed to RSS feed from this blog of yours.

Unknown said...

Anoop Sengar said
Thank you very much. After reading this blog i have fully configured between linux and windows.
Thanks.

baba said...

thanks good config, but i am facing 1 problem, next day i give to print on linux macihine the print is failed? why pls give me solution urgently my friend

baba said...

sdfasdfsa

Jorge said...

Is this wired or wireless?
Please email me the answer!
jorgeafigueroaNYG97@gmail.com

Gerry said...

Thanks for the great tutorial Gerald.

Just one amendment for greater accuracy:
The port that windows will listen on is TCP 515. This is the port exception that will need to be added to the windows firewall.

RE: RFC1179 http://www.ietf.org/rfc/rfc1179.txt

Anonymous said...

I have been looking for some info about Share Windows XP Printer to Linux Machines, and wow I have no idea that in the web were so many blogs related to generic viagra, but anyways, thanks for sharing your inputs and have a nice day.

Ocean_Heart said...

A very great informative post.Thanks for sharing this nice informative stuff.I like the way you keep sharing information.And i agree Higher the trust ,higher becomes the responsibility.I hate people who break your trust just for the sake of money.

Generic Viagra | Kamagra | Zenegra | Edegra

Flowers delivery to denmark said...

Really like this website, this really helps and very useful.A very great informative post.Thanks for sharing this nice informative stuff.
Send Flowers to Japan

Unknown said...

Hey great stuff, thank you for sharing this useful information and i will let know my friends as well.nice effort thanks to share

Unknown said...

Hey great stuff, thank you for sharing this useful information and i will let know my friends as well.nice effort thanks to share
Canada flower shops

Unknown said...

I think that it is easy to do, only you must have some knowledge in Linux machines and you must know how to connect a windows machine with linux environment. in fact, this is the best alternative that you can choice if you want to connect a printer.
Viagra Online Buy Viagra

Unknown said...

I think that it is easy to do, only you must have some knowledge in Linux machines and you must know how to connect a windows machine with linux environment. in fact, this is the best alternative that you can choice if you want to connect a printer.
Viagra Online Buy Viagra

Sam Woods said...

Hi,
This is really amazing blog post...
Thanks very much for the sharing it.

generic viagra

HealthCareMenu said...

Very nice information...!!!
I appreciated your writing skill.Keep posting like these.
buy bimatoprost

Maria said...

Thank you very much. After reading this blog i have fully configured between linux and windows.
britney spears perfume
ed hardy perfume
vera wang perfume
calvin klein perfume
paris hilton perfume

marven said...

I have no idea that in the web were so many blogs , It will be best for all. custom logo design

Madiha Shoukat said...

These kind of post are always inspiring and I prefer to read quality content so I happy to find many good point here in the post.temporary tattoo

Anonymous said...

It is best to participate in a contest for among the best blogs on the web. I'll recommend this website!
Vimax Pills Enhance VigRX Plus metropathies Male Extra Amp Do VigRX Plus pills really work mastoidal

Madiha Shoukat said...

very informative post, thanks for sharing it with usManchester photography studio hire

Madiha Shoukat said...

I’ve seen progression in every post. Your newer posts are simply wonderful compared to your posts in the past. Keep up the good work
tattoo sales

abercrombiefitch said...

Nike Air Griffey Max 1
Nike Air Max 1
Nike Air Max 180
Nike Air Max 87
Nike Air Max 90
Nike Air Max 91
Nike Air Max 95
Nike Air Max 2009
Nike Air Max 2010
Nike Air Max 2011
Nike Air Max 24 7
Nike Air Max Bw
Nike Air Max Tn
Nike Air Presto
Nike Air Max Ltd
Nike Air Zoom Kobe
Nike Air Max Boots
Nike Air Max Fitsole

dubaiexperies said...

I need this article to complete my assignment in the college, and it has same topic with your article. Thanks, great share.
Austin Remodeling Contractors

Smile said...

Hey You have done great job, really it's an very interesting blog found here.... I enjoyed your post. keep posting. Thanks very much for sharing it.
iPhone 4 leather case

Unknown said...

Nice post! Thanks for sharing!
Buy Viagra

zahir123 said...

yup.. but if you are lucky enough, you could find a PPD file for your printer and install the driver in Linux..
Abilene Roofing Contractors

marven said...

With great pleasure I read your blog. The information is very interesting. my gratitude to you.logo design

Unknown said...

Nice post! Thanks for sharing!
Buy Cialis

glass dining table said...

You made some decent factors there. I seemed on the internet for the problem and found most people will go together with along with your website.glass dining table

jesonsmith said...

I enjoyed to visiting your blog. It's just amazing.... Thanks very much for the share & keep posting such an informative articles. I'm looking forward to your blog. Thanks!

kamagra

The Motoring said...

I would like to introduce our site for cardealerships just check it out.

weerah said...

I always enjoy reading such posts which provide knowledge based information like this blog. Keep it up.buy codeine online

Nichole said...

Compatibility has come a long way. Who would say we can use different brands but function as one. Great innovation I must say. Being able to do take computer training will really enhance out skills.

Ricky Martin said...

This site is excellent and so is how the subject matter was explained. I also like some of the comments too.Waiting for next post.


buy online vicodin es

buy online percocet said...

You are a Great while writing in the blogs it is awesome I liked it too much good and informative thanks for the sharing.

Abby said...

Wow wow wow dude thats so khoool...!!! i would just say hats off to you keep the good work up and thanks you so much for sharingbuy valium online

Imran said...

Good post. I’m been looking for topics as interesting as this.Lingerie

Muhammad Alexander said...

The positive comments and do well wishes are very motivational and greatly appreciated.




the best seo company

Ana Boks said...

why website owner changed her website name.If any special problem with website owner.I would like to share some tips.Plz used the 301 redirect tag for website.

Facebook Developer New York

Unknown said...

I just want to thank you for sharing your information and your website, this is simple, but good article I have ever seen, I like it, I learned something today! Thanks!

find doctor

Isabella Kaun said...

I need this article to complete my assignment in the college, and it has same topic with your article. Thanks, great share.


maquinas de coser
maquinas de bordar

Admin said...

Why people used linux machine for printer.Window XP printer is effective for XP users.don't changed your OS and Printer.

Facebook Application Developers

Dr Qual said...

It’s opportunity are so fantastic and working style elliptical workout so speedy. I think it may be help all of you.Thanks a lot for enjoying this beauty article with me.I am appreciating it very much ! Looking forward to another great article.

Silviu said...

Great now I know hot to share my Windows XP Printer to Linux! I fount your article right in time! ;)

Sperantza plantarea trandafirilor Destinie

Unknown said...

Such a nice post. I really like this post. Keep it up.

Generic Viagra

Fabian Smith said...

Wow, excellent data regarding this issue. You might want to let me know how long will it take? Because I like to write the thesis or may be it would be nice to detect the thesis writing service. Thank you very much.


Facebook Development

Fabian Smith said...

There Is Obviously a lot to know about this. I suppose you made Some Great points in the Feature also.


Real Estate Logo

adlai said...

I really like the content in your post it interest me to read a lot in your blog. I am just wondering about some topic i your post.

phone spy software for the safety of my phone.Android phone locator for the tracking of my location.
android gps apps locator and tracking my route.

android tracker also a tracker for my gps.

android tracking software
phone spyware
monitor cell phone calls
cell phone tracking

Nichole said...

Decision makers in an organization may not be aware of the pros and cons of the various choices - and they will need good information to make a choice.

Nichole of Insulation Types

Unknown said...

The article in your blog reminds me some old memory .That is good .It gives me happy .I think we will have a harmonious talk.Do you agree? nursing and healthcare services San Francisco healthcare staffing services San Francisco
nurse agency San Francisco
private home and healthcare services San Francisco
professional nursing agencies San Francisco

marven said...

Its very nice article and very informative blog i really like your article thanks for sharing it.business logo design .

Fara Fae said...

Very thorough article with some interesting points raised – not entirely my thing, but there you go.

doctor ratings and reviews | find doctor list | doctor reviews by patients | doctor ratings and reviews by patients

saim said...

It was very useful for me. Keep sharing such ideas in the future as well. This was actually what I was looking for, and I am glad to come here! Thanks for sharing the such information with us




find doctor list

Farrah Khan said...

Gran blog. Todos los mensajes tienen algo que aprender. Su trabajo es muy bueno y le agradezco a usted ya salto para algunos puestos más informativo.
Gracias .

nutricionista Barcelona | dietista Barcelona | dietas Barcelona

Fara Fae said...

Interesting post. I have been wondering about this issue, so thanks for posting.

Tubal Reversals | Tubal Ligation reversal Surgery

Android app development said...

This is one of the nice and Interesting post.I enjoy a lot by read your Information.Your blog has very good effort.Your blog is playing a vital role In internet marketing Business.Android app developers

sam.stephan9 said...

Really informative post my friend will love this post too. Thanks for sharing to us.iPhone Developer Program

toni smith said...

I really enjoy simply reading all of your weblogs. Simply wanted to inform you that you have people like me who appreciate your work. Definitely a great post. Hats off to you! The information that you have provided is very helpful.

mark said...

drug forumAmazing!I also wish him good luck to defend his gold medal. I like to share it with all my friends and hope they will also encourage him.

You Can Do It said...

Thanks for the informative writing. Would mind updating some good tips about it. I still wait your next place. ;)

You Can Do It

Knox Karter said...

These articles are fantastic; the information you show us is interesting for everybody and really good written. It’s just great!!


Internet Marketing Agency

carla kim said...

Very good post. Something which is very close to our heart. You always have a way of making it so easy to follow your thoughts and what you’re sharing with us.
Thank you very much. health insurance california

Melany Flemmings said...

great post!!! Here, I do not really imagine it is likely to have effect. Very much appreciative.

Marriott Hotel New Orleans

marven said...

This blog Is very informative, I am really pleased to post my comment on this blog. It helped me with ocean of knowledge so I really believe you will do much better in the future. Good job web master.rural wireless internet service .

Adam bach said...

awesome post.. I really enjoyed it.... Also check out Daydreams

Amalia Adrian said...

What a great article, thanks a ton for posting it, it's very insightful!
Fish Mox

Knox Karter said...

Thank you for sharing your new site. Keep up the great work.

Administrative Services Logo

justin albert said...

Very good post, very useful informations.



Blackberry App Development

Johny Bates said...

This post was not only helpful but very useful too. Thank you for sharing this piece of your expertise with all of us. Cheers!
Buy Dubai Property | Dubai Property for Sale | Dubai Property For Rent

Unknown said...

Amazing article.I found very nice interesting article on your blog.I will bookmark your blog.Keep posting with your updated stuff.
Toronto Pearson Airport Taxi
Toronto Airport Taxi
Pearson Airport Taxi