in reply to Print to a printer

Could you give us a little more info? Are you on an Unix platform or a windows platform? Is it a directly attached printer?

It could be as easy as:

root@mysystem:> ./myscript.pl | lp -d mylaser or C:\>perl myscript.pl > lpt1:
(I think I got that right, I'm a Unix man myself.)

=Blue
...you might be eaten by a grue...