in reply to Re: Printing Image within Gtk-Perl Application
in thread Printing Image within Gtk-Perl Application
I am not a Win32::API expert, but I think I can help interpret that (in case someone else is reluctant to try, based on your historical reluctance to try):
|
This uses the IMPORTING A FUNCTION BY PROTOTYPE feature of Win32::API to set up a wrapper for the Windows API function ShellExecute() from the shell32.dll |
| $shellopen->Call(0, "print", $pdf, 0, 0, 0); | This calls the "print" verb defined in the Windows registry. This is the same as right-clicking on the file and selecting Print from the context menu in Windows Explorer. |
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Printing Image within Gtk-Perl Application
by BillKSmith (Monsignor) on Feb 06, 2019 at 21:36 UTC |