How to do add file into Printer Queue using invoke power shell

Hi everyone!
I want to add specific file(ex. file path is “d:\rpa_printfile\rpaprint.pdf”) into specific printer queue using invoke power shell. help me please

Hi @kc120103

Check this in your code by implementing this

https://www.google.com/url?sa=t&source=web&rct=j&url=https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/out-printer&ved=2ahUKEwj27ZPw2oHkAhXEQo8KHfpaAsgQFjAKegQIAxAC&usg=AOvVaw3gur4bm_bJwJe3SPQjNbu3&cshid=1565763430650

Thanks
Ashwin.S

Alternatively, you can try this as well,

https://social.technet.microsoft.com/Forums/en-US/45957143-cd50-48c7-8a3f-9152efd29514/printing-selected-documents-using-powershell?forum=winserverpowershell

Thanks,
Rammohan B.