> Try specifying the full path for lpr > > %whereis lpr > lpr: /usr/bin/lpr.cups /usr/bin/lpr /usr/share/man/man1/lpr.1.gz > > So on my box, /usr/bin/lpr > > If you look at that article I sent you previously, it gives some > explanation for why you need to reset $ENV{"PATH"} (from memory). >
Ok, I've tried various combinations ending up with: $PATH{"lpr"} = "/usr/bin/lpr"; which is the correct path but apparently wrong Perl. How did you specify the full path? Thank you. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/