PRB: PrtMip Property Has 26-Byte Structure, Not 24-ByteArticle ID: Q119477Creation Date: 17-AUG-1994 Revision Date: 19-SEP-1996
The information in this article applies to:
SYMPTOMS
Page 492 of the Microsoft Access "Language Reference," version 2.0, manual
states, in part, that:
The PrtMip property setting is a 24-byte structure that maps to settings for the Margins options and the Data Only option for a table or query in Datasheet view, form, report, or module in the Print Setup dialog box.This is true for Microsoft Access version 1.x, but not for Microsoft Access version 2.0.
RESOLUTION In Microsoft Access version 2.0, the PrtMip property setting is a 26-byte structure, not a 24-byte structure.
MORE INFORMATION The additional 2 bytes in Microsoft Access 2.0 are used to incorporate the FastLaserPrinting property of reports. You can set the FastLaserPrinting property in a report's Design view, but you cannot set it at run time using the PrtMip property in Access Basic. To obtain the size of the PrtMip property, type the following line in the Immediate window and then press ENTER:
?len(reports("<reportname>").prtmip)
REFERENCES Microsoft Access "Language Reference," version 2.0, page 492-493 |
THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.