How can I connect my Windows printer to a Linux (RHEL5) box via samba? I'm looking for a clear configuration file
You have to configure CUPS. Open the CUPS web interface at https://localhost:631 and click on "Add Printer" (don't be scared if it takes a while, it's scanning the network for network printers). If it does not automatically list your printer you can choose "Windows Printer via SAMBA". As URL enter:
smb://[workgroup/]server[:port]/printer (workgroup and port are optional).
Next you just chose the right model and the printer should work.
|show 1 more comment|