You must use gl2psviewport, considering 1 pixel = 0.035277 cm.<br>It is postscript standard.<br>Orientation is in gl2ps beginpage options (obviously you can also use glRotate using rotation 90°).<br>Position depends on your OpenGl, using glOrtho, for example, the origin is the center.
<br>Bye<br><div><span class="gmail_quote">On 9/17/06, <b class="gmail_sendername">Enrico B.</b> <<a href="mailto:maniago76@yahoo.it">maniago76@yahoo.it</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello Christophe Geuzaine,<br><br>first of all, congratulations for your creations; i think will be very<br>useful for the scientific community.<br>I'm a developer, writing from Italy: i'm sorry for my terrible english.<br>
<br>I'm writing a 3D viewer for Finite Element Analysis and i' ve a question<br>for you about GL2PS: how to setup the position and the size of a drawing<br>on the .ps file ?<br>The goal should be printing a .ps file without modifications for the
<br>user. In the main program the user set the paper size (A4, A3.. ),<br>orientation (landscape/portrait ) and displacement (X, Y from left-top<br>corner; size of the drawing )<br><br>Thanks in advance,<br><br>Enrico Bedendo
<br><a href="mailto:maniago76@yahoo.it">maniago76@yahoo.it</a><br><br><br>Chiacchiera con i tuoi amici in tempo reale!<br> <a href="http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com">http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com
</a><br>_______________________________________________<br>gl2ps mailing list<br><a href="mailto:gl2ps@geuz.org">gl2ps@geuz.org</a><br><a href="http://www.geuz.org/mailman/listinfo/gl2ps">http://www.geuz.org/mailman/listinfo/gl2ps
</a><br></blockquote></div><br><br clear="all"><br>-- <br>Marco Bonifazi