Creating Runtime Print Specifications
\The Sandbox \PB History & Future \New in PB 2 \Painter Features \DataWindow Painter \Runtime Print Specifications
Assigning
Accelerators
Tag Values
DW Icon
Comments
Changing
Databases
Controlling DW
Updates
OLE Columns
DataWindow
Reports
Dynamic DWs
Runtime Print
Specifications
Displaying the
DDLB Arrow
Displaying
Row Counts
Sort and Filter
Testing
Modifying Result
Sets Descriptions
Moving Object
with Keyboard
Naming Objects
Aggregate
Functions
New Color Bar
Events
DW Functions
New Menu Items
Grid Style
Shortcut Keys
Align Objects
Size Objects
Space Objects
Saving DWs
with Comments
Keyboard Object
Selection
Selecting a Font
Selecting a
Line Edit
Keyboard Sizing
Specifying
SQL Syntax
Background
Color
Timer Interval
Unit of Measure
Validation
Message
DB Table
Changes
Suppressing
Repeating Values
Testing an
OLE Column
Using Comments

In the DataWindow Painter, you can create runtime print specification:

    The name you want to assign the print job.  The default is none

    The print margins in the unit of measure specified for the DataWindow

    The print orientation

TIP:   The default unit of measure for a DataWindow object is PowerBuilder units.  However, it is easier to specify print margins if you change the unit of measure to inches or centimeters.  To change the unit of measure, use DataWindow Style on the Design Menu.

To create runtime print specifications:

  1. Select Print Specifications from the Design Menu in the DataWindow Painter.
  2. Enter the name you want to print at the top of each page of the DataWindow definition in the DataWindow Name box.  The name you enter will display in the print queue.  The default name is none.
  3. Specify the top, bottom, and side margins in the Margins box.  The default is 0 for all margins and the unit of measure is the unit of measure specified for the DataWindow..
  4. Select a print orientation.  The default is the current printer setting. 

Landscape

Print the contents of the DataWindow across the length of the paper.

Portrait

Print the contents of the DataWindow across the width of the paper.

Prompt with Dialog

Display the printer setup dialog for the current printer and allow the user to select the orientation.

    TIP:   When you select Print with Dialog, the user can cancel the print job by pressing Esc when the printer setup window displays,

  1. Click OK to save the runtime print specifications with the DataWindow definition..
PBL Peeper PB Help PB History
& Future About Us Feedback Site Map

Google
 
Web www.techno-kitten.com
www.sybase.com