I using the program below to send file to printer.... It's printing a blank
page and giving the error below.  Anyone have any ideas?
 
 
C:\brian\Perl>perl send_to_printer3.pl
Use of uninitialized value in sprintf at C:/Perl/site/lib/Net/Printer.pm
line 742.
Use of uninitialized value in sprintf at C:/Perl/site/lib/Net/Printer.pm
line 742.
 
---begin
 
use strict;
use warnings;
use Net::Printer;
 
my $lineprinter = new Net::Printer (

         filename    => "C:/brian/test/12345.html",
         printer     => "HP4100-IS",
         server      => "hp-exch",
         port        => "515",
         lineconvert => "YES"

        );
 
my $result = $lineprinter->printfile();  
 
 
---end
 
Thanks!
 
Brian Volk
HP Products
317.298.9950 x1245
 <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED]
 
 

Reply via email to