robertocm Posted June 14, 2020 Posted June 14, 2020 On 5/9/2016 at 4:26 PM, UEZ said: RunWait('Rundll32.exe "' & @SystemDir & '\mshtml.dll",PrintHTML "' & $tempFile & '"', @SystemDir) ;replace $tempFile with the file which should be printed Try: Global $sFilePath = @DesktopDir & "\test.jpg" Global $sPrinter = "PDFCreator" RunWait('Rundll32.exe "' & @SystemDir & '\shimgvw.dll", ImageView_PrintTo /pt "' & $sFilePath & '" "' & $sPrinter & '"', @SystemDir) All credits for the author: JESUS MANSILLA CASTELLS -Mihura-
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now