
Hello,
I have to send a pdf file, that is already created and i have his path, to a printer.
How can i do that ?
Thanks.
*This post is locked for comments
I have the same question (0)
#macrolib.WinAPI
WinAPI::shellExecute(pdfFilePath, '', '', #ShellExePrint);
if you have to wait for completion then pass true in the 6-th parameter:
#macrolib.WinAPI
WinAPI::shellExecute(pdfFilePath, '', '', #ShellExePrint, #SW_SHOWNORMAL, true);