# Output to TXT report extension: how to put a form feed between pages

**URL:** <https://forums.softvelocity.com/t/output-to-txt-report-extension-how-to-put-a-form-feed-between-pages/560>\
**Category:** Knowledge Base\
**Tags:** templates, unverified\
**Created:** [November 9, 2026, 1:05am UTC](https://forums.softvelocity.com/t/output-to-txt-report-extension-how-to-put-a-form-feed-between-pages/560 "2026-11-09T01:05:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rzaunere](https://avatars.discourse-cdn.com/v4/letter/r/f14d63/32.png) [@rzaunere](https://forums.softvelocity.com/u/rzaunere)\
**Post date:** [November 9, 2026, 1:05am UTC](https://forums.softvelocity.com/t/output-to-txt-report-extension-how-to-put-a-form-feed-between-pages/560/1 "2026-11-09T01:05:57Z")

</div>

**Applies to:** the ABC report generator classes; posted in the Clarion 6 group (no build number named).

**Problem**

A report was written to a text file with the Output to TXT extension. The text files feed an archive system that looks for a form feed (FF) character to break pages. The poster asked whether there was an easier way than post-processing the finished file and inserting the FF.

**Solution**

1. There are few virtual methods in the generator classes, so deriving a class and changing its behaviour is hard. The text generator lives in ABPRText.clw, and the code is added there.

2. A reply suggested writing the form feed from the EndPage method:

3. The poster reported that this worked in the TextReportGenerator.IReportGenerator.ClosePage procedure, skipping the first page:

**Caveats**

- This edits the shipped class source, so the change has to be re-applied after an update that replaces ABPRText.clw.
- The first reply named EndPage; the poster's working code sat in ClosePage. The thread does not say why.
- The poster felt a template option for this would be better; the thread does not show one.

**Today (2026)**

Not re-tested. The class structure may have changed since 2004, so check the current ABPRText.clw before copying.

**Sources:** Greg B. (Mar 2004, the question), Rick M., Chris H. (Mar 2004) in softvelocity.public.clarion6.
