View Full Version : 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]
mikael_aronsson
01-27-2003, 04:00 AM
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 (http://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
thx Mikael
I'll try the way of the Feedback.
I've found 2 pages in this way: www.codeproject.com/opengl/glprint.asp (http://www.codeproject.com/opengl/glprint.asp) www.codeproject.com/useritems/glexport.asp (http://www.codeproject.com/useritems/glexport.asp)
I think postscript always gets better resolution than making a dump of a bitmap.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.