Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^2: piping to lp is broken after perl upgrade

by myuserid7 (Scribe)
on Oct 14, 2009 at 20:51 UTC ( [id://801207] : note . print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ cat test.ps 
    %!PS
    ...
    72 500 moveto
    (Hello world!) show
    showpage
    
  2. or download this
    #!/opt/csw/bin/perl -w
    
    ...
        or die "Can't open pipe to $PRINT_CMD: $!";
    print $output $prolog;
    close $output or warn "Error while closing pipe to $PRINT_CMD: $!";