Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 3 of 3

Thread: How to print

  1. #1
    Guest

    How to print

    I'm working with VB 6.0, developing an Acad simil application.

    There is any way to redirect ogl output to the printer device, using the full printer resolution ??


    [excuse my grammar mistakes]

  2. #2
    Senior Member OpenGL Pro
    Join Date
    May 2001
    Location
    Kristianstad,Skåne,Sweden
    Posts
    1,651

    Re: How to print

    Hi !

    Yes, you can do it two ways, you can render to an off screen bitmap and then print it (I think there is good example at www.codeguru.com in the OpenGL section, even though it's C++ code it shoulöd be pretty easy to get the idea).

    Another way is to use feedback to output postscript, there is a library for this, but I do not rember the URL, and if your printer don't support PS it's a bit tricky.

    Mikael

  3. #3
    Guest

    Re: How to print

    thx Mikael

    I'll try the way of the Feedback.

    I've found 2 pages in this way: www.codeproject.com/opengl/glprint.asp www.codeproject.com/useritems/glexport.asp

    I think postscript always gets better resolution than making a dump of a bitmap.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •