Consultor Eletrônico



Kbase P17162: Error 98 when printing to a network printer.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   19/03/2003
Status: Unverified

FACT(s) (Environment):

Windows NT 32 Intel/Windows 2000

FACT(s) (Environment):

Progress 9.1D

SYMPTOM(s):

" OUTPUT TO \\<servername>\<printersharename> " causes the error
" ** Unable to open file: \\<servername>\<printersharename>. Errno=2. (98) "

** Unable to open file: <file-name>. Errno=<number>. (98)

CAUSE:

This is not the correct syntax to redirect an output to a network printer.

FIX:

The correct syntax is as follows: OUTPUT TO PRINTER [printername].
[printername] should have one of the values defined in SESSION:GET-PRINTERS

For example: " OUTPUT TO PRINTER \\<servername>\<printersharename> "