Kbase P17929: NUM-COPIES is ignored when used together with PUT CONTROL.
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  21/01/2004 |
|
Status: Unverified
SYMPTOM(s):
NUM-COPIES is ignored when used together with PUT CONTROL.
NUM-COPIES set to any number result in a single print out.
A control character is sent to the printer.
CAUSE:
The exact cause is unknown at the time of this writing.
FIX:
A workaround could be doing a loop:
/*Let say you want to print 6 copies*/
DEFINE VARIABLE i AS INTEGER NO-UNDO.
DO i = 1 TO 6:
OUTPUT TO PRINTER \\<> .
PUT CONTROL "~033A". /* or any escape sequence */
DISPLAY "test".
OUTPUT TO DISPLAY.
END.