Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Printing Problem

edited August 2005 in General
I am facing not understandable problem.
1. At first try when i try to print the form size Height 5.5 and width 8
Portrait it prints perfactly fine same as shown on preview screen
2. and then when i try to print another form size Height 8 and width 5.5
Portrait it skip some data in printing but preview is right.


and when i try 2nd step at first it works fine but then i try 1st step it
does not work fine. what is wrong ?

CODE IS on Print Button:

tVoucher.close;
tVoucher.Filtered := False;
tVoucher.Filter := 'TrVoucherNo = '+eVoucherNo.Text+' AND TrType =
'''+S+'''';
tVoucher.Filtered := True;
RBVoucher.DeviceType := 'Screen';
RBVoucher.showprintdialog := True;
RBVoucher.Print;
Loading := True;
tVoucher.Filtered := False;


Before Print Event

lCompanyName.Caption := CompanyName;


company name is Global Variable
autostop := False;

Help Plz
best regards
Arif Sheikh

Comments

  • edited August 2005
    Hi Arif,

    If you print a report in Landscape, then try to print the same report in
    Portrait, you need to be sure all the objects on your report will fit in the
    space given or else they will simply not print onto paper. ReportBuilder
    9.x contains the new Anchors feature that allow you to anchor your report
    object to any two adjacent sides of a report, removing the need to worry
    about the issue above.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.