While on your window with the list box, select control template, and then select The PrintListBox.

winselect

Place the blpbutton button where you want it, right click on it, select Actions, and fill out the prompts required by the template.

prompt1 prompt4

Disable BSPrint List Code will disable all code generation by the templates if you need this for debugging.

Listbox to print is a drop list to select the Listbox you wish to print.

ListBox Queu is the queu used by the listbox. For BST Listboxes, this is the Listbox less the "?". For ABC listboxes it is usually the Listbox name without the "?" appended to "Queue:" aka = Queue:Browse:1 There is a lookup button if you have the queu defined in the local data.

Using Colors
is a checkbox to use colors and works well when you have colors on all the list box fields, as is the case often in BST templates. Use this with caution
, as it gets real funky if you don't have colors specified in the listbox. This may not be a wise choice if you users don't have color printers as well. The colors do not print on empty cells that are used for duration. It only prints them when there is text to print.

Use Portrait Mode is a checkbox that changes the report to Portrait Mode. The default is Landscape. Use this with narrow lists to save paper, and when the automatic font and list sizing doesn't get too small to read<g> or blow off the page. Some times the list print outputs look better splitting the list and using portrait mode versus Landscape. Depends on how you are using it.


Report Options
prompt2

Split List 2 Parts will split the listbox into 2 equal parts, allowing the fonts to be larger, and more information to be displayed in the resulting report.

Fixed First Column is for Split Lists where you want to repeat the first column in the second half of the list box, like a fixed column for scrolling purposes.

Split Time First Column(2) is primarily for BST Listboxes that have a Split Time column
, and Fixes the first 2 columns as in the checkbox above. It will repeat the first 2 columns in the second half of a split list box.

Split 2nd List Separate Page is for adding an ENDPAGE(Report)
to the last detail printed of the first half of the list. This allows for appending the lists together for readability when printing long lists of data. Default is OFF, as short lists will put the second half of wide lists on the bottom half of the same page.

Xtra Wide Col 1 is for doubling the width in column 1 on the report, for seeing more or all of the data in column 1 when it gets resized according to the total width of the list box.

Report Print Date Format changes the format on the date printed on the report. (Today)

Report Print Time Format changes the fomat of the current time printed on the report.

Report Header
prompt3

Insert A Header in Report enables the rest of the prompts for adding a Header Line to the report.

Header to use:(EXPR) is an expression prompt allowing you to build the Header using variables from your procedure or constants that you enclose in quotes. The Font prompts are pretty much self explanatory.

Use Icetips Previewer is a checkbox that is enabled if the global templates are visible from IceTips previewer. Checking this box enables the following setup Button.

IceTips Previewer Setup
icetipwp

Prompts here are used for the IceTips Previewer, and are covered in their help file.