GLPRT: Sample App Demonstrates Printing in OpenGLLast reviewed: June 6, 1996Article ID: Q149769 |
The information in this article applies to:
SUMMARYPrior to Microsoft Windows NT version 4.0, OpenGL applications that needed to print a rendered scene had to render their scene onto a DIB Section and then print that DIB Section. With Windows NT 4.0, OpenGL applications can now render directly to a printer DC provided the printer is backed by a metafile spooler. The GLPrint sample included in GLPRT.EXE shows how to set up a printer DC, pixel format descriptor, and viewport in order to render an OpenGL scene to a printer.
You can find GLPRT.EXE (size: 63042 bytes) , a self-extracting file, on these services: On the www.microsoft.com home page, click the Support icon Click Knowledge Base, and select the product Enter kbfile GLPRT.EXE (size: 63042 bytes) , and click GO! Open the article, and click the button to download the file ftp ftp.microsoft.com Change to the Softlib/Mslfiles folder Get GLPRT.EXE (size: 63042 bytes) On the Edit menu, click Go To, and then click Other Location Type "mssupport" (without the quotation marks) Double-click the MS Software Library icon Find the appropriate product area Locate and download GLPRT.EXE Dial (206) 936-6735 to connect to MSDL Download GLPRT.EXE (size: 63042 bytes) For additional information about downloading, please see the following article in the Microsoft Knowledge Base:
ARTICLE-ID: Q119591 TITLE : How to Obtain Microsoft Support Files from Online Services MORE INFORMATIONThe GLPrint sample renders a lit-cube to the window. From the File menu, choose Print, and a dialog box appears. When you choose a printer, the scene prints provided that the all of the following conditions are met:
|
Additional reference words: 4.00 glprint.exe
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |