in reply to Re: Printer module from web interface
in thread Printer module from web interface
$pr_cmd is set in the Printer::Unix module:
I've added:my $pr_cmd = "| lpr -P $self->{'printer'}{$OSNAME}";
and I've even tried hard-coding $pr_cmd="| lpr -P lp" but I'm still getting the same error. Interesting observation:$pr_cmd=~/^(.*)$/; $pr_cmd=$1;
Doesn't show my warning text. Is that to be expected?open PRINTER, $pr_cmd or warn "Can't open printer connection to lp: $!";
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Printer module from web interface
by GrandFather (Saint) on Mar 08, 2011 at 01:10 UTC | |
by ksublondie (Friar) on Mar 10, 2011 at 23:11 UTC | |
by Anonymous Monk on Mar 11, 2011 at 08:29 UTC |
In Section
Seekers of Perl Wisdom