Kbase P62286: An extra page prints each time a report is sent to the printer.
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  16/10/2008 |
|
Status: Verified
FACT(s) (Environment):
UNIX
SYMPTOM(s):
An extra page prints each time a report is sent to the printer.
Output sent to printer via the following 4GL statement:
OUTPUT THROUGH VALUE("lp -d myfile") PAGED.
"lp -d myfile" run at the OS prompt does not result in an extra blank page.
CAUSE:
Both Progress and the lp executable are sending a form feed (CTRL-L) at the end of the print. This causes the extra page.
FIX:
Add the option "-o nofilebreak" to the lp command within the 4GL.
OUTPUT THROUGH VALUE("lp -d myfile -o nofilebreak") PAGED.
The option "nofilebreak" instructs lp not to insert a form feed after the current job has finished printing.