On Sat, 1 Dec 2007 03:46:46 Anant Narayanan wrote:
> How about simply:
>
> $ echo "print <printing-options> <printer-options>" > /printers/ctl
> $ cat myfile > /printers/data
>
> Skipping either the printing/printer options while writing to ctl
> will result in default options being applied.
>
> --
> Anant

That's only good for single machine/single user setup.  

If you have more than one person/program trying to print to different 
printers/options, you would get mixed results.  Picture a second print job 
starting in between the write to /printers/ctl and /printers/data, and you'll 
see the difficulties in keeping it all together.

Lucas

-- 
Modern man is the missing link between apes and human beings.

Reply via email to