Posted on 2008-04-08 13:50:40-07 by iskinner
Print text file in Landscape.

Can anybody show me the easiest way I can print a text file in a landscape orientation.

How do I combine the features of Win32::Printer to control the orientation.

use Win32::Printer; $foo = new Win32::Printer( orientation => LANDSCAPE );

With Win32::Printer::Direct's ability to easily print a text file:

use Win32::Printer::Direct; Printfile('\\\\hardcoyp\\ApDev','test.txt');
Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.