LPD applet: another approach

Denys Vlasenko vda.linux at googlemail.com
Mon Feb 25 20:42:53 UTC 2008


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