Re: print spooler to email

From: /dev/null (dhart_at_n.o.s.p.a.m.ultranet.com)
Date: 11/25/03

  • Next message: Ron Kirschner: "Re: samba hanging unixware 7.1.3"
    Date: Tue, 25 Nov 2003 21:09:04 GMT
    
    

    Jean-Pierre Radley wrote:
    > /dev/null typed (on Tue, Nov 25, 2003 at 04:11:11PM +0000):
    <snip>
    >
    > I just created a printer called mailme, using the dumb model, and using
    > /dev/null. I made these changes:
    >
    > { #JPRadley
    > while [ $i -le $copies ]
    > do
    > for file in $files
    > do
    > 0<${file} eval ${FILTER} 2>&1
    > #JPRadley echo "\014\c"
    > done
    > i=`expr $i + 1`
    > done
    > } | mail -s PrintJobMailer jpr
    >
    > As expected, 'lp -dmailme file_name' put the contents of file_name in a
    > message in my mailbox.
    >

    I had set the device to /dev/null after having used /usr/bin/mail as a
    device, forgetting to stop & start the spooler, explaing my odd 'text
    busy' msg.

    Your method works perfectly as does my changing the FILTER eg,

    FILTER="/usr/bin/mail -s report boopy"

    Thanks for your help.


  • Next message: Ron Kirschner: "Re: samba hanging unixware 7.1.3"

    Relevant Pages

    • Re: Anthony Nominations
      ... else I am forgetting. ... Now where's my magazine?! ... I don't suppose you'd want to know that mine arrived in my mailbox in my ...
      (rec.arts.mystery)
    • Re: Anthony Nominations
      ... else I am forgetting. ... Now where's my magazine?! ... I don't suppose you'd want to know that mine arrived in my mailbox in my ...
      (rec.arts.mystery)
    • Re: Anthony Nominations
      ... else I am forgetting. ... Now where's my magazine?! ... I don't suppose you'd want to know that mine arrived in my mailbox in my ...
      (rec.arts.mystery)
    • Re: Anthony Nominations
      ... else I am forgetting. ... Now where's my magazine?! ... I don't suppose you'd want to know that mine arrived in my mailbox in my tiny little corner of the world this afternoon? ...
      (rec.arts.mystery)