Consultor Eletrônico



Kbase P6213: Form feed is being handled incorrectly when printing a report
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   16/02/2005
Status: Verified

SYMPTOM(s):

Form feed is being handled incorrectly when printing a report

The problem occurs when the report has more than 56 lines

When using OUTPUT TO FILE PAGED. and COPY TO LPT1, the report is printed correctly

Using OUTPUT TO PRINTER causes line 56 to be printed at the bottom of the page not at the top of the next page.

CAUSE:

The default number of lines for OUTPUT TO PRINTER is 56. If you are inserting a line feed yourself, you will get a line feed after line 56.

FIX:

Use OUTPUT TO PRINTER PAGE-SIZE 0. and verify you are not suppressing line feeds, chr(12), when creating the report.