how to run lpr command windows server 2016 code example Example: how to run lpr command windows server 2016 lpr -S 10.0.0.45 -P Laserprinter1 -o Document.txt