[EMAIL PROTECTED] wrote: > My problem is that arrays are being printed all on one line (as much > as it can) instead of one line per element. What do I need to do > with the data? > > use Printer; > > my @data = ('This is line one','This line two'); Need to add \n for each line or see if Printer has a way to associate \n with each element. You could add the following: my @data = ('This is line one' . "\n" ,'This line two' . "\n" ); Wags ;)
> > $prn = new Printer(); > $prn->use_default; > $prn->print(@data); > > #----------- > #perl 5.86 > #printer 0.98 > #Win32-Printer 0.90 (if this problem is related to Win32 modules, my > apologies) > _______________________________________________ > Perl-Unix-Users mailing list > Perl-Unix-Users@listserv.ActiveState.com > To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs ******************************************************* This message contains information that is confidential and proprietary to FedEx Freight or its affiliates. It is intended only for the recipient named and for the express purpose(s) described therein. Any other use is prohibited. ******************************************************* _______________________________________________ Perl-Unix-Users mailing list Perl-Unix-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs