Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

Printing data – PB Docs 2021 – PowerBuilder Library

Printing data – PB Docs 2021

Printing data

You can print a DataWindow object while the Preview view is
displayed. You can print all pages, a range of pages, only the current
page, or only odd or even pages. You can also specify whether you want
multiple copies, collated copies, and printing to a file.

Avoiding large rows

To avoid multiple blank pages and other anomalies in printed
reports, no row in the DataWindow object should be larger than the
size of the target page. The page boundary is often reached in long
text columns with AutoSizeHeight on. It can also be reached when
detail rows are combined with page and group headers and trailers, or
when they contain multiple nested DataWindow objects or a column that
has been resized to be larger than the page.

When a row contains large multiline edit columns, it can be
broken into a series of rows, each containing one text line. These
text lines become the source for a nested DataWindow object. The
nested DataWindow object determines how many of its rows fit in the
remaining page space.

Page break before last
row

The summary band in a report is always printed on the same page
as the last row of data. This means that you sometimes find a page
break before the last row of data even if there is sufficient space to
print the row. If you want the last row to print on the same page as
the preceding rows, the summary band must be made small enough to fit
on the page as well.

To change printers or settings before printing

  • You can choose File>Printer Setup from the menu
    bar.

To print a DataWindow object

  1. Select File>PrintReport from the menu bar to display the
    Print dialog box.

  2. Specify the number of copies to print.

  3. Specify the pages: select All or Current Page, or type page
    numbers and/or page ranges in the Pages box.

  4. Specify all pages, even pages, or odd pages in the Print
    drop-down list.

    If you want to print to a file rather than to the printer,
    select the Print to File check box.

    If you want to change the collating option, clear or select
    the Collate Copies check box and click OK.

    If you specified print to file, the Print to File dialog box
    displays.

  5. Enter a file name and click OK.

    The extension PRN indicates that the file is prepared for
    the printer. Change the drive, the directory, or both, if you
    want.


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x