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.

106 comments:

Iain said...

So presumably your printer still has to be supported by Ubuntu? You can't get away from that?

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..

Iain said...

Thought so. Thanks for your help.

:(

Dileep N K said...

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

anoop 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

Paul 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

John said...

I would like to appreciate the great work done You

Generic Viagra | Cheap Generic Viagra | Generic Cialis |
propecia | Generic Viagra

sonianaz22 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

Neha Shekar 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

Neha Shekar 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

Clark 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

Clark 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

brinkka said...

Erectile Dysfunction FAQ's

Impotence, or penile erectile dysfunction, in men is not as rare as one would think it is.
In fact, one out of ten men around the world is affected by this condition. It is not exclusive to old men either. Impotence is caused not just by physical factors,
but mental factors as well.
Exercising on a regular basis and eating healthy food will increase your ability to sustain prolonged physical effort and we all know that sex is effort.
Smoking, frequently drinking large quantities of alcohol, taking recreational drugs and lack of exercising will sap your stamina and also slow down the flow of blood.
Penis exercises can be used for maintaining fitness, preventing or controlling premature ejaculation and increasing the length and girth of the penis.
by penis enlargement pills or male enhancement pills you can overcome these problems and not only that you can also enlarge, extend also to strengthen your penis and premature ejaculation will not exist anymore for you.
visit http://www.factspenisenlargement.com for more info.

VigRx Plus | Vimax Pills | Male Extra | Size Genetics | Prosolution Pills

male said...

For men who want bigger, harder, longer-lasting erections, there's now VigRX Plus™, a fresh twist on the already popular VigRX™, but designed to further enhance men's sexual functioning with the addition of three exciting new ingredients: Damiana, Tribulus, and Bioperin. Doctor endorsed and rated #1 for results by clients of penis enlargement consumers. rated two penis pills is vimax. if you find about male enhancement this products is the best and proven to work, there products have money-back guarantee in effectiveness and result.

alina said...

Barrister Global Services Network, one of premier provider of IT solutions, printer repair , Printer Service, managed print services, Barrister Global Services. Printing services as printer repair and Managed Print Services are among the best services provided by barrister.

Sam 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

niub520 said...

wow great i have read many articles about this topic and everytime i learn something new i dont think it will ever stop always new info , Thanks for all of your hard work!
zygor guides review

Jose said...

I find all the articles you provided here are interesting and worth to read
cheap fax machines
stationary bike
mobil keluarga ideal terbaik indonesia
weight lifting equipment
interior design ideas

Jessica said...

Barrister Global Services Complaints

marven said...

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

kimnellen2587 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

penisenlargement4male 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

kimnellen2587 said...

I certainly enjoyed the way you explore your experience and knowledge of the subject! Keep up on it. Thanks for sharing the infoAfrican Mango Scam

kimnellen2587 said...

Happy to see your blog as it is just what I’ve looking for and excited to read all the posts. I am looking forward to another great article from you.
African Mango Extract

kimnellen2587 said...

Thanks for the posting. Loads of excellent writing here. I wish I had found this site soonerrotherham hypnotherapist

kimnellen2587 said...

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

kimnellen2587 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

jelish said...

The Louboutin 2011 is planned using the ladies. offered the fact that pumps was born, the ladies lifestyle turn into colorful. The christian Louboutin 2011 Pumps
will be the god's masterwork. Who invited the Christian Louboutin Wedges ? Seldom people knew, but I think each and every and every lady will be grateful for him. between the countless pumps,the Christian Louboutin Shoes
could be probably the most exceptional ones. The stylish pattern, the delicate design all mold the ladies perfect leg profile. Flowers inside the spring of 2011 creeping, up from frizzy hair to outfits hold on to footwear, have experienced a brilliant up. on this type of the glamor, spring and summer time flowers now here. Romance is really a woman's mood, exquisite flowers just appropriate of expression within our gestures, the woman, how can we not adore the romantic temperament to make certain which they distributed the flowers do? 2011 flowers bloom will get satisfaction from numerous poses! The Christian Louboutin New Sandalsalso can adds the hright in the ladies, it hold shock toward short lady. especially the red-colored lone in the louboutin heels, beauty and sexy, different ladies are crazy. The red-colored sole, the earliest attribute in the Sale Louboutin stroe.

truddy said...

Want to be the fashionable person?Sexy and beautiful women are always men's favor. Now come to Louboutin UK store! We will change you into a gorgeous girl! Here provides Christian Louboutin Fashion,Louboutin 2011,Christian Louboutin Wedding,louboutin platforms,Louboutin Wedges and so on.The unique and well-Designed shoes favored by the world, signed with the Christian Louboutin red soles of the mark, giving high heels and covetable accessories, system pumps and elegant luxury Christian Louboutin clutch has to be available almost all fashion only. We now provide Christian Louboutin shoes with free shipping and save 60% off! Hurry up! Christian Louboutin UK store is your first choice!

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

uggbootsoutlet said...

Our Christian Louboutin Outlet online store offers a variety of styles of shoes. Our website offers a variety of styles of shoes, these Christian Louboutin Online shoes are the favorite of girls. They are the best choice for you most to fashion. These Christian Louboutin Outlet Online shoes are one of our shops are selling shoes.

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

netde said...

クレジットカード現金化

LauraStarBene said...

Nice post! Thanks for sharing!
Buy Viagra

big said...

Excellent site, keep up the good work my colleagues would love this.
creditcard genkinka creditcard shopping, shopping genkinka creditcard shopping,

Happy Baby Peplo said...

Christian louboutin shoes disconut are so captivating using the distinctive style and design and stylish appearance.Louboutin Heels is on sale now, why not purchase a pair of Louboutin heels for yourself? They will assist you be additional attractive and comfortable. Louboutin mall are worthy of treasuring.

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

LauraStarBene 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

mark said...

Fantastic website, and it appears like you have a lot more site visitors as well, because the last time I was right here.

Generic-Viagra said...

Hi there, nice information provided. thanks for that. keep posting of blogs in the future. thanks once again..
kamagra

mark said...

best organic seo servicesThank you, I have recently been searching for information about this topic for ages and yours is the best I have discovered so far.

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

Movies Gallery 2011 said...

Interesting post. Thanks for the share.
Super Bowl Commercials 2012| Money Talks|

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.

Ryan 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

jamesfrac 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

Andre Smith said...

learn spanish for kids dvd is a developed by progressive media partners, llc spanish writer, stats analyst, and data visualization designer. His work can be found on Learn Spanish for Kids and Family and learning spanish at home, as well in the english to spanish worksheets for kids and various spanish for kids for the english to spanish worksheets for kids has learn spanish on dvd. Thanks

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

sahib 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

suzan 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

john said...

Very interesting thanks. I believe there's even more that could be on there! keep it up
organic seo service

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

suzan said...

Thanks for your post, I like this post very much.
doctor ratings and reviews
reviews by patients
find doctor list

jon 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

frajawinner said...

The first part of starting any new site is picking the niche you want it to be in hotel marrakech. My biggest criteria for this case study was finding a niche that should be fairly easy to get some traction in rapidleech servers, so I went for something pretty obscure. I don’t know how much money is here, so I’m taking a chance there. But all techniques stay the same adwords coupon.

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 .

London Escort Agency said...

Your Escort Agency offers exclusive and most beautiful London escort girls of various nationalities.
London Escort Agency

Farrah 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

Chris Suja said...

I always enjoy reading such posts which provide knowledge based information like this blog. Thanks for sharing it with us Generic Nexium Online .

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

Farrah 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

Abby said...

Beautifully expressed article, i really enjoyed my stay on this plus wonderful website
buy xanax online

anita grace said...

organic vitamins
thanks for sharing such a nice info its very much impressive.

iori said...

Natural supplements

Hi buddy, your blog's design is simple and clean and i like it. Your blog posts
are superb. Please keep them coming. Greets!!!

Natural supplements

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.

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.

kashif said...

I am speechless after seeing these pictures! I love them all! I teach kindergarten and I'm going to make a theme, and photographs have given me so many ideas! You are so talented! Thanks!
buy ritalin online

toni smith said...

am also interested in this topic. I have spent a lot of time on searching this kind of topic. It is very informative.
medicine forum

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

Bob_Alfredo 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

Econis LABS - Engineering Answers said...

Really amazing information found here... really thanks very much for sharing this interesting information.
Thanks and keep posting.... Engineering Solutions
Engineering Answers

Amalia Adrian said...

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

Adim 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

Hamza Shahzad Shahzad 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