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

Windows 2000 Custom PaperSize

edited October 2001 in General
Hello All:

We are using RB6.01/Delphi 5.01 to print on Custom papersizes in Windows
2000.

Problem: After printing some forms, ReportBuilder/Windows 2000 appear to
be resetting the dimentions of the custom papersize in the
Windows\Printers\ServerProperties\PaperSize.

If a 15 inch form is printed 1st, then the custom papersize appears to
be getting set to 15 inches.

If a 2nd form of 16 inches is then printed, it will not print because
the custom papersize has been redefined as a 15 inch long form.


What can I do to solve this ???

Could I reset the custom papersize to the maximum supported by the
printer driver after each form is printed ???

How can I programatically set the dimentions of the custom papersize in
Windows 2000 ???


Thank you.


Neil Huhta

Comments

  • edited October 2001

    Check out ppPrintr.pas, search for the TppCustomPrinter.UpdateForm
    method.

    You could call this method - it is public.






    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.