Hi Ashwin, <div><br></div><div>what I feel is that you will have anyway problem with text rotation, as Postscript::Simple doesn&#39;t allow text rotation. One suggestion is to create an eps doc  from the initial document(polygon with text),and try to load it with the required rotation to the ps file.</div>
<div><br></div><div>code sample from CPAN search</div><div><br></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: medium; "><pre style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(238, 238, 238); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(136, 136, 136); border-right-color: rgb(136, 136, 136); border-bottom-color: rgb(136, 136, 136); border-left-color: rgb(136, 136, 136); color: black; padding-top: 1em; padding-right: 1em; padding-bottom: 1em; padding-left: 1em; white-space: pre; background-position: initial initial; background-repeat: initial initial; ">
 $p = new PostScript::Simple(papersize =&gt; &quot;A4&quot;,
                                colour =&gt; 1,
                                units =&gt; &quot;in&quot;);
    
    # create a new page
    $p-&gt;newpage;
    
    <font class="Apple-style-span" color="#009900"><b># create an eps object from the polygon with text</b></font>
    $e = new PostScript::Simple::EPS(file =&gt; &quot;test.eps&quot;);  
    $e-&gt;rotate(90);
    $e-&gt;scale(0.5);

 <font class="Apple-style-span" color="#009900">  <b> # add eps to the current page. This is your main document. </b></font>
    $p-&gt;importeps($e, 10,50);</pre></span></div><div><br></div><div><br></div><div>Regards,</div><div>Joe Cheri Ross</div><div><br><br><div class="gmail_quote">2010/6/10  <span dir="ltr">&lt;<a href="mailto:bangalore-pm-request@pm.org">bangalore-pm-request@pm.org</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Send Bangalore-pm mailing list submissions to<br>
        <a href="mailto:bangalore-pm@pm.org">bangalore-pm@pm.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://mail.pm.org/mailman/listinfo/bangalore-pm" target="_blank">http://mail.pm.org/mailman/listinfo/bangalore-pm</a><br>
or, via email, send a message with subject or body &#39;help&#39; to<br>
        <a href="mailto:bangalore-pm-request@pm.org">bangalore-pm-request@pm.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:bangalore-pm-owner@pm.org">bangalore-pm-owner@pm.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than &quot;Re: Contents of Bangalore-pm digest...&quot;<br>
<br>Today&#39;s Topics:<br>
<br>
   1. Fwd: Help (abhishek jain)<br>
   2. Fwd: Help (abhishek jain)<br>
   3. Fwd: Help (abhishek jain)<br>
<br><br>---------- Forwarded message ----------<br>From: abhishek jain &lt;<a href="mailto:mail@webbee.biz">mail@webbee.biz</a>&gt;<br>To: <a href="mailto:bangalore-pm@pm.org">bangalore-pm@pm.org</a><br>Date: Thu, 10 Jun 2010 14:56:45 +0530<br>
Subject: [Bangalore-pm] Fwd: Help<br>Forwarding to correct location.<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Ashwin Hiremath</b> <span dir="ltr">&lt;<a href="mailto:rush2ashu@gmail.com" target="_blank">rush2ashu@gmail.com</a>&gt;</span><br>

Date: 9 June 2010 20:27<br>Subject: Help<br>To: <a href="mailto:bangalore-pm-owner@pm.org" target="_blank">bangalore-pm-owner@pm.org</a><br><br><br><div class="gmail_quote">Hi Friends,<div><br></div><div>I am facing some problem with respect to the postscript::Simple module.</div>

<div><br></div><div>I have a requirement to create a Polygon... and over that write some description.</div>

<div>i have solved that using polygon function in postscript::simple module.</div>
<div><img src="cid:ii_1291d2fb1c727bdb" alt="Problem.JPG" title="Problem.JPG"><br></div><div><br></div><div>But now a new requirement has come, which states i need to rotate the polygon with 0, 90, 180, 270 and 360 degrees,,, </div>




<div>i am able to do that by using rotate option in Polygon. but here is the problem....</div><div>How to rotate the text... for that i need the new  X and Y position which i can use with rotate option of Text and print it....</div>




<div><br></div><div>The calculation of X and Y are taking up much of my time... which is not good in my situation.... I have to complete this by  10 Jun 2010....</div><div><br></div><div>Please Help... </div><div><br></div>




<div>With regards,</div><div><br></div><font color="#888888"><div>Ashwin</div>
</font></div>end
</div>
<br><br>---------- Forwarded message ----------<br>From: abhishek jain &lt;<a href="mailto:mail@webbee.biz">mail@webbee.biz</a>&gt;<br>To: <a href="mailto:bangalore-pm@pm.org">bangalore-pm@pm.org</a><br>Date: Thu, 10 Jun 2010 14:56:45 +0530<br>
Subject: [Bangalore-pm] Fwd: Help<br>Forwarding to correct location.<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Ashwin Hiremath</b> <span dir="ltr">&lt;<a href="mailto:rush2ashu@gmail.com" target="_blank">rush2ashu@gmail.com</a>&gt;</span><br>

Date: 9 June 2010 20:27<br>Subject: Help<br>To: <a href="mailto:bangalore-pm-owner@pm.org" target="_blank">bangalore-pm-owner@pm.org</a><br><br><br><div class="gmail_quote">Hi Friends,<div><br></div><div>I am facing some problem with respect to the postscript::Simple module.</div>

<div><br></div><div>I have a requirement to create a Polygon... and over that write some description.</div>

<div>i have solved that using polygon function in postscript::simple module.</div>
<div><img src="cid:ii_1291d2fb1c727bdb" alt="Problem.JPG" title="Problem.JPG"><br></div><div><br></div><div>But now a new requirement has come, which states i need to rotate the polygon with 0, 90, 180, 270 and 360 degrees,,, </div>




<div>i am able to do that by using rotate option in Polygon. but here is the problem....</div><div>How to rotate the text... for that i need the new  X and Y position which i can use with rotate option of Text and print it....</div>




<div><br></div><div>The calculation of X and Y are taking up much of my time... which is not good in my situation.... I have to complete this by  10 Jun 2010....</div><div><br></div><div>Please Help... </div><div><br></div>




<div>With regards,</div><div><br></div><font color="#888888"><div>Ashwin</div>
</font></div>end
</div>
<br><br>---------- Forwarded message ----------<br>From: abhishek jain &lt;<a href="mailto:mail@webbee.biz">mail@webbee.biz</a>&gt;<br>To: <a href="mailto:bangalore-pm@pm.org">bangalore-pm@pm.org</a><br>Date: Thu, 10 Jun 2010 14:56:45 +0530<br>
Subject: [Bangalore-pm] Fwd: Help<br>Forwarding to correct location.<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Ashwin Hiremath</b> <span dir="ltr">&lt;<a href="mailto:rush2ashu@gmail.com" target="_blank">rush2ashu@gmail.com</a>&gt;</span><br>

Date: 9 June 2010 20:27<br>Subject: Help<br>To: <a href="mailto:bangalore-pm-owner@pm.org" target="_blank">bangalore-pm-owner@pm.org</a><br><br><br><div class="gmail_quote">Hi Friends,<div><br></div><div>I am facing some problem with respect to the postscript::Simple module.</div>

<div><br></div><div>I have a requirement to create a Polygon... and over that write some description.</div>

<div>i have solved that using polygon function in postscript::simple module.</div>
<div><img src="cid:ii_1291d2fb1c727bdb" alt="Problem.JPG" title="Problem.JPG"><br></div><div><br></div><div>But now a new requirement has come, which states i need to rotate the polygon with 0, 90, 180, 270 and 360 degrees,,, </div>




<div>i am able to do that by using rotate option in Polygon. but here is the problem....</div><div>How to rotate the text... for that i need the new  X and Y position which i can use with rotate option of Text and print it....</div>




<div><br></div><div>The calculation of X and Y are taking up much of my time... which is not good in my situation.... I have to complete this by  10 Jun 2010....</div><div><br></div><div>Please Help... </div><div><br></div>




<div>With regards,</div><div><br></div><font color="#888888"><div>Ashwin</div>
</font></div>end
</div>
<br>_______________________________________________<br>
Bangalore-pm mailing list<br>
<a href="mailto:Bangalore-pm@pm.org">Bangalore-pm@pm.org</a><br>
<a href="http://mail.pm.org/mailman/listinfo/bangalore-pm" target="_blank">http://mail.pm.org/mailman/listinfo/bangalore-pm</a><br></blockquote></div><br></div>