Properties for Custom Printer Page
\The Sandbox \PB History & Future \New In PB 9 \New In PB 9.0.2 \Custom Printer Page
Windows 2003
Server
PBNI Result Set
Accessors
Environment
Variables
TimeStamp
DB Parm
PWExpDialog
DB Parm
DefaultProcOwner
DB Parm
Custom
Printer Page
Context Menus
for PBDs

A new value for the DataWindow object Print.Paper.Size property and two new Print properties have been added. To specify a user-defined paper size, set the Paper.Size property to 256, then set the Print.CustomPage.Length and Print.Custom.Page.Width properties to the desired size in millimeters. For example:
 

    dw_1.Object.DataWindow.Print.Paper.Size = 256
    dw_1.Object.DataWindow.Print.CustomPage.Length = 254
                                           // 10 inches
    dw_1.Object.DataWindow.Print.CustomPage.Width = 190.5
                                            // 7 inches

PBL Peeper PB Help PB History
& Future About Us Feedback Site Map

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