With Nonstandard Paper Size PRTINFO(2) Returns 256 Not -1

Last reviewed: June 27, 1995
Article ID: Q112242
The information in this article applies to:

- Microsoft FoxPro for Windows, version 2.6

The Help file incorrectly states that if the paper size is not standard, PRTINFO(2) should return a -1 and PRTINFO(3) and PRTINFO(4) should be used to get the paper size. When you are using any printer and a user-defined size is set, PRTINFO(3) and PRTINFO(4) do return what is expected, but PRTINFO(2) returns 256 instead of -1.


Additional reference words: FoxWin 2.60 Print information docerr
KBCategory: kbprg kbdocerr
KBSubcategory: FxprgGeneral


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.

Last reviewed: June 27, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.