Hello everybody.
I tried this command in powershell.
$Filename='C:\file.docx'
$Word=NEW-Object -comobject Word.Application
$Document=$Word.documents.open($Filename)^C
$Document.Range(2) | Out-Printer
And i thought that will print the secend page of my word document but instead it printed lot of mess.
Is there way how to select some page in my document and than print it?
Thanks for answare.