>>
>> open my $LPR, '|-', qw/lpr -PDeskJet940C/ or die "can't fork lpr: $!";
>>
> 
> $ENV{"PATH"} = "";
> 
> at the start of the script, it doesn't seem to complain any more.
> Hope that helps,
> 

Thank you, though I'm not out of problems yet. The message I'm getting 
now is:

Can't exec "lpr": No such file or directory at <same line>

Is that $ENV path maybe incorrect?


-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to