Skip to content

Printer tray/bin selection

What is new - 3.0

Visual Report Writer comes with an extensive library for integrating reports in Visual DataFlex applications. One of the most elaborate functions supported by the library is to give the developer as much control of printing as possible. Version 3.0 of Visual Report Writer offers an enhancement to switch paper trays on a printer. For example, the first page and the last page of a report are sent to tray 1, which typically holds thicker paper for the front page. The other pages, the content of the report, are printed on regular weight paper.

Find this under Report, Report Options, default source.

Printer Tray Bin Selection in v3.0

Control switching of the paper bin via a function like:

if (mod ({&Page Number}, 2) = 1) then
     return vrwUpper
else
     return vrwLower
end