Permission to print from batch job printing Excel spreadsheet

T

Tom Y

I have a program which creates an Excel spreadsheet, then uses the following
to print to a printer:

oXL.Application.ActivePrinter = "\\ServerName\PrinterName on Ne01:"
oXL.ActiveWindow.SelectedSheets.PrintOut Copies:=1, ActivePrinter:= _
"\\ServerName\PrinterName on Ne01:", Collate:=True

This program is run in batch. As long as "Administrator" is the processer
of the batch it works fine. However, since "Administrator" is not generally
a user to have running programs all the time, I have set up antoher user with
administrator rights. When processing under this user the command gets a
"Mode" error. Anyone know what specific permissions are needed for a batch
job to print an excel spreadsheet? Thanks in advance.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top