I was able to make it work, though you'll need some files for generic postscript printer driver from a windows install in addition to the ones mentioned in the above link. And for some reason I couldn't get the cupsaddsmb command to work with the smb.conf supplied in the guide. I used a generic one I found elsewhere and started adding in a couple tweaks to be more like what's in the guide. YMMV.

that's my problem too, when calling cupsaddsmb, it gets caught up in an endless loop_________________Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
ProjectFootball

I was able to make it work, though you'll need some files for generic postscript printer driver from a windows install in addition to the ones mentioned in the above link. And for some reason I couldn't get the cupsaddsmb command to work with the smb.conf supplied in the guide. I used a generic one I found elsewhere and started adding in a couple tweaks to be more like what's in the guide. YMMV.

that's my problem too, when calling cupsaddsmb, it gets caught up in an endless loop

I think you have to have cups running (/etc/init.d/cupsd start) for it to work. And if you do have it running, I'm thinking you need to start samba via the same route. I had the same thing happen.

But getting rid of the loop didn't fix things for me, since that only let me hit a bunch of other errors. _________________My political stance/bias
slycordinator != slycoordinator

I am looking for a solution to automatically provide the printer driver for windows clients. It doesn't work actually, im in work for this since 3 days.

I have a red hat server (I know this forum is for gentoo, but the how to here concerns my issue) 5 64bits which is a domain member server. samba and domain junction is OK.

Now i have to share printers.

An USB HP P3005 is plugged. The hplip driver is ok.

I have a HP3005 printer declared on cups web interface.

I can print from the server shell. I can print from windows clients by adding a new printer directly from the samba share and select the correct driver or via a new network printer with a http://ip:631/printers/hp3005

My goal is to automate the driver step. Unfortunately for me, no one how to help me for the moment.

I had follow some tutos like the one in the first post : i copied the ps files form a windows client in a /usr/share/cups/drivers/W32X86 path. I also copied the ps files from cups.

The cupsaddsmb command never work en there was a infinite loops. It's rely on the server NT domain member role. As an ADS security is in place, a user security statement doesn't work at all.

Hello :)
I setup samba and I am able to connect to windows machine. I setup the CUPS as well. Still can't print.
The printer which is shared from Windows machine is connected to that PC by USB cable. It is not a network printer.
I don't know if problem is the driver I am trying to use or something else. But it seems I am very close to the solution :D
If anybody else is using a shared printer from USB on Windows machine, it would be nice to hear some idea or suggestion.
Thanks.