Kbase P23265: A null / zero byte print job is created before the actual pr
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  15/04/2003 |
|
Status: Unverified
FACT(s) (Environment):
Progress 9.1C
FACT(s) (Environment):
Progress 9.1D
FACT(s) (Environment):
Windows 2000
SYMPTOM(s):
A null / zero byte print job is created before the actual print job.
Using the statement "OUTPUT TO \\server\name"
CAUSE:
The statement "OUTPUT TO \\server\name" is interpreted as meaning send output to a file. We try to open \\server\name as a file, and if it works, the output goes there. If \\server\name happens to be a printer, then it prints, but not because Progress is deliberately trying to do printing.
FIX:
The correct syntax to output to a printer is "OUTPUT TO PRINTER [printername]", where [printername] is an entry in SESSION:GET-PRINTERS().