Ответ: LPD applet: another approach
Vladimir Dronnikov
dronnikov at gmail.com
Mon Feb 25 13:02:04 PST 2008
I've tried LPD from SVN 21112 and it worked fine.
And of course I do not urge you to apply the last patch. I just wanna
share as soon as possible an idea which has come recently and may be
much more fruitful.
--
Vladimir
2008/2/25, Denys Vlasenko <vda.linux at googlemail.com>:
> On Monday 25 February 2008 21:18, dronnikov at gmail.com wrote:
> >
> > The design is improved: IMHO it is better to use flexible
> > scripts instead of rigid logic of "appending" data files to
> > printer device or dump files.
> >
> > The job file now is created as follows:
> > the content of control file, then single empty line, then
> > content of data file. This allows printing helper script
> > to perform additional actions (such as mail notification...)
> >
> > I run lpd as follows:
> >
> > tcpsvd -E localhost 515 lpd spool print
> >
> > test print script in ./spool/
> > -------
> > #!/bin/sh
> > sleep 5 # imitate real device delays
> > exec cat "" >>111
> > -------
> >
> > Plz, do consider. If we confirm such a design, there can be
> > rather easily implemented basic queue management commands.
>
> Hmm. I just applied your *previous* patch.
>
> I think it makes sense to sit on your patch for a day or so,
> and not send new versions every 2 hours. Such high update frequency
> creates unnecessary churn.
> --
> vda
>
More information about the busybox
mailing list