Reading the "sort" (collate) check box the user sets in the printer dialog

Applies to: posted in the Clarion 6 group; no version is named in the text.

Problem

After PRINTERDIALOG the user can set the number of copies. With more than two copies the dialog offers a sort check box. The poster could not find a property of the PRINTER variable that holds that check. Trying printerdialog() followed by message(printer{PROPPRINT:Collate}) showed an empty message.

Solution

  1. The property is PROPPRINT:Collate, listed in the help. It returns the value of the check box.
  2. If the user ticks the box in the printer dialog, the value should arrive without extra code.
  3. You can also set PROPPRINT:Collate yourself, before the report is opened.
  4. Not all printers offer the feature, and printers handle it differently. One reply described a 50-page document printed in 180 copies: with printer collation the driver sends every page again for each copy, while uncollated output sends each page once and the printer makes the copies.
  5. A reply also pointed to third-party print and preview tools for finer control.

Caveats

  • The empty message in the poster's test was not explained in the thread; the poster accepted the reply and said he would proceed.
  • Whether the value is filled depends on the printer and its driver.
  • Setting the property has to happen before the report is opened.

Today (2026)

Likely unchanged: PROPPRINT:Collate is a documented printer property. Not re-tested on a current build or with current printer drivers.

Sources: Harro S. (Oct 2005, the question), Peter H., Paul B. (Oct 2005) in softvelocity.public.clarion6.