# Reports and printing: the hub

**URL:** <https://forums.softvelocity.com/t/reports-and-printing-the-hub/1962>\
**Category:** Knowledge Base\
**Tags:** reports\
**Created:** [November 9, 2026, 12:36pm UTC](https://forums.softvelocity.com/t/reports-and-printing-the-hub/1962 "2026-11-09T12:36:08Z")\
**Posts on this page:** 2\
**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, 12:36pm UTC](https://forums.softvelocity.com/t/reports-and-printing-the-hub/1962/1 "2026-11-09T12:36:08Z")

</div>

**Looking for the old newsgroup answers? They are here.** This Knowledge Base is where the SoftVelocity NNTP newsgroups went. Twenty-five years of threads from [discuss.softvelocity.com](http://discuss.softvelocity.com) are being read thread by thread and the useful answers written up as entries: the question as a symptom, the answer the thread reached, who answered and when, and a note on whether it still holds today. Nothing is invented; every entry cites its threads.

**Better than the newsgroups ever were.** On the server you had to know which group to open and scroll a flat list of subjects; the answer was five posts down a thread, under three quoted copies of the question. Here every entry is one page with the answer at the top, full-text searchable from the search box on any forum page, tagged by area and by status, and open to edit. Search engines index it, so the next person with your error text finds it from Google too.

**This hub covers reports and printing.** Its entries come from the softvelocity.clarion.reports group and from the report questions asked in the version groups, Clarion 5.5 to Clarion 12: the REPORT structure and its bands, the data a report walks, the previewer, printers and paper, PDF and other exports, report code and the report templates, grouped under nine headings. This area is the youngest of the four and grows batch by batch. How an entry is built and what its status tag means: "How to read a Knowledge Base entry". Tell us what works and what does not in "Feedback on the Knowledge Base".

This page indexes the FAQ entries distilled from the reports newsgroup and from the report questions users posted in the general Clarion version groups: the REPORT structure and its bands, the data a report walks, the previewer, the printer and the paper, PDF and other exports, and the report-side template prompts and embeds. Every entry names the symptom as a user would search for it, gives the answer or answers the thread reached, says which Clarion versions the thread named, and ends with a note on whether the answer is likely to hold today. Each entry carries ONE status: Verified (re-tested on a current build), Unverified (a historical answer, published as found), "Reported, not reproduced" (the thread reached no confirmed answer) or Superseded. Nothing here is a SoftVelocity confirmation of a defect; the status vocabulary is explained in "How to read a Knowledge Base entry".

Three things the group teaches before any single entry. First, a report is a window that prints: SETTARGET, PROP:Text and the control equates work the same way, and the band that is printing decides what a change reaches. Second, most "it prints wrong" questions are data-order questions: the view's filter, range and sort, and the break fields, settle what lands in the detail before any layout change can help. Third, the previewer holds page images (WMF files) and the printer gets the metafile only on print, so the previewer and the printer can disagree, and the printer driver is a suspect of its own.

The entries are grouped by the part of the report they touch. The headings are fixed; a new entry goes under one of them.

## Page layout, bands and breaks

- [A two-page report that needs a different background image on each page](https://forums.softvelocity.com/t/a-two-page-report-that-needs-a-different-background-image-on-each-page/1934) - A report has one Form band, created before the first PRINT, so use RPM chaining or two detail bands with a forced page break between them.
- [Printing two copies of a one-page invoice on one A4 sheet](https://forums.softvelocity.com/t/printing-two-copies-of-a-one-page-invoice-on-one-a4-sheet/1935) - Use the printer driver's two-pages-per-sheet option, or duplicate the invoice layout with F2 inside one landscape A4 band; RPM appended reports cover multi-page invoices.
- [Colored detail lines stop when the last report page is not full (Reported, not reproduced)](https://forums.softvelocity.com/t/colored-detail-lines-stop-when-the-last-report-page-is-not-full-reported-not-reproduced/1936) - Alternating colored line boxes stop on a short last page; only a commercial add-on was suggested and no printable-height calculation was given.
- [How do I print a report header on the first page only?](https://forums.softvelocity.com/t/how-do-i-print-a-report-header-on-the-first-page-only/1937) - Print a first-page-only header as a conditional band printed when the report opens, or follow a knowledge-base article on a title page.
- [How to suppress the page header and footer on some report pages](https://forums.softvelocity.com/t/how-to-suppress-the-page-header-and-footer-on-some-report-pages/2023) - Hide every control on the page header and then the header itself, move the detail area up, or print header and footer as absolute detail bands from code.
- [Knowing in a report that a new page is starting, before the page header prints (Reported, not reproduced)](https://forums.softvelocity.com/t/knowing-in-a-report-that-a-new-page-is-starting-before-the-page-header-prints-reported-not-reproduced/2024) - No hook for the start of a new page was found; changing attributes after the first record applied from page one, and one poster prints only detail bands.
- [A report detail with a text field that is 50 or 1000 characters long](https://forums.softvelocity.com/t/a-report-detail-with-a-text-field-that-is-50-or-1000-characters-long/2025) - Use the RESIZE attribute on a TEXT control so the control and band grow with the text; use PROP:Line and PROP:LineCount to span pages.
- [Suppressing the blank line in a report detail band when some of its fields are empty](https://forums.softvelocity.com/t/suppressing-the-blank-line-in-a-report-detail-band-when-some-of-its-fields-are-empty/2114) - Put each row in its own band with a FALSE filter and PRINT it from TakeRecord, or hide the empty strings before the detail prints.
- [Printing a second band once, after the last Detail band of a report](https://forums.softvelocity.com/t/printing-a-second-band-once-after-the-last-detail-band-of-a-report/2115) - Make the extra band a break group footer, or give it a never-true filter and PRINT it in the EndReport embed.
- [Using a record in calculations but not printing its detail band](https://forums.softvelocity.com/t/using-a-record-in-calculations-but-not-printing-its-detail-band/2116) - Do the calculations in TakeRecord, then return Level Benign before PRINT; print a blank detail first when the report engine totals on the detail.
- [A field in the report header is blank on page 1 but shows on the other pages](https://forums.softvelocity.com/t/a-field-in-the-report-header-is-blank-on-page-1-but-shows-on-the-other-pages/2117) - A header field blank only on page one is loaded after the first PRINT; fetch the child file and fill the variable before the report starts.
- [Keeping a break group header, its details and its footer together on one page](https://forums.softvelocity.com/t/keeping-a-break-group-header-its-details-and-its-footer-together-on-one-page/2205) - Set the With Next property of the group header band to 2 so the header moves to a new page with its details.
- [A report detail with a variable-height text field: the text grows outside the boxes and lines](https://forums.softvelocity.com/t/a-report-detail-with-a-variable-height-text-field-the-text-grows-outside-the-boxes-and-lines/2206) - A text control with Resize true grows the detail, but boxes and lines have no resize property, so set their height yourself.
- [Continuing the page numbers from one report into the next when users chain reports (Reported, not reproduced)](https://forums.softvelocity.com/t/continuing-the-page-numbers-from-one-report-into-the-next-when-users-chain-reports-reported-not-reproduced/2290) - Continuing page numbers across chained reports of a user-chosen order was not solved; PageNo totals gave a wrong value and a third-party renumbering product was named.
- [Finding the printed height of a detail band that resizes](https://forums.softvelocity.com/t/finding-the-printed-height-of-a-detail-band-that-resizes/2291) - To learn the printed height of a resized detail, use the line count and line height properties of TEXT controls, or a third-party overflow add-on.
- [A resizing TEXT control in the page header makes the header longer and affects the detail band](https://forums.softvelocity.com/t/a-resizing-text-control-in-the-page-header-makes-the-header-longer-and-affects-the-detail-band/2292) - A page header cannot resize; put the TEXT in a detail band after the header, or make it a break header on a surrounding break.
- [Moving the printed content of a report across or down the page (margins and nudging)](https://forums.softvelocity.com/t/moving-the-printed-content-of-a-report-across-or-down-the-page-margins-and-nudging/2293) - To shift a report's printable region alter the AT of the report structure; to place a detail exactly, use ABSOLUTE; an article on nudging was cited.
- [Printing a resizing TEXT control: the text and page overflow broke in Clarion 9.1 build 11139 (Reported, not reproduced)](https://forums.softvelocity.com/t/printing-a-resizing-text-control-the-text-and-page-overflow-broke-in-clarion-9-1-build-11139-reported-not-reproduced/2294) - Resize text overflow worked up to build 10376 and broke in 9.1 build 11139; the older runtime DLL restored it, and no vendor outcome was posted.
- [Hiding a detail band or group header conditionally (print detail or summary only)](https://forums.softvelocity.com/t/hiding-a-detail-band-or-group-header-conditionally-print-detail-or-summary-only/2295) - Hiding a detail band with PROP:Hide did not work; set the band filter to False and print the band conditionally.
- [A report with hand-coded detail prints too low on the page before it changes page](https://forums.softvelocity.com/t/a-report-with-hand-coded-detail-prints-too-low-on-the-page-before-it-changes-page/2296) - Call EndPage on the report after a set number of records, or move the detail band up from the bottom of the page.
- [Printing "page x of y" in the Clarion 6 ABC report template](https://forums.softvelocity.com/t/printing-page-x-of-y-in-the-clarion-6-abc-report-template/2297) - The total page count is unknown until the report is generated; the thread names counting pages up front, editing the wmf files, or third-party tools.

## Report data: filters, ranges, totals and child records

- [Printing a report of only the records a browse has filtered (QBE filter)](https://forums.softvelocity.com/t/printing-a-report-of-only-the-records-a-browse-has-filtered-qbe-filter/1938) - Pass the browse view's filter string to the report as a parameter, then clear, set and apply it with SetFilter in the report's Init.
- [A report fails when a CSTRING field holds more than 255 characters](https://forums.softvelocity.com/t/a-report-fails-when-a-cstring-field-holds-more-than-255-characters/1939) - Use a text control for long text, and check that a field changed from numeric to string was changed in every table that holds it.
- [Printing a report for a range of accounts: pass the key as an optional parameter](https://forums.softvelocity.com/t/printing-a-report-for-a-range-of-accounts-pass-the-key-as-an-optional-parameter/1940) - Pass the account as an optional angle-bracket string parameter in the report prototype and build the filter with SetFilter once the report is open.
- [A range-limited ABC report waits 25 seconds on a network before the progress bar moves](https://forums.softvelocity.com/t/a-range-limited-abc-report-waits-25-seconds-on-a-network-before-the-progress-bar-moves/2026) - A range-limited ABC report waits in OpenReport while the view is built; a hand-coded filter did not help, a wait message or animated indicator makes the delay visible.
- [Rolling up totals through nested breaks (customer, invoice, detail) in a report](https://forums.softvelocity.com/t/rolling-up-totals-through-nested-breaks-customer-invoice-detail-in-a-report/2118) - Nested breaks roll totals up when each total control's Totaling band is set to Detail; or hand-code the outer totals in TakeRecord.
- [A report break on a six-month period (March to August, September to February)](https://forums.softvelocity.com/t/a-report-break-on-a-six-month-period-march-to-august-september-to-february/2119) - Compute a period value in a local variable before the detail prints and add a report break on that variable.
- [Copying the clipboard into a report filter variable: the formula editor does not accept clipboard()](https://forums.softvelocity.com/t/copying-the-clipboard-into-a-report-filter-variable-the-formula-editor-does-not-accept-clipboard/2120) - Pass the filter into the report as a parameter and set it in the report's Open embed; the formula editor refused the clipboard function.
- [Setting a flag on every record a report reads: PUT gives a record not available error](https://forums.softvelocity.com/t/setting-a-flag-on-every-record-a-report-reads-put-gives-a-record-not-available-error/2207) - Update the flag from the report's TakeRecord embed after the parent call, or report from a copy of the data or an exclusively locked table.
- [Printing all tagged invoices (parent with child detail) in one report locks up or prints the wrong child data](https://forums.softvelocity.com/t/printing-all-tagged-invoices-parent-with-child-detail-in-one-report-locks-up-or-prints-the-wrong-child-data/2298) - Print the tagged invoices from one procedure fed by a queue of numbers, with PageAfter on the group footer; a progress lockup at 11 percent stayed open.
- [A report limited by a parent field and by an empty field in the child file does not filter](https://forums.softvelocity.com/t/a-report-limited-by-a-parent-field-and-by-an-empty-field-in-the-child-file-does-not-filter/2299) - Make both fields hot with the BIND box checked, or traverse the parent and read the children in code, which is faster.

## Preview and page images

- [The PREVIEW attribute queue of WMF file names stays empty](https://forums.softvelocity.com/t/the-preview-attribute-queue-of-wmf-file-names-stays-empty/1941) - The PREVIEW attribute queue stayed empty; assign the queue field with the PROP:Preview property after opening the report, and read it before the report closes.
- [The previewer saves report pages as .tmp files; how to get .wmf names for e-mailing](https://forums.softvelocity.com/t/the-previewer-saves-report-pages-as-tmp-files-how-to-get-wmf-names-for-e-mailing/1942) - Use PROP:TempNameFunc to name the preview page files yourself, with any extension and folder, and delete them at close; PDF is easier for e-mailing.
- [Will Clarion 12 reports produce EMF page files, and what text do they hold?](https://forums.softvelocity.com/t/will-clarion-12-reports-produce-emf-page-files-and-what-text-do-they-hold/1943) - A fellow developer said EMF text output will always be the content of a USTRING; the other report processing should stay the same.
- [The print preview opens with no page thumbnails and nothing prints, until the user logs off (Reported, not reproduced)](https://forums.softvelocity.com/t/the-print-preview-opens-with-no-page-thumbnails-and-nothing-prints-until-the-user-logs-off-reported-not-reproduced/2027) - A preview with no thumbnails and no printing, fixed only by logging off, was put down to temp files, temp folder permissions or low resources; no cause confirmed.
- [Printing only the first page of a report in a hand-coded report procedure](https://forums.softvelocity.com/t/printing-only-the-first-page-of-a-report-in-a-hand-coded-report-procedure/2208) - Delete every row after the first from the preview queue of page files before it is flushed, and only page one prints.
- [A second image cannot sit on top of a scrolling WMF page image (watermark over a previewed page)](https://forums.softvelocity.com/t/a-second-image-cannot-sit-on-top-of-a-scrolling-wmf-page-image-watermark-over-a-previewed-page/2209) - A scrolling image control always covers a second image above it, so draw the watermark into the WMF page by regenerating the report page.
- [Sending control codes (paper cut) to a receipt printer while still using the previewer (Reported, not reproduced)](https://forums.softvelocity.com/t/sending-control-codes-paper-cut-to-a-receipt-printer-while-still-using-the-previewer-reported-not-reproduced/2300) - Control characters such as the paper cut code are altered by the print engine; replacing a marker text inside the metafile was planned, with no outcome posted.
- [Printing a queue of saved WMF files to a chosen printer](https://forums.softvelocity.com/t/printing-a-queue-of-saved-wmf-files-to-a-chosen-printer/2301) - Print saved WMF files with an image on the detail, set to each queued file name in a loop, and call the printer dialog.
- [Print preview flashes a small window and then nothing on one machine](https://forums.softvelocity.com/t/print-preview-flashes-a-small-window-and-then-nothing-on-one-machine/2302) - A preview window that flashes and vanishes may simply mean the report filter returned no data; also check printer, default printer and temp folder.

## Printers, paper and the print dialog

- [Printing a report to a dot matrix printer: no condensed font in the list, confusing preview](https://forums.softvelocity.com/t/printing-a-report-to-a-dot-matrix-printer-no-condensed-font-in-the-list-confusing-preview/1944) - Name the printer's own condensed font in the report's FONT(), or use Courier, and format spacing close to the printer's standard line positions.
- [A report sent directly to the printer prints dozens of copies although PROPPRINT:Copies is 1](https://forums.softvelocity.com/t/a-report-sent-directly-to-the-printer-prints-dozens-of-copies-although-propprint-copies-is-1/1945) - Direct print gave dozens of copies despite copies set to 1; a third-party previewer printed one, and the standard one then worked, cause not found.
- [Setting the report paper size at run time: PROPPRINT:Paper has no effect](https://forums.softvelocity.com/t/setting-the-report-paper-size-at-run-time-propprint-paper-has-no-effect/2028) - Set the report paper size to Other with width and height 0 so it follows the printer, then move the bottom controls in code for Letter or A4.
- [Reading the "sort" (collate) check box the user sets in the printer dialog](https://forums.softvelocity.com/t/reading-the-sort-collate-check-box-the-user-sets-in-the-printer-dialog/2029) - Read the printer dialog's sort check box with PROPPRINT:Collate, or set it before the report opens; not every printer offers collation.
- [The invoice footer shows in the preview but not on an Epson dot matrix printer after a recompile (Reported, not reproduced)](https://forums.softvelocity.com/t/the-invoice-footer-shows-in-the-preview-but-not-on-an-epson-dot-matrix-printer-after-a-recompile-reported-not-reproduced/2030) - An invoice footer showed in the preview but not on one Epson dot matrix model after a recompile; other drivers and layouts did not fix it.
- [Sending PCL commands from a Clarion report to the printer](https://forums.softvelocity.com/t/sending-pcl-commands-from-a-clarion-report-to-the-printer/2031) - Capture LPT1 with the generic driver, build a string holding the PCL commands and copy it to LPT1; a third-party PCL tools product was also named.
- [Printing a barcode on a Dymo LabelWriter from a Clarion report](https://forums.softvelocity.com/t/printing-a-barcode-on-a-dymo-labelwriter-from-a-clarion-report/2032) - On a Dymo LabelWriter set landscape mode at runtime, allow for 203 DPI, and print the barcode with a barcode font or the vendor API; the font is easier.
- [A landscape report prints at about 3/4 scale in the upper left corner on a Laserjet 4200](https://forums.softvelocity.com/t/a-landscape-report-prints-at-about-3-4-scale-in-the-upper-left-corner-on-a-laserjet-4200/2121) - A report set to paper size Other with 11000 by 8500 and Landscaped printed scaled down; paper size Letter with Landscaped fixed it.
- [What SYSTEM{PROP:AutoPaper} does, and whether to turn it off](https://forums.softvelocity.com/t/what-system-prop-autopaper-does-and-whether-to-turn-it-off/2122) - AutoPaper makes the runtime guess a best-fit paper size, mostly for custom sizes; two users turn it off and saw no loss.
- [Resetting PRINTER{PROPPRINT:Copies} to 1 so later reports do not print extra copies](https://forums.softvelocity.com/t/resetting-printer-propprint-copies-to-1-so-later-reports-do-not-print-extra-copies/2123) - Reset the copies property to 1 in ThisWindow.Kill for ABC or the ProcedureReturn routine for legacy; the Legacy Embed button gives plainer embed names.
- [Sending Esc codes to a USB Epson receipt printer, such as opening the cash drawer](https://forums.softvelocity.com/t/sending-esc-codes-to-a-usb-epson-receipt-printer-such-as-opening-the-cash-drawer/2124) - Sending raw Esc codes to a USB receipt printer: the thread pointed to a magazine article on direct USB printing and two download utilities, no code.
- [PRINTERDIALOG always starts with the last selected printer; how to start on the default printer](https://forums.softvelocity.com/t/printerdialog-always-starts-with-the-last-selected-printer-how-to-start-on-the-default-printer/2125) - Set the printer device property to an empty string before calling PRINTERDIALOG and the operating system selects the default printer.
- [ZPL commands print as text instead of barcodes on a Zebra printer from a Clarion report](https://forums.softvelocity.com/t/zpl-commands-print-as-text-instead-of-barcodes-on-a-zebra-printer-from-a-clarion-report/2210) - ZPL printed as text through the Windows driver; use the Generic / Text driver, a DirectPrint class, or print a text file to the printer.
- [Sending Esc commands from a report to an LPT dot matrix or POS printer](https://forums.softvelocity.com/t/sending-esc-commands-from-a-report-to-an-lpt-dot-matrix-or-pos-printer/2211) - Map an unused character to an escape sequence in the Generic / Text driver's extended character mapping, then place that character on the report.
- [Printing labels on a Brother QL-500 (paper size, AutoPaper and options)](https://forums.softvelocity.com/t/printing-labels-on-a-brother-ql-500-paper-size-autopaper-and-options/2212) - For Brother label printers use a label add-on, drive the Brother software by OLE, or set a user paper size with AutoPaper turned off.
- [A report with PAPER:USER and a 3 inch page height prints on a much larger page](https://forums.softvelocity.com/t/a-report-with-paper-user-and-a-3-inch-page-height-prints-on-a-much-larger-page/2303) - A 3 inch PAPER:USER page printed larger; set the page height and the report's height at run time to the details' total, or create a form in the printer driver.
- [Small tickets on a label printer come out as blank A4-size pages](https://forums.softvelocity.com/t/small-tickets-on-a-label-printer-come-out-as-blank-a4-size-pages/2304) - Small ticket pages printed as A4 on a USB label printer; the reply was to look at PROP:AutoPaper, and the poster did not post a result.
- [Changing the number of report copies from code when PRINTERDIALOG has no effect](https://forums.softvelocity.com/t/changing-the-number-of-report-copies-from-code-when-printerdialog-has-no-effect/2305) - Set the printer's copies property in the OpenReport embed before the generated code; some printer drivers ignore it, and add-on previewers offer a copies box.
- [Printing without preview from a Remote Desktop session shows an XPS save dialog (Reported, not reproduced)](https://forums.softvelocity.com/t/printing-without-preview-from-a-remote-desktop-session-shows-an-xps-save-dialog-reported-not-reproduced/2306) - Printing without preview over Remote Desktop gave an XPS save dialog; posters used server-made PDFs, a print server or a PDF printer instead.
- [Printing to a receipt printer on the parallel port, text and graphics](https://forums.softvelocity.com/t/printing-to-a-receipt-printer-on-the-parallel-port-text-and-graphics/2307) - For a parallel port receipt printer use the maker's Windows POS drivers with the LinePrint template or a printer code library from the community.
- [Printing through Remote Desktop uses the wrong printer, not the client's default](https://forums.softvelocity.com/t/printing-through-remote-desktop-uses-the-wrong-printer-not-the-clients-default/2308) - Over Remote Desktop the wrong printer was used; install drivers on the server, let users wait for the session to settle, or let them pick a printer.
- [The printer dialog does not open on one PC (Reported, not reproduced)](https://forums.softvelocity.com/t/the-printer-dialog-does-not-open-on-one-pc-reported-not-reproduced/2309) - The printer dialog never opens on one PC; posters tried a registry setting, administrator rights, a new user account and reinstalled printers, without a confirmed cause.

## PDF, HTML and other exports

- [Ten different report procedures that must land in one PDF in file order](https://forums.softvelocity.com/t/ten-different-report-procedures-that-must-land-in-one-pdf-in-file-order/1946) - To merge several report procedures into one PDF in order, move each report's print pages into one extra print queue, or use the RPM or CPCS append-reports feature.
- [Printing a Clarion report to a file for storage](https://forums.softvelocity.com/t/printing-a-clarion-report-to-a-file-for-storage/1947) - Include the printer equates, set the printer device to Generic / Text Only, set the print-to-file flag and a file name; other products were named.
- [Printing an existing PDF file straight to a printer without opening a viewer](https://forums.softvelocity.com/t/printing-an-existing-pdf-file-straight-to-a-printer-without-opening-a-viewer/1948) - Call ShellExecute on the PDF with the print operation, or use the PDF-to-print files in a current PDF-Tools version; Adobe Reader may block it.
- [How to embed a font in the PDF the Clarion PDF generator produces](https://forums.softvelocity.com/t/how-to-embed-a-font-in-the-pdf-the-clarion-pdf-generator-produces/1949) - The SoftVelocity PDF generator has no font embedding; two third-party tools (a PDF toolkit and wPDFControl) were named as embedding fonts, untested in the thread.
- [Running an app with the SoftVelocity PDF reports says Cla12pdf.dll is missing in Clarion 12](https://forums.softvelocity.com/t/running-an-app-with-the-softvelocity-pdf-reports-says-cla12pdf-dll-is-missing-in-clarion-12/1950) - The missing-DLL message refers to the new PDF engine, whose file is ClaI2PDF.DLL (a letter I); copy it from the bin folder to the application folder.
- [Saving the report as a PDF automatically when the user closes the preview without clicking Save](https://forums.softvelocity.com/t/saving-the-report-as-a-pdf-automatically-when-the-user-closes-the-preview-without-clicking-save/2033) - The PDF engine loops over the PreviewQueue page files, so keep that queue filled and unfreed; or force the Save button event when the previewer closes.
- [Background images show in the previewer but are missing in the PDF on some PCs (Reported, not reproduced)](https://forums.softvelocity.com/t/background-images-show-in-the-previewer-but-are-missing-in-the-pdf-on-some-pcs-reported-not-reproduced/2126) - Background images showed in the previewer but not in the PDF on some PCs; margins, printer driver and a third-party PDF tool were suggested, no cause found.
- [Finding the folder and file name the user chose when saving to a PDF printer](https://forums.softvelocity.com/t/finding-the-folder-and-file-name-the-user-chose-when-saving-to-a-pdf-printer/2127) - The PDF printer owns the save dialog; read the latest saved path from the registry most-recently-used key with GETREG and decode the binary data.
- [A service that prints reports to PDF produces landscape pages instead of portrait](https://forums.softvelocity.com/t/a-service-that-prints-reports-to-pdf-produces-landscape-pages-instead-of-portrait/2213) - A service in the System account sees no printers and uses the landscape screen layout; run the service under a normal user account.
- [H5 report PDF has the wrong paper size when AppBroker runs as a service under SYSTEM](https://forums.softvelocity.com/t/h5-report-pdf-has-the-wrong-paper-size-when-appbroker-runs-as-a-service-under-system/2214) - The SYSTEM account has no printer drivers, so the PDF paper size is wrong; run AppBroker under a user with a default printer.
- [Opening a PDF report in Adobe Reader at 100 percent zoom from a Clarion program](https://forums.softvelocity.com/t/opening-a-pdf-report-in-adobe-reader-at-100-percent-zoom-from-a-clarion-program/2215) - Pass the Reader its own zoom switch by running its executable with parameters; the poster's fix was a reboot after setting the zoom preference.
- [Combining several PDF files into one PDF from Clarion code when QuickPDF MergeFileList misbehaves](https://forums.softvelocity.com/t/combining-several-pdf-files-into-one-pdf-from-clarion-code-when-quickpdf-mergefilelist-misbehaves/2216) - Merge PDFs with QuickPDF by adding files to its file list and calling the Fast merge function, or use iTextSharp for Clarion.

## Fonts, images, lines and colours

- [Printing RTF formatted text on a report](https://forums.softvelocity.com/t/printing-rtf-formatted-text-on-a-report/1951) - Clarion has no RTF control on a report; convert the RTF to WMF images, use a third-party reporting tool, or print from Word.
- [Adding your own named color to the window and report designer color picker](https://forums.softvelocity.com/t/adding-your-own-named-color-to-the-window-and-report-designer-color-picker/1952) - A named color cannot be added to the picker, which looks hard coded; use the Custom tab for a numeric color and EQUATEs in EQUATES.CLW for the generator.
- [Printing a MEMO that holds RTF text on a report in build 9055 (Reported, not reproduced)](https://forums.softvelocity.com/t/printing-a-memo-that-holds-rtf-text-on-a-report-in-build-9055-reported-not-reproduced/2034) - One poster saw an RTF memo fail to print in build 9055 and printed a CSTRING copy instead; others saw no problem, and no outcome was reached.
- [Horizontal report lines slope down to the right after moving from Clarion 8 to 9](https://forums.softvelocity.com/t/horizontal-report-lines-slope-down-to-the-right-after-moving-from-clarion-8-to-9/2035) - Remove the LINEWIDTH attribute from the LINE controls and use a BOX for a thick line; thick lines are also drawn badly in the designer.
- [Printing a decimal number without the thousands commas in as small a space as possible](https://forums.softvelocity.com/t/printing-a-decimal-number-without-the-thousands-commas-in-as-small-a-space-as-possible/2036) - Put an underscore in the numeric picture, such as an n\_14.2 picture, to switch off thousands grouping while keeping two decimals and a narrow field.
- [Alternate line colour (green bar) in a hand-coded report does not change the colour](https://forums.softvelocity.com/t/alternate-line-colour-green-bar-in-a-hand-coded-report-does-not-change-the-colour/2037) - Wrap the detail band colour change in SETTARGET on the report and SETTARGET with no argument afterwards to get alternate coloured lines.
- [A transparent image or circle over a graphic on a printed form](https://forums.softvelocity.com/t/a-transparent-image-or-circle-over-a-graphic-on-a-printed-form/2038) - PNG, WMF or a third-party class give transparency; for a circle draw an ELLIPSE or use a Wingdings STRING, which are transparent by nature.
- [Chinese text in a report string is cut off in the designer but prints in full](https://forums.softvelocity.com/t/chinese-text-in-a-report-string-is-cut-off-in-the-designer-but-prints-in-full/2039) - Chinese text cut off in the designer but printing fully may come from controls that kept their own old font; check each control's font.
- [Making a line control overlay an image control on a report](https://forums.softvelocity.com/t/making-a-line-control-overlay-an-image-control-on-a-report/2128) - Put the line after the image in the control order; report controls are drawn in source order, so the later one lands on top.
- [Barcodes printed with the Free 3 of 9 font do not scan](https://forums.softvelocity.com/t/barcodes-printed-with-the-free-3-of-9-font-do-not-scan/2129) - A 3 of 9 barcode font needs an asterisk before and after the value, so print an asterisk, the clipped value, an asterisk.
- [An image assigned to a report control from a file on disk does not show](https://forums.softvelocity.com/t/an-image-assigned-to-a-report-control-from-a-file-on-disk-does-not-show/2130) - An image assigned with PROP:Text did not show because the WMF file was read from the wrong directory; check the path and that the report is open.
- [Page breaks in an RTF document are ignored by the Clarion 6 RTF control and when printed (Reported, not reproduced)](https://forums.softvelocity.com/t/page-breaks-in-an-rtf-document-are-ignored-by-the-clarion-6-rtf-control-and-when-printed-reported-not-reproduced/2217) - Page breaks in an RTF document were not shown or printed by the C6 RTF control; a settext page break and a VB OCX were suggested, no outcome.
- [Changing the colour of a single field on a report when a condition is true](https://forums.softvelocity.com/t/changing-the-colour-of-a-single-field-on-a-report-when-a-condition-is-true/2218) - Set the field's font colour in the TakeRecord embed between SETTARGET on the report and SETTARGET with no argument, or address REPORT with a dollar sign.
- [Images set to CENTERED on a report print much larger after moving from Clarion 8 to 9](https://forums.softvelocity.com/t/images-set-to-centered-on-a-report-print-much-larger-after-moving-from-clarion-8-to-9/2219) - Older versions ignored CENTERED and stretched the image; Clarion 9 honours it, so remove CENTERED or select Stretched to get the old look.
- [A transparent PNG prints as a black rectangle on a Clarion REPORT](https://forums.softvelocity.com/t/a-transparent-png-prints-as-a-black-rectangle-on-a-clarion-report/2220) - Keeping the transparency was judged not possible; composite the PNG onto white with the FreeImage class before copying it into the image control.
- [Full justification of a TEXT control on a report (letters)](https://forums.softvelocity.com/t/full-justification-of-a-text-control-on-a-report-letters/2221) - The TEXT control has no full justification; check its RTF attribute and put the qj command in the RTF header of the printed string.
- [Printing a different image on each page of a report, with the image taken from a file or a BLOB](https://forums.softvelocity.com/t/printing-a-different-image-on-each-page-of-a-report-with-the-image-taken-from-a-file-or-a-blob/2310) - In TakeRecord before the detail prints, use SETTARGET and assign the image control PROP:Text from a file name or PROP:ImageBlob from a BLOB; ENDPAGE forces a page.
- [More colour choices than FONTDIALOG() gives, for the font and colour of a printout](https://forums.softvelocity.com/t/more-colour-choices-than-fontdialog-gives-for-the-font-and-colour-of-a-printout/2311) - Replace the font dialog through a hook property with your own dialog built on the ChooseFont and ChooseColor API calls, using a callback for colours.
- [Printing barcodes for existing inventory codes on a Clarion report](https://forums.softvelocity.com/t/printing-barcodes-for-existing-inventory-codes-on-a-clarion-report/2312) - Barcodes on a report can come from a free report template, barcode fonts installed on every workstation, or a paid barcode template.
- [A watermark image behind the text fields of a report (form band, or the detail band)](https://forums.softvelocity.com/t/a-watermark-image-behind-the-text-fields-of-a-report-form-band-or-the-detail-band/2313) - Put a watermark image in the report's form band so it prints under everything, or in the detail band when a report has only that band.
- [A WMF form image on a report prints its text in a larger font on one user's machine](https://forums.softvelocity.com/t/a-wmf-form-image-on-a-report-prints-its-text-in-a-larger-font-on-one-users-machine/2314) - Text on a WMF form image printed larger on one machine; check for Windows 2000 metafile trouble, then printer driver and resolution.

## Report code: embeds, properties and the report classes

- [Moving one control on a report at runtime moved the whole report](https://forums.softvelocity.com/t/moving-one-control-on-a-report-at-runtime-moved-the-whole-report/1953) - Put a leading question mark on the control equate when setting XPOS and YPOS after SETTARGET on the report, or use SETPOSITION.
- [Hide, unhide or change a string control on a report from code does nothing](https://forums.softvelocity.com/t/hide-unhide-or-change-a-string-control-on-a-report-from-code-does-nothing/1954) - Call SETTARGET on the report before changing its controls, place the code after OpenReport, and prefer a local variable or parameter over a global.
- [Assigning PROP:Text to a report field with the Report$ prefix stopped working](https://forums.softvelocity.com/t/assigning-prop-text-to-a-report-field-with-the-report-prefix-stopped-working/1955) - Write the string literal with plain single quotes instead of typographic quotes; a Report dollar-prefix problem was also said to be fixed in a later release.
- [GPF on the first reference to a PRINTER property, in one application only (Reported, not reproduced)](https://forums.softvelocity.com/t/gpf-on-the-first-reference-to-a-printer-property-in-one-application-only-reported-not-reproduced/1956) - One application crashed on any PRINTER property read; the posters found no cause, and removing NetTalk made it stop.
- [Locus RTF or the standard Clarion RTF control: what differs, and can it print on reports?](https://forums.softvelocity.com/t/locus-rtf-or-the-standard-clarion-rtf-control-what-differs-and-can-it-print-on-reports/1957) - Locus RTF is not enabled on reports; use the standard RTF control there, or add a separate product reported to print Locus RTF on reports.
- [Page numbers in a hand-coded report stay at zero](https://forums.softvelocity.com/t/page-numbers-in-a-hand-coded-report-stay-at-zero/2040) - Use a STRING with the PAGENO attribute, or a counter variable on the header; the page number template needs its Total Type set to Page No.
- [Setting PROP:FontStyle on one element of an array printed on a report does nothing](https://forums.softvelocity.com/t/setting-prop-fontstyle-on-one-element-of-an-array-printed-on-a-report-does-nothing/2041) - Array element controls are named with \_1, \_2 appended, so use a CASE over those equates, or copy the array to a queue and print that.
- ["Report is empty" when the report is run a second time from the same criteria window](https://forums.softvelocity.com/t/report-is-empty-when-the-report-is-run-a-second-time-from-the-same-criteria-window/2042) - A report empty on its second run was caused by an embed updating a file in Other Files; updating the alias of that file fixed it.
- [A source report's date variable prints blank, and a prompt string changes to "100% Complete"](https://forums.softvelocity.com/t/a-source-reports-date-variable-prints-blank-and-a-prompt-string-changes-to-100-complete/2043) - A date variable that vanished and a prompt string that changed text came from a SETTARGET on the report never reset with SETTARGET().
- [Adding your own variable to the ReportManager class of a report procedure](https://forums.softvelocity.com/t/adding-your-own-variable-to-the-reportmanager-class-of-a-report-procedure/2044) - Add a variable to the ReportManager object through local data, the Classes tab new class properties button, or your own ABC compliant class as base.
- [Printing one field of the page header on the first page only, or changing a header image after page 1](https://forums.softvelocity.com/t/printing-one-field-of-the-page-header-on-the-first-page-only-or-changing-a-header-image-after-page-1/2131) - After the first PRINT, use SETTARGET and PROP:Hide to hide the field, or PROP:Name to swap a header image, for later pages.
- [The report progress window stays open after the preview is printed or closed](https://forums.softvelocity.com/t/the-report-progress-window-stays-open-after-the-preview-is-printed-or-closed/2132) - A progress window that hung after the preview closed was traced by testing Cancel before the calculation; the button used the wrong data table.
- [Letting the user tag reports in a list and running the chosen report procedures](https://forums.softvelocity.com/t/letting-the-user-tag-reports-in-a-list-and-running-the-chosen-report-procedures/2133) - Run tagged reports with a CASE over names or stored equates, a queue, a report DLL loaded at run time, or the Report Writer engine.
- [Reports moved to a DLL: Access Violation when started from the frame menu, fine from a pop-up](https://forums.softvelocity.com/t/reports-moved-to-a-dll-access-violation-when-started-from-the-frame-menu-fine-from-a-pop-up/2134) - Reports exported from a DLL crashed from the frame menu; the generated include file lacked the DLL attribute on the procedure prototypes.
- [Which embed to use for hand-coded formulas in a report](https://forums.softvelocity.com/t/which-embed-to-use-for-hand-coded-formulas-in-a-report/2135) - Hand-coded report formulas go in the TakeRecord embed after the parent call; RPM has its own embed before printing details.
- [Using the RTF interface methods with an RTF text control on a report, and sizing a hidden window control to match](https://forums.softvelocity.com/t/using-the-rtf-interface-methods-with-an-rtf-text-control-on-a-report-and-sizing-a-hidden-window-control-to-match/2136) - Use SETTARGET and Init for an RTF control on a report, size a window control with the Thous property, and check the control equate's structure.
- [Trapping the Print and Cancel buttons of the standard print previewer](https://forums.softvelocity.com/t/trapping-the-print-and-cancel-buttons-of-the-standard-print-previewer/2137) - The standard previewer's buttons are handled in the TakeAccepted method of the PrintPreviewClass in ABREPORT.CLW; override it per report or through a template.
- [Formatting a field before it prints in a report, and printing a title band once before the page header](https://forums.softvelocity.com/t/formatting-a-field-before-it-prints-in-a-report-and-printing-a-title-band-once-before-the-page-header/2222) - Format in OpenReport for once per report or in TakeRecord for each detail; print a title before the page header with a copied header band.
- [A hand-coded program crashes inside PrintPreviewClass.Init](https://forums.softvelocity.com/t/a-hand-coded-program-crashes-inside-printpreviewclass-init/2223) - A hand-coded program crashing in PrintPreviewClass.Init needs the two ABC flags _ABCDllMode_=\>0 and _ABCLinkMode_=\>1 added to the project defines.
- [A tab in RTF text shows on a window but prints at the left margin on the report (Reported, not reproduced)](https://forums.softvelocity.com/t/a-tab-in-rtf-text-shows-on-a-window-but-prints-at-the-left-margin-on-the-report-reported-not-reproduced/2315) - An RTF tab showed on a window and in WordPad but printed at the left margin; posters could not reproduce it and suspected the printer driver.
- [Every print job is named JOB\_CWDEFAULT: how to set the job name of a report](https://forums.softvelocity.com/t/every-print-job-is-named-job-cwdefault-how-to-set-the-job-name-of-a-report/2316) - Set the print job name with the REPORT jobname parameter, or with its text property after the report opens and before printing.

## The Report Writer and other report designers

- [Report Writer: can the table (data file) name be set at run time?](https://forums.softvelocity.com/t/report-writer-can-the-table-data-file-name-be-set-at-run-time/1958) - The current Report Writer cannot take a variable data file name; use SetVariable for other variables, or edit the file path stored in the report library.
- [A report STRING with a slice such as LOC:StateID[4:7] loses the slice when the report is reopened (Reported, not reproduced)](https://forums.softvelocity.com/t/a-report-string-with-a-slice-such-as-loc-stateid-4-7-loses-the-slice-when-the-report-is-reopened-reported-not-reproduced/1959) - A report string whose Use variable is a slice shows empty brackets after reopening the report editor in Clarion 9; unresolved, no fix in the thread.
- [Report Writer: adding a subreport and printing a report library from the application](https://forums.softvelocity.com/t/report-writer-adding-a-subreport-and-printing-a-report-library-from-the-application/2045) - Save the subreport as a single REPX file (add Save As to the File menu), load it in the subreport band's Before Print script; load and print a REPXL from code per the help.
- [Is there a tool for mocking up a report layout before using the report designer?](https://forums.softvelocity.com/t/is-there-a-tool-for-mocking-up-a-report-layout-before-using-the-report-designer/2138) - For a report mockup with bands, posters named Fomin Report Builder and combit List and Label; the Clarion designer and preview lack zoom.
- [Report Writer reports that must find their data path at run time](https://forums.softvelocity.com/t/report-writer-reports-that-must-find-their-data-path-at-run-time/2139) - Set Report Writer data paths at run time by editing the search paths section of the report file, or follow the shipped example's variable file name routine.
- [Exporting Report Writer (TXR) reports to CSV or XLS](https://forums.softvelocity.com/t/exporting-report-writer-txr-reports-to-csv-or-xls/2224) - Three add-on routes were named for getting Report Writer output into Excel; none was confirmed, and the poster considered writing his own export.
- [Getting the list of report names from a Report Writer library (TXR) in code](https://forums.softvelocity.com/t/getting-the-list-of-report-names-from-a-report-writer-library-txr-in-code/2225) - No call returns the report names; parse the library text loaded by ReadReportLibrary, as the Handy Tools product does.
- [Using Crystal Reports v12 with a Clarion 6.3 application, with parameters](https://forums.softvelocity.com/t/using-crystal-reports-v12-with-a-clarion-6-3-application-with-parameters/2317) - A Clarion 6.3 app called Crystal Reports v12 with parameters through a third-party class, using Crystal's free runtime installer on client machines.

## Report templates, wizards and conversion

- [Skipping a detail band in the Report template: where the filter went](https://forums.softvelocity.com/t/skipping-a-detail-band-in-the-report-template-where-the-filter-went/1960) - Skip a detail band by entering False as the filter of that detail on the Filters tab of Report Properties under Actions.
- [Compile errors on Print(Rpt:Detail1) and PROPPRINT after converting a C6 app to C9](https://forums.softvelocity.com/t/compile-errors-on-print-rpt-detail1-and-propprint-after-converting-a-c6-app-to-c9/1961) - After a conversion, unknown PROPPRINT labels mean prnprop.clw is no longer included; check the global embeds and any third-party template that sets the include.
- [Importing a report into another app duplicates the Report To HTML, TXT and XML global extensions](https://forums.softvelocity.com/t/importing-a-report-into-another-app-duplicates-the-report-to-html-txt-and-xml-global-extensions/2046) - Remove the global extensions from a disk copy of the source app before exporting the report, or OMIT the duplicated declarations after the import.
- [Adding letter writing to an application: printing prebuilt letters with patient data](https://forums.softvelocity.com/t/adding-letter-writing-to-an-application-printing-prebuilt-letters-with-patient-data/2140) - Letters can be built as reports, ReportWriter reports, RTF templates or Word automation and mail merge; third-party letter products were also named, none compared.
- [Where are the errors reported after converting a Clarion 6 app to Clarion 7?](https://forums.softvelocity.com/t/where-are-the-errors-reported-after-converting-a-clarion-6-app-to-clarion-7/2141) - Conversion errors are not logged; expand the app tree, find procedures with an error icon, and read the green lines in the disabled window or report text.

## Official documentation

- The Language Reference for the REPORT structure, its bands and attributes, and the report properties.
- The Programmer's Guide and the template help for the Report template, its prompts and embed points.

---

<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, 12:36pm UTC](https://forums.softvelocity.com/t/reports-and-printing-the-hub/1962/2 "2026-11-09T12:36:09Z")

</div>

Pinned on November 9, 2026, 12:36pm UTC


