Samba comes with some sort of sysv stylish printer interface but it doesnt do much except puts the file queued to printspooler to smb printer. I've made few posts to differenet newsgroups and ran a quick search thru sambas mailing lists and didnt find anything *really* usefull. What i really needed was printer reseting and lp commandline parsing so that i could change to cpi and lpi options for spooled printout. So, as i didnt find anything usefull, i had to write the goddamit interface myself and now, i wish to contribute this interface to others who might need one too. You can download the interface from this url: http://www.saunalahti.fi/~mikpija/unix/smbinterface.txt Interface has following capabilities: * checks whether smb server is up or not * check if smb server has a specified share * easy to configure * resets printer according its terminfo * optional character translation * handles following switches (SCO lp) "-n" "-o cpi" and "-o lpi" What i would love to see (if someone has time and will) in this interface is optional banner support and more error controlling. -- --------------------------------------------------------- | Name : Jani Mikkonen | | Email : rasjani@pcuf.fi | | ICQ UIN# : 19840860 | | Homepage : http://www.pcuf.fi/~rasjani | | ------------------------------------------------------- | | 'Save the whales, Feed the hungry and Free the mallocs' | ---------------------------------------------------------