[PD] do not feed printers?

guenter geiger geiger at xdv.org
Tue Dec 2 20:13:41 CET 2003

actually shell is not a real shell, thats why | does not work.

The best thing to do is to write a shell script that does what you
want and execute that.

echo -n "$1" | lpr -P pinwriter

and call shell like this
./toprinter whatever


On Tue, 2 Dec 2003, oli wrote:
> Hi
> tried some ways to print letters/message via pd
> - with lp.pd and the printer on /dev/lp1 couldn't get the printer move
> his head only mine.
> - by sending the message: echo -n 'smthing' | lpr -P pinwriter to the
> [shell] object as well no movement - putting the message in the shell
> works fine -  is the pipe not passed by the shell object?
> -message lpr -P pinwriter tmp_file.txt or lp -d tmp_file.txt with
> [shell] works well but writing a tmp_file is too slow for my intention.
> anyone dealt with printing out of pd and could give me a hint feeding
> the printer directly with characters?
> greets
> oli
> _______________________________________________
> PD-list mailing list
> PD-list at iem.at
> http://iem.at/cgi-bin/mailman/listinfo/pd-list

More information about the Pd-list mailing list