KirkBrooks wrote
> And I also need the solution for doing the same thing on windows.
Hi Kirk,
This solution here prints all document types on Windows (assuming the
file-type is linked to any application that can print it).
Pass the following string to LEP:
powershell "Start-Process 'full path to file' -Verb print -WindowStyle
hidden -PassThru | %{Start-Sleep 10;$_} | Stop-Process"
It will print a file with the application that is set in the print
associations of its file type (e.g. .XLS -> Excel). So it doesn't rely on
Acrobat Reader to print PDFs.
Fore some PowerShell in 4D background, see http://kb.4d.com/assetid=76530
Regards,
Peter
--
View this message in context:
http://4d.1045681.n5.nabble.com/Need-help-with-LEP-printing-tp5748583p5748624.html
Sent from the 4D Tech mailing list archive at Nabble.com.
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ: http://lists.4d.com/faqnug.html
Archive: http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub: mailto:[email protected]
**********************************************************************