Category Archives: Windows

Automate PDF printing from batch file command line

Adobe Reader is not suitable for printing PDF files using a batch file because it remains open after the print is done and there is no simple, safe & reliable mechanism to close it.  Instead use Ghostscript commandline as shown below: gswin32c -dPrinted -dBATCH -dNOPAUSE -dNOSAFER -q -dNumCopies=1 “C:\test.pdf” *Must be a recent version of … Continue reading Automate PDF printing from batch file command line

Can’t access local resources when VPN connected (Vista & Win7)

Windows Vista introduced a new feature that allows PPTP VPN credentials to access resources on remote servers when the VPN is connected. The side effect is that access to local resources then fails.  The feature can be disabled per VPN as follows: Locate the .pbk file that contains the entry that you dial: %AppData%\Microsoft\Network\Connections\Pbk Open … Continue reading Can’t access local resources when VPN connected (Vista & Win7)