Consultor Eletrônico



Kbase P56250: Printing to an IPP printer results in error 4110
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   7/19/2010
Status: Unverified

SYMPTOM(s):

Printing to an IPP printer results in error 4110

Unable to create Printer Device Context: "\\http://<IPP_Printer_Host>\<IPP_Printer>". (4110)

Using code: OUTPUT TO PRINTER "<IPP_Printer_Name>".

OUTPUT TO PRINTER "<IPP_Printer_Name>" using full UNC path to IPP printer fails

Using printer name as displayed in SESSION:GET-PRINTERS()

Can print to the IPP printer from other applications

Cannot print to the IPP printer from DOS

Internet Information Server is running

Settings of the following registry keys are correct:

HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Devices
HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\PrinterPorts

CAUSE:

Bug# OE00098626

FIX:

To workaround this problem, use either of the following code samples. The first example requires user-intervention. The second example does not.

/* example 1 */
SYSTEM-DIALOG PRINTER-SETUP.
/* select IPP printer and then OK */
OUTPUT TO PRINTER.
DISPLAY "test".
OUTPUT CLOSE.


/* example 2 */
SESSION:PRINTER-NAME = "<IPP_Printer_Name>".
OUTPUT TO PRINTER.
DISPLAY "test".
OUTPUT CLOSE.