Hi, What worked for me was actually tell Windows to use "Microsoft" RAW driver (listed under Microsoft as the vendor).
CUPS is smart enough to know how to use it. On Monday 17 March 2008 14:21:16 Hetz Ben Hamo wrote: > Geoff, > > Thanks for your help and links, but I still seem to have 1 problem: I > can see the printer in windows, it shows the generic (crappy) driver, > but whenever I try to print the Windows test page, all I get is the > postscript text printed, not the test page itself.. > > Thanks, > Hetz > > On Mon, Mar 17, 2008 at 1:27 PM, Geoffrey S. Mendelson > > <[EMAIL PROTECTED]> wrote: > > 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 -- Noam Rathaus CTO [EMAIL PROTECTED] http://www.beyondsecurity.com "Know that you are safe." Beyond Security Finalist for the "Red Herring 100 Global" Awards 2007 ================================================================= 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]