HI all
I am developing an Intranet and want to be able to print all files in a direcory on the sever to a network printer on the server.
The files could be of any type, DOC, XLS, PDF, TXT, etc.
I tried the following, but it didnt do anything. I didnt get an error, it just didnt appear anywhere.
sub printfile
set shApp = createobject("shell.application"
set shFolder = shApp.namespace("c:\testintranet\docs\"
set shItems = shFolder.Items()
for each shItem in shItems
shItem.invokeverb "&Print"
next
end sub
Xtra Info: I am on a WIN2K terminal Session and the Intranet is on a seperate WIN2K Server (not the terminal session one)
Thanks guys
ITFlash