On Fri, Jan 02, 2004 at 02:47:04PM +0000, Mike Hearn wrote: > Or that this line: > sprintf(buf,"%s,WINEPS,LPR:%s",name,devname); > should be > sprintf(buf,"%s,WINEPS,%s",devname,devname); Yes like that, but you'll then have to add the LPR: bit to devname for the printcap and CUPS cases before the function is called. Huw.