M
Michael J. Strickland
After creating a custom papersize (Control Panel->Printers->File->
Server Properties), Windows seems to re-enumerate the custom paper sizes
(AcPrintPaperSize values) so that that all my previously added form
constants now point to different forms (paper sizes).
I select forms by setting the .PaperSize property of the report's
printer object to constants defined in my code. Every time I add a new
print form in Windows, these constants (or the data structures they
point to) get shifted and no longer point to the correct print form.
Is there any way to prevent this or to compensate for it by retrieving
the Papersize characteristics (length, height, etc ) to determine which
form is which?
--
Server Properties), Windows seems to re-enumerate the custom paper sizes
(AcPrintPaperSize values) so that that all my previously added form
constants now point to different forms (paper sizes).
I select forms by setting the .PaperSize property of the report's
printer object to constants defined in my code. Every time I add a new
print form in Windows, these constants (or the data structures they
point to) get shifted and no longer point to the correct print form.
Is there any way to prevent this or to compensate for it by retrieving
the Papersize characteristics (length, height, etc ) to determine which
form is which?
--