Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

start-process -verb Printto

$
0
0

Objective: Print adobe files from powershell to a specific network printer (not default printer).

$portname=\\printname\quename
Start-Process $Adobe -filepath $pdf -ArgumentList $arglist -Verb Printto($portname) -PassThru

Thanks



Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>