Welcome! Log In Create A New Profile

Advanced

can a service use the printer?

Posted by ntnati 
can a service use the printer?
August 15, 2019 08:09AM
Hi All

I need to run a job every 15 minutes.
This involves print a set of reports if need be.

Can a services print?

Any experience with this?
Thanks
Noel
tbh
Re: can a service use the printer?
August 18, 2019 11:12AM
Hi,

Yes - But it`s a little complicated.

At least everything involving GUI wil make the service stop.
The local system account is usually an administrator, but it does not have ethernet access (to a ethernet printer) so you probably have to make a new service user with proper rights.

Etc.


Your friend in this case is google smiling smiley

Cheers

Tor-Bjarne
Peter Holemans
Re: can a service use the printer?
August 18, 2019 02:32PM
Of course it can...

Setup the service to run when the machine runs (without specific login).
Make sure the printer is defined on the system.
Next have the service set up to run as a specific user that has access to the network printer or any network resource necessary.
You could have the printer e.g. set as an ini entry in a parameter file so you can change printers later whenever required via a simple config change. Make sure no printer settings popup or so is triggered when sending your data to the printer.

That should do the trick,

Peter H.
Re: can a service use the printer?
August 21, 2019 12:42PM
thanks.
So time spent will not be waste of it.



Edited 1 time(s). Last edit at 08/21/2019 12:43PM by ntnati.
Author:

Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: