Consultor Eletrônico



Kbase 15633: OUTPUT TO <file> PAGED extra formfeed with DOS PRINT command
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/05/1998
OUTPUT TO <file> PAGED extra formfeed with DOS PRINT command

This notebook entry applies mostly to printing reports with the
DOS PROGRESS executable. When you use OUTPUT TO <filename> PAGED
followed by DOS PRINT <filename>, you will get an extra blank
page following the output. The DOS PRINT command will *always*
generate a final formfeed at the end of output. PROGRESS also
embeds formfeeds in the generated output when the PAGED option is
specified (or implied by use of OUTPUT TO PRINTER). So, when
OUTPUT TO <filename> PAGED is followed by DOS PRINT <filename>,
you will get an extra formfeed at the end of the print file.

This can be avoided by using a DOS COPY <filename> LPT1 instead
of the DOS PRINT statement. The DOS COPY doesn't eject a page
thus preventing the trailing formfeed.

Another alternative is to first capture the desired output
device to LPT1 and use OUTPUT TO LPT1 instead of the
OUTPUT TO <filename> statement.

Progress Software Technical Support Note # 15633