Consultor Eletrônico



Kbase P91387: Error 4110 due to long printer name
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   11/28/2006
Status: Verified

FACT(s) (Environment):

Windows NT 32 Intel/Windows 2000

SYMPTOM(s):

Printing from 4GL procedure using OUTPUT TO PRINTER or similar statement

Unable to create Printer Device Context: . (4110)

Printer name in Windows is longer than 80 characters

CAUSE:

Bug# 20040812-005

CAUSE:

In the 4GL core, the printer name gets truncated to 80 characters. This in turn causes the OS-level lookups for the printer to fail.

FIX:

Upgrade to Progress 9.1E or later release
Upgrade to OpenEdge 10.1A or later release

Workaround:
Rename the printer with a shorter name that stays under the 80 characters limit.
Take into account that Windows printing redirection services may append additional information to the printer name.