On Mon, Mar 17, 2008 at 12:04:12PM +0200, Hetz Ben Hamo wrote: > I'm looking for a configuration to print from Windows to my new Office > Jet which is connected to my Linux box. I can use the CUPS driver, but > I prefer to use the native HP drivers. Only thing is that I didn't > find any explanation of WHAT to put in /etc/samba/drivers, why do i > need to work with user level in samba in order to make cups play > nicely with windows, etc..
http://www.novell.com/coolsolutions/feature/18850.html Describes what goes there, but IMHO you don't really want to do that. It's much simpler to install the drivers on the Windows side and then.... First you need to add the line: Allow From 192.168.0.* to the cupsd.conf. Add it after the "Location /" entry or the printer entry. Change the IP address to match the ones you want to print. Install the printer normally, but use the port: http://hostname:631/Printer/Printer-name/.printer Uncomment the proper lines in mime.convs and mine.types for raw printing (should be easy to spot). Or if you want to make it easier, define the printer in samba. printcap name = /etc/printcap load printers = yes printing = cups Of course if you really want to cheat and only print out text, you can define the printer as a postscript printer, for example Apple LaserWriter and let cups do the translation. I have the opposite set up, my printer is on the Windows computer (it's really my wife's) and I print to it using a2ps for text and postscript files for graphics. Geoff. -- Geoffrey S. Mendelson, Jerusalem, Israel [EMAIL PROTECTED] N3OWJ/4X1GM ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]