February 5, 2015 at 11:14 pm
I need to schedule a powershell script in a SQL job.
The powershell script should silently print pdf files from a UNC path to a network printer.
I was able to print from command prompt (not silent printing) using this code.
WORKING But Not printing Silently and prints only to the default printer:
C:\Users\ic019084>"C:\Program Files (x86)\Adobe\Reader 11.0\Reader\AcroRd32.exe"
/t "D:\GP.pdf
Any ideas are appreciated.
Thanks
February 5, 2015 at 11:37 pm
The first thing that springs to mind is permissions:
a) for the file,
b) for executing the application,
c) to the printer.
You have but does the security context that you are running under have it too?
Gaz
-- Stop your grinnin' and drop your linen...they're everywhere!!!
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply