Win32::Printer::Direct is actually a wrapper around functionality provided by Win32::Printer itself. The details of the call it makes don't really appear in the POD nor do they appear in the Perl source of the Win32::Printer module. The call is either, then, in the XS part of the module or a call into the Windows API. I haven't tracked down for you which. The Windows API reference could probably come in handy if you're dealing with this module issue.
There are other ways to handle printing that might be a little more general. If you can expect all of your users to have a PDF reader such as Acrobat Reader or FoxIt, then you could use something based on PDF::API2 and have the PDF reader program handle printing. There's plenty of documentation on that module.
There are also other document formats that might work for you other than PDF that still get you the printing part for free, but that's the one I have recent experience needing to use for printable material from Perl. PostScript comes to mind, as do ODF and .doc files.
In reply to Re: Print a text file to a Windows network printer in a landscape orientation.
by mr_mischief
in thread Print a text file to a Windows network printer in a landscape orientation.
by iskinner
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |