Microsoft KB Archive/68983

GRAPHICS.COM COLOR8 640 x 480 Mode Printing Problem PSS ID Number: Q68983 Article last modified on 02-05-1993 PSS database name: O_MSDOS

4.00 4.01

MS-DOS

Summary:

I am using GRAPHICS.COM to print a graphics display screen on my color printer. I am loading GRAPHICS.COM with a type COLOR8 and using the default GRAPHICS.PRO file. When I attempt to print a 640 x 480 graphics screen, the left one third of the image is missing and the aspect ratio seems to be incorrect.

Response:

The GRAPHICS.PRO file must be modified to include ROTATE on the PRINTBOX command line for 640 x 480 COLOR8. After finding the COLOR8 section in the GRAPHICS.PRO file, you will find the following section of commands:

DISPLAYMODE 17,18 ;; 640x480 SETUP 27,51,14,27,110,1 ;; aspect ratio = 1:1 GRAPHICS 32,32,32,32,27,76,LOWCOUNT,HIGHCOUNT PRINTBOX STD,2,1

The PRINTBOX command should be changed to read as follows:

PRINTBOX STD,2,1,ROTATE

This change instructs GRAPHICS.COM to print in landscape mode; the full image will now be printed and the aspect ratio will be correct.

Further information about GRAPHICS.PRO is available in the application note PD0246 “GRAPHICS.COM and Graphics Profiles”. This application note can be obtained from Microsoft Product Support Services.

Additional reference words: 4.00 4.01 noupd

Copyright Microsoft Corporation 1993.