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

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

Last Reviewed: June 27, 1995