Win32-Printer - Print text file in Landscape.

Posted on Tue Apr 8 16:50:40 2008 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');
Write a response