|
From: Thomas L. <ta...@ec...> - 2001-04-25 11:05:57
|
On Wed, Apr 25, 2001 at 11:13:23AM +0100, Stephen Watson wrote: > In message <200...@ev...> > Thomas Leonard <ta...@ec...> scribbled: > > > > - "Print file" command > > > > Drag it to the printer? I'd write a little lpr wrapper myself but I don't > > have a printer ;-) > > I've been working on a printer app for a while, but its taking longer than I > thought. > > One thing that worries me is that the printer commands vary according to > flavour of Unix, e.g. BSDish systems use lpr & lpq while SVR4 types use > lp & lpstat. Easy enough to check which one is available, although you might want to allow some kind of manual override... > I did think of having a Choices directory called MIME-print-ps which would > contain scripts or links to filters capable of generating Postscript from > various mime types. Can't lpr do this itself anyway? Or, you could just send it through a2ps and let that sort everything out... (it seems to deal well with just about everything ;-) 'enscript' is similar, I think. -- Thomas Leonard http://rox.sourceforge.net ta...@ec... ta...@us... |