I think you need to use CUPS. Quick test:
http://127.0.0.1:631 , when it asks for a password, use root password and root username.
When you will be adding printer, you'll have to specify connection method. Probably socket://192.168.1.15:9100 will work. You'll also need PPD file. It can be found on openprinting.org by entering printer name.