Calling HTMLPrint from a Windows service

By default Windows services log using the SYSTEM , which is restricted and doesn't have rights to resources like a networked printer, therefore when calling HTMLPrint from a service, if it inherits the service privileges, it may not be able to connect to any printer.