print to a windows printer share

I want to be able to print to a shared printer on my windows machine.

I have a HP Laserjet 1012 on a windows computer (shared)

couln't get it to work on my linux anway (imagine that!) USB ain't it great

anyway... I want to be able to print from my Fedora Core 3 computer to that printer...
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Go type in a terminal: setup
Then go down to printer setup.
Pick SMB style printing if you wanna print through SMB.
Set your IP and Share name for the printer and such then test it.

  You can also share out your Windows printer server to Unix/Linux by installing "Print services for Unix" on
Windows printer server.

   "Add or Remove Programs  --> Windows Components Wizards --> Other network file and Print Services (Details)
  --> Print services for Unix".

   Then you can setup remote printer point to Windows printer server in FC3 by using


icredesAuthor Commented:
I tried that and I get an error trying to print a test page
Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

Which way you try and what's the error messages in /var/log/messages?
icredesAuthor Commented:
setup brought me to system-config-printer

I did enable unix printing on the windows box.

I tried using system-config-printer-gui and I under windows smb the computer didn't even show up.  the only thing that did show up is my samba server (another computer)

<IP of Windows printer server>   <Windows printer server hostname>
into /etc/hosts
and run system-config-printer-gui
icredesAuthor Commented:
OK did that...

still don't see it, but I can ping it

one more note... we are running macafee on the windows box which has personal firewall on it.  I did turn off the firewall

file and printer sharing is turned on

also FYI:
# rpm -qa |grep samba
icredesAuthor Commented:
any more help would be appreciated
> one more note... we are running macafee on the windows box which has personal firewall on it.  I did turn off the firewall
1. Can you print from other Windows PC? Make sure you share out the printer.

2. Turn off Windows firewall also if it is XP.
icredesAuthor Commented:
yes... I got it to print from another windows machine
Did you try the way in my first post, instead of through SAMBA (SMB)?
Through SMB, you need to type in username and password and store in plain text on FC3, which is not secure.
So I recommend that you install "Print services for Unix" on Windows print server and on FC3 run
system-config-prinnter  (as root)
to add the printer as "LPD" not SMB, and select the driver.
I done that on my Linux box without problem

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.
I will leave the following recommendation for this question in the Cleanup topic area:
Accept: wesly_chen

Any objections should be posted here in the next 4 days. After that time, the question will be closed.

EE Cleanup Volunteer
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Networking

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.