Kbase P171428: SESSION:PRINTER-NAME is ignored in character client (ChUI)
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  12/08/2010 |
|
Status: Unverified
SYMPTOM(s):
SESSION:PRINTER-NAME is ignored in character client (ChUI)
SESSION:PRINTER-NAME attribute is assigned a value in ABL code
The target printer specified in SESSION:PRINTER-NAME is ignored
Print jobs still go to Windows default printer instead of specified target printer
FACT(s) (Environment):
The problem does not occur with the GUI client
Progress 9.1x
OpenEdge 10.x
Windows
CAUSE:
Bug# OE00047273
FIX:
Workaround:
Rather than using SESSION:PRINTER-NAME to specify the destination printer, specify it as part of the OUTPUT TO PRINTER statement, for example:
OUTPUT TO PRINTER VALUE(cPrintername).
/* where cPrintername is a character variable set to the destination printer's name */
This works correctly in both Character and Graphical user interface clients