Kbase P56274: How to print without using the Windows spool
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  8/4/2010 |
|
Status: Verified
GOAL:
How to print without using the Windows spool
GOAL:
How to print directly a file created with ABL
FACT(s) (Environment):
Windows
Progress 7.x
Progress 8.x
Progress 9.x
OpenEdge 10.x
OpenEdge Category: Language (4GL/ABL)
FIX:
It is possible create a file using ABL, then send it directly to a printer using OS-Command like this:
OUTPUT TO Filename.TXT.
DISPLAY "_________________ CUSTOMER PHONE DIRECTORY ________________".
FOR EACH customer:
DISPLAY NAME phone.
DISPLAY "___________________________________________________________".
END.
OUTPUT CLOSE.
OS-COMMAND SILENT COPY Filename.TXT LPT1 .