Win32::Printer::Direct - Perl extension for direct Win32 printing
Printfile("HP LaserJet 8150", "test.prn");
Win32 direct printing
See Win32::Printer! This module depends on it.
$printer_name is printer's friendly name and $file_name is name of the file to print.
Return value is error code:
-1 Memory allocation error
-2 Error opening the file
-3 Error opening the printer
-4 Error startint the print job
-5 Error writing to printer
-6 Error ending the print job
-7 Error closing printer
Win32::Printer, Win32 Platform SDK GDI documentation.
Win32::Printer, Copyright (C) 2005 Edgars Binans.
THIS LIBRARY IS LICENSED UNDER THE TERMS OF GNU LESSER GENERAL PUBLIC LICENSE V2.1
To install Win32::Printer, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.