FIX: @ ... SAY BITMAP Is Not Placed Correctly When Printed

Last reviewed: September 22, 1997
Article ID: Q101004
2.50 WINDOWS kbprg kbfixlist kbbuglist

The information in this article applies to:

  • Microsoft FoxPro for Windows, version 2.5

SYMPTOMS

The @ ... SAY <file> BITMAP command can be used to print the bitmap specified by <file> if the command SET DEVICE TO PRINT is used. However, when this command is used, the bitmap will not be placed correctly within the printed page. This behavior occurs even if the optional parameters ISOMETRIC or STRETCH are used. For example, the following commands should place the file FOX.BMP in the FOXPROW directory at row 10 column 50 on the printed page:

   SET DEVICE TO PRINT
   SET PRINT ON
   @ 10,50 SAY "C:\FOXPROW\FOX.BMP" BITMAP
   SET DEVICE TO SCREEN
   SET PRINT TO

However, the output from this command does not place FOX.BMP at row 10, column 50. Instead, this bitmap is placed almost against the left edge of the paper. The distance from the left edge of the paper varies depending on the column value used, but it is never farther than three quarters of an inch from this edge.

STATUS

Microsoft has confirmed this to be a problem in FoxPro version 2.5 for Windows. This problem was corrected in FoxPro version 2.5a for Windows.

MORE INFORMATION

The @ ... SAY <file> BITMAP command is used to display .BMP files in FoxPro for Windows. If the SET DEVICE TO SCREEN command is issued, the bitmap appears in the main FoxPro window or a user-defined window. If the SET DEVICE TO PRINT command is issued, the bitmap will be sent to the printer.


Additional reference words: FoxWin 2.50 @..SAY BITMAP SET DEVICE PRINT
buglist2.50 fixlist2.50a
KBCategory: kbprg kbfixlist kbbuglist
KBSubcategory: FxprgGeneral
Solution Type : kbfix


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: September 22, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.