Help for this page

Select Code to Download


  1. or download this
    my $pr_cmd = "| lpr -P $self->{'printer'}{$OSNAME}";
    
  2. or download this
    $pr_cmd=~/^(.*)$/;
    $pr_cmd=$1;
    
  3. or download this
    open PRINTER, $pr_cmd
              or warn
              "Can't open printer connection to lp: $!";