[ale] dummy printer device?

cfowler cfowler at outpostsentinel.com
Thu Sep 12 10:19:41 EDT 2002


> > #!/bin/sh
> > 
> > # This filter will take raw data and place in file
> > OUTDIR=/tmp
> > OUTFILE=${OUTDIR}/dummy.print.$$
> > 
> > cat  - > ${OUTFILE}

# Now that we have a backup file, send
# data to the printer.  Buy placing data
# on STDOUT, it will go to right device

cat ${OUTFILE}

# Now we have a printout and backup
> > 
> > # Finished

On Thu, 2002-09-12 at 10:01, Geoffrey wrote:
> cfowler wrote:
> > Dummy Filter
> > 
> > #!/bin/sh
> > 
> > # This filter will take raw data and place in file
> > OUTDIR=/tmp
> > OUTFILE=${OUTDIR}/dummy.print.$$
> > 
> > cat  - > ${OUTFILE}
> > 
> > # Finished
> 
> No, no, no, that's too easy and too elegant, I was really expecting 
> something much more painful. :)
> 
> Thanks dude, I'll give it a spin.
> 
> Like the scarecrow said, "I shoulda thought of that with my new brain," 
>   paraphasing of course...
> 
> 
> -- 
> Until later: Geoffrey		esoteric at 3times25.net
> 
> I didn't have to buy my radio from a specific company to listen
> to FM, why doesn't that apply to the Internet (anymore...)?
> 
> 
> ---
> This message has been sent through the ALE general discussion list.
> See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
> sent to listmaster at ale dot org.
> 
> 
> 



---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.






More information about the Ale mailing list