Kbase 21919: Error 4110 Printing from AppServer / WebSpeed Application
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  29/03/2002 |
|
SUMMARY:
This Solution applies to AppServer and WebSpeed on Windows platforms.
You might encounter the following error messages when an application running on AppServer or WebSpeed sends output to a printer.
Unable to create Printer Device Context: <printer>. (4110)
** Unable to open file: <printer>. Errno=13. (98)
At the same time, you can print without any problems from a 4GL client on the same machine where the broker is running.
EXPLANATION:
If you are experiencing these errors, it is likely that the AdminServer Service was started using the System account. In that case, you will not be able to access network resources such as network printers. This is why the problem is not seen when running the program from a 4GL client, since the current user may have access to the specific printer. At Progress installation time, the AdminServer Service is set to start with the System account.
SOLUTION:
Set the account that starts the Admin Service to a user other than Local System.
1) On Windows NT, go to menu Start > Settings > Control Panel >
Services.
On Windows 2000, go to menu Start > Settings > Control Panel >
Administrative Tools > Services.
2) In the Services properties, under the 'Log On As' section, change
it from 'System Account' to another user account. This user must
have appropriate permissions. (Refer to Progress Solution
19244 for the list of privileges.) Also, make sure that you can
print to the specific printer logged on as that user.
Reference to Written Documentation:
Progress Knowledge Base Solution 19244, "How to Start a Broker Using Domain\Account"