[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lpd queueing but not printing



Found this link on google:
http://patrick.wagstrom.net/weblog/archives/000128.html

Hope it helps.
-Braxton Neate

----- Original Message ----- 
From: "Rick Wash" <rwash@citi.umich.edu>
To: "Michael Calvi" <mdcalvi@cox-internet.com>
Cc: <misc@openbsd.org>
Sent: Sunday, June 01, 2003 11:56 AM
Subject: Re: lpd queueing but not printing


> On Sat, May 31, 2003 at 08:37:17PM -0500, Michael Calvi wrote:
> > Hi all,
> > I am trying to create the music queuing jobs like the hackathon guys
did.
> > I am able to play the file using the input filter using mpg321 and I am
able
> > to queue the song with lpd.
> > I cannot get the input filter to fire when ever I "print" the song file.
> >
> > input filter (at /usr/local/bin/audiofilter)
> > ==========================
> > #!/bin/sh
> > #
> > #
> > #
> > for arg in "$@"; do
> >  mpg321 -q -o oss $arg;;
> > done
>
> Read printcap(5).   The arguments are information about the print job.
The
> actual print job (or in this case, music) comes from stdin.
>
> Read the archives for a working input filter.
>
>   Rick