<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Printing openglwindow in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Printing-openglwindow/m-p/829483#M51663</link>
    <description>Most printer device contexts don't support OpenGL.  You'll need to create a bitmap, render your OpenGL graph to the bitmap, and then print the bitmap.&lt;BR /&gt;&lt;BR /&gt;Alternatively, you can look into creating an enhanced metafile with embedded OpenGL calls and then print the metafile, but I believe this doesn't work under Win98/Me.  There's an article on this at: &lt;A href="http://www.starstonesoftware.com/OpenGL/metafile.htm" target="_blank"&gt;http://www.starstonesoftware.com/OpenGL/metafile.htm&lt;/A&gt;.&lt;BR /&gt;&lt;BR /&gt;The non-programattic solution is to just do an Alt-Print Screen and then paste from the clipboard to MS Paint and print from there.  But that is not very satisfactory if you are creating a commerical product.&lt;BR /&gt;&lt;BR /&gt;Hope this helps!&lt;BR /&gt;&lt;BR /&gt;John</description>
    <pubDate>Sat, 25 Jan 2003 01:45:42 GMT</pubDate>
    <dc:creator>Intel_C_Intel</dc:creator>
    <dc:date>2003-01-25T01:45:42Z</dc:date>
    <item>
      <title>Printing openglwindow</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Printing-openglwindow/m-p/829482#M51662</link>
      <description>Hi!&lt;BR /&gt;I have a problem, and I am in desperate need of help. I have written a program in a windows-project, and I have used opengl to plot some graphs. Now, I would like to add the option to print the contents of the opengl-window to a printer. But I can't get it to work. No matter what I do, the page prints out blank. &lt;BR /&gt;Has anyone else had this problem, and has someone any idea how to do?&lt;BR /&gt;&lt;BR /&gt;Thank you for any help.&lt;BR /&gt;&lt;BR /&gt;Jenny</description>
      <pubDate>Sat, 25 Jan 2003 00:22:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Printing-openglwindow/m-p/829482#M51662</guid>
      <dc:creator>jenny_s</dc:creator>
      <dc:date>2003-01-25T00:22:11Z</dc:date>
    </item>
    <item>
      <title>Re: Printing openglwindow</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Printing-openglwindow/m-p/829483#M51663</link>
      <description>Most printer device contexts don't support OpenGL.  You'll need to create a bitmap, render your OpenGL graph to the bitmap, and then print the bitmap.&lt;BR /&gt;&lt;BR /&gt;Alternatively, you can look into creating an enhanced metafile with embedded OpenGL calls and then print the metafile, but I believe this doesn't work under Win98/Me.  There's an article on this at: &lt;A href="http://www.starstonesoftware.com/OpenGL/metafile.htm" target="_blank"&gt;http://www.starstonesoftware.com/OpenGL/metafile.htm&lt;/A&gt;.&lt;BR /&gt;&lt;BR /&gt;The non-programattic solution is to just do an Alt-Print Screen and then paste from the clipboard to MS Paint and print from there.  But that is not very satisfactory if you are creating a commerical product.&lt;BR /&gt;&lt;BR /&gt;Hope this helps!&lt;BR /&gt;&lt;BR /&gt;John</description>
      <pubDate>Sat, 25 Jan 2003 01:45:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Printing-openglwindow/m-p/829483#M51663</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2003-01-25T01:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: Printing openglwindow</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Printing-openglwindow/m-p/829484#M51664</link>
      <description>Thank you very much for your answer! I work with windows 2000, does the metafile approach work then? I have already tried this, I made a enhanced metafile from the window handle, but I never managed to send it to the printer correctly.&lt;BR /&gt;I will try writing to a bitmap. I will be back to let you know how it went.&lt;BR /&gt;/ Jenny</description>
      <pubDate>Sat, 25 Jan 2003 03:50:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Printing-openglwindow/m-p/829484#M51664</guid>
      <dc:creator>jenny_s</dc:creator>
      <dc:date>2003-01-25T03:50:10Z</dc:date>
    </item>
    <item>
      <title>Re: Printing openglwindow</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Printing-openglwindow/m-p/829485#M51665</link>
      <description>I haven't tried translating Steve's metafile approach to Fortran, but printing using his sample C++ application worked on my Windows 2000 system.&lt;BR /&gt;&lt;BR /&gt;Let us know how the bitmap printing works out.&lt;BR /&gt;&lt;BR /&gt;John</description>
      <pubDate>Sat, 25 Jan 2003 05:18:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Printing-openglwindow/m-p/829485#M51665</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2003-01-25T05:18:21Z</dc:date>
    </item>
  </channel>
</rss>

