Search

Powershell to Print PDFs


The below powershell script can be used to print out PDF files:

Start-Process -FilePath "I:\Litigation Support\Electronic Discovery\2d Circuit Decision re_ Electronic Reviews Following Seizure.pdf” –Verb Print -PassThru | %{sleep 10;$_} | kill Start-Process -FilePath “I:\Litigation Support\Electronic Discovery\ACEDS 4 Corners of EDiscovery Pricing.pdf” –Verb Print -PassThru | %{sleep 10;$_} | kill Start-Process -FilePath “I:\Litigation Support\Electronic Discovery\Alternate Forms of ESI.pdf” –Verb Print -PassThru | %{sleep 10;$_} | kill

The source of the script is this site:

http://gregcaporale.wordpress.com/2012/01/18/powershell-to-print-files-automatically/

It's necessary to adjust the sleep seconds to a higher amount for long documents.

When making multiple copies set the printing prefences in Windows for x number of copies. This will work faster than using multiple lines in powershell.


15 views

Recent Posts

See All

PPPoE / DHCP / L2TP / PPTP

Here's some basic info on different types of network connections. An internet service provider may use PPPoE or DHCP network protocols to provide access for multiple users to the internet. While lit

Contact Me With Your Litigation Support Questions:

seankevinoshea@hotmail.com

  • Twitter Long Shadow

© 2015 by Sean O'Shea . Proudly created with Wix.com